Commit Graph

73 Commits

Author SHA1 Message Date
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
Matthew Chen
3b3edf09e9 Migrate more key-value stores. 2019-06-19 11:08:02 -04:00
Matthew Chen
04ac47089d Migrate preferences to use key-value store. 2019-06-17 11:13:15 -04:00
Matthew Chen
244563e93d Auto-expiration of messages with per-message expiration. 2019-06-14 10:41:15 -04:00
Matthew Chen
43eb138827 Receive per-message expiration sync messages. 2019-06-13 17:17:35 -04:00
Matthew Chen
9beaa7e19b Migrate all models. 2019-05-31 10:27:20 -04:00
Michael Kirk
a837c75764 Simple send sans Yap 2019-05-28 17:31:53 -04:00
Matthew Chen
df2e516be4 Move ExperienceUpgrade to SSK, create ExperienceUpgrade table. 2019-05-23 16:13:26 -04:00
Michael Kirk
378625e5e5 Fix circular dependency with Yap Storage 2019-05-22 08:34:34 -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
Matthew Chen
4d777b21a7 Wrap all GRBD transaction blocks within autoreleasepools. 2019-05-21 15:50:55 -04:00
Matthew Chen
e92dc4cb1a Wrap all GRBD transaction blocks within autoreleasepools. 2019-05-21 15:50:55 -04:00
Matthew Chen
7180ab4261 "Hoist" database storage to SSKEnvironment. 2019-05-20 12:09:26 -04:00
Michael Kirk
46bb9de67e clear grdb between tests in SSK tests too 2019-05-14 15:10:02 -06:00
Michael Kirk
c309c57c4c reset grdb between tests 2019-05-14 15:10:02 -06:00
Michael Kirk
02f6a99da7 AnyGalleryFinder 2019-05-10 17:55:26 -06:00
Michael Kirk
b41f41ce07 JobQueue backed by AnyTransaction 2019-05-10 14:42:39 -06:00
Michael Kirk
0d0618d409 implement SDSKeyValueStore.allKeys for GRDB 2019-05-10 10:22:25 -06:00
Michael Kirk
fd827543fd introduce async db methods 2019-05-10 10:22:25 -06:00
Michael Kirk
67036db457 avoid spurious assert when running tests 2019-05-10 10:22:25 -06:00
Matthew Chen
eb6114a827 Auto-enable stickers. 2019-05-08 09:14:27 -04:00
Matthew Chen
2d86e21e3b Auto-enable stickers. 2019-05-08 09:14:27 -04:00