feat: Update policy server implementation to be closer to stable MSC4284 #1487

Open
nex wants to merge 13 commits from nex/feat/policy-servers-2-electric-boogaloo into main

13 commits

Author SHA1 Message Date
b4128b5813
style: Make verify_policy_signature less verbose
Some checks failed
Check Changelog / Check for changelog (pull_request_target) Successful in 10s
Documentation / Build and Deploy Documentation (pull_request) Successful in 1m22s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 3m1s
Update flake hashes / update-flake-hashes (pull_request) Successful in 56s
Checks / Prek / Clippy and Cargo Tests (pull_request) Failing after 25m4s
2026-04-02 18:01:36 +01:00
4623119282
style: Adjust log levels
Some checks failed
Check Changelog / Check for changelog (pull_request_target) Successful in 9s
Documentation / Build and Deploy Documentation (pull_request) Successful in 1m19s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 3m3s
Update flake hashes / update-flake-hashes (pull_request) Successful in 57s
Checks / Prek / Clippy and Cargo Tests (pull_request) Failing after 37m10s
2026-04-02 17:17:37 +01:00
2eae993717
fix: Bump ruwuma to fix policy server deserialisation 2026-04-02 17:16:11 +01:00
6589a4e922
fix: Pass through returned errors correctly 2026-04-02 17:08:14 +01:00
af3fbc5562
style: How is the formatter indecisive
Some checks failed
Check Changelog / Check for changelog (pull_request_target) Successful in 21s
Documentation / Build and Deploy Documentation (pull_request) Successful in 1m20s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 2m58s
Update flake hashes / update-flake-hashes (pull_request) Successful in 56s
Checks / Prek / Clippy and Cargo Tests (pull_request) Failing after 35m4s
2026-04-02 16:40:18 +01:00
fc21b0bab2
style: Use ok() instead of map_or()
Some checks failed
Check Changelog / Check for changelog (pull_request_target) Successful in 14s
Documentation / Build and Deploy Documentation (pull_request) Successful in 1m19s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 2m56s
Update flake hashes / update-flake-hashes (pull_request) Successful in 56s
Checks / Prek / Clippy and Cargo Tests (pull_request) Has been cancelled
2026-04-02 16:31:23 +01:00
f8ccaefe9a
style: Resolve clippy lints 2026-04-02 16:25:04 +01:00
6d0f8fc4e2
chore: Remove config options related to policy servers
Some checks failed
Check Changelog / Check for changelog (pull_request_target) Successful in 14s
Documentation / Build and Deploy Documentation (pull_request) Successful in 1m17s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 2m54s
Update flake hashes / update-flake-hashes (pull_request) Successful in 57s
Checks / Prek / Clippy and Cargo Tests (pull_request) Has been cancelled
Since they are signature based now they can't really be ignored
2026-04-02 16:21:06 +01:00
77e769d3e1
fix: Correct inverted match statement
Some checks failed
Check Changelog / Check for changelog (pull_request_target) Successful in 10s
Documentation / Build and Deploy Documentation (pull_request) Successful in 1m18s
Checks / Prek / Pre-commit & Formatting (pull_request) Failing after 3m2s
Update flake hashes / update-flake-hashes (pull_request) Successful in 57s
Checks / Prek / Clippy and Cargo Tests (pull_request) Has been cancelled
2026-04-02 16:11:11 +01:00
924eef8a48
feat: Don't attempt erroneous loopback federation for policy server checks 2026-04-02 16:11:11 +01:00
a66d92edc4
feat: Support stable policy servers 2026-04-02 16:11:11 +01:00
384df4a256
chore: Add news fragment 2026-04-02 16:11:10 +01:00
d63901bfdb
feat: Update policy server implementation to be closer to stable MSC4284
Untested

# Conflicts:
#	src/core/error/mod.rs
#	src/service/Cargo.toml
2026-04-02 16:11:08 +01:00