Jacob Taylor
78cd8279e5
chore: Fresh ResolveMatrix
2026-11-27 10:47:54 -08:00
Jacob Taylor
da69cb9c07
feat: Rendezvous-y
2026-11-27 10:47:54 -08:00
Erwan Leboucher
e43dd9aabf
fix(federation): Send a read receipt for each thread
2026-11-27 10:47:18 -08:00
Jacob Taylor
ee80903738
fix: Complete ripping hardened malloc out
2026-11-27 10:47:18 -08:00
Jacob Taylor
ff7d67ad70
chore: No Auth Media, No UnAuth Profiles
2026-11-27 10:47:18 -08:00
Jacob Taylor
c1d48c6f46
Chore: Revert "chore(deps): Upgrade rocksdb and jemalloc", and add cargo.lock changes clippy discovered
...
This reverts commit 1af92add88 .
This reverts commit 779374bb54 .
chore(deps): update rust crate syn to v3.0.10
chore: Fix Clippy
2026-11-27 10:47:18 -08:00
Jacob Taylor
57ff37e00d
feat: Enable converged 6g at the edge in continuwuity
2026-11-27 10:47:18 -08:00
Jacob Taylor
1166ebdd27
chore: Commit basic QoDana config for local QA usage
2026-11-27 10:47:18 -08:00
Jacob Taylor
be3c9efb05
fix: Delete silly
2026-11-27 10:47:17 -08:00
Jacob Taylor
0ac5f0d741
chore: Fix some clippy lints
2026-11-27 10:47:17 -08:00
Jacob Taylor
f50de93ab5
bump the number of allowed immutable memtables by 1, to allow for greater flood protection
...
this should probably not be applied if you have rocksdb_atomic_flush = false (the default)
2026-11-27 10:47:17 -08:00
timedout
dc7daefe5a
chore: Release
v26.11.0-rc.1
2026-11-27 18:45:40 +00:00
Jade Ellis
eb9e09d53b
style: Clippy
2026-11-27 18:41:46 +00:00
Jade Ellis
ef24867786
fix: Serialize OAuth session mutations per device
...
Concurrent token refreshes or API requests clearing the previous refresh
token could overwrite userdeviceid_oauthsessioninfo with stale session
state or leave orphaned entries in refreshtoken_refreshtokeninfo.
Guard session mutations with a per-device MutexMap and re-read session
info under the lock when clearing the previous refresh token.
2026-11-27 18:41:45 +00:00
Jade Ellis
6412a650a5
fix: Overwrite previous access token on non-retry refreshes
...
Previously, set_token skipped saving the replaced access token whenever
a previous token entry already existed. If a client refreshed again with
its current refresh token before making a valid API request (such as
after going idle until expiry), a dropped response would leave the
server holding an older access token and cause a hard logout.
Let callers explicitly specify whether to clear, replace, or preserve
the previous access token.
2026-11-27 18:41:45 +00:00
Jade Ellis
25464134d8
fix: Remove previous tokens from database
...
Prevent some panics, accidental soft-logouts instead of hard ones, and
prevents stale tokens revoking sessions.
2026-11-27 18:41:45 +00:00
Jade Ellis
7bdfea0704
fix: Clear temporary scopes before building refresh response scope
...
Temporary scopes are dropped on token refresh, so the returned scope
list should not advertise them.
2026-11-27 18:41:45 +00:00
Ginger
47828dd8c2
chore: News fragment
2026-11-27 18:41:44 +00:00
Ginger
208a625163
fix: Return the correct scope list when refreshing an OAuth access token
2026-11-27 18:41:44 +00:00
Ginger
f579859f22
fix: Make OAuth access token refreshing idempotent
2026-11-27 18:41:44 +00:00
Jade Ellis
6b0eebc553
refactor: Pass notary query map by value
...
Both callers own the request body, so passing the map by value avoids
cloning every server name and query criteria entry.
2026-11-27 18:13:31 +00:00
Jade Ellis
6708912984
fix: Add missing parenthesis in notary error message
2026-11-27 18:13:30 +00:00
Jade Ellis
7eb8c408a2
fix: Enforce notary query criteria per requested key
...
Candidate filtering previously checked unrequested old keys and tracked
all response keys as satisfied even when criteria failed. Passing the
lowest requested minimum_valid_until_ts to origin_request also avoids
rejecting valid historical queries.
2026-11-27 18:13:30 +00:00
Jade Ellis
b4b0c836aa
fix: Keep lowest expiry timestamp for discovered old keys
...
The comparison was inverted when extracting discover_old_signing_keys.
2026-11-27 18:13:30 +00:00
Jade Ellis
b7a1e09447
feat: Cache server keys when fetched from origin
2026-11-27 18:13:30 +00:00
Ginger
01a0954310
refactor: Clarify variable name a bit
2026-11-27 18:13:30 +00:00
Ginger
3194987fa6
refactor: Move semaphore logic out of acquire_keys_as_notary
2026-11-27 18:13:29 +00:00
Ginger
a31cbce31e
refactor: Clean up acquire_keys_as_notary
2026-11-27 18:13:29 +00:00
Ginger
5e971aef3c
refactor: Move sign_ssk into server_keys service
2026-11-27 18:13:29 +00:00
timedout
4692bd3372
fix: Add an experiment for MSC4556
2026-11-27 18:13:29 +00:00
timedout
4b1433cfcd
fix: Use tokio's JoinSet instead of the evil futures FuturesUnorder ed
2026-11-27 18:13:28 +00:00
timedout
952365ff13
fix: Address simpler review comments
2026-11-27 18:13:28 +00:00
timedout
23a1ebd1ba
fix: Use the correct signing keys response
...
Main changed the way we handle server signing keys to carry both the deserialised and serialised copy, so the notary code needs updating to use the right copy in several places (some places need to use the raw value, some need to use the serialised value).
2026-11-27 18:13:28 +00:00
timedout
611ca82019
feat: Update MSC4456 implementation, new route
2026-11-27 18:12:56 +00:00
timedout
61f142a541
fix: Address review comments
2026-11-27 18:12:56 +00:00
timedout
3896630859
perf: Yield ssk instead of doing a serialization roundtrip
2026-11-27 18:12:55 +00:00
timedout
7d31ba12c5
feat: Don't double-sign our own keys
2026-11-27 18:12:55 +00:00
timedout
3dbd2706b0
fix: Don't do weird wire signing for server keys route
2026-11-27 18:12:54 +00:00
timedout
0851e44140
fix: Don't make origin key requests to ourself
...
Intercepting the request and serving it locally seems like a pretty good blanket solution
2026-11-27 18:12:54 +00:00
timedout
6b49ffdbed
fix: Typo (MSC4456 -> MSC4556)
2026-11-27 18:12:20 +00:00
timedout
0c2909e763
style: Reformat
2026-11-27 18:12:20 +00:00
timedout
c2b52a9bec
chore: Update trusted_servers docs
2026-11-27 18:11:58 +00:00
timedout
9e36290b65
fix: Don't serve expired responses in the criterialess path
2026-11-27 18:11:57 +00:00
timedout
9d13b2bbe8
fix: Enforce specific notary limits per MSC4556
2026-11-27 18:11:57 +00:00
timedout
48025f4e50
fix: Refuse to process >4096 servers and/or >8192 keys
...
pending msc
2026-11-27 18:11:57 +00:00
timedout
5c5c140e28
fix: Deduplicate signing key responses if we already satisfied them
2026-11-27 18:11:57 +00:00
timedout
cd1129062a
fix: Don't short circuit if all requested servers have no query criteria
...
Also adds some traces
2026-11-27 18:11:56 +00:00
timedout
b1da456e96
chore: Rebuild example config
2026-11-27 18:11:56 +00:00
timedout
4e0daf013d
feat: Correctly ask origin for keys before seeding from local cache
2026-11-27 18:11:56 +00:00
timedout
c2a6c34c78
chore: Add newsfrag
2026-11-27 18:11:55 +00:00