Josh Perez and Scott Nonnenberg
215d90fbe8
Always update unreadCount for conversations
2021-05-20 17:37:09 -07:00
Fedor Indutny and Scott Nonnenberg
41a4643380
Use synchronous methods in transactions
2021-05-20 17:37:09 -07:00
Scott Nonnenberg and Fedor 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 Indutny and Scott Nonnenberg
fe505a7f2f
Fix hanging "Clear All Data" on Windows
2021-05-20 17:37:08 -07:00
Josh Perez and GitHub
887b2c1db1
Get the correct unread count for a conversation
2021-05-10 11:49:13 -07:00
Josh Perez and GitHub
1276368f94
Optimize read messages query
2021-05-07 17:50:14 -04:00
Josh Perez and GitHub
e0c324e4ba
Send/Receive support for reaction read syncs
2021-05-06 21:15:25 -04:00
Evan Hahn and GitHub
05703c2719
Blur avatars of unapproved conversations
2021-04-30 14:40:25 -05:00
Evan Hahn and GitHub
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 and GitHub
a76534ed45
Fix FTS trigger for messages with NULL body
2021-04-28 15:22:33 -07:00
Fedor Indutny and GitHub
cd489a35fd
sql: use temporary tables for FTS results
2021-04-27 13:24:57 -07:00
Fedor Indutny and GitHub
c9d74654bf
sql: don't update FTS when body didn't change
2021-04-26 17:31:15 -07:00
Fedor Indutny and GitHub
dd173216ed
sql: speed up fts query, report slow queries
2021-04-26 15:01:22 -07:00
Fedor Indutny and GitHub
2c3911cad0
Use bodyRanges from message whenever available
2021-04-15 13:46:09 -07:00
Fedor Indutny and Scott Nonnenberg
1ca121aef5
Bundle sql worker with webpack
2021-04-14 14:15:26 -07:00
Evan Hahn and Scott 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 Indutny and GitHub
cb75e8b5f7
Add missing awaits in SQL logging
2021-04-14 10:50:45 -05:00
Evan Hahn and GitHub
842d7980a6
Remove old comment about await in loop
2021-04-13 15:22:28 -07:00
Fedor Indutny and Josh Perez
15247e1c9a
Fix addStickerPackReference
2021-04-09 00:06:46 -04:00
Fedor Indutny and Josh Perez
207d05fd05
Run SQL initialize in parallel with createWindow
2021-04-09 00:06:46 -04:00
Fedor Indutny and Josh 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 Indutny and Josh Perez
4fd3ed7242
Bundle preload.js
2021-04-09 00:06:14 -04:00
Fedor Indutny and Josh Perez
eb6d1b7216
Fix StickerType in sql/Interface and fix query
2021-04-09 00:05:41 -04:00
Fedor Indutny and Josh Perez
0555ef0a1e
Change primary key for messages table
2021-04-08 23:53:18 -04:00
Fedor Indutny and Josh Perez
1fc7769f9f
Optimize database and run quick check
2021-04-08 23:53:18 -04:00
Fedor Indutny and Josh Perez
b9248e04ed
Cache SQL statements used during startup
2021-04-08 23:53:18 -04:00
Fedor Indutny and Josh Perez
37c8c1727f
Types, better-sqlite3, and worker_threads for our sqlite
2021-04-08 23:53:18 -04:00
Josh Perez and GitHub
e4db9358cf
Storage service logging same
2021-04-06 15:54:47 -07:00
Fedor Indutny and Josh Perez
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
Evan Hahn and Josh Perez
1a9c6b9385
Clean up iterable utilities
2021-04-05 18:08:50 -04:00
Jost Schulte and GitHub
9823eb2201
Fix typos in TypeScript and SCSS files
...
See [#5136 ][0].
[0]: https://github.com/signalapp/Signal-Desktop/pull/5136
2021-04-02 15:28:07 -05:00
Fedor Indutny and GitHub
746e99b8c2
Flush all watchers on empty queue
2021-03-25 17:00:03 -07:00
Fedor Indutny and GitHub
5f9a75d9f4
journal_mode=WAL and synchronous=NORMAL for database
2021-03-24 14:35:06 -07:00
Scott Nonnenberg and GitHub
2df7569389
saveMessages: Delete from messages_fts table even in insert case
2021-03-22 18:09:50 -07:00
Evan Hahn and Josh Perez
b725ed2ffb
Refresh profiles on app start (at most every 12 hours)
2021-03-19 16:57:36 -04:00
Fedor Indutny and Josh Perez
021b54cb75
Fix sqlite3 threadpool exhaustion with db.serialize() on startup
2021-03-19 16:57:35 -04:00
Josh Perez and Josh Perez
f07da67c60
Toggle between db in renderer and in main
2021-03-19 16:57:35 -04:00
Josh Perez and Josh Perez
d82ce07942
Improve cold start performance
2021-03-19 16:57:35 -04:00
Scott Nonnenberg and Josh Perez
7e629edd21
Move SignalProtocolStore to TypeScript
2021-03-19 16:53:52 -04:00
Evan Hahn and Josh Perez
06fb4fd0bc
Add "new conversation" composer for direct messages
2021-03-19 16:53:51 -04:00
Evan Hahn and Josh Perez
6bbcf86772
Shorten searchConversations SQL query
2021-03-19 16:53:51 -04:00
Scott Nonnenberg and GitHub
2f90d6aca9
Manually manage full-text search table
2021-02-04 12:46:55 -08:00
Evan Hahn and GitHub
bc37b5c907
Add an assertion when updating conversations; update cleanData
2021-02-04 11:54:03 -08:00
Scott Nonnenberg and GitHub
21611266e5
Cache: Store sourceUuid for message rehydration
2021-02-04 11:43:10 -08:00
Scott Nonnenberg and GitHub
089e2864b3
Reduce unnecessary or overly verbose logging
2021-02-04 11:39:07 -08:00
Scott Nonnenberg and GitHub
12c44d40a8
makeLookup: Allow for key of zero
2021-01-27 14:39:45 -08:00
Evan Hahn and Scott Nonnenberg
c8b551edab
Upgrade to Electron 11
2021-01-25 18:29:01 -08:00
Evan Hahn and Scott Nonnenberg
8a72607fa7
Prefer type to interface and add an ESLint rule
2021-01-25 18:29:00 -08:00