Commit Graph

76 Commits

Author SHA1 Message Date
Fedor Indutny 8cf6748dce Delay initializing SQL in renderer 2021-10-07 11:16:51 -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
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 3f7957c20d Self-repairing message counter 2021-09-15 11:45:22 -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
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
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 962515031d Reduce number of SQL queries during conversation update 2021-08-16 11:56:27 -05:00
Fedor Indutny 6637fc2b95 Migrate sourceDevice from TEXT to INTEGER 2021-08-02 14:55:31 -07:00
Evan Hahn 689542a9b4 Show additional data in debug log header 2021-07-30 09:43:16 -07:00
Fedor Indutny 93f60ee5a6 Don't forget to cleanup in-memory sticker pack 2021-07-29 11:59:26 -07:00
Fedor Indutny 886e8966ff Drop support for signaling key 2021-07-19 18:11:07 -07:00
Scott Nonnenberg 7761d83055 Update timers whenever we mark messages read 2021-07-19 13:45:18 -07:00
Scott Nonnenberg a42c41ed01 Message Send Log to enable comprehensive resend 2021-07-15 16:48:09 -07:00
Fedor Indutny ad217c808d Revert "Refactor outbound delivery state"
This reverts commit 9c48a95eb5.
2021-07-12 16:51:45 -07:00
Evan Hahn 9c48a95eb5 Refactor outbound delivery state 2021-07-09 16:38:51 -05:00
Scott Nonnenberg 3b444479c0 Include new database corruption check for SQL errors 2021-06-30 15:06:50 -07:00
Evan Hahn ca330899bb Backfill missing expire times for incoming messages 2021-06-18 12:12:04 -07:00
Evan Hahn 03a187097f Disappearing message cleanups 2021-06-16 17:20:17 -05:00
Fedor Indutny 8f5086227a Enforce stronger types for ArrayBuffers and storage 2021-06-14 17:09:37 -07:00
Fedor Indutny a6ce00ff37 Fix check for universal timer notification 2021-06-02 13:55:10 -07:00
Josh Perez 28f016ce48 Conversation Colors 2021-05-28 09:15:17 -07:00
Evan Hahn d4dc9b8e39 Message Requests: Add new "Report spam and block" button 2021-05-27 13:37:58 -07:00
Evan Hahn 20e501d9f1 Remove 4 unused database functions 2021-05-27 08:45:45 -07:00
Scott Nonnenberg e6f1ec2b6b Send support for Sender Key 2021-05-25 15:40:04 -07:00
Evan Hahn f3e207d0b0 Use timestamp instead of full model for tap-to-view age outs 2021-05-20 17:37:17 -07:00
Fedor Indutny 94d2c56ab9 Introduce in-memory transactions for sessions 2021-05-20 17:37:09 -07:00
Scott Nonnenberg e6bab06510 Receive support for Sender Key
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
2021-05-20 17:37:08 -07:00
Fedor Indutny fe505a7f2f Fix hanging "Clear All Data" on Windows 2021-05-20 17:37:08 -07:00
Josh Perez 887b2c1db1 Get the correct unread count for a conversation 2021-05-10 11:49:13 -07:00
Josh Perez e0c324e4ba Send/Receive support for reaction read syncs 2021-05-06 21:15:25 -04:00
Evan Hahn bbd7fd3854 Initial support for job queue 2021-04-29 18:02:27 -05:00
Scott Nonnenberg 86d2a4b5dd decrypt/encrypt with libsignal-client, remove libsignal-protocol-javascript 2021-04-29 14:27:35 -07:00
Fedor Indutny dd173216ed sql: speed up fts query, report slow queries 2021-04-26 15:01:22 -07:00
Fedor Indutny 2c3911cad0 Use bodyRanges from message whenever available 2021-04-15 13:46:09 -07:00
Fedor Indutny 4fd3ed7242 Bundle preload.js 2021-04-09 00:06:14 -04:00
Fedor Indutny 37c8c1727f Types, better-sqlite3, and worker_threads for our sqlite 2021-04-08 23:53:18 -04:00
Josh Perez e4db9358cf Storage service logging same 2021-04-06 15:54:47 -07:00
Fedor Indutny cf50550936 Finish all renderer SQL queries switching to main
Don't switch to main process until all renderer SQL queries are
completed. If we switch while some of them are still running - we can
get SQL_BUSY from concurrent writes in main and renderer processes.
2021-04-05 18:08:50 -04:00
Fedor Indutny 746e99b8c2 Flush all watchers on empty queue 2021-03-25 17:00:03 -07:00
Josh Perez f07da67c60 Toggle between db in renderer and in main 2021-03-19 16:57:35 -04:00