Commit Graph

142 Commits (75fd1919f91d98333c22a49cc846a9f3a3ce8e5e)

Author SHA1 Message Date
Mikunj 520d41565f Disable networking calls when updating profile.
Remove avatar from profile controller.
6 years ago
Michael Kirk 1fae83a777 respect any CDN headers (eg Host for front) 6 years ago
Matthew Chen 3ce3f9faaa Add accessibilityIdentifiers to conversation settings view. 6 years ago
Matthew Chen 882dd16d7c Apply presentAlert() throughout codebase. 6 years ago
Michael Kirk df79fc9ed0 Move String+OWS into SSK
name Switcharoo String+OWS/String+SSK categories to reflect where they live.
6 years ago
Michael Kirk 5671fd2520 Revert "Revert 'new sort id'."
This reverts commit ebae75af00.
6 years ago
Michael Kirk b7ab036c04 warn_unused_result on AnyPromise methods 6 years ago
Matthew Chen 48bd0cfa06 Add missing retains to promises. 6 years ago
Matthew Chen d70aa4418f Merge branch 'release/2.32.0' 7 years ago
Matthew Chen 894fd1379c Fix spurious assert. 7 years ago
Matthew Chen aa4fea64cf Improve Profiles Debug UI. 7 years ago
Matthew Chen d6ca969c62 Backup local profile. 7 years ago
Michael Kirk 3faa700d66 Merge tag '2.31.0.31' into release/2.32.0 7 years ago
Matthew Chen 49c8e6db7d Merge remote-tracking branch 'origin/release/2.31.0' 7 years ago
Michael Kirk ae63e399b2 use new key to verify local profile 7 years ago
Michael Kirk 5ed123d863 Fix overzealous profile key rotation 7 years ago
Michael Kirk 0aca0c15c1 specify recipient when profile download fails 7 years ago
Michael Kirk 209e79ce34 Don't add blocked contact to your profile whitelist 7 years ago
Michael Kirk 2bd3e5ef23 cast to same integer signedness for comparison 7 years ago
Matthew Chen eb2e16872e Distinguish 'app will/did become ready' events. 7 years ago
Matthew Chen b90fee08bd Merge remote-tracking branch 'origin/release/2.31.0' 7 years ago
Matthew Chen ac051fc89e Inform linked devices about profile changes. 7 years ago
Matthew Chen 40aa78e001 Merge remote-tracking branch 'origin/release/2.31.0' 7 years ago
Matthew Chen 698e48f2d8 Respond to security review. 7 years ago
Matthew Chen 2541be1619 Apply refinements to UD logic. 7 years ago
Michael Kirk 68353631d4 copy avatar file when rotating, since updating avatarURL entails removing the underlying file 7 years ago
Michael Kirk 3560f3be5c Durable send operation
TODO
-[x] respect order of queue
-[x] replacements
  -[x] those w/o completion handler
  -[x] basic send+log operation persists
  -[x] send+ui completion
  -[x] share extension
  -[x] update state jobs
-[x] App Lifecyle
  -[x] settable
  -[x] Mark as ready on startup
  -[x] Fail appropriate jobs on startup

NICE TO HAVE
-[x] concurrent per senders
-[ ] longer retry (e.g. 24hrs)
-[ ] App Lifecyle
  -[x] retry failed jobs on startup?
  -[ ] reachability

DONE
-[x] basic passing test
-[x] datamodel
-[x] queue/classes
7 years ago
Matthew Chen 9c161e913d Respond to CR; handle device changes in SignalRecipient as well. 7 years ago
Matthew Chen 99d0495ec7 Respond to CR. 7 years ago
Matthew Chen bbcbbafaab Sync local profile key after rotating it. 7 years ago
Matthew Chen 693b3e13a9 Revert "Sync local profile key after rotating it."
This reverts commit ddbd20e706.
7 years ago
Matthew Chen ddbd20e706 Sync local profile key after rotating it. 7 years ago
Matthew Chen 6d075747c0 Update local profile after registration and profile key rotation. 7 years ago
Michael Kirk c425aa9493 dont rotate profile keys for unregistered user 7 years ago
Matthew Chen c9922cda3e Respond to CR. 7 years ago
Matthew Chen 8fdf6009f9 Sync contacts after rotating profile key. 7 years ago
Matthew Chen eb7abdfc64 Account attributes updates. 7 years ago
Matthew Chen f1d93d4472 Merge remote-tracking branch 'origin/release/2.30.2' 7 years ago
Matthew Chen 794914353d Respond to CR. 7 years ago
Matthew Chen f00f608833 Respond to CR. 7 years ago
Matthew Chen f7827cda7b Respond to CR. 7 years ago
Matthew Chen 0ce2e4d4d9 Rotate profile key if blocklist intersects profile whitelist. 7 years ago
Matthew Chen c907721a18 Rotate profile key if blocklist intersects profile whitelist. 7 years ago
Matthew Chen d9c8a218bc Use local profile data for the local phone number. 7 years ago
Matthew Chen 0b41e5e240 Rework profile fetch to reflect UD changes. 7 years ago
Michael Kirk f243914fe5 NSTemporaryDirectory -> OWSTemporaryDirectory/AccessibleAfterFirstAuth
Remove redundant move - AFNetworking alread moves the CFNetwork tmp file for
us.
7 years ago
Matthew Chen 3738155c81 Fix build breakage from SMK. 7 years ago
Matthew Chen 0125535d4d Pull out SignalCoreKit. 7 years ago
Matthew Chen ebae75af00 Revert 'new sort id'. 7 years ago
Michael Kirk df61316495 minimize diff senderTimestamp -> timestamp 7 years ago
Michael Kirk eef1368ad3 Timestamp audit step1: change signature
There is no change in functionality in this commit.

