Commit graph

656 commits

Author SHA1 Message Date
Jamie Kyle
8ef0ec706d
Add utilities for using TUS Protocol
Co-authored-by: Scott Nonnenberg <scott@signal.org>
Co-authored-by: Fedor Indutny <indutny@signal.org>
2024-04-30 17:57:57 -07:00
Scott Nonnenberg
5df8924197
Backups: Handle groupV2 notifications 2024-04-30 09:24:21 -04:00
ayumi-signal
2785501f82
Sync call link call history 2024-04-25 10:09:05 -07:00
Sergey Skrobotov
ae4fa04e95
Pass disableIPv6 setting to libsignal-net 2024-04-23 16:54:24 -07:00
Fedor Indutny
3eb0e30a23
Backup Server APIs 2024-04-22 16:11:36 +02:00
Sergey Skrobotov
9295096586
Make LibsignalWebSocketResourse an EventTarget 2024-04-18 15:01:16 -04:00
Sergey Skrobotov
df1240049a
Add a remote config option to disable libsignal transport in prod 2024-04-18 11:46:48 -07:00
trevor-signal
d31a4d5d91
Close websocket if request times out 2024-04-18 19:16:05 +02:00
trevor-signal
ec2a17a0e4
Ensure unauthenticated websocket reconnects if using LibSignal's transport 2024-04-18 19:00:16 +02:00
Fedor Indutny
97f5430541
Fix lazy creation of ProxyAgent 2024-04-17 16:13:15 -07:00
Scott Nonnenberg
783c71999a
Send call messages with conversationJobQueue
Co-authored-by: trevor-signal <trevor@signal.org>
2024-04-16 14:55:09 -07:00
Alex Konradi
6f92bcd86b
Request new ZKC-based auth credential 2024-04-16 12:49:21 +02:00
trevor-signal
fc02762588
Enable more specific AttachmentDownload prioritization 2024-04-15 17:11:48 -07:00
Fedor Indutny
87ea909ae9
Backup encryption and improvements 2024-04-15 22:54:21 +02:00
Sergey Skrobotov
3456f5e097
Prevent sending shadowing healthcheck on a closed connection 2024-04-12 15:08:16 -07:00
Fedor Indutny
4caa260a22
Update story gradients 2024-04-09 14:38:27 -07:00
Sergey Skrobotov
e388f13910
Upgrade libsignal-client to 0.44.0 and adopt API changes 2024-04-04 14:39:52 -07:00
trevor-signal
dfd564e67f
Simplify messageReceiver initialization & reset
Co-authored-by: Scott Nonnenberg <scott@signal.org>
2024-04-02 13:43:20 -07:00
adel-signal
94c7de6c65
calling: update getIceServers to use new turn routing endpoint
Co-authored-by: Adel Lahlou <adel@signal.com>
2024-03-29 10:17:56 -07:00
Sergey Skrobotov
cf02337d6d
remote config for making CDSI lookups via libsignal 2024-03-27 15:56:43 -07:00
trevor-signal
ff5ecd8bf3
Cleanup attachment download flow 2024-03-21 16:02:12 -04:00
Fedor Indutny
091b50c414
Lazy import proxy-agent 2024-03-20 11:05:10 -07:00
trevor-signal
83e8f4b59d
Add additional logging for attachment downloading 2024-03-20 11:23:31 -04:00
Fedor Indutny
60fa6a11ef
Better group call state management 2024-03-19 10:40:37 -07:00
Fedor Indutny
9aff86f02b
Simplify online/offline status management 2024-03-18 14:48:00 -07:00
trevor-signal
9ebdf6e399
Retain key for downloaded attachments 2024-03-18 11:38:52 -07:00
Fedor Indutny
6f4730b42c
Don't unlink on 4409 2024-03-18 10:08:36 -07:00
Fedor Indutny
d85a1d5074
Add preliminary message backup harness 2024-03-15 10:20:33 -04:00
Chris Eager
231bf91a22
Update ChallengeType 2024-03-14 14:16:09 -07:00
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