Commit Graph

107 Commits

Author SHA1 Message Date
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
Max Radermacher
ba107e5f33
Remove unused capabilities 2025-03-20 00:11:10 -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
Jordan Rose
647b715263 Report networkDidChange event to libsignal even when in the background
...or during app start
2025-03-11 17:07:44 -07:00
Max Radermacher
6abe506cb0
Asyncify fetchLocalUsersProfile 2025-03-10 13:51:00 -05:00
Max Radermacher
738ef16c3d Use web socket when fetching remote configs 2025-03-06 23:35:16 -06:00
Max Radermacher
56b5275f17
Remove unused versionedExpirationTimer capability 2025-03-06 23:31:39 -06:00
Max Radermacher
c2070943a5
Prefer infallible String → Data construct 2025-03-06 13:56:16 -06:00
Ehren Kret
2659f84403 convert giphyapi off of promises 2025-03-06 10:46:29 -06:00
Max Radermacher
7171d79643
Rename content field to match the server’s name 2025-03-05 11:26:14 -06:00
Jordan Rose
70f5d2897f Treat kCFProxyTypeHTTPS as "proxy for https" rather than "using https" 2025-02-26 10:08:44 -08: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
Jordan Rose
1f6fea1a77 For now, don't pass system proxy settings to libsignal 2025-02-24 13:30:00 -08:00
Pete Walters
1b7caa8ce9
Split out various key managment methods into AccountKeyStore 2025-02-24 10:12:47 -06:00
Pete Walters
4af636e7bb
Add OWI header to AccountAttributes request 2025-02-14 15:26:10 -06:00
Pete Walters
1bfd579dd3
Asyncify device linking
Co-authored-by: Max Radermacher <max@signal.org>
2025-02-14 13:04:50 -06:00
Max Radermacher
011f005cf0
Clean up auth types for story/group messages 2025-02-11 14:42:21 -06:00
Pete Walters
9c84b751d3
Split SVRKeyDeriver pieces into MasterKey + SVRLocalStorage 2025-02-11 09:25:00 -06:00
Jordan Rose
61836a5f4f Include StorageService.networkError in isNetworkFailureOrTimeout
And remove the statusCode payload that was never getting set.
2025-02-07 12:26:49 -08:00
Ehren Kret
83b37e74a3 remove unused objc compat 2025-02-07 05:30:56 -06:00
Jordan Rose
1674df46d9 Pass system HTTP proxy settings to libsignal 2025-02-05 10:51:33 -08: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
b7dedf2c0d
Remove last remnants of OWSUserProfile caching 2025-01-08 21:15:10 -06:00
Harry
71f8b829ba
Allow for restarting the provisioning flow (link'n'sync retry button) 2025-01-08 18:42:45 -08:00
Max Radermacher
b6018bedcf
Add cancellation support to RESTNetworkManager 2025-01-06 14:48:33 -06:00
Sasha Weiss
117e5e5b19
Remove SignalServiceClient 2025-01-06 11:35:58 -08:00
Sasha Weiss
33189a6d95
Use info from WhoAmI to decide if we need to redeem our subscription 2025-01-03 11:17:40 -08:00
Sasha Weiss
1b5e457b20
Move WhoAmI request making into a dedicated type 2025-01-03 11:07:16 -08:00
Sasha Weiss
e47a864a1a
Protocolize and asyncify OWSDevicesService 2024-12-06 12:39:05 -08:00
Harry
7d88672c21
Remove versioned expire timer capability checking 2024-12-02 14:07:53 -08:00
Max Radermacher
7bfe049f30
Improve URLSession error handling 2024-12-02 15:17:19 -06:00
Max Radermacher
b14e99b689
Remove no-longer-needed feature flags 2024-11-22 17:05:44 -06:00
Max Radermacher
3c07b4f7ae
Rebuild RequestMaker to support GSEs 2024-11-20 16:32:04 -06:00
Max Radermacher
f9554761e4
Adopt non-deprecated NSKeyedUnarchiver method 2024-11-19 16:44:02 -06:00
Alex Konradi
218a01da38
Remove redundant zkcCredential=true 2024-11-18 14:33:05 -05:00
Sasha Weiss
2000b82c0b
One KeyValueStore to rule them all 2024-11-15 18:47:54 -06:00
Sasha Weiss
0a9672911e
Add recordIkm encryption scheme migration to Storage Service 2024-11-07 15:33:03 -08:00
Max Radermacher
0d655f9e1a
Consolidate error handling for OWSURLSession 2024-11-04 15:49:11 -06:00
Max Radermacher
6d14b97ab6
Use new async OWSUrlSession methods 2024-11-04 15:29:53 -06:00
Max Radermacher
40db38ae5a
Use MonotonicDate for RESTSessionManager 2024-11-04 14:22:17 -06: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
adel-signal
a38cb959e8
switch to v2/calling/relays endpoint 2024-10-28 13:47:12 -07:00
Harry
6cb911ae93
Add tokenIdentifier to device provisioning code response 2024-10-25 14:34:33 -07:00
Sasha Weiss
46b5b4a9e4
Prefix donations-related types with Donations 2024-10-25 10:14:56 -07:00