Commit Graph

87 Commits

Author SHA1 Message Date
Matthew Chen
03f23b5f79 Fix breakage in UD manager; add UD manager test, hang TSAccountManager on SSKEnv, fix bugs in tests. 2018-10-11 08:46:24 -04:00
Matthew Chen
39f1be65f3 Respond to CR. 2018-10-03 08:59:55 -04:00
Matthew Chen
1d40cbfb41 Rework account attributes; persist manual message fetch; add "unrestricted UD" setting. 2018-10-03 08:59:55 -04:00
Matthew Chen
8ae200ac21 Fix build breakage around SignalCoreKit. 2018-10-01 09:07:40 -04:00
Matthew Chen
0125535d4d Pull out SignalCoreKit. 2018-10-01 09:06:40 -04:00
Michael Kirk
e1f131f09c restore save after marking item as uploaded
This was lost in an earlier fixup commit - markAsAccepted mutates but does not
persist anything since SPK doesn't know about YapDB
2018-09-17 10:10:32 -06:00
Michael Kirk
cb55ba57f5 CR: rename classes, no functional changes 2018-09-17 10:10:32 -06:00
Michael Kirk
b3d3c27f39 CR: Split operations into separate files (no changes in functionality) 2018-09-17 10:10:32 -06:00
Michael Kirk
ff3e9bcdd1 cr: add comment about operation queue 2018-09-17 10:10:32 -06:00
Michael Kirk
bfd8eb63c6 Add some comments/nullability annotations for clarity 2018-09-17 10:10:32 -06:00
Michael Kirk
c9218b59ca CR: add operation queue name 2018-09-17 10:10:32 -06:00
Michael Kirk
5a7d7634bf store keys before uploading to avoid race condition with service 2018-09-17 10:10:32 -06:00
Michael Kirk
5e1306aaa5 Restore check debounce 2018-09-17 10:10:32 -06:00
Michael Kirk
8e488b5c3b remove unused code 2018-09-17 10:10:32 -06:00
Michael Kirk
85d35b52d6 restore PreKey upload failure tracking 2018-09-17 10:10:32 -06:00
Michael Kirk
39b691b697 Fix operations not being de-alloced 2018-09-17 10:10:32 -06:00
Michael Kirk
619597cd61 ensure operations run to completion on the PreKey operation queue 2018-09-17 10:10:32 -06:00
Michael Kirk
3df0e72eda Extract SPK rotation and CreatePreKey operations 2018-09-17 10:10:32 -06:00
Michael Kirk
286d3c8ce9 Serialize RefreshKeyOperation
TODO

-[] rotate signed prekey job
-[] verify current prekey w/ server
-[] create keys
2018-09-17 10:10:32 -06:00
Michael Kirk
1eb05c1d01 remove unused preKeyLastResort 2018-09-17 10:10:32 -06: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
c0d486b1f1 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
8ce9f3b24d Fix nominal race in "is registered" state. 2018-08-15 10:38:47 -04:00
Matthew Chen
db3df249bf Merge NSData categories. 2018-08-09 13:50:55 -04:00
Matthew Chen
2c9c028504 Clean up. 2018-08-09 09:51:23 -06:00
Michael Kirk
ab62868851 Remove noisy comments, update rotation time. 2018-08-07 14:37:13 -06:00
Michael Kirk
1658812102 TSan config 2018-07-30 12:31:21 -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
7f346326f6 Add re-registration UI. 2018-06-20 14:54:16 -04:00
Matthew Chen
bc6a4ea8d8 Add re-registration UI. 2018-06-20 14:54:16 -04:00
Matthew Chen
b0646e8bff Track and persist 'is de-registered' state. 2018-06-20 14:54:16 -04:00
Matthew Chen
985f735f1a Track and persist "is de-registered" state. 2018-06-20 14:54:16 -04:00
Matthew Chen
61ec865b6d Respond to CR. 2018-05-30 15:41:01 -04:00
Matthew Chen
f7abcc9064 Respond to CR. 2018-05-30 15:28:03 -04:00
Michael Kirk
b1f3324514 cleanup contact syncing
It's largely a redundant check anyway, but the previous typo was a
no-op.

// FREEBIE
2018-05-09 21:56:33 -04:00
Matthew Chen
d6f4db1523 Rename TSStorageManager to OWSPrimaryStorage. 2018-03-06 17:12:13 -03:00
Matthew Chen
3435be5aba Preserve registration lock when updating account attributes. 2018-03-05 18:25:23 -03:00
Michael Kirk
60a1cc5682 Make 2FA registration screen look like the rest of registration
// FREEBIE
2018-03-05 15:29:45 -05:00
Matthew Chen
9499e684e7 Handle rate limits in registration flow. 2018-03-05 17:20:04 -03:00
Matthew Chen
7543a82858 Handle rate limits in registration flow. 2018-03-05 17:20:04 -03:00
Matthew Chen
c2f092018c Elaborate request factory. 2018-03-02 15:05:14 -05:00
Matthew Chen
3acdd84398 Elaborate request factory. 2018-03-02 15:05:14 -05:00
Matthew Chen
004479a2ce Elaborate request factory. 2018-03-02 15:05:14 -05:00
Matthew Chen
baf6fcc535 Add 2FA registration view. 2018-03-02 10:55:00 -05:00
Matthew Chen
4b62faf2f8 Aggressively nag iOS 8 users to upgrade iOS. 2018-02-14 14:15:23 -05:00