Commit graph

627 commits

Author SHA1 Message Date
Sergey Skrobotov
9f40562b19
unauthenticated WebSocket via libsignal: shadowing mode
Co-authored-by: Scott Nonnenberg <scott@signal.org>
2024-03-14 14:08:51 -07:00
trevor-signal
ed94c11d08
Improve resiliency to excessive prekey generation 2024-03-13 18:07:29 -07:00
Fedor Indutny
1823f7eca9
Introduce outage network status
Co-authored-by: Scott Nonnenberg <scott@signal.org>
2024-03-12 12:52:02 -07:00
Fedor Indutny
e031d136a1
Include and process destinationPniIdentityKey 2024-03-11 18:08:38 -07:00
trevor-signal
711e321d16
Support larger sync messages in large groups 2024-03-11 21:08:28 -04:00
ayumi-signal
c332bd240f
Handle new sync message MarkedAsRead for Calls Tab 2024-03-11 11:18:55 -07:00
trevor-signal
cf381cd46c
Generate mediaName for backed-up attachments 2024-03-06 13:15:10 -05:00
Fedor Indutny
08eb4fc168
Run storage service on link 2024-02-28 17:48:11 -08:00
trevor-signal
55be00d689
Add timeout to avatar fetches and avoid blocking on profile syncs 2024-02-28 09:48:01 -08:00
ayumi-signal
96b3413feb
Basic call link join support 2024-02-22 13:19:50 -08:00
Jamie Kyle
a27890b988
Unlink on device conflict 4409 2024-02-21 12:33:56 -08:00
trevor-signal
604563a3b4
Prevent decryptAndCache jobs from delaying message sends 2024-02-20 17:31:03 -05:00
trevor-signal
4e1c52a155
Update behavior when receiving sync messages with isRecipientUpdate 2024-02-20 14:53:15 -05:00
Fedor Indutny
dd5b66039d
Further PNP fixes 2024-02-16 12:39:58 -08:00
Fedor Indutny
16dcf31906
Remove unused pre-PNP code 2024-02-16 14:49:48 -05:00
Fedor Indutny
943518dc3a
Fix MessageRequestResponse sync processing 2024-02-14 12:19:08 -08:00
Fedor Indutny
cd3d3dc8a6
Don't poll websocket on remote expiration 2024-02-14 10:37:47 -08:00
Fedor Indutny
9ad6d5b66b
Use libsignal-client for parsing crash reports 2024-02-13 13:41:48 -08:00
Fedor Indutny
fe14333e74
Fix case sensitivity of X-Signal-Timestamp regexp 2024-02-06 14:35:29 -08:00
Scott Nonnenberg
9a283909b0
Contact Sync: Properly drop contacts with invalid ACIs 2024-02-05 18:30:04 -08:00
Jamie Kyle
395c67f6c4
Refactor AttachmentCrypto 2024-02-05 15:17:28 -08:00
ayumi-signal
581594ae9a
Fix group updates for blocked users 2024-01-31 12:19:47 -08:00
Fedor Indutny
900b40381c
Test more contact splitting scenarios 2024-01-31 09:51:09 -08:00
Fedor Indutny
52736ea32e
Explicit checks for pniChangeNumber 2024-01-30 09:57:25 -08:00
Fedor Indutny
2b79a65e72
Remove unused query parameter 2024-01-25 15:21:06 -08:00
Fedor Indutny
2bc0e4755c
Upgrade Electron to 28.1.5
Co-authored-by: Fedor Indutny <238531+indutny@users.noreply.github.com>
2024-01-23 16:11:12 -08:00
Fedor Indutny
38914a45cb
Custom Discriminator in EditUsernameModalBody 2024-01-18 20:53:24 +01:00
Fedor Indutny
fa3937e084
Fix parsing of Retry-After 2024-01-17 15:23:41 -08:00
Alex Konradi
6dfef6e70d
Integrate libsignal-net CDSI lookup and make it accessible in debug builds 2024-01-17 13:57:03 -08:00
trevor-signal
a30f277276 Remove now-unnecessary data from prekey upload request
Co-authored-by: Fedor Indutnyy <indutny@signal.org>
2024-01-10 11:14:44 -08:00
Jamie Kyle
a60cf05f83
Fix wrong ringerId in auto-ended remote call 2024-01-03 20:19:08 +01:00
Fedor Indutny
d71da5c486
Support phone number sharing flag on profile 2024-01-02 20:36:49 +01:00
Jamie Kyle
5d578650b5
Add timestamp to doSendMessage log 2023-12-19 19:55:09 +01:00
Fedor Indutny
f8c4e392fe
Use createHTTPSAgent for all requests 2023-12-12 23:57:09 +01:00
trevor-signal
b7ab1d7207
Store plaintext hash with newly sent or received attachments 2023-11-17 15:02:02 -05:00
Scott Nonnenberg
48245eeea6
On send, pull data from target edit if sending edit 2023-11-17 13:16:48 -05:00
Scott Nonnenberg
d7177516c1
No more type passed to removeAllConfiguration; keep more UI keys 2023-11-13 17:01:27 -05:00
Fedor Indutny
f52da976f9
Compile protobufs with no-convert/null-defaults
Co-authored-by: Scott Nonnenberg <scott@signal.org>
2023-11-07 22:31:59 +01:00
Fedor Indutny
e8fdd7116b
Remove deprecated ContactDetails fields 2023-11-07 21:26:31 +01:00
Fedor Indutny
59fa75c309
Better check for empty storage/master keys 2023-11-07 01:38:51 +01:00
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