Commit Graph

253 Commits

Author SHA1 Message Date
Matthew Chen
e46eefe50e Remove readReturningResult(). 2019-11-14 10:39:33 -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
fa9e49136d Apply group manager in tests. 2019-11-11 17:31:21 -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
Michael Kirk
61fb6e575e remove block from overwriting update, undeprecate upsert 2019-11-04 14:06:54 -08:00
Michael Kirk
0fca274e62 Sync Groups and Contacts 2019-11-04 14:06:54 -08: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
329fffb8e2 Fixing up phonenumber parsing tests 2019-10-25 18:33:56 -07:00
Michael Kirk
8c73d7aef4 fixup test typo 2019-10-17 10:43:13 -06:00
Michael Kirk
6fea78a6b3 Linking flow 2019-10-17 10:19:32 -06:00
Michael Kirk
6d73d01e01 remove some unused columns 2019-10-14 18:23:35 -06:00
Matthew Chen
e679d366d2 Fix DM expiration/tests; refine DM state asserts. 2019-10-08 13:06:40 -03:00
Matthew Chen
63c2cbf71b Fix broken tests. 2019-10-04 19:34:08 -03:00
Matthew Chen
8b53f669ee Merge remote-tracking branch 'private/release/2.44.0' 2019-10-04 16:33:27 -03:00
Matthew Chen
031eafe8fe Fix broken tests. 2019-10-04 16:31:50 -03:00
Matthew Chen
879946ed74 Respond to CR. 2019-10-01 13:42:36 -03:00
Matthew Chen
d813419afa Fix TSMessageStorageTests. 2019-10-01 13:37:04 -03:00
Matthew Chen
dcf9502d01 Fix TSOutgoingMessageTest. 2019-10-01 13:35:54 -03:00
Matthew Chen
7ee8cdfa84 Fix PhoneNumberUtilTest. 2019-10-01 13:35:54 -03:00
Matthew Chen
8fa5ec40e0 Respond to CR. 2019-10-01 13:34:58 -03:00
Matthew Chen
510f1fc9cd Fix all broken tests, part 1. 2019-10-01 13:24:28 -03:00
Matthew Chen
539caea903 Fix all broken tests, part 1. 2019-10-01 13:24:28 -03:00
Matthew Chen
28fbf98fea Respond to CR. 2019-10-01 13:08:59 -03:00
Matthew Chen
e2340da4ff Rework DM expiration finding. 2019-10-01 13:08:59 -03:00
Matthew Chen
f10227e45b Rework DM expiration finding. 2019-10-01 13:08:59 -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
f56aae7ac9 Merge remote-tracking branch 'private/release/2.43.0'
# Conflicts:
#	SignalServiceKit/src/Util/FeatureFlags.swift
#	SignalServiceKit/tests/Storage/SDSDatabaseStorageObservationTest.swift
2019-09-16 14:41:22 -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
b0f9b55561 Fix test that previously had static text 2019-09-16 07:51:36 -07:00
Matthew Chen
3ff3f9bb0d Fix tests. 2019-09-16 10:00:26 -03:00
Matthew Chen
f5d2915689 Respond to CR. 2019-09-13 20:46:08 -03:00
Matthew Chen
6a529e792d Rework message configuration. Simplify change detection, ensure continuity for deleted threads. 2019-09-13 20:40:06 -03:00
Michael Kirk
6347d434af Merge tag '2.43.0.2' 2019-09-05 16:37:16 -06: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
6eb1595e87 update GRDB 2019-09-04 18:23:01 -06:00
Michael Kirk
377632f7eb Sending perf test - baseline 2019-09-04 18:21:40 -06:00
Matthew Chen
bcd58bd538 Simplify disappearing messages configuration. 2019-09-04 09:43:59 -03:00
Michael Kirk
967780b5e7 Run perf tests with real-world optimizations 2019-08-29 09:47:52 -06:00