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
Matthew Chen
ef3933bfaa
Streamline SignalRecipient.
2018-07-18 13:57:21 -04:00
Matthew Chen
9618fc16c5
Streamline SignalRecipient.
2018-07-18 13:57:21 -04:00
Matthew Chen
ebe87348a2
Streamline SignalRecipient.
2018-07-18 13:57:21 -04:00
Matthew Chen
d14f764b50
Streamline SignalRecipient.
2018-07-18 13:57:21 -04:00
Matthew Chen
3f4cd15f5b
Use sending queue in websocket send failover to REST.
2018-07-05 09:57:28 -04:00
Michael Kirk
1e8c7d63b8
clarify sync logging
2018-07-03 15:39:31 -06:00
Michael Kirk
8576de0618
Fix: No contacts/groups after initial device link
...
The server caches your device list on the websocket, so sending on the
websocket to a just-linked device will always fail. We could close/open the
websocket, but that might be disruptive in it's own way. Instead we'll closely
mirror the Android approach, where WebSocket sends are attempted only one time,
and failure is handled by falling back to the original REST approach.
So note: we don't do any special handling of failures on the websocket
(409/410). We simply retry it with REST which will handle the 409/410/etc.
Consequently, we don't want to decrement our retry count for websocket sends.
2018-07-03 15:31:25 -06:00
Michael Kirk
c48f2404a3
Fix overzealous assert
...
// FREEBIE
2018-06-15 10:28:07 -04:00
Matthew Chen
f9f931fc2d
Fix assert around failing sync message sends.
2018-06-14 15:07:09 -04:00
Matthew Chen
61ec865b6d
Respond to CR.
2018-05-30 15:41:01 -04:00
Matthew Chen
4342b04bd3
Include response data in 'request over websocket' failures.
2018-05-30 15:37:59 -04:00
Matthew Chen
4d498563e7
Unify the socket manager's 'can send requests' logic.
2018-05-30 12:48:32 -04:00
Matthew Chen
21b54bee4f
Fix breakage from recents changes in share extension.
2018-05-29 10:45:58 -04:00
Matthew Chen
8a76e778b5
Use websocket for sends.
2018-05-22 14:24:04 -04:00
Matthew Chen
5f1682deab
Use websocket for sends.
2018-05-22 14:24:04 -04:00
Matthew Chen
5c7b98e5c4
Improve handling of unregistered users.
2018-05-14 16:45:06 -04:00
Matthew Chen
8489c55fde
Mark send-to-self as sent.
2018-05-14 14:41:45 -04:00
Matthew Chen
9c2f619132
Don't echo messages sent to self 1:1.
2018-05-14 10:56:47 -04:00
Michael Kirk
77fc5571fb
Implement avatar sending
...
// FREEBIE
2018-05-07 12:08:41 -04:00
Michael Kirk
48b4791b13
Download avatar attachment stream
...
// FREEBIE
2018-05-07 12:08:41 -04:00
Matthew Chen
e7eaa7945d
Handle completely skipped message sends.
2018-05-07 09:58:40 -04:00
Matthew Chen
0316a98eb8
Undo renaming of contactShare property of TSMessage.
2018-05-01 11:26:01 -04:00
Matthew Chen
0d8cfc5403
Rename contact share class to contact.
2018-05-01 11:03:25 -04:00
Matthew Chen
4b8a2fa8a3
Sketch out "contact share" model.
2018-05-01 11:03:25 -04:00
Matthew Chen
bb96454070
More outgoing message fixes.
2018-04-30 11:00:57 -04:00
Matthew Chen
752bca313c
Fix glitches in outgoing messages.
2018-04-27 16:37:09 -04:00