Commit Graph

229 Commits

Author SHA1 Message Date
Sasha Weiss
7877edefa9
Backup Export progress bar polish 2025-09-23 09:16:12 -07:00
Max Radermacher
2690a841c4
Remove displayBadgesOnProfileCache 2025-09-16 12:51:28 -05: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
fdef35903d
Retry with exponential backoff when Backup uploads are rate-limited 2025-08-08 12:32:40 -07: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
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