Matthew Chen
c017e76aab
Rename singleton accessors.
2020-09-17 21:11:09 -03:00
Matthew Chen
ad6bda8a44
Rename singleton accessors.
2020-09-17 21:11:07 -03:00
Matthew Chen
4c432b1ac3
Fix broken tests.
2020-09-17 17:31:23 -03:00
Nora Trapp
18e19088a5
Fix broken tests
2020-08-28 13:10:47 -07:00
Fumiaki Yoshimatsu
5a899b02b1
Fixes tests by giving a semi-bogus phone number to work around an assertion.
2020-08-28 09:43:54 -07:00
Fumiaki Yoshimatsu
93e5503b87
Fixed two tests related to UIDatabaseSnapshotDelegate.
2020-08-28 09:42:45 -07:00
Matthew Chen
f243889d00
Use protocol contexts in prekey stores.
2020-08-25 21:31:56 -03:00
Nora Trapp
9696671f8a
Add trustLevel to SignalServiceAddress
2020-08-05 14:36:43 -07:00
Matthew Chen
154805cf68
Fix broken tests.
2020-06-23 10:04:39 -03:00
Matthew Chen
3cedd3ccdf
Overhaul database observation.
2020-06-18 09:28:49 -03:00
Matthew Chen
8f468dce67
Respond to CR.
2020-05-11 10:29:13 -03:00
Matthew Chen
f8b9b209ff
Respond to CR.
2020-05-11 10:19:52 -03:00
Matthew Chen
dd42dcca49
Remove YDB from views.
2020-04-07 13:51:02 -03:00
Matthew Chen
529dbf09cd
Fix unit tests.
2020-02-28 16:30:54 -03:00
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