Commit Graph

2237 Commits

Author SHA1 Message Date
Jordan Rose
8894050176 chat: Fix parsing of 409/410 responses to sendMultiRecipientMessage 2025-11-14 17:04:03 -08:00
Max Moiseev
89e3d4df8f Reset for version v0.86.5 2025-11-14 16:57:39 -08:00
moiseev-signal
5a64e17ed4 backups: Pull the latest backups proto in and update the tests 2025-11-14 16:11:38 -08:00
Jordan Rose
db7d35eddf net: fix copy/paste error in SVRB DomainConfig 2025-11-14 13:24:43 -08:00
Jordan Rose
03433189b6 net: Test ALPN mismatches 2025-11-13 11:16:42 -08:00
Jordan Rose
c0a2099948 net: Include IP version in a connection attempt's log tag 2025-11-13 11:14:47 -08:00
Andrew
42935e5c5a Reset for version v0.86.4 2025-11-11 19:14:30 -05:00
andrew-signal
de881ddde4 backups: Exporter now returns [Result<String, Error>] instead of a serialized JSON array object
Co-authored-by: Jordan Rose <jrose@signal.org>
2025-11-11 16:52:47 -05:00
Jordan Rose
92adc95346 net: Add a gRPC mode to the look_up_username example 2025-11-10 13:58:55 -08:00
andrew-signal
8c3e1bff2b backups: Allow "tombstones" from view once messages in takeout exports 2025-11-10 16:19:41 -05:00
Max Moiseev
acbe6822c5 Reset for version v0.86.3 2025-11-10 12:37:04 -08:00
andrew-signal
2dcd1e0b79 backups: Validate username uniqueness
Co-authored-by: Jordan Rose <jrose@signal.org>
2025-11-10 14:20:40 -05:00
Jordan Rose
cc7a670e91 net: Separate a generic Http2Client from AggregatingHttp2Client
Http2Client adapts hyper's SendRequest for our needs;
AggregatingHttp2Client continues to act as it always has---except that
it can be slightly more efficient by using `&mut self`.

Nothing is yet using Http2Client directly, but gRPC will.
2025-11-10 11:08:30 -08:00
moiseev-signal
76cea46935 backups: Improve tooling and documentation for tests 2025-11-07 16:47:17 -08:00
moiseev-signal
bb7451a55c backups: Unignore fields in AccountData/AccountSettings 2025-11-07 12:57:22 -08:00
Jordan Rose
ef0001108a Reset for version v0.86.2 2025-11-07 11:55:30 -08:00
Jordan Rose
8af11e52ea Reset for version v0.86.1 2025-11-06 17:50:19 -08:00
moiseev-signal
177a495eba java: Use kotlin.Pair 2025-11-06 15:37:29 -08:00
Alex Bakon
1b2304022a Expose net remote config keys in TypeScript
Co-authored-by: Max Moiseev <moiseev@signal.org>
2025-11-06 15:17:32 -08:00
andrew-signal
6289924c4c Remove RemoteConfig:EnforceMinimumTls 2025-11-06 12:29:35 -08:00
Jordan Rose
6e0057636c net: Shuffle static IPs, record all SVR2/B IPs
This serves two purposes:

- If we ever need the static DNS fallback, every client won't pick the
  same server to connect to.

- As long as the set of regions is up to date, regular DNS queries
  won't be warned about for returning an unexpected IP.
