Commit Graph

218 Commits

Author SHA1 Message Date
Harry
d6e43f5b3c
Don't crash when missing a file and uploading an attachment 2025-08-04 21:31:16 -07:00
Harry
b1fe641270
SVR🐝 2025-08-04 14:07:33 -07:00
Max Radermacher
3e22dd19c7 Replace two comments with “use web socket” checks 2025-07-30 11:25:42 -05:00
Max Radermacher
a42e05fe93
Use NetworkManager for non-registration requests 2025-07-25 16:25:39 -05:00
Max Radermacher
1482ef24f0
Remove shouldReconnectIfConnectedElsewhere 2025-07-25 12:44:10 -05:00
Max Radermacher
63f6fb14ab
Remove unused makePromise method 2025-07-25 11:49:24 -05:00
Pete Walters
417c80cded
Explicitly pass in backup keys to backup operations 2025-07-24 14:27:31 -05:00
Max Radermacher
48af5c8c35
Use the web socket in the share extension 2025-07-22 08:48:14 -05:00
Max Radermacher
94b697d8ae
Don’t connect concurrently in multiple processes 2025-07-21 13:08:48 -05:00
Harry
92e5cca0f1
Don't locally enforce a max backup upload size limit 2025-07-17 13:51:28 -07:00
Max Radermacher
8eff4b74d2 Add DispatchQueue-backed Monitor functions 2025-06-26 12:53:10 -05:00
Max Radermacher
851776fdaf
Check shouldSocketBeOpen when taking over from NSE 2025-06-24 16:38:14 -05:00
Max Radermacher
f2c5d99ee5
Adjust socket reconnect delays 2025-06-20 11:08:48 -05:00
Harry
94e291ed16
Update to LibSignal v0.74.1 (Backup.LocatorInfo.integrityCheck)
Co-authored-by: Max Radermacher <max@signal.org>
2025-06-16 16:03:35 -07:00
Harry
1255e66119
Allow Attachment plaintextHash to be set even if not a stream 2025-06-16 15:13:08 -07:00
Max Radermacher
9fb39dfa8f
Don’t reconnect if elsewhere’d in the background 2025-06-05 14:58:52 -05:00
Sasha Weiss
93d2a9274d
Add optional network/5xx retries to NetworkManager 2025-06-04 14:21:42 -07:00
Max Radermacher
8fddcee17b
Stop processing when the socket closes 2025-06-03 16:50:22 -05:00
Max Radermacher
1be1234460
Wait for disconnect before suspending 2025-06-03 13:48:27 -05:00
Max Radermacher
0b2fe0b8dc
Invert web socket state management paradigm 2025-06-03 00:50:57 -05:00
Max Radermacher
46bbcc4f05
Update connection state after re-warming caches 2025-06-02 15:25:16 -05:00
Max Radermacher
4a7c2265c3
Adjust connection keep-alives/reconnects/tokens 2025-05-30 02:25:51 -05:00
Sasha Weiss
7d6edb6412
Bulk rename MessageBackup types 2025-05-13 11:35:52 -07:00
Harry
38e95baa34
More aggresively dequeue backup attachment downloads we learn are unlisted 2025-05-13 00:32:29 -07:00
Harry
162fdbc722
Automatically enqueue new attachment streams for backup media tier upload 2025-05-12 22:11:09 -07:00
Max Radermacher
a819bb4dac
Convert TSRequest to a struct 2025-04-10 12:49:35 -05:00
Sasha Weiss
969b0db854
Add SubscriptionFetcher, decoupled from donations 2025-04-07 12:52:44 -07:00
Pete Walters
5c1eddd411
Fix upload backoff behavior for some specific error cases 2025-03-31 11:27:08 -05:00
Pete Walters
b167d00ef7
Update AttachmentUploadTests to cover both CDN2 and CDN3 2025-03-27 09:09:59 -05:00
Pete Walters
ba37657558
Migrate AttachmenUpload tests to SwiftTesting 2025-03-27 08:38:56 -05:00
Max Radermacher
293d981c84
Remove AuthedDevice.DeviceId enum 2025-03-21 17:02:15 -05:00
Max Radermacher
13e3dfd6cf
Validate DeviceIds using same criteria as server 2025-03-21 17:01:06 -05:00
Max Radermacher
279a11f742
Add DeviceId type 2025-03-21 16:49:38 -05:00
Max Radermacher
10cb6f69f7
Use HttpHeaders in more places 2025-03-21 13:53:38 -05:00
Max Radermacher
8029e258f7
Rename OWSHttpHeaders → HttpHeaders 2025-03-21 13:52:25 -05:00
Max Radermacher
5e5b9f92c4
Convert OWSHttpHeaders to a struct 2025-03-21 13:28:13 -05:00
Sasha Weiss
bb048e8b59
One transaction type to rule them all and in the darkness bind them 2025-03-13 21:43:35 -07:00
Max Radermacher
95c18efb2d
Consolidate TSRequest auth into a single type 2025-03-13 13:35:35 -05:00
Max Radermacher
265b45d6e1
Wait for the socket to open in more cases 2025-03-10 13:52:49 -05:00
Jordan Rose
3d0963cfbf Use new libsignal connect logic for CDS (again)
This was turned on implicitly in libsignal v0.65.3, but was discovered
to have issues. Those issues should now be fixed, but this time we
have a RemoteConfig kill switch in case there are more. That kill
switch also needs to control the use of system proxies (cf. 1f6fea1a).
2025-02-25 11:30:52 -08:00
Max Radermacher
011f005cf0
Clean up auth types for story/group messages 2025-02-11 14:42:21 -06:00
Max Radermacher
23f0d543ac
Remove handling for unsupported messages 2025-02-11 14:32:26 -06:00
Pete Walters
f4ad46f176
Clean up Upload error handling 2025-01-27 11:04:58 -06:00
Max Radermacher
8162f9551f
Add debug-only support for GSEs 2025-01-22 19:20:41 -06:00
Max Radermacher
6f02723dbb
Use the web socket where easily possible 2025-01-21 12:26:39 -06:00
Max Radermacher
b32554cdc3
Don’t inherit SSKBaseTest where it’s not necessary 2025-01-16 18:17:18 -06:00
Max Radermacher
b7dedf2c0d
Remove last remnants of OWSUserProfile caching 2025-01-08 21:15:10 -06:00
Max Radermacher
e2dd33d53b
Asyncify MessageSenderJobQueue 2024-12-18 12:32:40 -06:00
Harry
dcef13c7ed
Use OWSProgress in Attachment Upload and Download Managers 2024-12-10 09:29:30 -08:00
Harry
06f1e2ec9d
Delete TSAttachment managers and other intermediaries 2024-12-04 13:28:12 -08:00