Implement MSC4323 suspension #967

Merged
nex merged 6 commits from nex/feat/agnostic-user-suspend-lock into main 2025-09-01 11:26:28 +00:00
Owner

Implements the {GET,PUT} /_matrix/client/v1/admin/suspend/{userId} endpoints from MSC4323. Lock will not be implemented because we don't support that

closes #922

Implements the `{GET,PUT} /_matrix/client/v1/admin/suspend/{userId}` endpoints from [MSC4323](https://github.com/matrix-org/matrix-spec-proposals/pull/4323). Lock will not be implemented because we don't support that closes #922
feat: Only inject vias when manual ones aren't provided during join
All checks were successful
Checks / Prek / Pre-commit & Formatting (push) Successful in 59s
Release Docker Image / define-variables (push) Successful in 3s
Documentation / Build and Deploy Documentation (pull_request) Successful in 31s
Checks / Prek / Clippy and Cargo Tests (push) Successful in 4m47s
Release Docker Image / build-image (linux/amd64, release, linux-amd64, base) (push) Successful in 14m25s
Release Docker Image / build-image (linux/arm64, release, linux-arm64, base) (push) Successful in 17m16s
Release Docker Image / merge (push) Successful in 17s
e903390b98
chore(PR956): Update admin docs
All checks were successful
Documentation / Build and Deploy Documentation (pull_request) Successful in 57s
Checks / Prek / Pre-commit & Formatting (push) Successful in 1m20s
Checks / Prek / Clippy and Cargo Tests (push) Successful in 3m55s
15d3e2c476
feat(MSC4323): Implement agnostic suspension endpoint
Some checks failed
Release Docker Image / define-variables (push) Successful in 8s
Checks / Prek / Pre-commit & Formatting (push) Successful in 1m8s
Checks / Prek / Clippy and Cargo Tests (push) Failing after 8m28s
Documentation / Build and Deploy Documentation (pull_request) Successful in 49s
Release Docker Image / build-image (linux/amd64, release, linux-amd64, base) (push) Has been cancelled
Release Docker Image / build-image (linux/arm64, release, linux-arm64, base) (push) Has been cancelled
Release Docker Image / merge (push) Has been cancelled
fedd229987
requested review from Owners 2025-08-31 15:57:52 +00:00
nex changed title from Implement MSC4323 suspension to WIP: Implement MSC4323 suspension 2025-08-31 15:59:26 +00:00
Author
Owner

Forgot to add the capability changes

Forgot to add the capability changes
feat(MSC4323): Advertise suspension support in capabilities
Some checks failed
Release Docker Image / build-image (linux/amd64, release, linux-amd64, base) (push) Blocked by required conditions
Release Docker Image / build-image (linux/arm64, release, linux-arm64, base) (push) Blocked by required conditions
Release Docker Image / merge (push) Blocked by required conditions
Checks / Prek / Pre-commit & Formatting (push) Successful in 1m35s
Release Docker Image / define-variables (push) Successful in 5s
Checks / Prek / Clippy and Cargo Tests (push) Has been cancelled
Documentation / Build and Deploy Documentation (pull_request) Successful in 40s
ab1ca2764a
style(MSC4323): Satisfy our linting overlords
Some checks failed
Release Docker Image / define-variables (push) Waiting to run
Release Docker Image / build-image (linux/amd64, release, linux-amd64, base) (push) Blocked by required conditions
Release Docker Image / build-image (linux/arm64, release, linux-arm64, base) (push) Blocked by required conditions
Release Docker Image / merge (push) Blocked by required conditions
Checks / Prek / Pre-commit & Formatting (push) Has been cancelled
Documentation / Build and Deploy Documentation (pull_request) Successful in 31s
Checks / Prek / Clippy and Cargo Tests (push) Has been cancelled
bcd1d4be34
nex changed title from WIP: Implement MSC4323 suspension to Implement MSC4323 suspension 2025-08-31 16:11:09 +00:00
nex force-pushed nex/feat/agnostic-user-suspend-lock from bcd1d4be34 to d21f07a3cc 2025-08-31 16:11:20 +00:00 Compare
nex added this to the v0.5.0-rc.8 milestone 2025-08-31 16:18:58 +00:00
feat(MSC4323): Add versions flag
All checks were successful
Release Docker Image / define-variables (push) Successful in 6s
Documentation / Build and Deploy Documentation (pull_request) Successful in 39s
Checks / Prek / Pre-commit & Formatting (push) Successful in 1m1s
Checks / Prek / Clippy and Cargo Tests (push) Successful in 4m44s
Release Docker Image / build-image (linux/arm64, release, linux-arm64, base) (push) Successful in 10m2s
Release Docker Image / build-image (linux/amd64, release, linux-amd64, base) (push) Successful in 8m14s
Release Docker Image / merge (push) Successful in 10s
338f1a4c4f
perf(MSC4323): Remove redundant authorisation checks
All checks were successful
Checks / Prek / Pre-commit & Formatting (push) Successful in 1m15s
Release Docker Image / define-variables (push) Successful in 2s
Documentation / Build and Deploy Documentation (pull_request) Successful in 32s
Checks / Prek / Clippy and Cargo Tests (push) Successful in 5m18s
Release Docker Image / build-image (linux/amd64, release, linux-amd64, base) (push) Successful in 12m11s
Release Docker Image / build-image (linux/arm64, release, linux-arm64, base) (push) Successful in 11m42s
Release Docker Image / merge (push) Successful in 11s
d3637facc2
removed review request for Owners 2025-09-01 10:28:20 +00:00
perf(MSC4323): Parallelise some check futs
All checks were successful
Release Docker Image / define-variables (push) Successful in 4s
Documentation / Build and Deploy Documentation (pull_request) Successful in 38s
Checks / Prek / Pre-commit & Formatting (push) Successful in 59s
Checks / Prek / Clippy and Cargo Tests (push) Successful in 5m32s
Release Docker Image / build-image (linux/amd64, release, linux-amd64, base) (push) Successful in 11m56s
Release Docker Image / build-image (linux/arm64, release, linux-arm64, base) (push) Successful in 11m48s
Release Docker Image / merge (push) Successful in 10s
98f35d9d53
requested review from Owners 2025-09-01 11:10:40 +00:00
Author
Owner

Dogfooded this by writing this meowlnir pr which itself works fine on my servers, and is currently being deployed to continuwuity.rocks. Only a code review is needed.

Dogfooded this by writing [this meowlnir pr](https://github.com/maunium/meowlnir/pull/40) which itself works fine on my servers, and is currently being deployed to continuwuity.rocks. Only a code review is needed.
nex force-pushed nex/feat/agnostic-user-suspend-lock from 98f35d9d53 to d970df5fd2 2025-09-01 11:14:00 +00:00 Compare
Jade approved these changes 2025-09-01 11:15:27 +00:00
Jade left a comment
Owner

Shiny

Shiny ✨
nex merged commit d970df5fd2 into main 2025-09-01 11:26:28 +00:00
nex deleted branch nex/feat/agnostic-user-suspend-lock 2025-09-01 11:26:28 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Depends on
Reference: continuwuation/continuwuity#967
No description provided.