Commit graph

101 commits

Author SHA1 Message Date
Scott Nonnenberg
e5e4c1aa3e
Allow for zero-size attachments in maximum size calculation 2024-03-01 11:15:24 -08:00
Scott Nonnenberg
304287efef
Properly handle long message attachments for edited messages 2024-01-30 13:22:23 -08:00
Fedor Indutny
e46b1f7958
Ignore delivery receipts for outgoing reactions 2023-12-19 09:57:15 -05:00
trevor-signal
c8099171e2
Update message receipt processing & add tests 2023-12-18 12:27:18 -08:00
Scott Nonnenberg
5e733059b9
Introduce smaller incoming size limit for text attachments 2023-12-18 19:14:59 +01:00
trevor-signal
e7086a83b2
Batch receipt processing 2023-12-15 10:33:02 -08:00
trevor-signal
f207cfbbbf
Fix reference error in getTargetMessage 2023-12-14 16:09:11 -05:00
trevor-signal
c2b1d76e6d
Refactor target message for delivery receipt processing 2023-12-08 15:35:31 -05:00
Fedor Indutny
47c49d0a20
Persist reaction.receivedAtDate 2023-12-07 17:30:20 -08:00
trevor-signal
3c12a0aad0
Disambiguate between types of receipts when stored in the same map 2023-11-20 13:25:49 -08:00
trevor-signal
a3065796fe
Cache view syncs by sender + timestamp 2023-11-02 09:16:52 -07:00
Scott Nonnenberg
0b08fc9e1f
Use sender+timestamp to cache receipts and read syncs 2023-11-02 09:28:49 -04:00
trevor-signal
bb89ff6d4e
Only update sendStateByConversationId for correct version of edited message 2023-11-01 17:16:20 -07:00
Scott Nonnenberg
99b2bc304e
Use streams to download attachments directly to disk
Co-authored-by: trevor-signal <131492920+trevor-signal@users.noreply.github.com>
2023-10-30 09:24:28 -07:00
ayumi-signal
6906e39c87
Don't process edits until attachmentDownloadQueue finishes 2023-10-19 10:10:08 -07:00
Josh Perez
7d35216fda
Replace MessageController with MessageCache 2023-10-03 17:12:57 -07:00
trevor-signal
17b0c0548d
Update read sync handling for reacted messages 2023-09-29 00:05:24 +02:00
Josh Perez
05a2286d94
Debug onReadMessage call with read sync timestamp 2023-09-26 22:42:40 -04:00
Josh Perez
fc34cd88b8
Use read sync timestamp to do unread bookkeeping 2023-09-13 10:42:33 -04:00
Josh Perez
372d9c2198
Fix out of order edit message read syncs 2023-09-01 16:27:18 -04:00
Josh Perez
ee9de52f9d
Add out of order mock test for read syncs 2023-08-29 17:51:24 -04:00
Josh Perez
04f716986c
Do not confirm messages until we have handled them 2023-08-21 13:08:27 -07:00
Fedor Indutny
8b0da36caa Migrate schema to service ids 2023-08-21 09:30:33 -07:00
Josh Perez
b2319b43d6 Tracks send state for edited messages 2023-08-21 09:30:32 -07:00
Fedor Indutny
366b875fd2 Introduce Service Id Types
Co-authored-by: Scott Nonnenberg <scott@signal.org>
2023-08-21 09:30:32 -07:00
Josh Perez
73737987fe
Process out of order edits 2023-08-08 09:26:22 -07:00
Josh Perez
d8ea785f4e
Do not confirm DOE or edit until it is processed 2023-08-07 09:36:37 -07:00
Josh Perez
3bf8adf6e1
Adds logging for edit syncs processing 2023-07-05 15:38:37 -07:00
Fedor Indutny
3abacb25ce
Clear typing indicator after receiving edits 2023-05-31 11:14:38 -07:00
Fedor Indutny
5869717cd3
Use correct timestamp for receipts of edited messages 2023-05-16 10:37:12 -07:00
Josh Perez
1f2cde6d04
Send edited messages support
Co-authored-by: Fedor Indutnyy <indutny@signal.org>
2023-04-20 09:31:59 -07:00
Josh Perez
68ae25f5cd
Remove GroupContext proto
Co-authored-by: Scott Nonnenberg <scott@signal.org>
2023-04-14 17:52:50 -07:00
Jamie Kyle
76b9d07acf
Remove Signal.Util 2023-04-10 20:54:43 -07:00
Josh Perez
d093b1ab13
Delivery receipt support for edited messages 2023-03-29 17:58:16 -04:00
Josh Perez
36e21c0134
Receive support for editing messages 2023-03-27 19:48:57 -04:00
Alvaro
b5849f872a
Drain jobs cleanly on shutdown 2023-02-24 11:03:17 -08:00
Josh Perez
86488b97b9
Adds debugging utilities in dev/beta environments 2023-01-18 19:02:03 -05:00
Scott Nonnenberg
ef20c31c64
AttachmentDownloads: Log second error, finish job even on failures 2023-01-13 12:18:59 -07:00
Josh Perez
9374832ea4
Enables ContextIsolation 2023-01-12 16:24:59 -08:00
Scott Nonnenberg
50a0110192
Stories: Proper notifications and handling of out-of-order messages 2023-01-11 14:54:06 -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
ed271d92ea
Add no-misused/floating-promises lint rule 2022-12-21 10:41:48 -08:00
Scott Nonnenberg
2d6f13a8c5
ViewSyncs: Save message after modifying it 2022-12-19 11:11:04 -08:00
Alvaro
e41252b35e
Added clearer debug logging to createOrLookup 2022-12-02 17:05:27 -08:00
Fedor Indutny
991580a1ed
Improve error handling during group sends 2022-11-22 10:43:43 -08:00
Fedor Indutny
8452a72847
Fix story reactions in 1:1 conversations 2022-11-15 18:27:29 -08:00
Fedor Indutny
54aa0d39b9
Store all story reactions as messages 2022-11-02 16:48:38 -07:00
Fedor Indutny
3702a67975
Story view receipts setting 2022-10-25 15:18:42 -07:00
Scott Nonnenberg
4ec48df5b9
Additional work to include story=true on send 2022-10-07 10:02:08 -07:00