Commit Graph

62 Commits

Author SHA1 Message Date
Matthew Chen
02fbe33779 Payments: SSK Business Logic 2021-04-06 13:57:06 -03:00
Nora Trapp
0fee67ae60 Attempt to recover database if corruption was detected 2021-04-01 12:50:41 -07:00
Matthew Chen
86b8eb08b8 Remove YapDatabase.
Apply asset from design.

Fix rebase breakage.
2021-03-25 11:41:16 -03:00
Matthew Chen
01271f60be Handle emoji availability deserialization failures. 2020-11-14 07:58:13 -03:00
Nora Trapp
d300f66673 Fix crash when decoding emoji availability 2020-11-14 01:13:24 -08:00
Matthew Chen
ed9ae2ec9f Migrate groups from v1 to v2. 2020-10-30 09:04:12 -03:00
Matthew Chen
1665283ee8 Reduce emoji-related queries on launch. 2020-10-23 14:08:47 -03:00
Matthew Chen
4448982c9d Make read receipts for linked devices durable. 2020-04-03 16:13:04 -03:00
Michael Kirk
e91526e855 make OWSErrorMakeAssertionError variadic, objc only. Swift doesn't need vargs for formatting and can use the more concise OWSAssertionError 2020-03-04 10:08:29 -07:00
Matthew Chen
7427287d37 Fix rebase breakage. 2020-02-13 10:38:26 -03:00
Matthew Chen
1f0ce9ea49 Modify profile keys in all v2 groups when we rotate our profile key. 2020-02-13 10:26:34 -03:00
Nora Trapp
4876e84e6d Migrate KBS nonce to durable token 2019-10-14 14:51:04 -07:00
Michael Kirk
75aa02cef9 Fix assumption that DB always exists with initial schema
It won't exist until we run the first migration.
2019-10-11 10:50:21 -07:00
Matthew Chen
4f712495a7 Fix bug around db change observers and the key-value store table. 2019-09-16 15:45:00 -03:00
Matthew Chen
2d89fb573e Respond to CR. 2019-09-16 13:34:55 -03:00
Matthew Chen
4944d3b96c YDB-to-GRDB migration stress testing. 2019-09-16 13:34:55 -03:00
Michael Kirk
6eb1595e87 update GRDB 2019-09-04 18:23:01 -06: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
f15630a904 Add tests around YDB-to-GRDB migration. 2019-07-29 15:11:20 -03:00
Matthew Chen
235a517264 Add tests around YDB-to-GRDB migration. 2019-07-29 15:11:20 -03:00
Matthew Chen
189e366209 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
Matthew Chen
f7da4d7aa7 Remove YDB connections. 2019-07-24 16:12:13 -03:00
Matthew Chen
9439f2829e Remove YDB connections. 2019-07-24 16:12:13 -03:00
Matthew Chen
c4270281b4 Remove YDB connections. 2019-07-24 16:12:13 -03:00
Matthew Chen
0ee64cb1c0 Remove YDB connections. 2019-07-23 10:46:11 -03:00
Matthew Chen
6a66fc2c47 Remove YDB connections. 2019-07-23 10:46:10 -03:00
Matthew Chen
e9e013aec7 Conver user profiles to use BaseModel. 2019-07-16 10:40:09 -03:00
Matthew Chen
d63a81e149 Convert migrations to use BaseModel. 2019-07-16 10:26:03 -03: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
43eb138827 Receive per-message expiration sync messages. 2019-06-13 17:17:35 -04:00
Matthew Chen
afeb56476e Merge remote-tracking branch 'private/release/2.40.0' 2019-05-21 17:15:01 -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
720f27074e Sketch out sticker tooltips. 2019-05-20 14:22:40 -04:00
Matthew Chen
e5e9721dc3 Rework sticker feature flags. 2019-05-16 17:48:46 -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
c8d6ae9bc8 fix sneaky transaction deadlock 2019-05-15 15:13:17 -06:00
Matthew Chen
e450ca8b96 Fix "key-value store values have wrong type" issue. 2019-05-14 14:47:07 -04:00
Michael Kirk
0d0618d409 implement SDSKeyValueStore.allKeys for GRDB 2019-05-10 10:22:25 -06:00
Matthew Chen
246131ebbd Fix "set unread" deadlock. 2019-05-09 13:39:23 -04:00
Matthew Chen
2d86e21e3b Auto-enable stickers. 2019-05-08 09:14:27 -04:00
Matthew Chen
12a171fac0 Modify key-value store to handle legacy values. 2019-05-06 15:46:23 -04:00
Michael Kirk
116241df3f renames for clarity, fail hard on db error 2019-05-03 09:53:37 -06:00
Matthew Chen
721c57ce08 Pull out StickerHorizontalListView. 2019-05-03 09:24:12 -04:00
Matthew Chen
77014b2d37 Fix issues around cell reuse, nested transactions. 2019-04-30 09:22:13 -04:00
Matthew Chen
3c18e298ac Fix issues around table creation, nested transactions. 2019-04-30 09:22:13 -04:00
Matthew Chen
f4a90edef5 Recent stickers. 2019-04-30 09:22:13 -04:00