2025-11-06 11:46:05 -08:00
andrew-signal
cbbd9c3281 Revert "Add logging to BackupAuthCredentialRequestContext internals" 2025-11-05 22:17:57 -05:00
moiseev-signal
334e1e7962 backups: Enforce single vote in polls 2025-11-04 13:52:59 -08:00
Jordan Rose
38edb37326 grpc: Strip tonic's features down to what we actually need 2025-11-04 09:40:24 -08:00
Jordan Rose
4154a0c2f0 Use env_logger consistently in CLI tools 2025-11-04 09:36:20 -08:00
Andrew
be62a177b1 Reset for version v0.85.7 2025-11-03 23:25:12 -05:00
Max Moiseev
663e406675 Reset for version v0.85.6 2025-11-03 16:24:39 -08:00
Andrew
55133b3d05 Reset for version v0.85.5 2025-11-03 15:29:19 -05:00
Pete Walters
a30a823817 Add 'Pin Reminders' setting 2025-11-03 11:28:46 -06:00
Max Moiseev
5e5ea1aad7 Reset for version v0.85.4 2025-10-31 16:40:01 -07:00
Pete Walters
3f8643cf44 backups: Add bioText/bioEmoji to backup AccountData
Co-authored-by: Max Moiseev <moiseev@signal.org>
2025-10-31 15:54:50 -07:00
Jordan Rose
8295ed3a5e chat: Add a gRPC-based look_up_username_hash implementation 2025-10-30 14:50:56 -07:00
Jordan Rose
459550d512 net: Remove Noise Direct and Noise-over-Websocket implementations 2025-10-30 14:50:08 -07:00
Max Moiseev
0e99a6eb2d Reset for version v0.85.3 2025-10-29 16:45:24 -07:00
Jordan Rose
e335b8d425 net: Add ConnectionResources::connect_h2
Splits out the reusable parts of connect_ws, then exposes them for H2
connections as well. This only works because websockets and H2 share
their "transport route" (a TLS connection of some kind) and can thus
store their connection history in the same kind of attempts record.
2025-10-29 13:06:24 -07:00
moiseev-signal
bc50f80341 keytrans: Update tests to account for the server change 2025-10-29 10:40:25 -07:00
moiseev-signal
ce89b0387c keytrans: Update the test data and enable integration tests in CI 2025-10-28 13:24:32 -07:00
Jordan Rose
68e764e03a net: ComposedConnector can always use the outer connector's Error
Previously, ComposedConnector had an error type as a generic argument,
which its inner and outer connectors had to be compatible with. In
practice, though, all of the error types for the outer connectors we
use are already errors that include a case for the inner connector
failing, so we can get rid of the flexibility of the generic argument
and make our use sites simpler.
2025-10-28 11:20:39 -07:00
Jordan Rose
9cba9f1baf backup_stats: Break out some more specific frame types 2025-10-28 10:01:33 -07:00
Jordan Rose
e77c332d01 net: Rework Http2Connector to be composable
...instead of containing its inner connector. This is more consistent
with other routes/connectors.
2025-10-27 16:57:07 -07:00
Jordan Rose
19f850ab3f backup: Add backup_stats example (quick and dirty statistics) 2025-10-27 15:04:36 -07:00
Jordan Rose
05a59c4269 zkgroup: Add Clone to every type that's already Serialize+Deserialize 2025-10-27 13:05:24 -07:00
Jordan Rose
23ceb9f04d bridge: Switch KT APIs over to libsignal-net-chat-style invocations
This lets us remove a temporary WsConnection impl that dropped log
info, at the cost of a more complicated call site and one extra heap
allocation.
2025-10-27 12:14:57 -07:00
andrew-signal
0d4b5c567e ci: Pin cbindgen to current latest (v0.29.2) 2025-10-24 13:00:12 -04:00
Max Moiseev
c3ff263d47 Reset for version v0.85.2 2025-10-24 07:40:33 -07:00
moiseev-signal
3c93a655e6 backups: Count grapheme clusters instead of characters in poll strings 2025-10-23 20:41:37 -07:00
Jordan Rose
a698f691d2 zkgroup: Speed up profile key decryption by saving hashes
(and service ID decryption, and endorsement receiving, but both much
less dramatically)

zkgroup's Sho is an abstraction over poksho's Sho, which is
implemented by chaining hash operations. poksho's Sho has one
mandatory hash operation for the label; zkgroup's Sho adds another one
for input data. However, if we're processing several different
instances of input data with the same label, this redundantly hashes
the label from scratch each time. We can save on this by introducing a
minimal factory method for zkgroup's hash that *just* takes the label,
and then cloning it for repeated use from then on, as poksho's Sho
already supports.
2025-10-23 16:24:57 -07:00
Jordan Rose
42ab48e33c signal-neon-futures: Don't run a full benchmark in --test mode 2025-10-21 15:21:45 -07:00
Jordan Rose
0a65e4d311 Run some benchmarks fewer times in "test" mode (instead of "bench")
This should help a bit when smoke-testing in CI, while not affecting
the actual benchmarking at all.
2025-10-21 15:21:45 -07:00
Jordan Rose
82d72ab7a2 jni: Preserve Pair element types in Native.kt 2025-10-21 15:01:45 -07:00