Commit graph

138 commits

Author SHA1 Message Date
Matthew Chen bbcbbafaab Sync local profile key after rotating it. 2018-10-18 16:47:18 -04:00
Matthew Chen 693b3e13a9 Revert "Sync local profile key after rotating it."
This reverts commit ddbd20e706.
2018-10-18 16:00:48 -04:00
Matthew Chen ddbd20e706 Sync local profile key after rotating it. 2018-10-18 15:59:43 -04:00
Matthew Chen 275414cbda Respond to CR. 2018-10-16 17:42:54 -04:00
Matthew Chen 7c1f1882d8 Sync "show UD indicators" setting. 2018-10-16 17:42:54 -04:00
Michael Kirk 3e85c8c023 clang-format branch changes 2018-10-12 13:52:46 -04:00
Matthew Chen 010ce1f6c2 Rename to OWSOutgoingReceiptManager. 2018-10-12 13:52:46 -04:00
Matthew Chen 2b45a8348e Clean up ahead of PR. 2018-10-12 13:52:46 -04:00
Matthew Chen de7bffa593 Send delivery 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 cba8c67983 Add 'is ud' property to incoming messages. 2018-10-10 14:29:40 -04:00
Matthew Chen 21b383f4e2 Remove server GUID from TSIncomingMessage. 2018-10-05 13:02:35 -04:00
Matthew Chen f9e90215b3 Respond to CR. 2018-10-05 09:28:53 -04:00
Matthew Chen ccb67f49a3 Fix issues in UD send & receive. 2018-10-04 11:56:37 -04:00
Matthew Chen 580d0486b6 Respond to CR. 2018-10-03 09:15:51 -04:00
Matthew Chen 9f2a15925a Add new envelope properties for UD. 2018-10-03 09:15:32 -04:00
Matthew Chen 71da312336 Post-SMK ud changes. 2018-10-02 13:19:41 -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 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 87836f506b Move more singletons to SSKEnvironment. 2018-09-21 09:06:48 -04: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
Matthew Chen e8eac9f30b Clean up ahead of PR. 2018-09-18 16:35:13 -04:00
Matthew Chen b883209f91 Refine logging. 2018-09-18 16:35:12 -04:00
Michael Kirk 920a82564f Merge tag '2.29.3.3' 2018-09-15 09:17:08 -05:00
Michael Kirk b96e9a6a82 Fix: not receiving group deliveries
Previously we were using the wrong method - the local user's id is removed
from group.recipientIdentifiers
2018-09-13 09:57:35 -05:00
Michael Kirk f1e5b1862f Ignore messages from left groups 2018-09-12 19:16:14 -05:00
Michael Kirk 2c9d905a16 Message processor ignores messages from blocked group 2018-09-12 19:16:14 -05:00
Michael Kirk b282d51da0 SyncMessages for blocked groups 2018-09-12 19:16:14 -05:00
Matthew Chen 3a12446be8 Modify environment accessors to use our 'shared' convention. 2018-09-07 16:20:41 -04:00
Matthew Chen bd05cdc031 Rename TextSecureKitEnv to SSKEnvironment. 2018-09-07 16:19:00 -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 03829779cc 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 7437e7a6b1 Remove 'has' accessors from proto wrappers. 2018-08-08 15:02:56 -04:00
Matthew Chen 1ab0842403 Remove Obj-c proto parser. 2018-08-07 15:10:48 -04:00
Matthew Chen a5ffbdebb3 Remove Obj-c proto parser. 2018-08-07 15:10:48 -04:00
Matthew Chen a647b5be48 Respond to CR. 2018-08-03 15:50:27 -04:00
Matthew Chen ff8565dbd5 Code generate Swift wrappers for protocol buffers. 2018-08-03 14:05:20 -04:00
Matthew Chen ab31e5a07f Code generate Swift wrappers for protocol buffers. 2018-08-03 14:05:20 -04:00
Matthew Chen f814157a9e Code generate Swift wrappers for protocol buffers. 2018-08-01 11:20:55 -04:00