Commit Graph

45 Commits

Author SHA1 Message Date
nielsandriesse eab26c504c Fix build 2020-06-05 13:43:06 +10:00
nielsandriesse 74bbe067d8 Update Pods 2020-06-05 10:38:44 +10:00
Michael Kirk b25a704039 Fix: Compose thread picker doesn't show self 2018-11-13 10:38:08 -06:00
Michael Kirk 7eaaab7be4 restrict self device id in message building, not in recipient data model 2018-11-13 10:38:08 -06:00
Matthew Chen 2b5a79f123 Cycle websocket after learning of new linked devices via 409/410. 2018-11-07 16:19:48 -05:00
Matthew Chen 1c21c31c2b Fix failed reloads in SignalRecipient. 2018-11-05 08:43:16 -05:00
Matthew Chen 3eab5b82cc Respond to CR. 2018-11-01 16:06:03 -04:00
Matthew Chen 3011175cef Fix "413 on prekey fetch" errors. 2018-11-01 15:59:11 -04:00
Matthew Chen e89d8b40d7 Fix "413 on prekey fetch" errors. 2018-11-01 15:59:11 -04:00
Matthew Chen 97e234f785 Fix "413 on prekey fetch" errors. 2018-11-01 15:59:11 -04:00
Matthew Chen 2541be1619 Apply refinements to UD logic. 2018-10-30 16:18:22 -04:00
Michael Kirk af3102441d ensure device updates are persisted
Previously we'd skip saves when latest was the same instance as self, which was
*at least* occurring during the 404 handler for prekey fetching while message
sending.

In practice this was cached, so it would be one wasted request per recipient
per launch.
2018-10-29 13:38:25 -06:00
Matthew Chen 9c161e913d Respond to CR; handle device changes in SignalRecipient as well. 2018-10-19 17:21:42 -04:00
Matthew Chen 9519e7961a Rework recipient device updates. 2018-10-18 11:21:16 -04:00
Matthew Chen 4d89670f19 Fix UD auth edge cases. 2018-10-18 11:21:16 -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 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 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 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 0518b335d8 Refine recipient device updates. 2018-07-26 09:22:40 -04:00
Matthew Chen 39c7fd9f15 Respond to CR. 2018-07-19 11:31:04 -04:00
Matthew Chen 3aa28aee36 Respond to CR. 2018-07-18 15:09:29 -04:00
Matthew Chen 03e5d2973b Delta contact intersections. 2018-07-18 14:27:40 -04:00
Matthew Chen 899e96f70f Respond to CR. 2018-07-18 14:25:30 -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 c830f880aa Streamline SignalRecipient. 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 10b21d10e4 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 d14f764b50 Streamline SignalRecipient. 2018-07-18 13:57:21 -04:00
Michael Kirk 872c89fbff Update recipient devices on successful decrypt to avoid wasting a valid session
created by sender.

Make device set immutable.
2018-07-13 10:04:54 -06:00
Matthew Chen 5c7b98e5c4 Improve handling of unregistered users. 2018-05-14 16:45:06 -04:00
Matthew Chen 8b65246619 Respond to CR.
// FREEBIE
2017-11-10 12:57:16 -05:00
Michael Kirk 935b51aa19 Fixup tests
// FREEBIE
2017-08-03 13:27:09 -04:00
Michael Kirk 8a4712bf4c Only access localNumber on AccountManager and cache it
// FREEBIE
2017-08-03 13:27:09 -04:00
Michael Kirk ccb4a88742 Import SSK (and history) into Signal-iOS
git remote add ssk ../SignalServiceKit
git remote update
git merge -s ours --allow-unrelated-histories --no-commit ssk/master
git read-tree --prefix=SignalServiceKit -u ssk/master
git commit
2017-07-21 13:55:01 -04:00