Logan Devine
480e975877
chore: clean up unused imports of ClientIp
2026-07-21 14:31:16 +00:00
timedout
789589ef37
chore: Remove redundant client IP extractions on individual routes
2026-07-17 12:57:48 +00:00
Erwan Leboucher
3a74ce6151
fix(client-ip): Fall back to peer IP instead of returning 500
2026-07-17 12:46:11 +00:00
Erwan Leboucher
8945cc9e10
fix(federation): Sign restricted join events before verification
2026-07-16 19:46:42 +00:00
timedout
4001b99261
style: Make send_join's docstring more useful
2026-07-12 02:11:50 +00:00
timedout
fbf81fcdeb
fix: Opportunistically re-use room format rules when parsing incoming PDUs
2026-07-12 02:11:50 +00:00
timedout
87030a3a22
fix: Ensure PDU returned by create_hash_and_sign_event is itself signed
2026-07-12 02:11:50 +00:00
timedout
4f509fa113
fix: Convert room summary to federation format when sending invites
2026-07-12 02:11:50 +00:00
timedout
aa7ed885c0
fix: Check correct field name when determining event type
2026-07-12 02:11:50 +00:00
timedout
d5e6e617d1
fix: Remove redundant banned room server checks
...
These don't make sense here anyway
2026-07-12 02:11:50 +00:00
timedout
1f7680ad5f
feat: Give send_join the invite treatment
2026-07-12 02:11:50 +00:00
timedout
0c37a542d4
feat: Give send_leave the invite treatment
2026-07-12 02:11:50 +00:00
timedout
efd07da0d7
feat: Give send_knock the invite treatment
2026-07-12 02:11:50 +00:00
timedout
f0590e882a
fix: Only run ACL checks when we know we have live state
...
Prevents a potential bug where we might inadvertently reject valid invites because we have a stale state cache that blocks the sender or even ourselves
Also fixes the banned remote server room check by using the create event instead of room ID
2026-07-12 02:11:50 +00:00
timedout
7225bf25ae
feat: Persist create events received during the invite process
2026-07-12 02:11:50 +00:00
timedout
e52bb5db69
style: Move invite validation into own functions
2026-07-12 02:11:50 +00:00
timedout
995726923b
feat: Enforce new federation invite checks
...
These were introduced in spec v1.16 however we didn't implement them until now for compatibility.
2026-07-12 02:11:50 +00:00
timedout
9d2ce72f73
style: Remove redundant length check for dag build
2026-07-11 17:27:42 +01:00
timedout
5868510df1
fix: Remove redundant "correct room ID" filter
2026-07-11 17:27:42 +01:00
timedout
b51a34c1c1
fix: Address review feedback
2026-07-11 17:27:42 +01:00
timedout
64a08262ca
perf: Change signature of build_local_dag to remove refmap hacks
2026-07-11 17:27:42 +01:00
timedout
99a5f2a9fb
refactor: Reduce complexity of incoming PDU handling
...
* Ignores any events pushed without a room ID
* Removes needless clones for PDU size checking
* Removes incorrect ACL check in incoming handler
* Fast-path handling already handled outlier events
* Remove redundant same-room checks, replace with useful ones
* Combine event rejection and persistence in a single function
* Additional safety assertions in upgrade task
* Split upgrade task into multiple subroutines for reduced cognitive complexity
* Only mutate current state and forward extremities in tandem
* Improve code documentation to better explain the logic flow
2026-07-11 17:27:42 +01:00
timedout
f9b532162f
fix: SEC20
...
Reviewed-By: Ginger <ginger@gingershaped.computer >
2026-07-09 17:58:59 +01:00
Ginger
3467dffd94
fix: Adjust sync watcher logic to be more explicit
2026-07-05 00:42:44 +00:00
Ginger
53d6887b86
refactor: Move profile field setting logic into users service
2026-07-02 16:34:38 -04:00
Ginger
69163b5391
refactor: Split remote and deactivated users into their own columns
2026-07-02 16:24:07 -04:00
Jade Ellis
eee4ef50d2
chore: merge 1818 nex/perf/get-missing-events
2026-07-01 18:45:08 +00:00
timedout
9b80a99aa7
style: De-duplicate build_local_dag definitions, replace outdated comment on unwrap safety
2026-07-01 19:15:22 +01:00
Ginger
33be65a865
feat: Implement a web-based account management dashboard
2026-06-29 09:35:45 -04:00
timedout
d719fe2048
chore: Merge origin/main into nex/perf/get-missing-events
2026-06-28 01:29:23 +01:00
timedout
ba0ffee7cf
fix: Style errors and compile problems
2026-06-27 18:36:44 +01:00
timedout
c54e56a73e
style: Remove implement for AccessCheck, rename check to assert
2026-06-27 18:36:44 +01:00
timedout
c141503ccb
style: Re-use GET_MISSING_EVENTS_MAX_BATCH_SIZE
2026-06-20 17:08:00 +01:00
timedout
04fce56381
fix: Don't silence PDU handle logs
2026-06-20 17:07:59 +01:00
timedout
e8db01fc8d
style: Improve logging
2026-06-20 17:07:59 +01:00
timedout
9547c438d6
perf: Increase default max_fetch_prev_events to 256
2026-06-20 17:07:59 +01:00
timedout
0d5aa7ede1
fix: This is some bullshit I tell you
2026-06-20 17:07:59 +01:00
timedout
ba9dc27773
feat: Better prev event fetching
...
fix: Don't panic in debug mode when making an empty notary query
2026-06-20 17:07:59 +01:00
timedout
4696cbb751
fix: SEC12
2026-06-20 16:03:43 +01:00
Helix K
64ecd762be
chore: Remove MSC4373 support
2026-06-02 16:35:31 +01:00
Ginger
30c9d6d2df
chore: Clippy fixes
2026-05-26 18:26:02 +00:00
Ginger
74841b6711
refactor: Represent route auth information in the type system
2026-05-26 18:26:02 +00:00
timedout
6715f63acc
fix: Don't serve events over s2s that are rejected
2026-05-25 17:18:25 +01:00
Ginger
88b59eb053
fix: Include target user's membership when building stripped state
2026-05-01 13:15:55 -04:00
timedout and Ginger
4a99de0d28
fix: Store incoming federated invite membership events correctly
...
Co-Authored-By: Ginger <ginger@gingershaped.computer >
Reviewed-By: Ginger <ginger@gingershaped.computer >
2026-05-01 14:49:27 +01:00
Ginger
80baf948ae
refactor: Switch back to upstream Ruma
2026-04-28 09:16:57 -04:00
Ginger
a8a8e1ea51
chore: Clippy fixes
2026-04-28 09:16:57 -04:00
Ginger
3ad7c3b30d
refactor: Fix remaining errors in api/ (and temporarily switch to a fork of ruma)
2026-04-28 09:16:56 -04:00
Ginger
0f64e6b49c
refactor: Fix errors in api/server/well_known.rs
2026-04-28 09:16:56 -04:00
Ginger
e7a1c71a25
refactor: Fix errors in api/server/version.rs
2026-04-28 09:16:56 -04:00