Matthew Chen
75e59bbc6f
Discard self-sent messages during the decryption process.
2018-10-10 09:10:45 -04:00
Matthew Chen
e47b69e0aa
Send sync messages to self via UD (only); discard self-sent sync messages.
2018-10-10 09:10:45 -04:00
Matthew Chen
01ca416f42
Fix rebase breakage.
2018-10-05 12:53:54 -04:00
Matthew Chen
2f2b6b071b
UD sends over web sockets; update web socket auth for UD.
2018-10-05 12:49:40 -04:00
Matthew Chen
3b06434d4f
Split out second web socket.
2018-10-05 12:48:19 -04:00
Matthew Chen
c137e95ae5
Move socket manager to hang on SSKEnvironment.
2018-10-05 12:47:11 -04:00
Matthew Chen
fbfda5b9db
Respond to CR.
2018-10-05 12:00:31 -04:00
Matthew Chen
1a23186ec4
Fix 'info message for group events'.
2018-10-05 11:50:17 -04:00
Matthew Chen
61a99c3f87
Further sender cleanup.
2018-10-05 11:49:36 -04:00
Matthew Chen
f2a9c10c20
Respond to CR.
2018-10-05 10:41:10 -04:00
Matthew Chen
a697072271
Respond to CR.
2018-10-05 10:32:32 -04:00
Matthew Chen
ccb67f49a3
Fix issues in UD send & receive.
2018-10-04 11:56:37 -04:00
Matthew Chen
0b41e5e240
Rework profile fetch to reflect UD changes.
2018-10-04 11:56:37 -04:00
Matthew Chen
1e10a86635
UD send via REST.
2018-10-04 11:56:36 -04:00
Matthew Chen
24b0eed1f6
UD send via REST.
2018-10-04 11:56:36 -04:00
Matthew Chen
d08479980d
UD send via REST.
2018-10-04 11:56:36 -04:00
Matthew Chen
71da312336
Post-SMK ud changes.
2018-10-02 13:19:41 -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
6bfd0f29ed
mark self-sent messages as read as soon as it was created
2018-09-26 09:52:34 -06:00
Michael Kirk
ab55e85304
step 1: timestampForSorting audit, change signature
...
No change in functionality in this commit, I just broke the signature to have a
systematic audit of the callsites. Added TODO's with the plan for each call.
2018-09-26 09:52:33 -06: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
87836f506b
Move more singletons to SSKEnvironment.
2018-09-21 09:06:48 -04:00
Matthew Chen
edcedd2845
Remove selfRecipient method.
2018-09-19 15:11:26 -04:00
Matthew Chen
e1db60c1c0
Rework creation of singletons.
2018-09-19 15:11:26 -04:00
Michael Kirk
1853e79c3e
Don't retry send until SPK has been rotated
...
// FREEBIE
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
Matthew Chen
9b94580dae
Update assertions.
...
* Streamline precompiled headers.
* Remove obsolete assertions in Constraints.h.
2018-09-14 14:30:06 -04:00
Matthew Chen
e15b8ebe16
Add names to operation queues.
2018-09-14 14:24:37 -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
fac7f6932f
Rename TSGroupMetaMessage enum values.
2018-09-04 09:30:01 -04: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
Michael Kirk
c05700fd98
Log in OWSFail
...
step 1: rename OWSFail->OWSFailNoProdLog
step 2: rename OWSProdLogAndFail->OWSFail
step 3: Convert OWSFailNoProdLog->OWSFail where we want logging
step 4: Rename OWSCFail->OWSCFailNoProdLog
step 5: Rename OWSProdLogAndCFail -> OWSCFail
step 6: Convert OWSCFailNoProdLog -> OWSCFail where we want logging
2018-08-09 15:30:19 -06:00
Matthew Chen
ab31e5a07f
Code generate Swift wrappers for protocol buffers.
2018-08-03 14:05:20 -04:00
Matthew Chen
b0a516c36f
Refine recipient device updates.
2018-07-26 09:22:40 -04:00
Matthew Chen
0518b335d8
Refine recipient device updates.
2018-07-26 09:22:40 -04:00
Matthew Chen
baed561033
Mark message sent to self as read.
2018-07-23 13:27:10 -04:00
Matthew Chen
88be3a5755
Respond to CR.
2018-07-23 13:25:21 -04:00
Matthew Chen
819c2b1ceb
Remove Twisted Oak.
2018-07-23 13:24:33 -04:00
Michael Kirk
b7288b2565
Move contact intersection into batched operation
...
// FREEBIE
2018-07-19 13:40:30 -06:00
Matthew Chen
094cf3691d
Respond to CR.
2018-07-18 13:57:22 -04:00
Matthew Chen
cc91cb3dbf
Respond to CR.
2018-07-18 13:57:22 -04:00
Matthew Chen
ace07ac62a
Respond to CR.
2018-07-18 13:57:22 -04:00
Matthew Chen
77884913d8
Streamline SignalRecipient.
2018-07-18 13:57:22 -04:00
Matthew Chen
b6489c6948
Streamline SignalRecipient.
2018-07-18 13:57:22 -04:00
Matthew Chen
05a4222b2d
Streamline SignalRecipient.
2018-07-18 13:57:22 -04:00