Commit Graph

79 Commits (706dd3d0c149e6a4e12930743bcae5a9aa4bec29)

Author SHA1 Message Date
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