Commit Graph

193 Commits

Author SHA1 Message Date
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
Max Radermacher
7bfe049f30
Improve URLSession error handling 2024-12-02 15:17:19 -06:00
Max Radermacher
3c07b4f7ae
Rebuild RequestMaker to support GSEs 2024-11-20 16:32:04 -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
Harry
a8321c4f54
Omit IV from copyToMediaTier request 2024-10-31 09:37:01 -07:00
Max Radermacher
d086376fcf
Improve MessageSenderJobQueue fetching 2024-10-28 21:25:40 -05:00
Harry
535acba11c
Add encryption mode to backups for link'n'sync support 2024-10-25 14:30:00 -07:00
Max Radermacher
4281cc9a5b
Clean up MessageSenderJobQueue 2024-10-25 13:24:11 -05:00
Harry
f149718964
Make backup media list endpoint handling more efficient 2024-10-25 11:09:51 -07:00
Ehren Kret
9d24c6b111 add asyncRequest method to NetworkManager to deprecate Promises 2024-10-22 10:57:19 -05:00
Max Radermacher
b902790b93
Add & use global.messageQueueTime remote config 2024-10-18 15:07:10 -05:00
Ehren Kret
de32c7799d remove NSObject and Dependencies extension computed vars for SignalServiceKit 2024-10-11 23:12:59 -05:00
Harry
ce5689dcb3
Remove MockDB in favor of InMemoryDB 2024-10-07 19:06:08 -07:00
Harry
4e5e570421
Add necessary media tier list methods to AttachmentUploadStore 2024-10-07 07:56:36 -07:00
Harry
a760f35b6d
Split AttachmentStore and AttachmentUploadStore 2024-10-07 07:55:58 -07:00
Ehren Kret
5ea36cd91b enable internal imports by default 2024-09-29 20:03:17 -05:00
Harry Sanabria
d43b2846b0 Pass AppReadiness to JobQueue methods 2024-09-27 16:30:12 -07:00
Harry Sanabria
044f277a28 Pass AppReadiness instance to a ton of classes that need to retain it as an instance var 2024-09-27 15:03:52 -07:00
Harry
b94a5faece
Wipe transit tier info off attachment table if we know the upload is gone 2024-09-23 15:06:29 -07:00
Harry
29511cdf1a
Generate thumbnails for backup attachment uploads 2024-09-20 10:11:22 -07:00
Max Radermacher
960e3db81f
Asyncify some 2FA code 2024-09-10 19:04:17 -05:00
Ehren Kret
cb27389cef enable swiftlint mark rule 2024-08-30 22:05:59 -05:00