Commit graph

196 commits

Author SHA1 Message Date
Scott Nonnenberg
48245eeea6
On send, pull data from target edit if sending edit 2023-11-17 13:16:48 -05:00
Scott Nonnenberg
2da49456c6
conversationJobQueue: Only show captcha for bubble messages 2023-10-27 17:14:35 -07:00
Josh Perez
50a2ddf4b2
Fix softAssert when sending reaction 2023-10-23 09:40:09 -07:00
trevor-signal
ce276b56c2
Ensure messageCache is updated when properties are unset 2023-10-19 10:14:19 -07:00
Josh Perez
7d35216fda
Replace MessageController with MessageCache 2023-10-03 17:12:57 -07:00
Fedor Indutny
ba1a8aad09
Retain cdn ids for attachments 2023-10-03 17:09:31 -07:00
Josh Perez
d0296ececa
Improvements to the media editor 2023-09-14 10:04:48 -07:00
Fedor Indutny
e05de1aa6f
Fix reaction field name in migration 88 2023-08-29 00:03:32 +02:00
Fedor Indutny
8b0da36caa Migrate schema to service ids 2023-08-21 09:30:33 -07:00
Fedor Indutny
deb1f9bd8d A few serviceId fixes
Co-authored-by: Scott Nonnenberg <scott@signal.org>
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
Scott Nonnenberg
13470a789c Ensure that isConversationUnregistered is not called on groups 2023-08-21 09:30:31 -07:00
Scott Nonnenberg
716f852970
New getRecentStoryReplies function to clean up replies in multiple convos 2023-07-21 15:10:32 -07:00
Scott Nonnenberg
b6445a6af0 Support for loading, storing, and using kyber keys in decryption 2023-07-19 16:21:30 -07:00
trevor-signal
60f7308dc8
Allow sends of quoted messages with attachments without thumbnails 2023-07-07 13:34:23 -07:00
Fedor Indutny
f90c2b7479
destinationServiceId in Sent 2023-06-29 21:17:27 +02:00
Fedor Indutny
b705609341
Fix edit message in Note to Self 2023-05-31 08:54:45 -07:00
Fedor Indutny
5869717cd3
Use correct timestamp for receipts of edited messages 2023-05-16 10:37:12 -07:00
Fedor Indutny
11456d100f
Put timestamp of edited message into the job 2023-05-15 14:26:36 -07:00
Josh Perez
46942ece00
Send proper sync message for edit msg in all contexts 2023-05-09 18:25:37 -07:00
Scott Nonnenberg
b4caf67bf9
Allow copy/paste of formatting and mentions 2023-05-09 17:40:19 -07:00
Fedor Indutny
27f938b165 Use correct resend request timestamp 2023-05-09 10:52:42 -04:00
Scott Nonnenberg
07bad13fa1
uploadMessageSticker: Compare against previous sticker, not cache 2023-04-21 12:33:05 -07:00
Scott Nonnenberg
bedd2c8a15
Allow sends of quote attachments with no thumbnail 2023-04-21 11:26:49 -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
Scott Nonnenberg
9bfbee464b
Support for sending formatting messages 2023-04-14 11:16:28 -07:00
Jamie Kyle
76b9d07acf
Remove Signal.Util 2023-04-10 20:54:43 -07:00
Scott Nonnenberg
d9d820e72a
Support for receiving formatted messages
Co-authored-by: Alvaro Carrasco <alvaro@signal.org>
2023-04-10 09:31:45 -07:00
Jamie Kyle
c02c8d9640
Normalize i18n() calls to prepare for ICU migration 2023-03-28 11:26:46 -07:00
Scott Nonnenberg
556dbe3114
JobQueue: Don't start job if we're shutting down 2023-03-16 13:17:35 -07:00
Scott Nonnenberg
5949cc11b1
Add all sends needed for retry to conversationJobQueue 2023-03-14 13:25:05 -07:00
Alvaro
b5849f872a
Drain jobs cleanly on shutdown 2023-02-24 11:03:17 -08:00
Jamie Kyle
5626cea9c3
Cancel receipt send when encountering safety number change 2023-02-13 10:02:40 -08:00
Fedor Indutny
486cbe0471
Support reporting token on envelope 2023-02-07 16:55:12 -08:00
Josh Perez
e11f961d7a
Notification for failed story sends 2023-02-07 12:33:04 -07:00
Jamie Kyle
2bbcc4676e
Move receipt queues into conversation queue to handle 428s 2023-02-06 09:24:34 -08:00
Fedor Indutny
99c95794af
Ensure consistent member filtering in sendToGroup 2023-01-20 11:42:55 -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
86e92dda51
Share profile key: Cancel send in more situations 2022-12-20 14:17:51 -08:00
Fedor Indutny
37d383f344
Improve story DOE flow 2022-11-28 18:07:26 -08:00
Fedor Indutny
11deabe959
Refactor send story job 2022-11-28 17:02:01 -08:00
Fedor Indutny
629b5c3f6a
Better send state for unregistered recipients 2022-11-16 18:15:26 -08:00
Josh Perez
220963c789
Sending/Failed state for stories 2022-11-16 14:10:11 -08:00
Fedor Indutny
6be69a7ba8
Use DurationInSeconds for expireTimer 2022-11-16 13:18:02 -07:00
Scott Nonnenberg
5100d17ed2
SafetyNumberChangeDialog: Introduce awareness of stories 2022-11-10 23:10:30 -05:00
Alvaro
4445ef80eb
Implement group story reply deletion 2022-11-04 07:22:07 -06:00
Fedor Indutny
54aa0d39b9
Store all story reactions as messages 2022-11-02 16:48:38 -07:00
Alvaro
ba55285c74
Using the group story timestamp when adding to the conversation job queue 2022-10-21 18:38:49 -06:00
Scott Nonnenberg
5dea03f713
Include story=true when deleting your story for everyone 2022-10-20 15:10:10 -07:00
Scott Nonnenberg
0e49f7906d
Story send: Send sync message even in partial failure 2022-10-14 18:22:04 -06:00
Scott Nonnenberg
a711ae1c49
Don't include expireTimer with reaction sends 2022-10-07 15:11:13 -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
Jamie Kyle
eb10aafd7c
tsc:allowUnreachableCode, eslint:no-unreachable, assert->assertDev 2022-09-15 13:17:15 -06:00
Fedor Indutny
e3f418105b
Improve challenge handling 2022-09-14 17:31:37 -07:00
Jamie Kyle
0086216c9d
Add eqeqeq rule but require == for null 2022-09-14 14:40:44 -07:00
Fedor Indutny
1e825fd1e8
Fix recursion loop in sendStory 2022-09-08 16:17:38 -07:00
Josh Perez
70bdbe33d5
Group stories should have a different timestamp 2022-08-19 14:12:05 -07:00
Fedor Indutny
00cfd92dd0
Send and receive PniSignatureMessage 2022-08-15 14:53:33 -07:00
Josh Perez
ccc89545c5
Lets users send stories to groups 2022-08-10 14:37:19 -04:00
Josh Perez
2f5dd73e58
Send stories to groups capability 2022-08-08 23:26:21 -04:00
Josh Perez
7bc6bbc668
Send story images/video 2022-08-04 12:23:24 -07:00
Josh Perez
9eff67446f
Send text attachment stories 2022-08-02 15:31:55 -04:00
Scott Nonnenberg
1f65a4491f
Use concurrency of one for queues with no options 2022-07-20 19:40:53 -07:00
Josh Perez
d7307934bc
Adjust some types 2022-07-12 17:37:21 -07:00
Scott Nonnenberg
06190b1434
Introduce new urgent property for outgoing messages 2022-07-01 09:55:13 -07:00
Scott Nonnenberg
2464e0a9c1
Convert signal.js and preload.js to Typescript 2022-06-13 14:39:35 -07:00
Scott Nonnenberg
16d180efac
Send just sync message if we've already sent to all recipients 2022-05-31 16:20:45 -07:00
Scott Nonnenberg
d446aa9e6b
Move to uuids for untrusted conversations needing verification 2022-05-31 12:46:56 -07:00
Fedor Indutny
3be95e821e
Pass abortSignal to sendToGroup 2022-05-23 15:08:13 -07:00
Fedor Indutny
5c72c785a0
Stop retrying message send on 400 response 2022-05-23 09:27:40 -07:00
Fedor Indutny
e69857fc13
Mark messages as failed when running out of time 2022-05-18 13:44:51 -07:00
Josh Perez
0ca66d6e95
Adjust story replies for direct conversations 2022-05-10 15:02:21 -04:00
Scott Nonnenberg
300cee2e24
JobQueue: If job data does not parse, delete it from database 2022-05-05 11:55:15 -07:00
Scott Nonnenberg
232004cdd1
sendNormalMessage: Only send just sync message in Note to Self, groups 2022-05-05 09:27:56 -07:00
Josh Perez
6d576ed901
Allow multiple reactions to stories 2022-04-28 18:06:28 -04:00
Scott Nonnenberg
1d26424f22
Challenge: If no retry-after header on 428, don't start timer for retry 2022-04-25 16:05:23 -07:00
Scott Nonnenberg
4c1b27c150
sendProfileKey: Be resilient to more kinds of errors 2022-04-25 14:03:47 -07:00
Josh Perez
9973c661d0
Attach storyContext to group story replies 2022-04-22 11:45:45 -07:00
Chris Eager
2f5e4f1b98
Update message reporting to use sender ACI instead of E164 2022-04-12 12:54:04 -07:00
Scott Nonnenberg
8f630a52b5
Job Queue: Don't wait unless it's our first time in verify loop 2022-04-12 12:41:12 -07:00
Scott Nonnenberg
7f89f6162f
Disable forward for messages with embedded contact 2022-04-11 13:57:44 -07:00
Scott Nonnenberg
42bd8cb4ce
getUntrustedConversations: Ensure we return conversationIds 2022-03-29 17:14:01 -07:00
Fedor Indutny
ca3f8b7df0
Store receivedAtCounter separately for unprocessed 2022-03-24 14:28:56 -07:00
Scott Nonnenberg
bddd55d574
Challenge: Save conversationIds and start queues 2022-03-21 14:19:37 -07:00
Scott Nonnenberg
53ca6672a9
Timeline: Spacing and message selection tweaks 2022-03-17 14:20:40 -07:00
Josh Perez
2114c851c7
Include authorUuid when sending replies 2022-03-11 15:14:32 -08:00
Scott Nonnenberg
78fd36e880
Ensure that only messages with storyId have a StoryContext 2022-03-04 15:20:47 -08:00
Josh Perez
eb91eb6fec
Process incoming story messages 2022-03-04 13:14:52 -08:00
Scott Nonnenberg
0a52318be6
Delete for everyone: Track sends and show failure states 2022-03-04 11:22:31 -08:00
Fedor Indutny
8cc3605637
Fix generation of reaction ids 2022-03-02 15:39:51 -08:00
Scott Nonnenberg
71b2b6e30a
Conversation Queue: Fix conversationId added to untrusted list 2022-03-01 17:04:19 -08:00
Scott Nonnenberg
fc62fd4564
Don't send to blocked users 2022-02-24 18:40:56 -08:00
Jon Chambers
45289f519a
Accept HTTP/429 as a "rate-limited" status code 2022-02-24 16:26:58 -08:00
Scott Nonnenberg
b33b5d2a30
profileKey: Check length of incoming values, clear on failed send/fetch 2022-02-22 14:34:57 -06:00
Scott Nonnenberg
30783c887c
Introduce new conversationJobQueue 2022-02-16 10:36:21 -08:00