Commit Graph

52 Commits

Author SHA1 Message Date
gmbnt 37865bab96 Minor refactoring 2020-04-07 09:33:29 +10:00
ryanzhao c8108575a7 skip saving the session record if it is not in the main app 2020-03-30 11:07:00 +11:00
Niels Andriesse 14fbce0880 Fix deadlock 2019-11-06 13:29:09 +11:00
Niels Andriesse b83766ef74 Clean & fix conversation settings crash 2019-05-14 15:54:39 +10:00
Mikunj 38b698a531 Fix OWSPrimaryStorage+PreKeyStore methods. 2019-05-14 09:45:07 +10:00
Mikunj f38ddd052e Minor fix. 2019-05-14 09:24:20 +10:00
Mikunj d130415973 Allow generating a set amount of prekeys. 2019-05-14 09:24:20 +10:00
Matthew Chen a7d848ef7c Add missing nullability annotations. 2019-01-23 13:12:43 -05:00
Michael Kirk 67cc1027cc Fix compiler warnings 2018-12-17 14:43:21 -07:00
Michael Kirk 3d9cd4f4ed CR: comments and code clarity 2018-10-30 11:35:34 -06: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 c4f8975308 Swift Exception wrap Curve25519 2018-10-30 11:35:34 -06:00
Michael Kirk 5f5ec9b82a ExceptionWrap loadPreKey 2018-10-30 11:35:34 -06:00
Matthew Chen f1646b6cbc Move db connections to environments. 2018-10-16 13:00:50 -04:00
Matthew Chen 3738155c81 Fix build breakage from SMK. 2018-10-01 09:08:02 -04:00
Michael Kirk 9bca1c8e52 Add some missing nullability annotations 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
Michael Kirk 286d3c8ce9 Serialize RefreshKeyOperation
TODO

-[] rotate signed prekey job
-[] verify current prekey w/ server
-[] create keys
2018-09-17 10:10:32 -06:00
Michael Kirk 1eb05c1d01 remove unused preKeyLastResort 2018-09-17 10:10:32 -06: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 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 2c9c028504 Clean up. 2018-08-09 09:51:23 -06:00
Michael Kirk d591fb7f2c Fix some compiler warnings 2018-07-17 19:22:58 -06:00
Matthew Chen d6f4db1523 Rename TSStorageManager to OWSPrimaryStorage. 2018-03-06 17:12:13 -03:00
Matthew Chen 59c745756a Clean up codebase. 2018-03-02 15:05:14 -05:00
Matthew Chen e12a1e984a Work on two-factor auth settings UI. 2018-03-01 15:38:59 -05:00
Matthew Chen b64528e817 Respond to CR. 2018-02-09 10:42:25 -05:00
Matthew Chen bd0f601792 Respond to CR. 2018-02-09 10:31:29 -05:00
Matthew Chen 6b357f9445 Respond to CR. 2018-02-09 10:31:29 -05:00
Matthew Chen 43765ef3b5 Respond to CR. 2018-02-09 10:31:29 -05:00
Matthew Chen 7d3f79440f Clean up ahead of PR. 2018-02-09 10:31:29 -05:00
Matthew Chen bbd689bfd0 Add protocol context to protocol kit. 2018-02-09 10:31:29 -05:00
Matthew Chen 074046b98e Add protocol context to protocol kit. 2018-02-09 10:31:29 -05:00
Matthew Chen 7358f3053f Add protocol context to protocol kit. 2018-02-09 10:31:29 -05:00
Matthew Chen 71782e0369 Add protocol context to protocol kit. 2018-02-09 10:31:29 -05:00
Matthew Chen 122ef91e57 Add protocol context to protocol kit. 2018-02-09 10:31:29 -05:00
Matthew Chen 0cc7f3e00e Clean up ahead of PR. 2018-01-25 11:00:38 -05:00
Matthew Chen 0d5b5bc44c Respond to CR. 2018-01-12 16:49:51 -05:00
Matthew Chen 3de9a4ea55 Add debug UI actions around clearing and snapshotting session state. 2018-01-12 16:42:18 -05:00
Matthew Chen 6b0e3508a5 Respond to CR. 2017-12-20 11:28:07 -05:00
Matthew Chen d3efb2e1c9 Clean up TSStorageManager usage. 2017-12-19 11:41:31 -05:00
Matthew Chen d52eba739d Clean up TSStorageManager usage. 2017-12-19 11:41:31 -05:00
Matthew Chen a29c4ce5d6 Pull out OWSStorage base class for TSStorageManager. 2017-12-19 11:16:01 -05:00
Michael Kirk 0138777343 New @available syntax avoids compiler warnings
// FREEBIE
2017-12-04 12:50:28 -05:00
Michael Kirk a11d83187b WIP: Framework-friendly - compiles but crashes on launch
// FREEBIE
2017-11-29 13:58:27 -08:00
Matthew Chen 6e840ff956 Fix build warnings from XCode 9. 2017-11-09 02:52:44 -05:00
Michael Kirk 58d4c95362 Re-register without losing your messages in Debug-UI
// FREEBIE
2017-11-02 16:05:41 -04:00