Commit Graph
1643 Commits
Author SHA1 Message Date
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 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 4e0daf013d feat: Correctly ask origin for keys before seeding from local cache 2026-11-27 18:11:56 +00:00
timedout bb5cc8091c fix: Maybe query origin when fetching latest keys 2026-11-27 18:11:55 +00:00
timedout e827cecc84 fix: Don't attempt to contact origins as a notary more than once a minute 2026-11-27 18:11:55 +00:00
timedout 6139ed4b63 fix: Actually contact origins in notary key fetching 2026-11-27 18:11:55 +00:00
timedout 1afced5e01 style: Condense repeated code into a reusable function 2026-11-27 18:11:54 +00:00
timedout 43a811a8e7 fix: Correctly sum total_queried_keys 2026-11-27 18:11:54 +00:00
timedout f207273aae feat: Strip extraneous signatures to avoid leaking our own notaries 2026-11-27 18:11:54 +00:00
timedout c7bf5fca04 feat: Notary server 2026-11-27 18:11:33 +00:00
Jade Ellis bf5f77a94a fix(knock): Align knock state handling with Matrix spec
Updates state_cache on MembershipState::Knock, avoids stale local state
checks and holding state_lock across federation, drops invalid
knock_room_state entries without failing post-send_knock, allows
re-knocking, and honours via servers.
2026-11-23 21:54:33 +00:00
Jade Ellis 506c4a0376 fix(leave): Rescind remote knocks over federation
Remote knocks no longer populate local room state, so leaving a room
we are not in must go through remote_leave_room even when knocked.
2026-11-23 21:54:33 +00:00
Jade Ellis d9b94b98ad refactor(invite): Extract per-event partial membership validation
Allows callers like remote knocking to filter invalid stripped state
events individually per MSC4311 instead of failing the entire request.
2026-11-23 21:54:33 +00:00
timedout 26cdaeec99 fix: Re-use validate_partial_membership_state 2026-11-23 21:54:32 +00:00
timedout 73fbdd6056 style: Improve logging for knocking 2026-11-23 21:54:32 +00:00
timedout d591385bed fix: Stop blowing up in send_knock 2026-11-23 21:54:32 +00:00
timedout cbb1b70c99 fix: Invert server identity check 2026-11-23 21:54:32 +00:00
timedout 6115693193 fix: Modernise knocking helpers 2026-11-23 21:54:31 +00:00
Henry-Hiles 2408ded7b4 feat: Support stable MSC4143 RTC transports endpoint 2026-11-23 13:14:39 -05:00
Jade Ellis 8c4a2d0ce9 chore: Downgrade per-request URL preview route logs to debug 2026-11-22 17:57:49 +00:00
timedout 66be5efeec fix: Properly select correct properties, fixup unit test 2026-11-22 17:57:49 +00:00
timedout 16f18f8516 feat: Make url preview logs more informative 2026-11-22 17:57:49 +00:00
timedout 9f7fb54bd4 fix: Don't fail entire preview requests when auxiliary requests fail 2026-11-22 17:57:49 +00:00
Erwan Leboucher 251086670f feat: Add timestamp to event endpoint backed by a timestamp index 2026-11-22 02:02:37 +00:00
Jade Ellis 5ad36c0914 refactor(core): Drop hot reload support
This was unused and a hotbed of potential issues
2026-11-21 18:04:50 +00:00
Erwan Leboucher 5d66476126 fix(metrics): Fix in-flight requests, PDU lag, latency buckets and thumbnail accounting 2026-11-21 16:06:51 +00:00
Ginger 8004e962c3 feat: Add support for MSC4388 2026-11-20 11:22:21 -05:00
Ginger a4ef1ecfa2 chore: Clippy fixes 2026-11-20 10:48:04 -05:00
timedout 49207a42f8 fix: Work around MSC4484 lockout when disabled 2026-11-19 18:44:07 +00:00
timedout 52a6bf0003 fix: Don't unconditionally advertise MSC4174 as enabled in capabilities 2026-11-19 18:44:07 +00:00
timedout fcddfb5f35 fix: Gate MSC4406 behind an experiment 2026-11-19 18:44:07 +00:00
timedout 94ba3b2b83 fix: Add an experiment for MSC3814
This proposal is still itself a draft, not even ready for review, so we definitely shouldn't enable it by default per the policy.
2026-11-19 18:44:07 +00:00
timedout 4e7493604a fix: Actually config-gate MSC4560 support 2026-11-19 18:44:07 +00:00
timedout cebeee6bae fix: Actually config-gate MSC4484 support 2026-11-19 18:44:07 +00:00
timedout 8ffa3e5367 fix: Wrap parsed & raw values
Rather than passing them around separately everywhere, just unify them into a single struct that is primarily fetched via a raw.
Also stores raw data directly into the database so that signatures can be verified later rather than only at receive time.
2026-11-18 15:10:51 +00:00
hexchen cec1f85f88 fix: verify_server_keys_response fails on non-standard json fields
Previously `verify_server_keys_response` would work with re-serialized 
ServerSigningKeys, which drops any extra, non-standard fields from the
origin server response. The signature is made over the whole response
though, meaning that any response including extra fields will not pass
signature verification.
2026-11-18 15:10:51 +00:00
timedout 32bfe5f129 fix: Allow sync v2 to be interrupted by server shutdown
Fixes #2361
2026-11-17 09:26:22 +00:00
timedout 07d4c6f304 fix: Don't default to a 30-second sync timeout
Fixes #2462
2026-11-17 09:14:37 +00:00
Erwan Leboucher 055c430e77 refactor(sync): Build device list updates separately from joined rooms 2026-11-15 20:24:36 +00:00
Erwan Leboucher df5e03f3b4 fix(sync): Apply the room and account data filters in legacy sync 2026-11-15 20:24:36 +00:00