Commit Graph

94 Commits

Author SHA1 Message Date
Sasha Weiss
7877edefa9
Backup Export progress bar polish 2025-09-23 09:16:12 -07:00
Jordan Rose
aae01e7c70 Use base ChatConnectionManagerMock in AttachmentUploadManager tests 2025-09-08 18:24:33 -07:00
Max Radermacher
0ee384908e
NO MORE REST 2025-08-27 18:09:16 -05:00
Sasha Weiss
7169a711a3
Pared-down BackupServiceAuth fetching during registration 2025-08-26 12:01:25 -07:00
Max Radermacher
b48560b6d0
Use the web socket immediately after registration 2025-08-25 16:32:07 -05:00
Harry
3f3ecbfc18
Reuse a single NSURLSession per cdn connection with the same configuration 2025-08-22 11:51:50 -07:00
Harry
20c805016f
Wipe SVR🐝 nonce metadata locally when rotating the AEP 2025-08-13 14:35:01 -07:00
Max Radermacher
86e9ba1be6
Always use the web socket to test the proxy 2025-08-13 11:30:27 -05:00
Sasha Weiss
4956a47587
Significantly slim OWSHTTPError 2025-08-08 11:32:58 -07:00
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
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
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
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
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
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
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
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
Pete Walters
f4ad46f176
Clean up Upload error handling 2025-01-27 11:04:58 -06:00
Max Radermacher
6f02723dbb
Use the web socket where easily possible 2025-01-21 12:26:39 -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
Max Radermacher
7bfe049f30
Improve URLSession error handling 2024-12-02 15:17:19 -06:00
Harry
ead020a482
Dont owsFailDebug when MRBK is missing 2024-11-06 06:25:27 -08:00
Max Radermacher
f05a76bcaa
Add cancellation support to http requests 2024-11-04 14:16:44 -06:00
Pete Walters
3a63402138
Migrate to new Media/Message backup auth credentials 2024-11-01 15:46:58 -05:00
Pete Walters
5a44fc6162
Migrate to LibSignal key derivation
Co-authored-by: sashaweiss-signal <sasha@signal.org>
2024-11-01 15:39:42 -05:00
Pete Walters
655e7bd206
Add a "purpose" enum to MBAuthCredentialManager
Co-authored-by: sashaweiss-signal <sasha@signal.org>
2024-11-01 15:39:11 -05:00