Erwan Leboucher
7ecd2aa5e2
fix(pdu): Exempt m.room.create from auth_events check
2026-07-14 19:27:46 +02:00
Ginger
1f5e178c3f
fix: Properly handle appservice device creation
2026-07-13 08:50:48 -04:00
theS1LV3R
baef3289fe
fix(service/admin): Prevent console from being spawned when no TTY is available
2026-07-12 20:22:18 +02:00
Ginger
9a94b93ddd
fix: Fix new database migrations running on every server startup
2026-07-12 12:31:12 -04:00
Ginger
fe9f718c6e
fix: Stop using the federation DNS resolver for non-federation requests
2026-07-12 16:11:00 +01:00
timedout
b6e5a106ff
fix: Don't unhelpfully panic when encountering an unrecognised room version
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
7225bf25ae
feat: Persist create events received during the invite process
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
Ginger
556141b404
fix: Trim whitespace from OIDC client secret file
2026-07-12 02:06:48 +00:00
Ginger
d9c2f04d73
fix: Correctly handle preferred_username claim
2026-07-11 19:21:33 +00:00
timedout
13bcb5af13
style: Accept event id reference in pdu_format_check_1
2026-07-11 17:27:42 +01:00
timedout
c34d1fe76e
feat: Move PDU validation out of parsing and into check 1
2026-07-11 17:27:42 +01:00
timedout
838764b0ac
style: Remove needless async def for parse_incoming_pdu_with_known_room
2026-07-11 17:27:42 +01:00
timedout
b51a34c1c1
fix: Address review feedback
2026-07-11 17:27:42 +01:00
timedout
2fbb779d12
fix: Invert boolean returned by policy server check
2026-07-11 17:27:42 +01:00
timedout
e16a62e1ed
feat: Add more debug logging to PDU handle funcs
...
Tracking down weird soft-fails
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
70a3905761
style: Remove duplicate pdu check 1 call in handle_incoming_pdu
2026-07-11 17:27:42 +01:00
timedout
cf9179e8f6
fix: Perform checks 1-3 on auth chain PDUs
2026-07-11 17:27:42 +01:00
timedout
6b899b7f80
refactor: Move PDU checks 1, 2, and 3 into pdu_checks.rs
2026-07-11 17:27:42 +01:00
timedout
ad57fa06fc
style: Unify and document state_before_incoming
2026-07-11 17:27:42 +01:00
timedout
ec9efbada5
fix: Don't reject auth events when they're innocent in auth chain response
2026-07-11 17:27:42 +01:00
timedout
318d2b205a
style: Move PDU check functions into their own module
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
Renovate Bot
ace0d52074
chore(deps): Update rust crate termimad to 0.35.0
2026-07-11 15:35:53 +00:00
Ginger
f55207d5c7
fix: Stop appservice users from being wrongly deactivated during migration
2026-07-11 14:55:43 +00:00
Ginger
9b14ab4c0b
fix: Parse OIDC discovery URL more leniently
2026-07-10 16:52:04 +00:00
timedout
b915692ae1
fix: Remove broken federated invite revoke handling
...
It turns out it never worked in the first place :D
2026-07-10 16:32:38 +01:00
theS1LV3R
8b6a176901
fix: Use correct DNS caching for SNI to function properly
...
This removes the old (broken) DNS caching method for reqwest, and replaces
it with resolvematrix' `MatrixDnsResolver`, as it correctly implements
caching and overrides for correct SNI behavior.
2026-07-10 13:44:59 +00:00
Ginger
2fabf18451
style: Fix comment
2026-07-09 17:36:56 -04:00
Ginger
63a26141f8
fix: Make depth cap a bit more thorough
2026-07-09 17:33:13 -04:00
Ginger
cc1f667c2b
fix: Cap max_depth to 50 in hierarchy endpoint
2026-07-09 17:22:36 -04:00
Ginger
89dcda4c3c
feat: Kill roomsynctoken_shortstatehash dead
2026-07-09 16:43:10 -04:00
theS1LV3R
edbaceafaa
fix: Cargo clippy messages
2026-07-09 18:22:25 +00:00
theS1LV3R
0d5789f727
chore: Merge resolver service into client service
2026-07-09 18:22:25 +00:00
timedout
f9b532162f
fix: SEC20
...
Reviewed-By: Ginger <ginger@gingershaped.computer >
2026-07-09 17:58:59 +01:00
Ginger
ad4f7973cb
refactor: Remove list_local_users function
2026-07-07 11:33:47 -04:00
Ginger
6f76b0a593
fix: Don't bail out when changing profile data if membership cache is wrong
2026-07-05 10:51:36 -04:00
Ginger
3467dffd94
fix: Adjust sync watcher logic to be more explicit
2026-07-05 00:42:44 +00:00
Ginger
632d90921b
fix: Fix circular service dependency
2026-07-04 17:04:01 -04:00
theS1LV3R
7fac885a98
Merge branch 'main' into rewrite-resolver
2026-07-04 19:55:28 +02:00
theS1LV3R
58507aa99b
chore: Fix dependencies, prek errors
2026-07-03 10:59:14 +02:00
theS1LV3R
e58ad49d11
fix: Remove unused code, use builder when not using cache
2026-07-03 10:59:13 +02:00
theS1LV3R
44087d8c09
chore: Fix more merge issues and removed methods
2026-07-03 10:59:13 +02:00
theS1LV3R
fb74da21d9
style: Cargo fmt
2026-07-03 10:59:13 +02:00
theS1LV3R
eb078ee6dd
chore: Pass http client into resolver
2026-07-03 10:59:12 +02:00
theS1LV3R
d8eb01bf74
fix: Apply prek fixes
2026-07-03 10:59:12 +02:00