Commit Graph
101 Commits
Author SHA1 Message Date
Evan HahnandGitHub ca330899bb Backfill missing expire times for incoming messages 2021-06-18 12:12:04 -07:00
Scott NonnenbergandGitHub 68f1023946 Move message.getPropsForBubble and friends to selectors 2021-06-17 10:15:10 -07:00
Evan HahnandGitHub 03a187097f Disappearing message cleanups 2021-06-16 17:20:17 -05:00
Evan HahnandGitHub 61ad1231df Ensure we always set expiration timer 2021-06-15 16:49:05 -07:00
Fedor IndutnyandGitHub 8f5086227a Enforce stronger types for ArrayBuffers and storage 2021-06-14 17:09:37 -07:00
Fedor IndutnyandGitHub a6ce00ff37 Fix check for universal timer notification 2021-06-02 13:55:10 -07:00
Fedor IndutnyandGitHub 4ee46cb490 Fix typo in SQL migration logs 2021-06-02 13:43:54 -05:00
Fedor IndutnyandGitHub 19f8042cd3 Universal Disappearing Messages 2021-06-01 13:45:43 -07:00
Fedor IndutnyandGitHub e4d7e1e9c8 Simplify attachment jobs SQL query 2021-06-01 10:13:10 -07:00
Josh PerezandGitHub 28f016ce48 Conversation Colors 2021-05-28 09:15:17 -07:00
Scott NonnenbergandGitHub ee41e4f71d A few small bugfixes 2021-05-27 13:47:39 -07:00
Evan HahnandScott Nonnenberg d4dc9b8e39 Message Requests: Add new "Report spam and block" button 2021-05-27 13:37:58 -07:00
Evan HahnandGitHub 20e501d9f1 Remove 4 unused database functions 2021-05-27 08:45:45 -07:00
Scott NonnenbergandGitHub e6f1ec2b6b Send support for Sender Key 2021-05-25 15:40:04 -07:00
Fedor IndutnyandGitHub 9693700dd2 Switch to WAL after cipher migration 2021-05-25 11:13:37 -07:00
Fedor IndutnyandGitHub 227f532ec2 Fix processing of cached envelopes 2021-05-24 14:30:56 -07:00
Fedor IndutnyandScott Nonnenberg bc146a54af await goBackToMainProcess in sticker-creator 2021-05-20 17:37:18 -07:00
Evan HahnandScott Nonnenberg f3e207d0b0 Use timestamp instead of full model for tap-to-view age outs 2021-05-20 17:37:17 -07:00
Evan HahnandScott Nonnenberg 6ccf97b5d0 getMessageById query should only select necessary field 2021-05-20 17:37:10 -07:00
Fedor IndutnyandScott Nonnenberg 94d2c56ab9 Introduce in-memory transactions for sessions 2021-05-20 17:37:09 -07:00
Josh PerezandScott Nonnenberg 215d90fbe8 Always update unreadCount for conversations 2021-05-20 17:37:09 -07:00
Fedor IndutnyandScott Nonnenberg 41a4643380 Use synchronous methods in transactions 2021-05-20 17:37:09 -07:00
Scott NonnenbergandFedor Indutny 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 IndutnyandScott Nonnenberg fe505a7f2f Fix hanging "Clear All Data" on Windows 2021-05-20 17:37:08 -07:00
Josh PerezandGitHub 887b2c1db1 Get the correct unread count for a conversation 2021-05-10 11:49:13 -07:00
Josh PerezandGitHub 1276368f94 Optimize read messages query 2021-05-07 17:50:14 -04:00
Josh PerezandGitHub e0c324e4ba Send/Receive support for reaction read syncs 2021-05-06 21:15:25 -04:00
Evan HahnandGitHub 05703c2719 Blur avatars of unapproved conversations 2021-04-30 14:40:25 -05:00
Evan HahnandGitHub 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 IndutnyandGitHub a76534ed45 Fix FTS trigger for messages with NULL body 2021-04-28 15:22:33 -07:00
Fedor IndutnyandGitHub cd489a35fd sql: use temporary tables for FTS results 2021-04-27 13:24:57 -07:00
Fedor IndutnyandGitHub c9d74654bf sql: don't update FTS when body didn't change 2021-04-26 17:31:15 -07:00
Fedor IndutnyandGitHub dd173216ed sql: speed up fts query, report slow queries 2021-04-26 15:01:22 -07:00
Fedor IndutnyandGitHub 2c3911cad0 Use bodyRanges from message whenever available 2021-04-15 13:46:09 -07:00
Fedor IndutnyandScott Nonnenberg 1ca121aef5 Bundle sql worker with webpack 2021-04-14 14:15:26 -07:00
Evan HahnandScott Nonnenberg ea6562b7ac Merge branch 'hiqua-no_lower_limit_query' into next-beta 2021-04-14 14:14:57 -07:00
Evan Hahn 1366c93ed8 Fix getUnprocessedCount error message 2021-04-14 12:31:10 -05:00
Fedor IndutnyandGitHub cb75e8b5f7 Add missing awaits in SQL logging 2021-04-14 10:50:45 -05:00
Evan HahnandGitHub 842d7980a6 Remove old comment about await in loop 2021-04-13 15:22:28 -07:00
Fedor IndutnyandJosh Perez 15247e1c9a Fix addStickerPackReference 2021-04-09 00:06:46 -04:00
Fedor IndutnyandJosh Perez 207d05fd05 Run SQL initialize in parallel with createWindow 2021-04-09 00:06:46 -04:00
Fedor IndutnyandJosh Perez af9e038add Optimize hot queries
`getLastConversationX()` is called from debounced function, but
depending on how fast the fetch from the server is the actual
invocations could happen for every other message. Prepare and optimize
queries to save time.
2021-04-09 00:06:46 -04:00
Fedor IndutnyandJosh Perez 4fd3ed7242 Bundle preload.js 2021-04-09 00:06:14 -04:00
Fedor IndutnyandJosh Perez eb6d1b7216 Fix StickerType in sql/Interface and fix query 2021-04-09 00:05:41 -04:00
Fedor IndutnyandJosh Perez 0555ef0a1e Change primary key for messages table 2021-04-08 23:53:18 -04:00
Fedor IndutnyandJosh Perez 1fc7769f9f Optimize database and run quick check 2021-04-08 23:53:18 -04:00
Fedor IndutnyandJosh Perez b9248e04ed Cache SQL statements used during startup 2021-04-08 23:53:18 -04:00
Fedor IndutnyandJosh Perez 37c8c1727f Types, better-sqlite3, and worker_threads for our sqlite 2021-04-08 23:53:18 -04:00
Josh PerezandGitHub e4db9358cf Storage service logging same 2021-04-06 15:54:47 -07:00