Commit Graph

72 Commits

Author SHA1 Message Date
Matthew Chen
72f912dce3 Versioned profile changes, etc. 2020-01-08 13:54:54 -03:00
Michael Kirk
884f09ea5a Windowed conversation loading 2019-12-31 14:29:32 -08:00
Matthew Chen
29150102cb Revert group and profile changes. 2019-12-11 20:41:54 -08:00
Matthew Chen
05c8e674ee Rework new group new creation & group updates. 2019-12-05 12:37:22 -03:00
Matthew Chen
9bdb85b897 Fix test broken by group manager. 2019-11-13 10:29:07 -03:00
Matthew Chen
b38a64cce8 Revert "Revert "Merge branch 'charlesmchen/groupManager2'""
This reverts commit 7530dee591.
2019-11-12 09:02:52 -03:00
Matthew Chen
7530dee591 Revert "Merge branch 'charlesmchen/groupManager2'"
This reverts commit 26fd0d0812, reversing
changes made to c17865b750.
2019-11-11 20:01:45 -03:00
Matthew Chen
0ecee32271 Apply group manager in tests. 2019-11-11 17:31:21 -03:00
Matthew Chen
b5f777d985 Fix more broken tests. 2019-11-07 17:37:48 -03:00
Matthew Chen
70d4b3a2a0 Fix broken tests. 2019-11-07 17:22:08 -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
Michael Kirk
6d73d01e01 remove some unused columns 2019-10-14 18:23:35 -06:00
Matthew Chen
031eafe8fe Fix broken tests. 2019-10-04 16:31:50 -03:00
Matthew Chen
20683678b5 Store group avatars as data. 2019-09-27 16:25:53 -03:00
Matthew Chen
eb0d934a2c Add Debug UI action to insert one of each kind of model. 2019-09-23 13:49:29 -03:00
Matthew Chen
4371877e29 Respond to CR. 2019-09-18 09:07:29 -03:00
Matthew Chen
37f23ce69a Respond to CR. 2019-09-18 09:07:28 -03:00
Matthew Chen
11dfd413e3 Fix numeric/date edge cases in GRDB serialization. 2019-09-18 09:07:28 -03:00
Matthew Chen
a41e204de5 Add TestModel. 2019-09-18 09:04:19 -03:00
Matthew Chen
5fdf1b662a Add TestModel. 2019-09-18 09:04:19 -03:00
Matthew Chen
04b2863311 Add TestModel. 2019-09-18 09:04:19 -03:00
Matthew Chen
4944d3b96c YDB-to-GRDB migration stress testing. 2019-09-16 13:34:55 -03:00
Michael Kirk
1a9c0fae1d GRDB: Fix disappearing messages vs. long text or media details
The generic observer delete was broken for GRDB, because we can't fetch the
uniqueId's of rowIds if the corresponding row was deleted. So instead, we
split the logic: Yap uses uniqueIds, GRDB uses row ids.
2019-09-16 07:53:00 -07:00
Michael Kirk
53b2fc1929 touches take effect even in a no-op deferred transaction.
UIDatabaseObserver orchestrates notifying views when a transaction commits.
We back UIDatabaseObserver with a DatabaseRegionObserver

DatabaseRegionObservers are not notified if the transaction contains no changes:

    https://github.com/groue/GRDB.swift/blob/af0ac15/GRDB/Core/DatabaseRegionObservation.swift#L119

However the more general TransactionObservers *are* notified even if the
transaction contains no changes. Nicely, GRDB does some work to ensure this is
true even in the event of a deferred transaction. See this comment on `databaseDidCommitEmptyDeferredTransaction`

da459386a0/GRDB/Core/TransactionObserver.swift (L444)
2019-09-04 21:47:57 -06:00
Michael Kirk
967780b5e7 Run perf tests with real-world optimizations 2019-08-29 09:47:52 -06:00
Matthew Chen
c2ae2037d4 Fix rebase breakage. 2019-08-26 13:18:49 -03:00
Matthew Chen
79b1d31f20 Don't load YDB unless necessary.
Don't load YDB unless necessary.

Don't load YDB unless necessary.

Don't load YDB unless necessary.
2019-08-26 13:18:30 -03:00
Matthew Chen
aab82a6753 Respond to CR; add a unit test around the "special messages" finder method. 2019-08-26 12:29:43 -03:00
Matthew Chen
36f1c1bb02 Re-enable disabled sections of db perf tests. 2019-08-23 09:59:24 -03:00
Matthew Chen
db2dacf45f Fix more tests. 2019-08-21 15:01:13 -03:00
Michael Kirk
c7afa5f1db storage comparative perf tests 2019-08-16 12:38:23 -06:00
Matthew Chen
58eccfe357 Fix test breakage. 2019-08-13 17:03:09 -03:00
Matthew Chen
8ca337e2c3 Rework generic change observation. 2019-08-13 09:58:27 -03:00
Matthew Chen
94ad1e35ff Improvements and fixes for "any FTS". 2019-08-07 17:48:54 -03:00
Matthew Chen
a48ccccdd1 Remove more usage of primary storage. 2019-08-07 17:41:11 -03:00
Matthew Chen
e77e03afb2 Remove usage of primary storage. 2019-07-29 15:30:10 -03:00
Matthew Chen
ef55d3e283 Fix build breakage around nil Randomness. 2019-07-29 14:52:56 -03:00
Matthew Chen
4a7e3532e7 Remove YDB connections. 2019-07-25 10:25:45 -03:00
Matthew Chen
9505c38b3b Fix edge cases around key-value store. 2019-07-25 10:07:28 -03:00
Nora Trapp
1fab5c7560 Fix tests 2019-07-16 13:02:27 -07:00
Nora Trapp
ef4a612fcf No more transitional_signalServiceAddress 2019-07-11 10:53:33 -07:00
Nora Trapp
b9bb444276 Add UUID support to groups 2019-07-10 13:27:36 -07:00
Nora Trapp
761ce29428 Fix tests 2019-07-10 12:45:30 -07:00
Nora Trapp
7d94af3287 Migrate TSContactThread to support UUIDs 2019-06-27 13:12:52 -07:00
Matthew Chen
04ac47089d Migrate preferences to use key-value store. 2019-06-17 11:13:15 -04:00
Matthew Chen
0cecce2e68 Use GRDB records for anyInsert() & anyUpdate(). Remove anySave(). Add handling of GRDB ids. 2019-05-22 09:18:42 -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
2ab50d28c6 require explicit default for getBool 2019-05-15 15:13:17 -06:00
Michael Kirk
fe65ff035f Sneaky Transaction audit for SDSKeyValueStore 2019-05-15 15:13:17 -06:00
Michael Kirk
79e8725a56 fix up tests 2019-05-07 16:52:49 -06:00