Commit graph

63 commits

Author SHA1 Message Date
Matthew Chen bbcbbafaab Sync local profile key after rotating it. 2018-10-18 16:47:18 -04:00
Matthew Chen 693b3e13a9 Revert "Sync local profile key after rotating it."
This reverts commit ddbd20e706.
2018-10-18 16:00:48 -04:00
Matthew Chen ddbd20e706 Sync local profile key after rotating it. 2018-10-18 15:59:43 -04:00
Matthew Chen 6d075747c0 Update local profile after registration and profile key rotation. 2018-10-18 12:26:13 -04:00
Michael Kirk c425aa9493 dont rotate profile keys for unregistered user 2018-10-12 15:55:41 -06:00
Matthew Chen c9922cda3e Respond to CR. 2018-10-12 17:38:13 -04:00
Matthew Chen 8fdf6009f9 Sync contacts after rotating profile key. 2018-10-12 17:19:00 -04:00
Matthew Chen eb7abdfc64 Account attributes updates. 2018-10-12 17:19:00 -04:00
Matthew Chen f1d93d4472 Merge remote-tracking branch 'origin/release/2.30.2' 2018-10-12 16:00:42 -04:00
Matthew Chen 794914353d Respond to CR. 2018-10-11 13:07:25 -04:00
Matthew Chen f00f608833 Respond to CR. 2018-10-11 13:02:02 -04:00
Matthew Chen f7827cda7b Respond to CR. 2018-10-11 13:02:02 -04:00
Matthew Chen 0ce2e4d4d9 Rotate profile key if blocklist intersects profile whitelist. 2018-10-11 13:02:02 -04:00
Matthew Chen c907721a18 Rotate profile key if blocklist intersects profile whitelist. 2018-10-11 13:02:02 -04:00
Matthew Chen d9c8a218bc Use local profile data for the local phone number. 2018-10-10 09:10:45 -04:00
Matthew Chen 0b41e5e240 Rework profile fetch to reflect UD changes. 2018-10-04 11:56:37 -04:00
Michael Kirk f243914fe5 NSTemporaryDirectory -> OWSTemporaryDirectory/AccessibleAfterFirstAuth
Remove redundant move - AFNetworking alread moves the CFNetwork tmp file for
us.
2018-10-03 14:01:36 -06:00
Matthew Chen 3738155c81 Fix build breakage from SMK. 2018-10-01 09:08:02 -04:00
Matthew Chen 0125535d4d Pull out SignalCoreKit. 2018-10-01 09:06:40 -04:00
Matthew Chen ebae75af00 Revert 'new sort id'. 2018-09-27 19:40:51 -04:00
Michael Kirk df61316495 minimize diff senderTimestamp -> timestamp 2018-09-26 09:52:33 -06:00
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.
2018-09-26 09:52:33 -06:00
Matthew Chen e1db60c1c0 Rework creation of singletons. 2018-09-19 15:11:26 -04:00
Matthew Chen 3a12446be8 Modify environment accessors to use our 'shared' convention. 2018-09-07 16:20:41 -04:00
Matthew Chen bd05cdc031 Rename TextSecureKitEnv to SSKEnvironment. 2018-09-07 16:19:00 -04:00
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
2018-09-07 10:00:48 -06:00
Matthew Chen f473f60111 Apply OWS log functions in Objective-C. 2018-08-27 12:58:52 -04:00
Matthew Chen cc5a480baa Apply OWS log functions in Objective-C. 2018-08-27 12:58:52 -04:00
Matthew Chen 3a50377902 Apply OWS log functions in Objective-C. 2018-08-27 12:58:52 -04:00
Matthew Chen 713606271c Rename fail macros in Obj-C. 2018-08-27 10:29:51 -04:00
Matthew Chen 2c9c028504 Clean up. 2018-08-09 09:51:23 -06:00
Matthew Chen d6cb07cc4a Respond to CR. 2018-08-01 09:42:38 -04:00
Matthew Chen 0f4e846ed7 Tidy profile avatars. 2018-08-01 09:26:48 -04:00
Michael Kirk b42f528713 Integrate with new contact discovery endpoint
Also:
* use system cookie parsing
* add AESGCM additional authenticated data parameter

// FREEBIE
2018-07-23 12:21:54 -06:00
Matthew Chen 460f7344ad Remote attestation. 2018-07-20 09:55:18 -04:00
Michael Kirk d591fb7f2c Fix some compiler warnings 2018-07-17 19:22:58 -06:00
Matthew Chen 40729dbdd2 Use background task while downloading profile avatar. 2018-06-01 09:49:08 -04:00
Michael Kirk c15fea4eca merge avatar with existing
// FREEBIE
2018-05-10 11:31:22 -04:00
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.
2018-04-02 16:17:46 -04:00
Matthew Chen 4746948dfe Respond to CR. 2018-03-14 10:02:44 -03:00
Matthew Chen d6f4db1523 Rename TSStorageManager to OWSPrimaryStorage. 2018-03-06 17:12:13 -03:00
Michael Kirk 1ff2f3f42e Merge tag '2.21.0.1' 2018-03-02 18:35:01 -05:00
Matthew Chen 06d16bdec5 Revert "Revert "Merge branch 'charlesmchen/debugLogs' into hotfix/2.20.1""
This reverts commit b1dd325ce8.
2018-03-02 17:44:14 -05:00
Matthew Chen e89a0f815b Respond to CR. 2018-03-02 17:34:03 -05:00
Matthew Chen 5e02032fc3 Fix profile avatar downloads. 2018-03-02 17:34:03 -05:00
Matthew Chen 69c49d4a7b Fix profile avatar downloads. 2018-03-02 17:34:03 -05:00
Matthew Chen 15921fa0b5 Fix profile avatar downloads. 2018-03-02 17:34:03 -05:00
Matthew Chen dfa082238e Fix profile avatar downloads. 2018-03-02 17:34:03 -05:00
Matthew Chen 59c745756a Clean up codebase. 2018-03-02 15:05:14 -05:00
Matthew Chen 004479a2ce Elaborate request factory. 2018-03-02 15:05:14 -05:00