Commit Graph

94 Commits

Author SHA1 Message Date
Matthew Chen
4aeb89dda6 Fix issues with pure-GRDB mode. 2019-08-29 10:20:40 -03:00
Matthew Chen
2b31f07752 Fix issues with pure-GRDB mode. 2019-08-29 10:20:40 -03:00
Matthew Chen
dd770f9f2d Use separate keyspec for GRDB. 2019-08-23 15:34:53 -03:00
Matthew Chen
dee5a0727f Decompose SDSDatabaseStorage. 2019-08-23 15:32:47 -03:00
Matthew Chen
7e32979512 Respond to CR. 2019-08-22 17:30:11 -03:00
Matthew Chen
549d448724 Rework OWSDisappearingMessagesFinder to support GRDB. 2019-08-22 17:30:11 -03:00
Matthew Chen
db2dacf45f Fix more tests. 2019-08-21 15:01:13 -03:00
Matthew Chen
5c19d29140 Rework isDatabasePasswordAccessible. 2019-08-21 10:44:58 -03:00
Matthew Chen
964fbeed0b Only register YDB extensions if we're using YDB. 2019-08-21 10:41:54 -03:00
Matthew Chen
b10da5cb7f Remove OWSMessageDecryptJob table from GRDB. 2019-08-21 10:40:58 -03:00
Michael Kirk
c7afa5f1db storage comparative perf tests 2019-08-16 12:38:23 -06:00
Matthew Chen
85756b0fe9 Merge remote-tracking branch 'private/release/2.42.0' 2019-08-16 13:21:38 -03:00
Matthew Chen
fae26459c1 Test for model migration. 2019-08-16 10:50:21 -03:00
Nora Trapp
4216ee31f7 Allow username lookup in compose view. 2019-08-15 12:37:51 -07:00
Matthew Chen
e10ffb2506 Remove asyncUIRead(). 2019-08-14 19:29:35 -03:00
Michael Kirk
4891375d5e pre-write sync message data on background thread outside of write transaction 2019-08-14 09:38:48 -06:00
Matthew Chen
38ea20b4a3 Respond to CR. 2019-08-13 16:52:38 -03:00
Matthew Chen
9d97b85b5f Respond to CR. 2019-08-13 16:52:38 -03:00
Matthew Chen
2a5683b843 Introduce storage coordinator. 2019-08-13 16:52:38 -03:00
Matthew Chen
ef6819468c Respond to CR. 2019-08-13 10:19:26 -03:00
Matthew Chen
8ca337e2c3 Rework generic change observation. 2019-08-13 09:58:27 -03:00
Michael Kirk
2126d27231 bench datasource writes and slow db writes 2019-08-12 15:11:40 -06:00
Matthew Chen
a48ccccdd1 Remove more usage of primary storage. 2019-08-07 17:41:11 -03:00
Matthew Chen
eccfad0f46 Merge remote-tracking branch 'private/release/2.41.0' 2019-08-06 12:12:39 -03:00
Matthew Chen
e4b082746d Add GRDB support for full text search. 2019-08-02 15:42:34 -03:00
Matthew Chen
4f03f969fc Rework "view once" messages. 2019-08-01 16:13:37 -03:00
Matthew Chen
1e363d2c65 Make uniqueId non-nil. 2019-07-31 10:50:59 -03:00
Matthew Chen
af5cdd6c92 Rework YDB-to-GRDB migration. 2019-07-29 15:11:20 -03:00
Michael Kirk
796b1ebb73 modern CDS vs. UUID 2019-07-25 14:06:06 -06:00
Matthew Chen
056d7a8788 Respond to CR. 2019-07-25 10:35:19 -03:00
Matthew Chen
4d05761980 Remove YDB connections. 2019-07-25 10:35:19 -03:00
Matthew Chen
b67060bd7b Respond to CR. 2019-07-24 16:17:53 -03:00
Matthew Chen
e0cfd5cf0a Add missing table for OWSDevice. 2019-07-24 16:05:07 -03:00
Matthew Chen
bdf5ca2645 Remove YDB connections. 2019-07-23 10:46:10 -03:00
Matthew Chen
58f45348f6 Rework GRDBDatabaseQueue. 2019-07-22 13:28:15 -03:00
Matthew Chen
4329a4c96d Add transactable base class for database storage and queue. 2019-07-18 18:02:13 -03:00
Matthew Chen
ebd45743c6 Convert interactions to BaseModel. Add typed 'any update with...' methods. 2019-07-18 15:44:36 -03:00
Matthew Chen
cb4b909a6a Fix spurious scheduling watchdog assert in async reads & writes. 2019-07-17 16:20:35 -03:00
Nora Trapp
a323ff4ddf No more transitional_phoneNumber 2019-07-11 10:52:13 -07:00
Matthew Chen
aa14f822a7 Convert message receiver to any. 2019-07-08 12:16:05 -03:00
Michael Kirk
501466a765 grdb compat for touching interactions and threads 2019-07-03 14:38:32 -05:00
Nora Trapp
4f026ed881 Add UUID support to read receipts 2019-07-02 18:33:14 -07:00
Nora Trapp
a1f85fca30 Migrate profiles to support UUIDs 2019-07-02 11:19:50 -07:00
Matthew Chen
f143c693b3 Revert "Merge branch 'mkirk/stub-uuid-receive'"
This reverts commit 4ba65bc7ea, reversing
changes made to 70d97e11c5.
2019-06-28 09:52:18 -04:00
Nora Trapp
a332c119d1 PR Feedback 2019-06-27 13:13:52 -07:00
Nora Trapp
52545fa0c4 Add shared YAP extension for SignalServiceAddress lookup 2019-06-27 13:13:52 -07:00
Matthew Chen
f6da9c9879 Convert TSRecipientReadReceipt to extend BaseModel. 2019-06-26 10:07:39 -04:00
Nora Trapp
5e2d0fc8bd AnySignalAccountFinder 2019-06-25 10:31:23 -07:00
Michael Kirk
e370848f08 Integration test for message processing.
Tests from `receivedEnvelopeData`, which is called by e.g. the websocket or the
messageFetcherJob through the message processing pipeline until the UIDatabase
is notified with the new message and thread.

Includes some test helpers to initialize sessions and encrypt/decrypt messages.
2019-06-24 10:19:46 -06:00
Matthew Chen
bbe5265fe8 Respond to CR. 2019-06-19 11:18:28 -04:00