Commit graph

520 commits

Author SHA1 Message Date
Scott Nonnenberg
4c9baaef80
Filter incoming bodyRanges, also filter before display 2023-04-11 17:16:46 -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
0d4d43fbcf
Filter unknown call disposition event types 2023-04-06 09:34:52 -07:00
Jamie Kyle
f1a632263a
Log unknown field tags for sync messages we havent handled 2023-04-05 18:05:04 -07:00
Josh Perez
36e21c0134
Receive support for editing messages 2023-03-27 19:48:57 -04:00
Fedor Indutny
7e05893e1a
Fallback to dns.resolve4/6 on getaddrinfo failure 2023-03-21 17:43:55 -07:00
Scott Nonnenberg
5949cc11b1
Add all sends needed for retry to conversationJobQueue 2023-03-14 13:25:05 -07:00
Fedor Indutny
371c73377c
Move setVerified to conversation queue 2023-03-09 15:33:12 -08:00
Fedor Indutny
c038c07b06
Better way to throw websocket exceptions 2023-02-28 12:34:54 -08:00
Fedor Indutny
fad0529080
New sticker creator button 2023-02-27 14:34:43 -08:00
Fedor Indutny
5d110964b9
PNP Settings 2023-02-23 13:32:19 -08:00
Fedor Indutny
8ed13b2247
Username hashing 2023-02-08 09:14:59 -08:00
Fedor Indutny
486cbe0471
Support reporting token on envelope 2023-02-07 16:55:12 -08:00
Scott Nonnenberg
f3b68677b3
Use envelope.receivedAtDate when saving items to the cache 2023-02-06 09:35:14 -08:00
Alvaro
e51f582bfb
Removed hard limit on unprocessed messages in cache 2023-02-02 11:39:07 -08:00
Scott Nonnenberg
257f5e1231
MessageReceiver: handle sender key distro message included in any proto 2023-01-25 14:59:40 -08:00
Scott Nonnenberg
fbdfaf3962
Cancel in-flight attachment downloads on suspend/resume 2023-01-24 11:17:00 -08:00
Scott Nonnenberg
7c1f186c05
sendToGroup: Don't fail send if we get 401 from multi_recipient/ request 2023-01-20 17:50:34 -07:00
Evan Hahn
7f0ed2599d
Percent-encode URL path when reporting spam 2023-01-19 11:53:04 -08:00
Josh Perez
86488b97b9
Adds debugging utilities in dev/beta environments 2023-01-18 19:02:03 -05:00
Fedor Indutny
ac50af52d2
Unsupported OS Dialog 2023-01-18 15:31:10 -08:00
Scott Nonnenberg
4a3ffe07e8
sendToGroup: 404 from multi_recipient endpoint now treated differently 2023-01-13 14:01:47 -08:00
Josh Perez
9374832ea4
Enables ContextIsolation 2023-01-12 16:24:59 -08:00
Fedor Indutny
63509b8965
Add extra logging to TaskWithTimeout 2023-01-12 14:00:50 -08:00
Fedor Indutny
19279cfebd
Support esnext in storybook 2023-01-12 12:58:53 -08:00
Scott Nonnenberg
0b39ff8b5f
Reactions: isSentByConversationId is only for reactions from this device 2023-01-12 12:29:04 -08:00
Jamie Kyle
e5638c0b20
Call Disposition 2023-01-09 16:52:01 -08:00
Josh Perez
235a188291
Always download link preview image 2023-01-06 16:55:12 -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
ed271d92ea
Add no-misused/floating-promises lint rule 2022-12-21 10:41:48 -08:00
Fedor Indutny
57eed10a38
Add "pni" capability in staging 2022-12-20 12:29:17 -08:00
Fedor Indutny
d608b81292
Simplify sticker upload 2022-12-15 13:47:38 -08:00
Scott Nonnenberg
a49a6f2057
Notifications for a few merge-related scenarios 2022-12-05 14:46:54 -08:00
Alvaro
78ce34b9d3
Removed gv1-migration 2022-12-05 09:42:13 -08:00
Jamie Kyle
6198b02640
Init payments message types 2022-11-30 13:47:54 -08:00
Fedor Indutny
37d383f344
Improve story DOE flow 2022-11-28 18:07:26 -08:00
Scott Nonnenberg
a8ce959405
Use implicit content hint for sender key distribution messages 2022-11-28 15:30:42 -08:00
Scott Nonnenberg
ca638dd44f
Ensure that media messages are cached when loaded from convo settings 2022-11-28 14:40:22 -08:00
Alvaro
b720ed7bd5
Added story identifier when debug logging
Co-authored-by: Jamie Kyle <jamie@signal.org>
2022-11-28 14:34:49 -08:00
Alvaro
4294429bc2
Made StoryDataType sourceDevice required 2022-11-23 12:52:36 -08:00
Fedor Indutny
991580a1ed
Improve error handling during group sends 2022-11-22 10:43:43 -08:00
Fedor Indutny
f0a3735ca2
Handle new rate limiting info from CDSI 2022-11-22 10:13:55 -08:00
Fedor Indutny
b26f60d2fc
Better handling of calling messages 2022-11-19 00:31:31 -08:00
Fedor Indutny
5e1169bec3
Fine-grained session control for node-fetch 2022-11-19 00:14:20 -05:00
Fedor Indutny
98ef4c627a
Update eslint to 8.27.0 2022-11-17 16:45:19 -08:00
Josh Perez
cf43726664
Populate sender state correctly via story sync to group 2022-11-17 11:59:00 -08:00
Fedor Indutny
6be69a7ba8
Use DurationInSeconds for expireTimer 2022-11-16 13:18:02 -07:00
Fedor Indutny
e6ebfe4fca
Update typescript to 4.8.4 2022-11-14 11:35:37 -08:00
Alvaro
9de31d1b1c
Allow receiving group stories from senders with profileSharing=false 2022-11-09 14:53:19 -08:00
Fedor Indutny
d7a2669b49
Wrap eventHandlerQueue jobs with task with timeout 2022-11-09 10:59:32 -08:00
Josh Perez
19a42ed719
Onboarding story 2022-11-08 21:38:19 -05:00
Fedor Indutny
9ce8d5e68f
Fix storage service handling of contact status 2022-11-07 15:21:12 -08:00
Josh Perez
64fa3aac59
Use explicit allowlist setting for story receive 2022-11-02 16:56:17 -04:00
Fedor Indutny
8f62442822
Allow link-only stories, download previews 2022-10-31 14:28:28 -07:00
Fedor Indutny
7f0a66847b
Remove LegacyCDS 2022-10-26 16:17:14 -07:00
Fedor Indutny
3beccbfd31
Reduce timeout of some long running tasks 2022-10-25 17:03:05 -07:00
Scott Nonnenberg
5dea03f713
Include story=true when deleting your story for everyone 2022-10-20 15:10:10 -07:00
Scott Nonnenberg
1c89168301
Phased rollout by country code; starting w/ desktop.stories remote flag 2022-10-20 14:02:22 -07:00
Fedor Indutny
b82234b119
Update Intel advisories for Legacy CDS 2022-10-20 11:52:32 -07:00
Fedor Indutny
f5e94f2069
Use correct endpoint to lookup by username 2022-10-19 13:41:47 -07:00
Fedor Indutny
00f82a6d39
Discriminator in username 2022-10-18 10:12:02 -07:00
Scott Nonnenberg
4ec48df5b9
Additional work to include story=true on send 2022-10-07 10:02:08 -07:00
Josh Perez
3bfeffe502
Handle storyMessageRecipient updates before handling story messages 2022-10-07 09:30:54 -07:00
Scott Nonnenberg
5e63d8aadf
Pipe device number through for sync'd sent story messages 2022-10-05 13:49:43 -07:00
Evan Hahn
5219cdf2c9
Make 1 the minimum registration ID 2022-10-05 09:35:56 -07:00
Fedor Indutny
e20ec013f5
Provide pni registration id in createAccount 2022-10-04 17:50:07 -07:00
Fedor Indutny
ebafc933b9
Use X-Signal-Receive-Stories header 2022-10-04 17:48:25 -07:00
Fedor Indutny
8b705d3b55
Sync storiesDisabled flag on AccountRecord 2022-10-04 10:53:36 -07:00
Scott Nonnenberg
2b2594c20a
Stories: Fix sender key persistence, pipe story: true into sends 2022-09-30 09:59:36 -07:00
Fedor Indutny
373f121887
Extend cleanSignedPreKeys to support PNI 2022-09-27 09:33:56 -07:00
Fedor Indutny
59da9c7ae5
Stop using deprecated PniCredential 2022-09-21 09:18:48 -07:00
Fedor Indutny
e0ae5fc27c
Wait for contact sync in MessageReceiver 2022-09-20 16:53:38 -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
jamiebuilds-signal
64a4d2e717
Improved reliability of strictAssert 2022-09-14 09:40:50 -07:00
jamiebuilds-signal
5a8f484a03
Enable brace-style eslint rules 2022-09-13 14:48:09 -07:00
Scott Nonnenberg
8899ca9724
Improve logging in handleDataMessage and contact sync 2022-09-12 17:52:55 -07:00
Scott Nonnenberg
380833447f
Stories: Don't drop 1:1 replies, always 24-hour expireTimer 2022-09-09 18:05:07 -06:00
Evan Hahn
aa86d8bf82
Lint .d.ts files 2022-09-06 13:51:34 -07:00
Scott Nonnenberg
6dd2b73855
Storage/getItemsState: Warn if not ready, log on success as well 2022-09-01 18:05:47 -07:00
Fedor Indutny
dda21701c5
Pass proxyUrl to LegacyCDS 2022-08-31 13:45:58 -07:00
Fedor Indutny
7632f31cf2
Show internal error toast on CDS errors 2022-08-30 17:03:42 -07:00
Evan Hahn
39354b11b7
Prefer type to interface in .d.ts files 2022-08-30 16:24:04 -05:00
Fedor Indutny
c42df6312e
contactSync should depend on syncMessage.complete 2022-08-26 15:26:38 -07:00
Fedor Indutny
7ce4beb270
Refactor contact sync processing 2022-08-24 22:04:42 -07:00
Fedor Indutny
6e3ec163dc
Drop pnpChangeNumber capability 2022-08-24 09:34:00 -07:00
Fedor Indutny
c18fa35354
Remove unused CDSH code 2022-08-23 09:38:46 -07:00
Josh Perez
0fb45f045d
Handle Safety Number changes while sending a story 2022-08-19 14:05:31 -04:00
Fedor Indutny
d036803df9
Mirror CDS requests 2022-08-18 17:31:12 -07:00
Fedor Indutny
757af2cbbe
Include ACI+Access Keys pairs with CDSI requests 2022-08-18 13:44:53 -07:00
Josh Perez
5ec78374d1
Use just the timestamp for story expiration 2022-08-17 10:56:41 -07:00
Fedor Indutny
647335086d
Use ourPni when creating our own contact 2022-08-16 16:52:34 -07:00
Scott Nonnenberg
932043c58f
Make attachments more resilient, decrease websocket keepalive 2022-08-16 16:49:47 -07:00
Fedor Indutny
00cfd92dd0
Send and receive PniSignatureMessage 2022-08-15 14:53:33 -07:00
Fedor Indutny
68a0c44e19
Register pnpChangeNumber capability 2022-08-11 09:52:24 -07:00