Commit Graph
8389 Commits
Author SHA1 Message Date
Jacob Taylor 8d99bf4cc3 chore: Fresh ResolveMatrix 2026-11-28 09:19:44 -08:00
Jacob Taylor 04e158ddd3 feat: Rendezvous-y 2026-11-28 09:19:44 -08:00
Erwan Leboucher f896b8ce48 fix(federation): Send a read receipt for each thread 2026-11-28 09:19:44 -08:00
Jacob Taylor 3324a06fe0 fix: Complete ripping hardened malloc out 2026-11-28 09:19:44 -08:00
Jacob Taylor 42750e11ca chore: No Auth Media, No UnAuth Profiles 2026-11-28 09:19:44 -08:00
Jacob Taylor 7986b64c97 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-28 09:19:44 -08:00
Jacob Taylor 2caa4a7d60 feat: Enable converged 6g at the edge in continuwuity 2026-11-28 09:19:44 -08:00
Jacob Taylor ff172265cb chore: Commit basic QoDana config for local QA usage 2026-11-28 09:19:44 -08:00
Jacob Taylor e9e7847eab fix: Delete silly 2026-11-28 09:19:44 -08:00
Jacob Taylor 31c4360022 chore: Fix some clippy lints 2026-11-28 09:19:44 -08:00
Jacob Taylor fe824dbbec 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-28 09:19:44 -08:00
alexia 1c05735db6 docs: act on some PR feedback
Signed-Off By: Alexia <git@cyrneko.eu>
2026-11-28 16:31:59 +00:00
alexia cded6d4c36 docs: document replacing appservice configuration
Signed-Off By: Alexia Starling <me@cyrneko.eu>
2026-11-28 16:31:59 +00:00
Julian Anderson 8ad4374274 ci(docs/preview): Post comment to PR for preview deployments
The if condition is designed to make a new comment only once per PR. It
could probably use some further selectivity to only do this for specific
changed files, but we can cross that bridge when we get to it.
2026-11-28 16:30:04 +00:00
Julian Anderson f0198d6254 docs(preview): Fix logo rendering in intro page 2026-11-28 16:30:04 +00:00
Julian Anderson b85a4ce194 docs(preview): Add banner for preview deployments 2026-11-28 16:30:04 +00:00
Jade Ellis 67332244b7 fix(state-res): Re-authenticate rejected events in iterative auth checks
The Matrix state resolution spec requires events rejected under
state-at-event checks to be re-authenticated during iterative auth
checks to avoid state divergence across servers; only rejected auth
events should be excluded.

Prefetch rejection status concurrently once per unique event ID to
avoid repeated sequential lookups inside the loop.
2026-11-28 16:27:26 +00:00
Erwan Leboucher 51a9ddb27b fix(state-res): Skip rejected events in iterative auth checks 2026-11-28 16:27:26 +00:00
Jade Ellis 0d7fb27d0b style: Formatting 2026-11-28 16:26:44 +00: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