Commit Graph

166 Commits

Author SHA1 Message Date
Max Radermacher
8162f9551f
Add debug-only support for GSEs 2025-01-22 19:20:41 -06:00
Max Radermacher
5ce1b5e074
Fix a bunch of code related to updating groups 2025-01-22 18:38:37 -06:00
Max Radermacher
6f02723dbb
Use the web socket where easily possible 2025-01-21 12:26:39 -06:00
Max Radermacher
7263e2ccf3 Clean up some groups code formatting 2025-01-10 15:23:46 -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
Jordan Rose
a856278251 OWSChatConnection: Use libsignal ChatConnection, replacing ChatService 2025-01-08 16:41:37 -08:00
Max Radermacher
823d966c2e
Clean up some deepCopy codegen 2025-01-08 11:41:58 -06:00
Max Radermacher
4c3b4e3a83
Remove anyReload methods from codegen 2025-01-07 16:41:42 -06:00
Jordan Rose
a2727e6484 OWSChatConnection: Update libsignal shadowing implementation as well
See previous update to OWSChatConnection.swift for the motivation
behind these changes.
2025-01-06 18:40:43 -08:00
Jordan Rose
8158531fdd OWSChatConnection: Recreate ChatService for each connection
This is closer to how OWSChatConnectionUsingSSKWebSocket worked, and
also the direction libsignal is going (a later release will introduce
LibSignalClient.ChatConnection to replace ChatService). This removes a
distinction between two kinds of socket cycling that
OWSChatConnectionUsingLibsignal had previously introduced, and
collects most of the state management and updates into one place. It
*does* rely on setting the chat listener at a point *after* the
initial connection has completed, which helps to ensure the order of
events when callbacks start coming in.

This commit does not touch the shadowing connection, which for now
continues to reuse a single ChatService instance.
2025-01-06 18:29:24 -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
8a7a54cdb5
Remove AccountServiceClient 2025-01-03 11:13:48 -08:00
Sasha Weiss
1b5e457b20
Move WhoAmI request making into a dedicated type 2025-01-03 11:07:16 -08:00
Pete Walters
cc8c7107cc
Update URLSession timeout to 5 min for CDN requests 2024-12-20 16:05:05 -06:00
Harry
dcef13c7ed
Use OWSProgress in Attachment Upload and Download Managers 2024-12-10 09:29:30 -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
b87014a77d
Verify group IDs on peer-to-peer group changes 2024-11-22 16:32:47 -06:00
Max Radermacher
37d793c29b
Add support for GSEs when updating groups 2024-11-22 16:31:30 -06:00
Max Radermacher
8439e67979
Don’t return TSGroupThreads when joining via link 2024-11-20 16:32:27 -06:00
Max Radermacher
3c07b4f7ae
Rebuild RequestMaker to support GSEs 2024-11-20 16:32:04 -06:00
Max Radermacher
e8d25b19df
Fix concurrency warnings related to UnfairLock 2024-11-19 17:31:25 -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
dadca9e032
Directly adopt KeyValueStore in SDSKeyValueStore 2024-11-15 14:54:30 -08:00
Jordan Rose
f8949fd2f8 Configure whether libsignal should use connection fallbacks 2024-11-08 09:47:21 -08:00
Sasha Weiss
0a9672911e
Add recordIkm encryption scheme migration to Storage Service 2024-11-07 15:33:03 -08:00
Max Radermacher
91c9c46ed9
Remove unused CDS code 2024-11-06 18:58:22 -06:00
Max Radermacher
6d0ed8e91c
Move callbacks for reg requests out of Tasks 2024-11-05 18:40:33 -06: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
Max Radermacher
c3cd9f13cc
Clean up some noisy lines 2024-11-01 17:33:38 -05:00
Harry
c86730f9a3
Respect timeout on TSRequest 2024-11-01 14:48:11 -07:00
Pete Walters
3a63402138
Migrate to new Media/Message backup auth credentials 2024-11-01 15:46:58 -05:00
Pete Walters
bc9341a571
Revert SNI header changes 2024-10-29 09:42:46 -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
Sasha Weiss
ed6a75e10f
Remove the SubscriptionManager protocol 2024-10-25 10:13:10 -07:00
Max Radermacher
e6c016c50f
Remove handling for HTTP 417 errors 2024-10-24 13:43:03 -05:00
Max Radermacher
7c771b5d05
Remove handling for HTTP 413 errors 2024-10-24 13:42:48 -05:00
Max Radermacher
52f31e38d3
Add captcha support for call link calls 2024-10-23 03:07:04 -05:00