Commit Graph

120 Commits

Author SHA1 Message Date
Michael Kirk
6739e6c01c "Support" link after repeated verification requests 2019-06-11 16:28:05 -05:00
Michael Kirk
691209e25e Decrypt Messages with AnyTransaction
- Migrate protocol stores to KVStores
- Introduce AnyDatabaseQueue
- Move messaging pipeline to AnyTransactions
- Migrate specialized PushDecrypt job to generic JobQueue
2019-05-21 16:20:22 -04:00
Michael Kirk
804557e78a Fix: User is Unregistered when messaging simulator immediately after they register.
During registration, before we're registered, we "enqueued" an attribute
update when setting message fetching, but it failed to run because the
queue runner aborts if we're not yet registered. The symptom would resolve
itself upon next launch.
2019-04-18 16:25:21 -06:00
Michael Kirk
b1e823458a partial revert of 37b152d51
We create pre-keys before we're registered (as part of registration)
2019-04-18 10:06:14 -06:00
Matthew Chen
37b152d519 Fix inverted prekey asserts. 2019-04-17 14:20:36 -04:00
Michael Kirk
b55e0e45f5 Avoid deadlock
There are multiple methods which synchronize(self) in TSAccountMessage and also
multiple ones which can occur within a read-write transaction.
2019-04-12 15:05:51 -06:00
Michael Kirk
a01cb04d85 FIX: Onboarding controller sets phoneNumberAwaitingForVerification 2019-02-19 13:38:44 -07:00
Matthew Chen
efe5513c4e Sketch out the 'onboarding code verification' view. 2019-02-15 14:56:32 -05:00
Matthew Chen
58abf76244 Sketch out CAPTCHA onboarding view. 2019-02-14 12:41:48 -05:00
Matthew Chen
2a4b9426c3 Sketch out the 'onboarding phone number' view. 2019-02-14 08:54:27 -05:00
Matthew Chen
a7d848ef7c Add missing nullability annotations. 2019-01-23 13:12:43 -05:00
Matthew Chen
63260ee94d Fix registration. 2019-01-08 15:38:08 -05:00
Matthew Chen
951f0dab22 Respond to CR. 2019-01-07 09:02:39 -05:00
Matthew Chen
ed25f4748d Deprecate 'signaling key'. 2019-01-07 09:02:39 -05:00
Matthew Chen
449633e0dc Respond to CR. 2019-01-04 09:19:41 -05:00
Matthew Chen
1d13a02927 Note to Self. 2019-01-03 18:06:56 -05:00
Michael Kirk
b7ab036c04 warn_unused_result on AnyPromise methods 2018-12-11 09:37:44 -07:00
Matthew Chen
48bd0cfa06 Add missing retains to promises. 2018-12-11 10:43:47 -05:00
Matthew Chen
70b2280aa7 Add isRegisteredAndReady to TSAccountManager. 2018-11-27 09:21:44 -05:00
Matthew Chen
8110e0c765 Clean up usage of TSAccountManager. 2018-11-27 09:21:44 -05:00
Matthew Chen
544bdbd7f5 Fix edge cases around registration. 2018-11-26 09:58:59 -05:00
Matthew Chen
f7df229fc0 Merge tag '2.31.0.39' into release/2.32.0 2018-11-19 14:41:05 -05:00
Matthew Chen
4d2bbfc54d Fix crash around account attributes update when unregistered. 2018-11-19 13:10:59 -05:00
Matthew Chen
eb2e16872e Distinguish 'app will/did become ready' events. 2018-11-05 09:04:57 -05:00
Michael Kirk
3d9cd4f4ed CR: comments and code clarity 2018-10-30 11:35:34 -06:00
Michael Kirk
9d2731c9b8 exception auditing OWSRaiseException 2018-10-30 11:35:34 -06:00
Matthew Chen
6d075747c0 Update local profile after registration and profile key rotation. 2018-10-18 12:26:13 -04:00
Matthew Chen
9322442881 Don't assume all linked devices support UD. 2018-10-18 12:26:13 -04:00
Michael Kirk
d6a6024f37 Update PromiseKit 2018-10-13 16:04:20 -06:00
Matthew Chen
c9922cda3e Respond to CR. 2018-10-12 17:38:13 -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
Michael Kirk
e7170dc6e8 conventional error structure for connectivity error 2018-10-12 11:06:21 -06:00
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