Commit graph

587 commits

Author SHA1 Message Date
Jamie Kyle
3ef0d221d1
Refactor Signal app routing 2023-11-02 15:42:31 -04:00
Fedor Indutny
9206b9984b
Enable pni capability 2023-10-31 16:21:39 -07:00
akonradi-signal
87659ef2b5
Hold CDSI lookup ACI & UAK args in one array 2023-10-31 20:00:25 +01:00
Fedor Indutny
edd6ed5fab
Clear PNI signature flag on PNI change 2023-10-30 16:25:55 -07:00
Fedor Indutny
f1e8ffe720
Accept masterKey in ProvisionMessage 2023-10-30 21:31:39 +01: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
Scott Nonnenberg
70cd073a72
Ensure that messages to initiate calls are marked urgent=true 2023-10-23 10:38:03 -07:00
Fedor Indutny
d7b53f3d27
Deprecate storageServiceKey in SyncMessage.Keys 2023-10-12 21:42:24 +02:00
Jamie Kyle
502ea174ab
Upgrade Storybook
Co-authored-by: Scott Nonnenberg <scott@signal.org>
2023-10-11 12:06:43 -07:00
ayumi-signal
064659657f
Use new endpoint for badge config 2023-10-06 14:31:17 -07:00
Fedor Indutny
ba1a8aad09
Retain cdn ids for attachments 2023-10-03 17:09:31 -07:00
Fedor Indutny
ca45a9cf74
Don't accept PNI as ACI in contact sync 2023-09-28 11:41:45 -07:00
Fedor Indutny
eb7942dd1e
Use untagged pnis in storage service 2023-09-27 16:14:55 -07:00
Fedor Indutny
654215e136
Fix format of pniSignature.pniBytes 2023-09-14 22:39:51 +02:00
Josh Perez
d0296ececa
Improvements to the media editor 2023-09-14 10:04:48 -07:00
Josh Perez
944a70abe7
DRY up the message receive timing validation 2023-09-12 16:12:07 -04:00
Fedor Indutny
56ba8fea4d
Support Happy Eyeballs in proxy-agent 2023-08-30 01:58:48 +02:00
Fedor Indutny
ccb5eb0dd2
Atomic linking 2023-08-28 17:41:32 -07:00
Scott Nonnenberg
cbd16b90bb
Resilience to failed PNI key upload, clean more key tables 2023-08-28 17:26:39 -07:00
Josh Perez
cc13350d3f
Bump up the edit send/receive timers to 24hr/48hr 2023-08-25 09:50:04 -04:00
Scott Nonnenberg
3339899684
Eliminate extra preKeys, fail early on key creation if no PNI identity key
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
2023-08-21 22:15:10 +02:00
Josh Perez
04f716986c
Do not confirm messages until we have handled them 2023-08-21 13:08:27 -07:00
Fedor Indutny
58aec8b1a3 Unlink on PNI identity key mismatch 2023-08-21 09:30:33 -07:00
Fedor Indutny
8b0da36caa Migrate schema to service ids 2023-08-21 09:30:33 -07:00
Fedor Indutny
71958f8a01 Attachment controller fixes 2023-08-21 09:30:32 -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
Jamie Kyle
1eaabb6734
Calls Tab & Group Call Disposition 2023-08-08 17:53:06 -07:00
Scott Nonnenberg
3299b8f323
Remove obsolete capabilities, improve routine profile fetch 2023-08-08 01:12:57 +02:00
Josh Perez
d8ea785f4e
Do not confirm DOE or edit until it is processed 2023-08-07 09:36:37 -07:00
Jamie Kyle
bbd43b6e38
Implement read support for CDN3 2023-07-26 15:15:05 -07:00
Josh Perez
8aac997b4f
Removes groupv1 protos 2023-07-26 13:49:27 -04:00
Fedor Indutny
13193649d3
Use combined username link API 2023-07-21 01:19:32 +02:00
Fedor Indutny
e1d2dbd8ff
Username Link QR Code 2023-07-20 05:14:08 +02:00
Fedor Indutny
ba9f1a3e5e Support cds.disableCompatibilityMode 2023-07-19 16:21:33 -07:00
Scott Nonnenberg
9d03d9b59c Fix initial kyber key hydration; improve generation and logging 2023-07-19 16:21:31 -07:00
Scott Nonnenberg
b6445a6af0 Support for loading, storing, and using kyber keys in decryption 2023-07-19 16:21:30 -07:00
Fedor Indutny
c1580a5eb3 Add support for ACI safety numbers behind a feature flag 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
Scott Nonnenberg
8177a4e2b3
MessageReceiver: Emit envelope event on queue for cached+decrypted items 2023-07-06 01:16:17 +02:00
Fedor Indutny
f90c2b7479
destinationServiceId in Sent 2023-06-29 21:17:27 +02:00
Scott Nonnenberg
7c5e6166ab
WebAPI: Increase default timeout to 30 seconds 2023-06-21 17:40:02 -04:00
Fedor Indutny
47c0cc053a
Enable TCP Keep-Alive on WebSockets 2023-06-21 12:05:44 -07:00
Scott Nonnenberg
65b6d9c2bc
Fix failover on failed sends, and improve logging 2023-06-20 17:06:38 -07:00
Scott Nonnenberg
efc237d106
Additional logging, more reliable contact/group sync fetch 2023-06-14 13:51:49 -07:00
Josh Perez
a255ac02c8
Adds logging to see what server timestamp is for edit messages > 24hr 2023-06-13 17:35:41 -07:00
Scott Nonnenberg
22fb69bbb7
Call refreshPreKeys on same cadence as rotateSignedPreKey 2023-06-08 18:08:24 -07:00
Fedor Indutny
7abd2280bc
Simplify WebSocket keepalive logic 2023-06-06 17:36:38 -07:00
Fedor Indutny
ab68e24805
Optimize debug logs by truncating CDN URLs
Attachments are end-to-end encrypted, and these lengthy URLs don't
provide any meaningful info for debugging purposes.
2023-06-01 11:28:16 -07:00
Fedor Indutny
b705609341
Fix edit message in Note to Self 2023-05-31 08:54:45 -07:00
Fedor Indutny
557b86f52e
Use electron's DNS resolver, prioritizing ipv4 connections 2023-05-30 16:57:16 -07:00
Fedor Indutny
1941a33556
Fix handling of replies on multiple dist lists 2023-05-25 14:12:33 +02:00
Fedor Indutny
759c61d06e
Use e164 from PniChangeNumber sync message 2023-05-22 09:37:58 -07:00
trevor-signal
73f4374e1e
Improved WS request timeout handling 2023-05-17 09:43:33 -07:00
Fedor Indutny
9a7f1e86e2
Fix sync message for editMessage 2023-05-11 08:47:41 -07:00
Fedor Indutny
22e1ff9b50
Drop support of PniIdentity sync message 2023-05-10 10:02:32 -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
f1624705a7 Use new attachments API endpoint 2023-05-09 10:52:42 -04:00
Fedor Indutny
34baa0fa2f Fix check in MessageReceiver 2023-05-09 10:52:39 -04:00
Fedor Indutny
ca4aad6bad Extra toast for Message Receiver errors 2023-05-09 10:52:33 -04:00
Fedor Indutny
36b3e2de08 MessageReceiver improvements 2023-05-09 10:52:33 -04:00
Josh Perez
e211837bcd
Enables sandbox for all windows except main 2023-04-20 17:23:19 -04:00
Josh Perez
1f2cde6d04
Send edited messages support
Co-authored-by: Fedor Indutnyy <indutny@signal.org>
2023-04-20 09:31:59 -07:00
Scott Nonnenberg
850442bf2d
Consider all messages without contentHint, from us, to be resendable 2023-04-18 15:49:14 -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
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