Commit graph

705 commits

Author SHA1 Message Date
Fedor Indutny
8ef149e3a8
Resumable backup import 2024-08-27 17:00:41 -04:00
Fedor Indutny
fefa5d9a25
Send FETCH_LATEST.LOCAL_PROFILE on capability flip 2024-08-23 15:14:56 -07:00
Fedor Indutny
59c6a4ec7b
Fix backup import flow in linking UI 2024-08-21 13:51:18 -07:00
Fedor Indutny
2fb50df0af
Introduce versioning clock to timer system 2024-08-21 09:03:28 -07:00
Fedor Indutny
09bd95228d
Add unlink step to existing UI flow 2024-08-19 13:26:05 -07:00
Fedor Indutny
38f532cdda
Resumable attachment downloads 2024-08-19 13:05:35 -07:00
Sergey Skrobotov
30a419bb2a
Adopt libsignal-net version with no auto-reconnect
Co-authored-by: Jordan Rose <jrose@signal.org>
2024-08-15 13:08:50 +10:00
trevor-signal
2cbc1a82b2
Add default timeout for initial response to attachment request 2024-08-13 13:23:29 -07:00
Fedor Indutny
89bdb68129
Remove deprecated endpoint 2024-08-13 06:38:23 +10:00
Fedor Indutny
5c350a0e3c
Download backup on link 2024-08-08 12:22:48 -07:00
Scott Nonnenberg
068dfbc327
Attachment mock test: wait for draft attachment ready before send 2024-08-08 08:44:19 -04:00
Sergey Skrobotov
de33410be1
libsignal authenticated websocket 2024-08-06 14:21:15 -07:00
Jamie Kyle
9a9f9495f1
Support delete for call links
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
2024-08-06 12:29:13 -07:00
trevor-signal
81bed5c444
Properly abort inflight requests on resume or shutdown 2024-08-02 13:31:27 -04:00
Fedor Indutny
24a22bf191
Update prettier to 3.3.3 2024-07-23 17:31:40 -07:00
Fedor Indutny
c64762858e
Parallelize SQL queries 2024-07-22 11:16:33 -07:00
Fedor Indutny
1fd8b0ef23
Update @types/node to 20 2024-07-18 10:17:56 -07:00
Fedor Indutny
57f7dc1b16
Resumable v2 uploads 2024-07-16 19:25:07 -07:00
trevor-signal
61548061b8
Support thumbnail export & import during backup of visual attachments 2024-07-16 16:39:56 -04:00
trevor-signal
451ee56c92
Use v4/attachments endpoint for attachment upload forms 2024-07-16 16:25:43 -04:00
Fedor Indutny
28664a606f
New attachment storage system 2024-07-11 12:44:09 -07:00
Fedor Indutny
273e1ccb15
Restart input stream on retried request 2024-07-11 15:04:48 -04:00
Jamie Kyle
fc08e70c0f
Update CallLogEvent to latest spec 2024-06-25 17:58:38 -07:00
Scott Nonnenberg
08da49a0aa
Delete Sync: Handle and send mostRecentNonExpiringMessages if needed 2024-06-24 10:49:36 -07:00
Scott Nonnenberg
ac04d02d4f
Support for single-attachment delete synced across devices 2024-06-21 15:35:18 -07:00
Scott Nonnenberg
97229e2e65
WebAPI: Ensure we report the right capabilities during link 2024-06-21 14:16:13 -07:00
Scott Nonnenberg
75c32e86f0
Move receipts and view/read syncs to new syncTasks system 2024-06-17 15:24:39 -04:00
trevor-signal
1a263e63da
Fallback to download from transit tier if attachment not found on backup tier 2024-06-14 10:17:04 -07:00
Scott Nonnenberg
7e31b37417 Use profileKey from any incoming DataMessage 2024-06-10 13:35:47 -07:00
Jamie Kyle
f19f0fb47d
Init create/admin call links flow 2024-06-10 08:23:43 -07:00
Fedor Indutny
53b8f5f152
Infer libsignal environment from service url 2024-06-07 14:17:52 -04:00
Fedor Indutny
8d07fa840c
Require more provisioning fields when linking 2024-05-30 16:31:33 -07:00
trevor-signal
4254356812
Enable attachment backup uploading 2024-05-30 09:46:43 +10:00
trevor-signal
85a75cb28f
Store IV when encrypting or decrypting attachments 2024-05-28 21:12:14 -04:00
Scott Nonnenberg
11eb1782a7
Support for local deletes synced to all your devices 2024-05-28 11:56:00 -04:00
Scott Nonnenberg
06f71a7ef8
Ensure left pane has correct timestamp for call 2024-05-28 15:13:09 +10:00
trevor-signal
5f0080a7d7
Improve quoted attachment typings 2024-05-23 14:06:41 -07:00
trevor-signal
7351a51ac4
Revert "Store IV when encrypting or decrypting attachments" 2024-05-22 11:18:38 -07:00
trevor-signal
e9b661873b
Store IV when encrypting or decrypting attachments 2024-05-22 14:07:39 +10:00
trevor-signal
a992546cda
Use TUS for attachment uploads 2024-05-20 15:29:20 -04:00
Jamie Kyle
4253bed0bd
Save group send endorsements 2024-05-20 11:15:39 -07:00
Fedor Indutny
d4ca4d0a6e
Upgrade libsignal-client to 0.46.2 2024-05-17 11:00:34 -07:00
Fedor Indutny
31cbb89b0d
Move sticker creator API to chat service 2024-05-15 15:26:37 -07:00
Fedor Indutny
4fed756661
Use TUS utilities for backup upload 2024-05-14 10:04:50 -07:00
Fedor Indutny
de2def7119
Implement API for backup upload
Co-authored-by: trevor-signal <131492920+trevor-signal@users.noreply.github.com>
2024-05-06 09:03:27 -07:00
Jamie Kyle
408444352f
Switch to the /v2/ storage-service endpoints for group operations 2024-05-03 17:42:11 -07:00
trevor-signal
c18559b6da
Mark offline if websocket connection attempt times out 2024-05-02 22:53:53 +02:00
trevor-signal
1e8047cf73
Enable downloading attachments from backup CDN 2024-05-02 13:11:34 -04:00
adel-signal
455b616cb8
calling: make hostname optional in IceServer type 2024-05-01 16:10:33 -07:00
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