Apart from clarifying what the timestamp means (it's the timestamp of the
*sender*), this intentionally breaks all the call sites, so I could have a sane
way to thoroughly audit wherever we're passing in timestamps, to see where
we're depending on them to affect sort order.

For the sake of a cleaner diff of meaningful changes, instead of "fixing"
everything in this commit, I've just added comments and renamed signatures.
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 f473f60111 Apply OWS log functions in Objective-C. 7 years ago
Matthew Chen cc5a480baa Apply OWS log functions in Objective-C. 7 years ago
Matthew Chen 3a50377902 Apply OWS log functions in Objective-C. 7 years ago
Matthew Chen 713606271c Rename fail macros in Obj-C. 7 years ago
Matthew Chen 2c9c028504 Clean up. 7 years ago
Matthew Chen d6cb07cc4a Respond to CR. 7 years ago
Matthew Chen 0f4e846ed7 Tidy profile avatars. 7 years ago
Michael Kirk b42f528713 Integrate with new contact discovery endpoint
Also:
* use system cookie parsing
* add AESGCM additional authenticated data parameter

// FREEBIE
7 years ago
Matthew Chen 460f7344ad Remote attestation. 7 years ago
Michael Kirk d591fb7f2c Fix some compiler warnings 7 years ago
Matthew Chen 40729dbdd2 Use background task while downloading profile avatar. 7 years ago
Michael Kirk c15fea4eca merge avatar with existing
// FREEBIE
7 years ago
Matthew Chen 8e4f2ca0ed Rework proto schema changes for quoted replies.
Sketch out model changes for quoted replies.

Sketch out quoted reply input preview.

Send quoted messages protos.

Update models to reflect quoted messages.

Rework interaction initializers.

Rework interaction initializers.

Add debug UI methods for generating quoted reply variations.

Add debug UI methods for generating quoted reply variations.
7 years ago
Matthew Chen 4746948dfe Respond to CR. 7 years ago
Matthew Chen d6f4db1523 Rename TSStorageManager to OWSPrimaryStorage. 7 years ago
Michael Kirk 1ff2f3f42e Merge tag '2.21.0.1' 7 years ago
Matthew Chen 06d16bdec5 Revert "Revert "Merge branch 'charlesmchen/debugLogs' into hotfix/2.20.1""
This reverts commit b1dd325ce8.
7 years ago
Matthew Chen e89a0f815b Respond to CR. 7 years ago
Matthew Chen 5e02032fc3 Fix profile avatar downloads. 7 years ago
Matthew Chen 69c49d4a7b Fix profile avatar downloads. 7 years ago
Matthew Chen 15921fa0b5 Fix profile avatar downloads. 7 years ago
Matthew Chen dfa082238e Fix profile avatar downloads. 7 years ago
Matthew Chen 59c745756a Clean up codebase. 7 years ago
Matthew Chen 004479a2ce Elaborate request factory. 7 years ago
Matthew Chen 706006539f Improve the robustness of the migration logic. 7 years ago
Matthew Chen d91507d897 Improve the robustness of the migration logic. 7 years ago
Matthew Chen e77c3e6717 Retain changes from session database branch. 7 years ago
sdkjfhsdkjhfsdlkjhfsdf 4e6816ec5e Code cleanup
// FREEBIE
7 years ago
sdkjfhsdkjhfsdlkjhfsdf 14723f3e7f Fix profile avatar flicker
- We were clobbering our saved avatar filepath.
- Our "should notify" check was too aggressive.
- Only fetch profiles when entering a conversation.
- Only fetch profiles in main app

Also added (a little) debounce time to debug profile fetching.

// FREEBIE
7 years ago
Matthew Chen 9a990b58e8 Respond to CR. 7 years ago
Matthew Chen 8642a708e7 Respond to CR. 8 years ago
Matthew Chen 97ce1a6675 Rework user profile saves; block SAE if no local user profile key. 8 years ago
Matthew Chen 74efcb9041 Rework thread safety in profile manager. 8 years ago
Matthew Chen ee300590e3 Rework thread safety in profile manager. 8 years ago
Matthew Chen 911c4d380b Rework thread safety in profile manager. 8 years ago
Matthew Chen b4e8df79da Migrate environment to SignalMessaging. 8 years ago
Matthew Chen 6d87df88aa Migrate environment to SignalMessaging. 8 years ago