Commit Graph

172 Commits

Author SHA1 Message Date
Scott Nonnenberg
0163ef203b loadAndScroll: Use one transaction to pull all data: old/new/metrics 2021-12-20 22:05:13 +01:00
Scott Nonnenberg
60a53656af Optimize a few queries 2021-12-20 22:04:02 +01:00
Fedor Indutny
3228e22428 Fix batching in getUnreadReactionsAndMarkRead 2021-12-20 16:15:36 +01:00
Evan Hahn
770c80b9ee Remove several @ts-ignores 2021-12-16 17:14:21 -08:00
Scott Nonnenberg
42cb570029 messages table: introduce new computed isStory field for index usage 2021-12-15 09:17:14 +01:00
Fedor Indutny
71ca3c0764 Drop old unprocessed envelopes 2021-12-13 17:25:44 -08:00
Evan Hahn
ebcd3e3e43 Remove unused getAllPrivateConversations SQL function 2021-12-10 15:15:00 -08:00
Scott Nonnenberg
34fd945f83 No Backbone in data layer; server/client interfaces are now similar 2021-12-10 16:51:54 -06:00
Scott Nonnenberg
161b0e5379 Refactor sender key sends to allow distribution lists 2021-12-09 18:15:59 -08:00
Scott Nonnenberg
fdc9885baa Migration and data access functions for stories 2021-12-08 20:52:46 +01:00
Evan Hahn
67b17ec317 Hide "become a sustainer" button if you're already a sustainer 2021-11-30 17:29:57 +01:00
Scott Nonnenberg
39e10efa39 Conversation last message/activity: Use IS/IS NOT to better handle NULL 2021-11-18 15:15:38 -08:00
Fedor Indutny
54c60ebb4f Treat "file is not a database" as database corruption 2021-11-17 13:17:45 -08:00
Fedor Indutny
066a23a6a9 Preliminary support for destinationUuid field 2021-11-12 13:26:52 -08:00
Evan Hahn
5619eeca83 Upgrade Prettier to 2.4.1 2021-11-11 16:43:05 -06:00
Fedor Indutny
e50f76a909 Reduce amount of logging in 41st migration 2021-11-09 11:31:41 -06:00
Fedor Indutny
7f9beef055 Extra logging for GV2 UUID migration 2021-11-03 09:59:46 -05:00
Evan Hahn
f647c4e053 Display user badges 2021-11-02 16:01:13 -07:00
Fedor Indutny
246583d274 Fix runtime error during SQL migration 2021-10-27 12:15:03 -05:00
Fedor Indutny
63fcdbe787 Use UUIDs in group database schema 2021-10-26 15:59:08 -07:00
Evan Hahn
74fde10ff5 Prefer import type when importing types 2021-10-26 14:15:33 -05:00
Fedor Indutny
1b1ed2cd05 Better reporting for DB corruption errors 2021-10-21 13:13:33 -07:00
Fedor Indutny
2c51c3fe84 Use console logger when regular is not available 2021-10-21 12:49:53 -07:00
Scott Nonnenberg
efde909484 Delete reactions when their parent message is deleted 2021-10-15 15:54:31 -07:00
Josh Perez
9dc5214db7 Fix clear all data 2021-10-15 11:43:13 -07:00
Fedor Indutny
8cf6748dce Delay initializing SQL in renderer 2021-10-07 11:16:51 -07:00
Fedor Indutny
dddb3129cc Optimize removeKnownAttachments 2021-10-05 09:36:07 -07:00
Fedor Indutny
af387095be API to suspend/resume tasks with timeout 2021-09-27 11:22:46 -07:00
Fedor Indutny
4ef0bf96cc Uint8Array migration 2021-09-23 17:49:05 -07:00
Evan Hahn
48daaaa81d Ensure getLastConversationPreview never returns expired messages 2021-09-20 10:57:59 -07:00
Fedor Indutny
b83c00f43f Defer unprocessed item attempt update 2021-09-17 16:11:24 -07:00
Josh Perez
65ddf0a9e8 Import log instead of using it off of window 2021-09-17 14:27:53 -04:00
Fedor Indutny
87b56fcfd0 Use logger interface in main sql worker 2021-09-16 14:54:06 -07:00
Fedor Indutny
3f7957c20d Self-repairing message counter 2021-09-15 11:45:22 -07:00
Fedor Indutny
039bd072ed Extra tests for SignalProtocolStore migration 2021-09-15 11:43:34 -07:00
Evan Hahn
fbedda194c Handle missing conversation in SQL migration 41 2021-09-10 09:19:45 -07:00
Fedor Indutny
c7e7d55af4 UUID-keyed lookups in SignalProtocolStore 2021-09-09 19:38:11 -07:00
Fedor Indutny
7510be0caf Detect database corruption consistently 2021-09-08 13:39:14 -07:00
Fedor Indutny
1a3f87f7f6 Fix call order when closing sqlite in renderer 2021-09-07 14:21:55 -07:00
Scott Nonnenberg
c6278aa173 Lightbox: A number of tweaks 2021-09-07 09:12:26 -07:00
Fedor Indutny
6f3191117f Batch deleteSentProtoRecipient queries 2021-08-31 14:35:01 -07:00
Evan Hahn
a85dd1be36 Retry outbound "normal" messages for up to a day 2021-08-31 13:58:39 -07:00
Fedor Indutny
798533a417 Keep UI settings on heartbeat expiration 2021-08-30 14:39:57 -07:00
Scott Nonnenberg
dcf29078f4 ConversationView: Improve types 2021-08-30 14:32:56 -07:00
Evan Hahn
9e9a815a2b ESLint: allow for..of 2021-08-26 13:18:00 -05:00
Evan Hahn
f86f753df9 Add durations utility for computing durations 2021-08-26 09:10:58 -05:00
Fedor Indutny
488ac22860 Display dialog on corrupted database 2021-08-24 13:31:06 -07:00
Evan Hahn
79c976668b Receive rings for group calls 2021-08-20 09:06:15 -07:00
Fedor Indutny
ac55b8d643 Close database in renderer 2021-08-18 09:52:48 -07:00
Fedor Indutny
d222376b8f Run WAL checkpoint on exit 2021-08-17 14:55:34 -07:00