Commit Graph

305 Commits

Author SHA1 Message Date
Max Radermacher
f9415b9fec
Simplify connection state concurrency guarantees 2025-08-08 16:01:24 -05:00
Sasha Weiss
acb807acad
Adjust /devicecheck TSRequests 2025-08-08 13:31:39 -07:00
Max Radermacher
ba5ff49c10
Clean up some auth/unauth socket distinctions 2025-08-08 15:31:00 -05:00
Max Radermacher
03b93df5e0
Call more efficient method after connecting proxy 2025-08-08 15:30:42 -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
b1fe641270
SVR🐝 2025-08-04 14:07:33 -07:00
Max Radermacher
4bb59a64e2
Fix LibSignal proxies in the notification service 2025-08-01 11:31:14 -05:00
Max Radermacher
8987991dc9 Relocate message processor enqueueing queue 2025-07-31 11:54:31 -05:00
Max Radermacher
28acee4e9b Flag registration requests that will use sockets 2025-07-30 16:44:42 -05:00
Max Radermacher
8dd692f6e5 Update comment about registration & web sockets 2025-07-30 11:25:42 -05:00
Max Radermacher
34ecb9a5a3
Throw a specific error when not registered 2025-07-29 16:02:49 -05:00
Max Radermacher
53f4db4f27
Throw a specific error when the app is expired 2025-07-29 09:33:00 -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
Elaine
99b3367b33
unbork xcode 26 again 2025-07-24 16:13:30 -04:00
Max Radermacher
719e477d18
Asyncify CaptchaChallenge & PushChallenge 2025-07-24 12:15:09 -05:00
Max Radermacher
27403b204f
Remove unused logCurlOnSuccess 2025-07-24 12:13:02 -05:00
Max Radermacher
6331cec995
Fix URLError.cancelled check to include the domain 2025-07-23 17:21:03 -05:00
Sasha Weiss
0548a68fbe
Make it easier to handle some attachment upload errors 2025-07-23 13:42:15 -07:00
Max Radermacher
7689725c37
Fix shouldConnect/shouldDisconnect checks 2025-07-23 13:24:26 -05:00
Max Radermacher
05eecf1db2
Add kill switch for the connection lock 2025-07-23 13:01:01 -05:00
Max Radermacher
53f9bb2342
Asyncify Auth.fetch(…) 2025-07-23 12:28:11 -05:00
Max Radermacher
e43a9bd8cc
Add remote configs for extension web sockets 2025-07-22 16:55:06 -05:00
Max Radermacher
06eda4b70b
Retry message sends when opening a socket 2025-07-22 16:48:02 -05:00
Max Radermacher
74867f56dd
Split apart “is network failure” and “is timeout” 2025-07-22 15:38:36 -05:00
Max Radermacher
53c0debf36
Update auth for batch identity check requests 2025-07-22 15:37:21 -05:00
Max Radermacher
48af5c8c35
Use the web socket in the share extension 2025-07-22 08:48:14 -05:00
Max Radermacher
5f05327000 Remove promiseForTSRequest method 2025-07-22 08:47:50 -05:00
Max Radermacher
94b697d8ae
Don’t connect concurrently in multiple processes 2025-07-21 13:08:48 -05:00
Max Radermacher
22db39b6c3
Use the web socket when deleting your account 2025-07-18 16:23:46 -05:00
Max Radermacher
922f2ab686
Adopt /v2/config 2025-07-18 11:41:27 -05:00
Max Radermacher
39724bb08c
Remove TestScheduler & Schedulers 2025-07-17 18:11:27 -05:00
Harry
92e5cca0f1
Don't locally enforce a max backup upload size limit 2025-07-17 13:51:28 -07:00
kate-signal
33a8457599
Megaphone for inactive primary devices 2025-07-16 13:10:05 -07:00
Sasha Weiss
05b5aa0f90
Add AppAttestManager to use AppAttest to acquire the Backup entitlement for TestFlight builds 2025-07-16 08:37:44 -07:00
Sasha Weiss
be9340bdb8
Add BackupCDNCache for read credentials, metadata 2025-07-11 16:38:50 -07:00
Harry
87b79704a7
Update url path for svr chat server auth requests 2025-07-11 16:30:09 -07:00
Max Radermacher
0340d149ca
Increase timeout when sending messages 2025-07-11 11:49:55 -05:00
Jordan Rose
ba4c097065 OWSChatConnection: Set Accept-Language at the connection level
(as well as User-Agent, already being set)

...allowing us to omit both headers from the request level.
2025-07-03 12:04:14 -07:00
Max Radermacher
c16fa016bd Require certain generic parameters to be Sendable 2025-07-02 14:33:49 -05:00
Max Radermacher
8b6a1697d8
Validate identity when receiving a 422 error 2025-07-01 09:11:08 -05:00
Max Radermacher
93a4a6ec3a Prepare the connection earlier in the launch flow 2025-06-26 12:53:10 -05:00
Max Radermacher
c957cf3c01 Show “Sending…” while waiting for socket to open 2025-06-26 12:53:10 -05: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
Max Radermacher
bb2d89e55a
Update to LibSignal v0.75.0 2025-06-17 14:02:29 -05:00
Max Radermacher
34bd529af5
Add Monitor primitive helper methods 2025-06-13 20:09:23 -05:00