Commit Graph

79 Commits

Author SHA1 Message Date
Nora Trapp
060839f463 Merge branch 'release/3.22.0' 2020-11-16 09:27:26 -08:00
Nora Trapp
ed69da32aa After a session reset, archive previous sessions instead of deleting them 2020-11-12 17:31:10 -08:00
Nora Trapp
a8e2a3e500 Archive sessions instead of deleting them when linked devices change 2020-11-12 17:31:10 -08:00
Matthew Chen
8869a8aa5d Improve logging around sessions. 2020-11-12 17:24:34 -03:00
Matthew Chen
e9ca623253 Merge branch 'release/3.20.1' into release/3.21.0 2020-10-23 18:59:59 -03:00
Matthew Chen
1a9712d2a0 Improve logging around missing ephemeral prekeys. 2020-10-23 16:10:37 -03:00
Matthew Chen
20a0fddb90 Add debug UI around prekeys and sessions. 2020-10-16 10:46:37 -03:00
Matthew Chen
c017e76aab Rename singleton accessors. 2020-09-17 21:11:09 -03:00
Matthew Chen
6414cc7a87 Use protocol contexts in prekey stores. 2020-08-25 21:31:56 -03:00
Matthew Chen
f243889d00 Use protocol contexts in prekey stores. 2020-08-25 21:31:56 -03:00
Matthew Chen
4c6f2c22b4 Use protocol contexts in prekey stores. 2020-08-25 21:31:56 -03:00
Matthew Chen
24ba2620e8 Reduce database writes used by message sends.
Fix edge case around removed devices.
2020-06-08 17:06:34 -03:00
Matthew Chen
ba801f05ce Label the "slow write transactions" logging with the source of the transaction. 2020-06-07 10:37:55 -03:00
Matthew Chen
f7be178b41 Leverage session sender key indices when merging recipients. 2020-05-07 11:21:23 -03:00
Matthew Chen
98ed07e91e Improve signal recipient retention heuristics. 2020-05-04 22:01:35 -03:00
Matthew Chen
4448982c9d Make read receipts for linked devices durable. 2020-04-03 16:13:04 -03:00
Matthew Chen
6b8708433c Delete old and unused one-time prekeys.
Thanks Mikunj Varsani for the bug report.
2019-11-02 08:16:41 -03:00
Matthew Chen
813079c6be Remove YDB header usage. 2019-08-29 10:24:27 -03:00
Matthew Chen
0d1b172e81 Fix rebase breakage. 2019-08-26 13:18:49 -03:00
Matthew Chen
852a0f2f35 Remove YDB & primary storage usage. 2019-08-14 09:10:49 -03:00
Matthew Chen
a48ccccdd1 Remove more usage of primary storage. 2019-08-07 17:41:11 -03:00
Matthew Chen
f15630a904 Add tests around YDB-to-GRDB migration. 2019-07-29 15:11:20 -03:00
Matthew Chen
e11e500a25 Remove YDB connections. 2019-07-25 10:25:45 -03:00
Nora Trapp
c6688523c7 Address support for calling 2019-07-10 21:03:54 -07:00
Michael Kirk
7a298ed98d Add missing implementations, add error flag 2019-07-10 21:47:04 -06:00
Michael Kirk
f92fef1f6d take advantage of existing write transactions to ensure accountId is set. 2019-07-08 16:45:28 -06:00
Nora Trapp
c186755c66 Migrate IdentityManager and associated models to support UUIDs 2019-07-08 11:44:40 -07:00
Michael Kirk
0907a2257f Convert Recipient and SessionStore to SignalServiceAddress 2019-06-26 17:48:16 -06:00
Matthew Chen
a7a7499a8e Migrate more key-value stores. 2019-06-19 11:21:12 -04:00
Matthew Chen
d418c5ac76 Migrate more key-value stores. 2019-06-19 11:02:32 -04:00
Michael Kirk
8d7ff1153a apply typed protocol contexts 2019-05-22 15:13:04 -04:00
Michael Kirk
691209e25e Decrypt Messages with AnyTransaction
- Migrate protocol stores to KVStores
- Introduce AnyDatabaseQueue
- Move messaging pipeline to AnyTransactions
- Migrate specialized PushDecrypt job to generic JobQueue
2019-05-21 16:20:22 -04:00
Michael Kirk
11876a8f12 Deprecate untyped protocol store methods
Plumb them through to strongly typed counterparts
2019-05-15 16:09:55 -06:00
Matthew Chen
783858ea52 Remove extra semicolons. 2019-04-30 09:39:04 -04: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