timedout
bcccb4373f
fix: Calculate max iterations dynamically, and bump max prevs
2026-06-27 20:10:20 +01:00
timedout
049e2f6287
perf(wip): Improve individual events fetcher
2026-06-27 20:10:17 +01:00
timedout
b619eae9ef
fix: Don't lie about using already-known content
2026-06-27 19:49:47 +01:00
timedout
4b673692f6
fix: Be smarter when re-receiving already-seen PDUs
2026-06-27 19:49:44 +01:00
timedout
9633a37421
perf: Don't re-process events as outliers
2026-06-27 19:49:41 +01:00
timedout
d090f5d769
style: Improve logging
2026-06-27 19:49:38 +01:00
timedout
51d7a82aa3
fix: Lower floor for min depth
2026-06-27 19:49:35 +01:00
timedout
d2c183baeb
fix: Only increment mindepth on state events
2026-06-27 19:49:33 +01:00
timedout
94db17b53a
feat: Keep track of a min_depth value
...
Should prevent weird situations where we accidentally gapfill into backfill territory
2026-06-27 19:49:27 +01:00
timedout
469c1b2ed7
perf: Make max gap depth fetch configurable
2026-06-27 19:40:05 +01:00
timedout
1b5e1e9886
perf: Improve gap filling, handle missing auth events better
2026-06-27 19:40:02 +01:00
timedout
d8d7f863e5
fix: This is some bullshit I tell you
2026-06-27 19:22:08 +01:00
timedout
e8fee00df6
feat: Better prev event fetching
...
fix: Don't panic in debug mode when making an empty notary query
2026-06-27 19:14:19 +01:00
timedout
266616de7b
feat: Add backfill_missing_events helper
2026-06-27 19:02:10 +01:00
timedout
19f4c24c00
style: Document & refactor rooms/event_handler service
2026-06-27 18:36:44 +01:00
timedout
dabbdc7517
fix: Don't be so aggressive when validating policy server signatures
2026-05-26 16:16:48 +01:00
timedout
b771b9d160
style: Fix typo
2026-05-25 18:26:48 +01:00
timedout
eb829c2951
fix: Ensure event_id is correctly stripped before verifying policy server signature
2026-05-25 18:20:57 +01:00
timedout
d32b39181a
fix: Don't return early if the policy server does something stupid
...
Spec compliance is for nerds I guess
2026-05-25 18:17:41 +01:00
timedout
72b99a1f84
style: Reformat
2026-05-25 18:17:40 +01:00
timedout
ae37f218a2
perf: Avoid cloning incoming PDUs to check them
...
Also allows us to store signatures on PDUs received over federation that we got a fresh signature for
2026-05-25 18:17:29 +01:00
timedout
40cecca103
feat: Add extract_signature helper
2026-05-25 18:17:13 +01:00
timedout
2a80a82f74
style: Document functions
2026-05-25 18:17:13 +01:00
timedout
fbf4eac2dc
fix: Ensure event_id is removed before policy-checking event
2026-05-25 18:17:13 +01:00
timedout
4784010702
fix: Ensure policy server signed with the correct key
2026-05-25 18:17:13 +01:00
timedout
1c88854a54
feat: Enable shutdown interrupt in ratelimit handler
2026-05-25 18:17:12 +01:00
timedout
e0fe71c708
feat: Follow spec more closely, code clean up, use ruma request type
2026-05-25 18:17:12 +01:00
timedout
0f0dcb4f58
fix: Return Forbidden instead of internal error when PS doesn't sign
2026-05-25 18:17:12 +01:00
timedout
367c42ad28
fix: Treat malformed policy config events as missing
2026-05-25 18:17:12 +01:00
timedout
c8e0f7ebd3
style: Reformat
2026-05-25 18:17:10 +01:00
timedout
fdc9aec534
fix: Verify policy server signatures on all events, not just timeline ones
...
style: Clarifications
style: Clippy
2026-05-25 18:16:55 +01:00
timedout
47051af392
feat: Update policy server implementation to be closer to latest spec
...
Untested
chore: Add news fragment
feat: Support stable policy servers
feat: Don't attempt erroneous loopback federation for policy server checks
refactor: Update PS upgrade to use new ruma
fix: Only check loopback via after attempting incoming verification
2026-05-25 18:14:54 +01:00
timedout
c1a6e649da
feat: Combine local & remote force join
2026-05-25 18:01:08 +01:00
timedout
1d172be503
style: Authentication -> authorization
2026-05-25 17:55:44 +01:00
timedout
4d27a935d6
perf: Move rejected events check
2026-05-25 17:27:56 +01:00
timedout
512a96f832
style: Warn -> debug_warn
2026-05-25 17:18:25 +01:00
timedout
3764faeefc
style: Reformat
2026-05-25 17:18:25 +01:00
timedout
5d4b7bfea3
fix: Store PDUs as outliers even when rejected
...
This prevents future network lookups if we've already rejected an event and see a reference to it again
2026-05-25 17:18:24 +01:00
timedout
a97f91e079
fix: Don't hard fail on events which depend on soft-failed events
2026-05-25 17:18:24 +01:00
timedout
f0401b4fc7
fix: Mark events as rejected in more places, correct soft-fail extremity behaviour
2026-05-25 17:18:24 +01:00
timedout and star
1f6cab9e2e
feat: Implement event rejection
...
Co-Authored-By: star <star@nexy7574.co.uk >
2026-05-25 17:18:23 +01:00
Ginger
e34fd76dc0
fix: Re-add support for MSC4293
2026-04-28 09:16:57 -04:00
Ginger
e70004c98f
chore: Clippy fixes
2026-04-28 09:16:56 -04:00
Ginger
bf9c9716eb
refactor: Add function to state_accessor to get create event
2026-04-28 09:16:51 -04:00
Ginger
24f7e1d658
chore: Clippy fixes
2026-04-28 09:16:51 -04:00
Ginger
d62eeda130
refactor: Replace more uses of RoomVersionId with RoomVersionRules
2026-04-28 09:16:51 -04:00
Jade Ellis
a4e64383b7
refactor: Ruma upstraming, bake a little more
2026-04-28 09:16:51 -04:00
Ginger and Jade Ellis
204bc1367e
refactor: Ruma upstreaming, half-baked edition
...
Co-authored-by: Jade Ellis <jade@ellis.link >
2026-04-28 09:16:51 -04:00
timedout
5f4cd47d88
fix: Add workaround for handling malformed PDUs
...
Signed-off-by: timedout <git@nexy7574.co.uk >
Reviewed-On: https://forgejo.ellis.link/continuwuation/continuwuity-sec/pulls/7
Reviewed-By: Jade Ellis <jade@ellis.link >
2026-04-23 20:48:11 +01:00
31a05b9c
8dd4b71e0e
fix: make dropped PDU warning less useless
2026-03-04 14:58:01 +00:00