Commit Graph

52 Commits (1d0393c4c088d38ade20f44972f016fad18040e2)

Author SHA1 Message Date
nielsandriesse fb7326a3b0 Fix freeze due to nested transaction
Not a fan of this solution; we need to clean up display name management
5 years ago
nielsandriesse 31dd2673e1 Implement shared sender key ratcheting & refactor 5 years ago
nielsandriesse 6b19b2180b Make database utility play nice with legacy Signal code 5 years ago
nielsandriesse 2e8663a1b0 Debug 5 years ago
nielsandriesse eab26c504c Fix build 5 years ago
nielsandriesse 74bbe067d8 Update Pods 5 years ago
Mikunj 1adc5ce11e Finish up migration test. 6 years ago
nielsandriesse 8672577a8b Clean 6 years ago
Mikunj b0dfae7974 Fix multi-device profile picture handling.
Fixed note to self.
Enabled removal of avatar.
6 years ago
Mikunj b2a2cd8d20 Update our profile key if our primary device sends a message on the public chat. 6 years ago
Mikunj 9cde326254 Correctly handle profile key update from incoming messages. 6 years ago
Niels Andriesse ba8c3b1859 Debug 6 years ago
Niels Andriesse 7aa4e83700 WIP 6 years ago
Niels Andriesse 48883bf1f1 Fix build 6 years ago
Niels Andriesse 1462a5cb6b Handle receiving of sender display name 6 years ago
Michael Kirk c2aee429b1 move ContactsManager to local dependency 7 years ago
Matthew Chen 70f274598c Avoid deadlocks in contact manager. 7 years ago
Matthew Chen f26241ebd0 Avoid deadlocks in contact manager. 7 years ago
Matthew Chen 9c161e913d Respond to CR; handle device changes in SignalRecipient as well. 7 years ago
Matthew Chen 9322442881 Don't assume all linked devices support UD. 7 years ago
Matthew Chen 829851bd7b Hang PushManager on AppEnvironment. 7 years ago
Matthew Chen 7ef39bf258 Clean up proto utils. 7 years ago
Matthew Chen 3738155c81 Fix build breakage from SMK. 7 years ago
Matthew Chen e1db60c1c0 Rework creation of singletons. 7 years ago
Matthew Chen 3a12446be8 Modify environment accessors to use our 'shared' convention. 7 years ago
Matthew Chen bd05cdc031 Rename TextSecureKitEnv to SSKEnvironment. 7 years ago
Michael Kirk c7662b5a86 Step 2/2 %s/OWSAssert/OWSAssertDebug for existing previous assert semantics
Going forward, we want to prefer safer asserts, but we don't want to blindly
apply crashing asserts across the codebase
7 years ago
Matthew Chen 8d814a5210 Code generate Swift wrappers for protocol buffers. 7 years ago
Matthew Chen ab31e5a07f Code generate Swift wrappers for protocol buffers. 7 years ago
Matthew Chen d14f764b50 Streamline SignalRecipient. 7 years ago
Matthew Chen 08ca4fdb50 Lazy-load contact avatar data and images. Use NSCache for avatar images. 7 years ago
Matthew Chen a51e9b78b0 Improve search query construction. 7 years ago
Matthew Chen e6dceffdbd Respond to CR. 8 years ago
Matthew Chen 44ceee5849 Add contact share actions to conversation view and improve phone number parsing. 8 years ago
Michael Kirk 77fc5571fb Implement avatar sending
// FREEBIE
8 years ago
Matthew Chen d3fb5d321d Fix build break. 8 years ago
Matthew Chen c5981b164b Notify users of corrupt messages. 8 years ago
Michael Kirk 9c81eb44a1 Replace remaining UI usage of `interaction.description`
// FREEBIE
8 years ago
Michael Kirk a2421d5b3e Fix "unknown attachment" notifications
The transaction in which the attachments were created hasn't been
committed yet.

// FREEBIE
8 years ago
Michael Kirk bdb75fa596 infer when group has been whitelisted on linked device
// FREEBIE
8 years ago
Michael Kirk 9c56660618 profile key flag and debug action
// FREEBIE
8 years ago
Michael Kirk 6235e7fe5c Don't send profile key with every sync message since we explicitly sync
upon update/create.

Following Signal-Android's lead here.

// FREEBIE
8 years ago
Michael Kirk 1f3d2d1ed6 Send any profile key in contact sync
// FREEBIE
8 years ago
Michael Kirk 72fbb02028 aes-gcm via openssl
// FREEBIE
8 years ago
Michael Kirk 7499b3aaf0 Avatar API integration / WIP crypto scheme
Crypto Scheme:

- Name (un)padding
- WIP AES-GCM (funtioning, but need to verify against android
  implementation, and tag functionality)

Changes to avatar API:

- hard code avatar domain (cdn.signal.org)
- avatar form hands out new avatar key, invalidating old avatar
- preliminary aes-gcm integration

Also:

- New type to represent AES128 keys, rather than passing around opaque
  data blobs everywhere, we can use the compiler to help us make sure
  we're passing compliant keying material.

- Started using factory pattern for API requests. This is intended to be
  a lighter weight way to implement new API requests, rather than the
  current 1-method class ceremony.

// FREEBIE
8 years ago
Michael Kirk 9fdc3202af White listing must happen on main thread
followup to: ee613e4889

Again, this solves a crash, but we'll want to revisit the perf
implications.

// FREEBIE
8 years ago
Michael Kirk ee613e4889 Can only set whitelist on main thread
As written solves a crash, but we'll probalby want to revisit the perf
implications.

// FREEBIE
8 years ago
Matthew Chen 21304c18a6 Once we've shared our profile key with a user (perhaps due to being a member of a whitelisted group), make sure they're whitelisted.
// FREEBIE
8 years ago
Matthew Chen 823927685d Update profile on service.
// FREEBIE
8 years ago
Matthew Chen 83e2fbe28c Rework where profile key is attached in photos.
// FREEBIE
8 years ago