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
timedout
6115693193
fix: Modernise knocking helpers
2026-11-23 21:54:31 +00:00
Erwan Leboucher
cf45dcffbb
fix(service/sending): Restart crashed sender workers and resend queued backlogs
...
Signed-off-by: Erwan Leboucher <erwanleboucher@gmail.com >
2026-11-22 17:21:50 +00:00
Erwan Leboucher
919fea9b97
fix: Index remote events by origin_server_ts
2026-11-22 02:02:37 +00:00
Erwan Leboucher
5687847fe3
style: Address review nits on timestamp index
2026-11-22 02:02:37 +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
3379badbd4
fix(service): Prevent potential corruption in state diffs
...
This fixes a non-atomicity issue. Also fixes incorrect
calculation of a buffer size that would result in
reallocation.
2026-11-22 01:02:59 +00:00
Ginger
a4ef1ecfa2
chore: Clippy fixes
2026-11-20 10:48:04 -05:00
timedout
467e335c90
perf: Remove unnecessary clones for PDU size check
2026-11-17 10:17:15 +00:00
timedout
902e54b525
fix: Off-by-one on PDU size check
...
Related: https://github.com/ruma/ruma/pull/2677
2026-11-17 10:14:32 +00:00
Jade Ellis and Henry-Hiles
c5cd82a6a3
fix: SEC45
...
Co-authored-by: Henry-Hiles <henry@henryhiles.com >
2026-11-14 20:12:45 +00:00
timedout
39035d735e
refactor: Configuration-gate experiments
2026-11-14 13:03:16 +00:00
Erwan Leboucher
77e8a6b41b
fix(membership): Return the local join error when there are no remote servers to try
2026-11-13 16:57:29 +01:00
Erwan Leboucher
8603ae21cc
fix: Address redacted content review nitpicks
2026-11-11 21:52:50 +00:00
Erwan Leboucher
f154ecb542
feat: Expire retained unredacted content and address review
2026-11-11 21:52:50 +00:00
Erwan Leboucher
98fe280de4
feat: Allow room moderators to view redacted event content (MSC2815)
2026-11-11 21:52:50 +00:00
Erwan Leboucher
aefededfc8
test: Skip system CA roots in state_at_incoming test services
2026-11-11 21:31:39 +00:00
Erwan Leboucher
9be45212f1
fix: Don't require resolv.conf when dns_servers is configured
2026-11-11 21:31:39 +00:00
Henry-Hiles
7b927196a2
chore: Use up-to-date Ruma
...
Some changes to sticky events were needed for this also.
2026-11-11 14:28:43 +00:00
Erwan Leboucher
b570420b9f
fix: preserve predecessors sharing a state-before ID
...
Signed-off-by: Erwan Leboucher <erwanleboucher@gmail.com >
2026-11-10 23:56:33 +01:00
timedout
0a52421b65
fix: Re-introduce edge reference tracking
2026-11-10 21:18:13 +00:00
Jade Ellis
79b49134f4
fix: Correct conflict in patch
2026-11-10 21:01:48 +00:00
timedout
4a721dad07
fix: SEC15
...
Reviewed-By: Jade Ellis <jade@ellis.link >
Reviewed-By: Ginger <ginger@gingershaped.computer >
2026-11-10 20:42:04 +00:00
timedout
7a6bea70b2
fix: SEC34
...
Reviewed-By: Jade Ellis <jade@ellis.link >
Reviewed-By: Ginger <ginger@gingershaped.computer >
Reviewed-By: Jacob Taylor <jacob@explodie.org >
2026-11-10 20:41:19 +00:00
timedout and Ginger
b2b9c79927
fix: SEC39
...
Reviewed-By: timedout <git@nexy7574.co.uk >
Co-Authored-By: Ginger <ginger@gingershaped.computer >
2026-11-10 20:40:28 +00:00
Jade Ellis
88441a409a
refactor(rooms/timeline): Simplify deduplication of read receipts
2026-11-10 20:02:21 +00:00
Jade Ellis
f42955602e
test: Add unit test for merging threaded and private receipts
2026-11-10 20:02:21 +00:00
Jade Ellis
c7aebd2b52
fix: Deduplicate read receipts and preserve per-thread state
2026-11-10 20:02:20 +00:00
Jade Ellis
76ace2bc09
fix(client): Allow setting read receipts on backfilled events
2026-11-10 20:02:20 +00:00
Henry-Hiles
be5ff91eb3
chore: break out of loop when level is empty
2026-11-08 19:34:25 +00:00
Henry-Hiles
5ff6d71e7c
chore: Make walk use counts only
2026-11-08 19:34:25 +00:00
Henry-Hiles
2e43797d95
chore: Make Clippy happy
2026-11-08 19:34:25 +00:00
Henry-Hiles
15b4e8e2f9
fix: Correct relations pagination and recursion
...
Ended up rewriting a fair bit, but should work better.
2026-11-08 19:34:25 +00:00
Ginger
34c5787af0
fix: Fix join rule evaluation for servers again
...
Reviewed-by: timedout <git@nexy7574.co.uk >
Reviewed-by: Jade Ellis <jade@ellis.link >
2026-11-04 12:24:51 -05:00
Erwan Leboucher
abf8f878bc
fix: gap fill outliers that are missing prev events
...
Signed-off-by: Erwan Leboucher <erwanleboucher@gmail.com >
2026-10-31 09:02:27 +01:00
timedout
068ba88378
style: Fix formatting
2026-10-30 00:54:52 +00:00
timedout
60de549cf9
perf: Write empty rows when replacing extremities
2026-10-30 00:51:52 +00:00
timedout
363097b31b
fix: Centralise extremity progression
2026-10-30 00:51:52 +00:00
timedout
14f5f62182
fix: Only consider accepted PDUs in extremity consistency check
2026-10-30 00:51:51 +00:00
timedout
224cf04936
fix: Never allow unknown/backfilled PDUs to become extremities
2026-10-30 00:51:51 +00:00
timedout
30f62eef25
style: reformat
2026-10-30 00:51:51 +00:00
timedout
b04ffd7e6a
fix: Correctly remove extremities after creating a new event
2026-10-30 00:51:51 +00:00
timedout
bc15b7b668
fix: Remove dead references to mark_event_referenced
2026-10-30 00:51:50 +00:00
timedout
3eb2788eb9
feat: Only track appended extremities
2026-10-30 00:51:47 +00:00
timedout
b580379a2d
fix: Only check that room_id is not present on create events in PDU check 1
2026-10-30 00:43:55 +00:00
timedout
3c19206534
fix: Perform PDU checks 1, 2, and 3 before yielding a gapfilled PDU
...
Fixes #2386
2026-10-30 00:43:55 +00:00
Jade Ellis
24b1e2ebe8
refactor(service): Use SyncRwLock and SyncMutex for in-memory services
...
Convert in-memory data structures in appservice, rooms::typing, and sync
wakers to use SyncRwLock and SyncMutex. Drop appservice locks before
making outbound network requests in room alias queries and federation
invites.
2026-10-28 21:48:22 +00:00
Jade Ellis
9c4f84940e
fix(service): Prevent remote join lock inversion
...
Do not hold state.mutex across join_remote_room to prevent an ABBA
deadlock against mutex_federation.
2026-10-28 21:44:02 +00:00
Ginger
3295427af6
fix: Don't check room summary access rules on remote rooms
2026-10-25 14:00:28 +00:00
timedout
9c27441acf
style: Reformat with nightly
2026-10-23 23:37:51 +02:00