andrew-signal
bc94a92f68
Remove pendingResponses; libsignal-net now completes futures with disconnectReason.
2025-05-14 16:43:16 -04:00
andrew-signal
7c9bab421a
Pass down RemoteConfig for TLS minimum version enforcement to libsignal.
2025-05-06 17:58:48 -04:00
Cody Henthorne
87cbe305f0
Support accounts without pins in AEP restore flows.
2025-05-06 17:58:48 -04:00
Cody Henthorne
0f8fdda884
Revert "Remove message send REST fallback."
...
This reverts commit 7bdfec77ca .
2025-05-06 16:39:43 -04:00
Cody Henthorne
5182987735
Fix cds crash by translating libsignal-net CDS protocol exception to IOException.
2025-04-30 15:37:47 -04:00
andrew-signal
58ad3c746a
Don't call single.onError with IOException in LibSignalChatConnection::sendRequest.
2025-04-28 12:46:52 -06:00
Greyson Parrelli
9163c0ca4d
Improve envelope timestamp validation.
2025-04-24 16:45:26 -04:00
Cody Henthorne
68f567b0b7
Fix a few random crashes when using libsignal-net.
2025-04-24 15:55:39 -04:00
Cody Henthorne
8007045ca8
Convert change number back to WebSocket.
2025-04-24 15:55:39 -04:00
Cody Henthorne
8aa6d0bbca
Include AEP in link device provisioning message.
2025-04-24 15:55:39 -04:00
Greyson Parrelli
8c5811581e
Add additional logging around storage batch sizes.
2025-04-24 15:55:39 -04:00
Greyson Parrelli
619d2997f6
Add additional local metrics around storage service writes/reads.
2025-04-24 15:55:39 -04:00
andrew-signal
8b7b184224
Tweak Network.transformAndSetRemoteConfig to match changes to libsignal's RemoteConfig spec.
2025-04-24 15:55:39 -04:00
andrew-signal
fe70637140
Bump to libsignal v0.70.0
2025-04-24 15:55:38 -04:00
andrew-signal
74c6e76808
Add system HTTP proxy support to libsignal-net.
...
Co-authored-by: Cody Henthorne <cody@signal.org >
2025-04-24 15:55:38 -04:00
Greyson Parrelli
383da335d8
Do not send sync messages if we have no linked devices.
2025-04-16 11:22:23 -03:00
Cody Henthorne
193f6460b0
Convert change number back to REST.
2025-04-15 17:05:19 -04:00
Cody Henthorne
ac36eeb84d
Use unauth WebSocket after quick restore for transfer mode decision.
2025-04-09 15:29:55 -04:00
andrew-signal
0d611cf4c9
Bump libsignal to v0.69.1.
2025-04-09 15:29:54 -04:00
Michelle Tang
eb1cf8d62f
Add chat folder support to storage service.
2025-04-09 15:27:46 -04:00
Alex Bakon
8b9fc30b97
Migrate calls to deprecated libsignal methods.
2025-04-09 15:27:46 -04:00
Cody Henthorne
8a0e260061
Re-migrate delete account to WebSocket.
2025-04-09 15:27:46 -04:00
andrew-signal
5b04107447
Update to and integrate with libsignal v0.69.0.
2025-04-09 15:27:46 -04:00
Cody Henthorne
fcc6032ee0
Generalize preventing WebSocket from connecting in various app states.
2025-04-09 15:27:46 -04:00
Cody Henthorne
ecb040ce98
Convert donations apis to WebSocket.
2025-04-09 15:27:46 -04:00
Cody Henthorne
7bdfec77ca
Remove message send REST fallback.
2025-04-09 15:27:45 -04:00
Greyson Parrelli
0b315220ee
Quiet excessive warnings.
2025-03-31 14:44:13 -04:00
Greyson Parrelli
17216316f6
Dynamically compute MediaName and MediaId.
2025-03-31 14:44:06 -04:00
andrew-signal
88fd8fb36b
Add handling for AppExpiredConnection in LibSignalChatConnection:connect.
...
Co-authored-by: Cody Henthorne <cody@signal.org >
2025-03-31 14:44:06 -04:00
Cody Henthorne
d87b313fb3
Only allow ACI auth for websocket at this time.
2025-03-28 10:30:05 -04:00
Cody Henthorne
ca8aa78705
Catch additional CDS exceptions to prevent crash.
2025-03-28 10:03:42 -04:00
Greyson Parrelli
944e861594
Temporarily ignore flaky network test.
2025-03-27 13:27:44 -04:00
Greyson Parrelli
b5da07762c
Fix unit of retry-after header.
2025-03-27 13:13:19 -04:00
Alex Hart
0358631029
Add ability to Self-heal SEPA bug.
2025-03-26 16:11:49 -03:00
Jeffrey Starke
0dfe71ca8f
Fix crash when changing username on Android API < 24.
...
Basically, the crash was caused by using `Collections.unmodifiableList()`, which creates an `UnmodifiableCollection` wrapper around the original `List`.
That `UnmodifiableCollection` wrapper contains methods that return `java.util.stream.Stream` – which was added in Java 8, but can be used on Android API < 24 through [desugaring](https://developer.android.com/studio/write/java8-support-table ).
_However_, it appears that when Jackson is using reflection to serialize `ReserveUsernameRequest`, it examines all of the methods of that class. This results in a `java.lang.NoClassDefFoundError: java.util.stream.Stream`, because the reflection is looking at the actual runtime `UnmodifiableCollection` class and not desugared code.
As far as I can tell, that behavior is unavoidable and the only way to avoid this issue is to avoid using `Collections.unmodifiableList()` in classes that are serialized by Jackson on Android API < 24.
2025-03-26 13:59:12 -04:00
andrew-signal
9c48e669ee
Remove unneeded test timeout.
2025-03-26 13:59:12 -04:00
andrew-signal
41783368bd
Reject invalid TLS proxy configurations.
2025-03-26 13:59:11 -04:00
andrew-signal
9b98337e82
Adjust LibSignalChatConnection.disconnect() so we only transition to DISCONNECTED once.
2025-03-26 13:59:11 -04:00
Greyson Parrelli
7c9cd8964f
Update attachment backfill proto.
2025-03-26 13:59:11 -04:00
Greyson Parrelli
dd1697de41
Improve display and management of backup progress.
2025-03-26 13:59:11 -04:00
Cody Henthorne
cef839d300
Add verify AEP screen.
2025-03-26 13:59:11 -04:00
Cody Henthorne
095ae82483
Convert remote config apis to WebSocket.
2025-03-26 13:59:11 -04:00
Jim Gustafson
076b47e695
Improve calling reliability with relay server response cache.
...
Co-authored-by: Cody Henthorne <cody@signal.org >
2025-03-26 13:59:11 -04:00
andrew-signal
2a767c1e18
Fix races causing flakes in LibSignalChatConnectionTest.
2025-03-26 13:59:11 -04:00
Cody Henthorne
d3f622478f
Convert remaining profile apis to use WebSockets and remove REST fallback.
2025-03-26 13:59:11 -04:00
Cody Henthorne
c66819449d
Convert provisioning and certificate endpoints to WebSocket and finalize attachments.
2025-03-26 13:59:11 -04:00
Cody Henthorne
aeec3a6f7e
Convert prekey requests to WebSocket.
2025-03-26 13:59:11 -04:00
Cody Henthorne
41e0f2193a
Convert SVR and GV2 auth requests to WebSocket.
2025-03-26 13:59:11 -04:00
Cody Henthorne
9e9a47f0da
Convert WebSocket messaging apis to NetworkResult.
2025-03-26 13:59:11 -04:00
Cody Henthorne
2f4669d7eb
Fix web socket management related crashes.
2025-03-25 09:44:38 -04:00