Commit graph

159 commits

Author SHA1 Message Date
Niels Andriesse 3479fc4333 Reduce code duplication 2020-02-28 09:58:45 +07:00
Ryan ZHAO cfe435bcd1 fix group parser 2020-02-13 13:54:20 +11:00
Ryan ZHAO 1a156c604a enable to send the group sync message 2020-02-12 16:31:37 +11:00
Niels Andriesse ccd2d30f61 Refactor 2020-01-31 09:42:36 +11:00
Niels Andriesse 64fd89291e Fix multi device x closed groups 2020-01-30 15:51:46 +11:00
Niels Andriesse 9b51cd9b67 Fix typo 2019-12-03 11:13:19 +11:00
Niels Andriesse 976f17a3ec Fix linking with desktop 2019-12-03 09:58:47 +11:00
Niels Andriesse 1d33b62790 Fix public chat attachment syncing 2019-11-15 13:56:35 +11:00
Niels Andriesse b55c751358 Fix contact sync message parsing 2019-11-12 14:19:50 +11:00
Niels Andriesse cc73937856 WIP 2019-11-11 15:52:17 +11:00
Matthew Chen 6ef65ad9d6 Send and process 'recipient update' sync messages. 2019-02-21 15:13:31 -05:00
Matthew Chen e27e27cc3a Send and process 'recipient update' sync messages. 2019-02-21 15:13:31 -05:00
Matthew Chen 4f19d03bdc Send 'sent update' sync messages. 2019-02-21 15:13:31 -05:00
Matthew Chen 6ce84e7f9b Process 'sent update' transcripts. 2019-02-21 15:13:31 -05:00
Matthew Chen ccc1bd3331 Process 'sent update' transcripts. 2019-02-21 15:13:31 -05:00
Matthew Chen 907159f3f4 Process 'sent update' transcripts. 2019-02-21 15:13:31 -05:00
Matthew Chen a477e01a4a Apply LinkPreview model. 2019-01-14 16:20:54 -05:00
Matthew Chen 1d905119ac Fix issues from integration testing. 2018-12-19 18:26:15 -05:00
Matthew Chen 0005a33d37 Decrypt device names in linked devices views. 2018-12-19 18:26:15 -05:00
Michael Kirk 5671fd2520 Revert "Revert 'new sort id'."
This reverts commit ebae75af00.
2018-12-19 15:16:36 -07:00
Michael Kirk 1328191a19 log transcript timestamp 2018-12-07 13:44:22 -05:00
Michael Kirk 4a70f8dc0f only process attachments if they exist 2018-11-24 17:35:15 -06:00
Michael Kirk 12b916ad36 Merge tag '2.31.0.37' into release/2.32.0 2018-11-15 10:35:03 -06:00
Matthew Chen b583e96a04 Tweak clearMayHaveLinkedDevices. 2018-11-13 16:40:34 -05:00
Michael Kirk 4971be5c26 Fix DESIGNATED_INITIALIZER syntax 2018-11-11 11:31:57 -06:00
Matthew Chen 3daf7d4744 Add OWSAttachmentDownloads. 2018-11-08 15:31:00 -05:00
Michael Kirk 42bf267607 fixup plumbing for incoming messages/synced transcripts 2018-11-08 12:52:09 -06:00
Matthew Chen 47fda2e377 Add debug UI for multi-image sends. 2018-11-02 13:04:05 -04:00
Matthew Chen 2541be1619 Apply refinements to UD logic. 2018-10-30 16:18:22 -04:00
Michael Kirk cb9aa6304c find -E . -type f -regex ".*\.(m|h)" -exec sed -i "" -e "s/try_/throws_/" {} \; 2018-10-30 11:35:34 -06:00
Michael Kirk 8544c86427 Swift Exception wrap HKDFKit 2018-10-30 11:35:34 -06:00
Michael Kirk c4f8975308 Swift Exception wrap Curve25519 2018-10-30 11:35:34 -06:00
Matthew Chen 8c8b3a95b8 Respond to CR. 2018-10-22 14:04:30 -04:00
Matthew Chen d656ae1017 Fix edge cases around UD v. linked devices. 2018-10-22 12:31:28 -04:00
Matthew Chen 9c161e913d Respond to CR; handle device changes in SignalRecipient as well. 2018-10-19 17:21:42 -04:00
Matthew Chen 94c7b72361 Only send "sent message transcript" sync messages using UD. 2018-10-19 16:45:50 -04:00
Michael Kirk 3e85c8c023 clang-format branch changes 2018-10-12 13:52:46 -04:00
Matthew Chen 5cf8909a28 Modify OWSOutgoingReceiptManager to handle read receipts. 2018-10-12 13:52:46 -04:00
Matthew Chen 13373db3bc Send delivery receipts. 2018-10-12 13:52:46 -04:00
Matthew Chen 7e7fcc1698 Apply UD status from transcripts. 2018-10-12 13:49:05 -04:00
Matthew Chen 7d727b7ac9 Modify proto wrapper builders to require required fields. 2018-10-01 09:08:23 -04: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 00d0d1e002 Remove legacy Error backdating - no changes in functionality
Historically we would backdate the SN change messages, but since adopting
non-blocking SN changes long ago, they're already sorted properly by creation
time, so backdating has been unnecessary for a while.

I also audited that all other error messages are saved directly after creation.

I applied deprecation attributes as appropriate as I audited.
2018-09-26 09:52:33 -06:00
Michael Kirk 550e7ba63b Create disappearing message update info messages before messages they affect
Since we're no longer sorting by timestamp we have to ensure we save the update
info message before we save any affected message, e.g. in the case of implicit
updates.
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 4ad7ca79b7 Respond to CR. 2018-09-18 16:44:33 -04:00