Commit graph

208 commits

Author SHA1 Message Date
Fedor Indutny
287d7e70e5
Fix change counter check in fts optimization 2023-02-21 14:06:35 -08:00
Alvaro
a4b5968579
Removed deletion of over-attempts-unprocessed from saveUnprocessedSync 2023-02-21 14:03:48 -07:00
Fedor Indutny
329fe8f393
Periodically optimize FTS table 2023-02-09 13:13:08 -08:00
Alvaro
e51f582bfb
Removed hard limit on unprocessed messages in cache 2023-02-02 11:39:07 -08:00
Fedor Indutny
e64816830b
Revert "Periodically optimize FTS table"
This reverts commit 5dfdde998b.
2023-01-30 15:55:11 -08:00
Fedor Indutny
67b108c718
Optimize conversation open performance 2023-01-27 09:47:24 -08:00
Fedor Indutny
2637df0c42
Use Signal tokenizer in FTS5 2023-01-26 15:53:22 -08:00
Fedor Indutny
78a33f28c8
Fix change counter check in fts optimization 2023-01-25 13:22:13 -08:00
Fedor Indutny
5dfdde998b
Periodically optimize FTS table 2023-01-24 11:13:00 -08:00
Fedor Indutny
c6e184016b
Log sqlite3 warnings 2023-01-18 14:12:33 -08:00
Fedor Indutny
efc54e44c4
Further optimize getConversationMessageStats 2023-01-17 16:44:22 -08:00
Fedor Indutny
1c22fe653c
Optimize some indices and queries 2023-01-17 14:07:21 -07:00
Jamie Kyle
e5638c0b20
Call Disposition 2023-01-09 16:52:01 -08:00
Scott Nonnenberg
b8234765bf
Update Backbone types: attributes is T - and fix failing type checks 2023-01-05 13:58:13 -08:00
Dimitris Apostolou
3c80272673 Fix typos 2023-01-03 13:02:01 -08:00
Jamie Kyle
3705b959d6
Remove end year from licenses 2023-01-03 11:55:46 -08:00
Fedor Indutny
dec23725e5
Use ReadonlyArrays in conversation model and redux 2022-12-21 16:07:02 -08:00
Fedor Indutny
ecbf84638d
Increase max attempt count for unprocessed items 2022-12-21 16:06:50 -08:00
Fedor Indutny
50d9b6e5e1
Use @signalapp/better-sqlite3 2022-12-14 12:48:36 -08:00
Nikita Karamov
7cd566726f Replace mkdirp with native fs.mkdir
Prior to this change, Signal-Desktop was using a rather ancient version
of `mkdirp`, which was meant for Node.js versions without native support
for this kind of functionality. Starting with Node v10, `fs.mkdir()` can
perform recursive directory creation.

Since Signal-Desktop doesn't utilize any advantages of using such an old
version of `mkdirp` [1] (let alone any version of `mkdirp`), we can
replace it with the native methods of `fs` (or `fs/promises`).

This transition slightly reduces the amount of packages needed to be
downloaded and included in the final app since it now relies on the
built-in API of Node.js.
2022-12-13 11:01:10 -08:00
Scott Nonnenberg
f366454893
updatePNI: Cleanup only for obsolete PNI 2022-12-12 14:06:16 -08:00
Fedor Indutny
d6d53f9d18
Optimize loading stories 2022-11-28 09:19:48 -08:00
Fedor Indutny
efa29dc800
Fix getKnownMessageAttachments query 2022-11-17 13:06:19 -07:00
Evan Hahn
a88243f26d
Better handle group call ring race conditions 2022-11-16 18:52:04 -08:00
Fedor Indutny
854c946cc7
Interactive cleanup of orphaned attachments 2022-11-16 16:29:15 -08:00
Fedor Indutny
e6ebfe4fca
Update typescript to 4.8.4 2022-11-14 11:35:37 -08:00
Josh Perez
471a9e2e98
Show group replies icon for stories with replies 2022-10-22 02:26:16 -04:00
Fedor Indutny
e14c3241c5
Refresh stories in redux when data changes 2022-10-20 12:16:37 -07:00
Scott Nonnenberg
4ec48df5b9
Additional work to include story=true on send 2022-10-07 10:02:08 -07:00
Scott Nonnenberg
2b2594c20a
Stories: Fix sender key persistence, pipe story: true into sends 2022-09-30 09:59:36 -07:00
Josh Perez
67c706a7ef
Ensure deleting conversation deletes story replies 2022-09-29 17:57:11 -07:00
Fedor Indutny
c0082adc56
Revert "Enable fullfsync mode in the database"
This reverts commit a2eac80034.
2022-09-27 13:15:53 -07:00
Scott Nonnenberg
a7253be213
getUnreadByConversationAndMarkRead: Take 'now' param for reliable tests 2022-09-22 16:49:06 -07:00
Jamie Kyle
eb10aafd7c
tsc:allowUnreachableCode, eslint:no-unreachable, assert->assertDev 2022-09-15 13:17:15 -06:00
Scott Nonnenberg
192c85bb0e getNextAttachmentDownloadJobs: Delete malformed jobs 2022-09-07 14:17:08 -07:00
Fedor Indutny
00cfd92dd0
Send and receive PniSignatureMessage 2022-08-15 14:53:33 -07:00
Scott Nonnenberg
faf6c41332
Early preparations for PNP Contact Merging 2022-08-09 14:39:00 -07:00
Fedor Indutny
b47a906211
Stickers in storage service 2022-08-03 10:10:49 -07:00
Fedor Indutny
79b48115e6 Handle PniChangeNumber 2022-07-28 14:50:10 -04:00
Josh Perez
e321e1fea8
Edit distribution lists via story settings menu 2022-07-20 20:07:09 -04:00
Scott Nonnenberg
a2eac80034 Enable fullfsync mode in the database 2022-07-15 14:47:24 -07:00
Fedor Indutny
a450e13a99
Fetch PNI group credentials 2022-07-08 13:46:25 -07:00
Fedor Indutny
3111b804de
Add an extra assert to Data.saveMessage 2022-07-06 15:53:25 -07:00
Scott Nonnenberg
5fcf97b43b
Introduce logging for unexpected incoming urgent values 2022-07-05 15:20:30 -07:00
Scott Nonnenberg
06190b1434
Introduce new urgent property for outgoing messages 2022-07-01 09:55:13 -07:00
Josh Perez
9155784d56
Sync my stories with primary device 2022-06-30 20:52:03 -04:00
Fedor Indutny
63679f5af6
Increment and store message migration attempts 2022-06-20 14:18:23 -07:00
Fedor Indutny
6aeddb9301
Order unprocessed envelopes by receivedAtCounter 2022-06-10 09:09:21 -07:00
Scott Nonnenberg
d753fe8fcb
getUnreadByConversationAndMarkRead: Only query incoming messages 2022-06-02 18:09:13 -07:00
Fedor Indutny
dfc310805a
Allow manually retrying attachment downloads 2022-05-23 16:07:41 -07:00