Commit Graph

563 Commits

Author SHA1 Message Date
Matthew Chen
62de796e54 Deduplicate thread touches by deferring them until the transaction is finalized. 2020-06-11 13:18:49 -03:00
Matthew Chen
77531974d3 Deduplicate thread touches by deferring them until the transaction is finalized. 2020-06-11 13:18:49 -03:00
Matthew Chen
cf2ecf7452 Simplify the database snapshot update throttling. 2020-06-09 09:40:23 -03:00
Matthew Chen
5eff6b08fd Adjust database snapshot frequency to reflect app load. 2020-06-09 09:16:58 -03:00
Matthew Chen
a1b37b0ba9 Reduce max database snapshot update rate. 2020-06-08 20:05:25 -03:00
Matthew Chen
24cc82d125 Rework ReadModelCache to honor uiRead update cycle. 2020-06-08 17:37:05 -03:00
Matthew Chen
0ba5a2d383 Respond to CR. 2020-06-08 12:47:31 -03:00
Matthew Chen
9d066a227d Fix races in database snapshot updates. 2020-06-08 10:29:36 -03:00
Matthew Chen
aac3a445cb Fix races in database snapshot updates. 2020-06-08 10:29:36 -03:00
Nora Trapp
701550c628 Fix attachment sort order 2020-06-07 09:35:35 -07:00
Nora Trapp
759ed7432d Fix database migration 2020-06-07 09:35:30 -07:00
Nora Trapp
b6f27bc463 Better attachment querying 2020-06-07 09:35:08 -07:00
Matthew Chen
e059be0d8e Respond to CR. 2020-06-07 12:05:21 -03:00
Matthew Chen
24b86e0075 Use display link to push database snapshot updates. 2020-06-07 12:05:21 -03:00
Matthew Chen
67a773e6fe Use display link to push database snapshot updates. 2020-06-07 12:05:21 -03:00
Matthew Chen
a01ad40f22 Improve crash reports for GRDB schema migrations. 2020-06-06 16:09:06 -03:00
Matthew Chen
506c8a3bb7 Reduce checkpoints. 2020-06-06 16:08:53 -03:00
Matthew Chen
bf03fc09d1 Respond to CR. 2020-06-05 16:33:10 -03:00
Matthew Chen
6dd230c640 Move checkpoints to a dedicated DatabaseQueue. 2020-06-05 16:32:58 -03:00
Matthew Chen
a96d16bf7b Move checkpoints to a dedicated DatabaseQueue. 2020-06-05 16:32:58 -03:00
Matthew Chen
6bf9af9be3 De-bounce database observation. 2020-06-05 16:32:30 -03:00
Matthew Chen
2db6759d8c De-bounce database observation. 2020-06-05 16:32:30 -03:00
Matthew Chen
6584e21e11 De-bounce database observation. 2020-06-05 16:32:30 -03:00
Matthew Chen
b7f9de9a4e Throttle checkpoint frequency. 2020-06-04 13:47:28 -03:00
Nora Trapp
3d084f958d Mark as unread 2020-05-27 18:29:59 -07:00
Matthew Chen
6b4f192b1b Remove usage of retainUntilComplete. 2020-05-22 09:51:12 -03:00
Nora Trapp
59c0f9d091 Device Transfer Service 2020-05-18 20:48:08 -07:00
Matthew Chen
e84168fa68 Merge remote-tracking branch 'private/release/3.8.2' 2020-05-05 13:38:30 -03:00
Matthew Chen
8755b371c1 Try to reduce 0x8badf00d crashes by performing "app did become ready" block one-by-one.; Reduce overall frequency of checkpoints. 2020-05-04 22:02:23 -03:00
Matthew Chen
1e14d5280e Revert "Try to reduce 0x8badf00d crashes."
This reverts commit 7bf766917d.
2020-05-04 22:02:23 -03:00
Matthew Chen
51292d4bdf Merge branch 'release/3.8.1' 2020-04-29 14:40:43 -03:00
Matthew Chen
7bf766917d Try to reduce 0x8badf00d crashes. 2020-04-28 16:44:58 -03:00
Nora Trapp
85389685c9 Mark all existing interactions as not deleted 2020-04-23 10:34:20 -07:00
Nora Trapp
4a3aadd2af Fix wasRemotelyDeleted 2020-04-20 10:25:31 -07:00
Nora Trapp
3698125424 Track reaction read state 2020-04-20 10:25:31 -07:00
Nora Trapp
f0d7a9cb9c Add early message handling for delivery receipts, reactions, and delete for everyone 2020-04-16 19:44:45 -07:00
Matthew Chen
d57cb36ace Merge remote-tracking branch 'private/release/3.8.0' 2020-04-15 10:08:56 -03:00
Ehren Kret
035e7c2ec4 Migrate schema to add CDN key and number and add CDN2 constants 2020-04-14 08:53:59 -07:00
Matthew Chen
6ee2ad097e Prepare for per-group queues in group message processing. 2020-04-13 17:36:36 -03:00
Nora Trapp
12f0be1a62 Receive support for delete for everyone 2020-04-13 12:49:27 -07:00
Matthew Chen
0399130a84 Bump GRDB schema version. 2020-04-08 16:52:46 -03:00
Matthew Chen
2fca71e380 Fix build warnings. 2020-04-08 16:05:54 -03:00
Matthew Chen
e198261fa1 Respond to CR. 2020-04-07 14:02:27 -03:00
Matthew Chen
d2b713849e Remove YDB from views. 2020-04-07 13:51:02 -03:00
Matthew Chen
dd42dcca49 Remove YDB from views. 2020-04-07 13:51:02 -03:00
Matthew Chen
4448982c9d Make read receipts for linked devices durable. 2020-04-03 16:13:04 -03:00
Nora Trapp
90c7ae52a2 Derive storage service key from master key, restore on re-register 2020-04-03 11:17:01 -07:00
Nora Trapp
a8c32a92e6 Decouple PINs and registration lock 2020-04-03 11:17:01 -07:00
Matthew Chen
0b7cc8cc00 Tune crash reporting around GRDB initialization failures. 2020-04-02 14:46:18 -03:00
Matthew Chen
7380ac3910 Add upload timestamp to attachment models. 2020-04-02 13:40:21 -03:00