WIP: Admin API #1810

Draft
nex wants to merge 49 commits from nex/feat/admin-api into main

49 commits

Author SHA1 Message Date
b5650f7abd
refactor: Use determine_registration_user_id in admin user create route
Some checks failed
Checks / Changelog / Check changelog is added (pull_request_target) Successful in 8s
Documentation / Build and Deploy Documentation (pull_request) Failing after 2m17s
Update flake hashes / update-flake-hashes (pull_request) Successful in 1m28s
Checks / Prek / Check changed files (pull_request) Successful in 1m26s
Checks / Prek / Clippy and Cargo Tests (pull_request) Failing after 3m42s
Checks / Prek / Pre-commit & Formatting (pull_request) Failing after 7m25s
2026-05-28 10:05:33 -04:00
8390b1c294
feat: Set MSC4484 unstable feature flag
Some checks failed
Checks / Changelog / Check changelog is added (pull_request_target) Successful in 8s
Documentation / Build and Deploy Documentation (pull_request) Failing after 2m20s
Checks / Prek / Check changed files (pull_request) Successful in 7s
Update flake hashes / update-flake-hashes (pull_request) Successful in 1m31s
Checks / Prek / Pre-commit & Formatting (pull_request) Failing after 7m11s
Checks / Prek / Clippy and Cargo Tests (pull_request) Has been cancelled
2026-05-28 09:41:17 -04:00
2f0911ca59
fix: Adjust admin API routes to work with new auth logic
Some checks failed
Checks / Changelog / Check changelog is added (pull_request_target) Successful in 9s
Documentation / Build and Deploy Documentation (pull_request) Failing after 2m41s
Checks / Prek / Check changed files (pull_request) Successful in 28s
Checks / Prek / Pre-commit & Formatting (pull_request) Failing after 4m56s
Update flake hashes / update-flake-hashes (pull_request) Successful in 2m9s
Checks / Prek / Clippy and Cargo Tests (pull_request) Failing after 3m45s
2026-05-27 13:31:07 -04:00
b26e6e2bfa
feat: Add user creation endpoint 2026-05-27 12:35:46 -04:00
9277d9bee8
feat: Include predecessor and successor information in room list 2026-05-27 12:35:46 -04:00
420b5adf1c
feat: Add pagination to rooms list & include more information 2026-05-27 12:35:46 -04:00
165b3de873
feat: Enable pagination for the users list route 2026-05-27 12:35:45 -04:00
ca3bc0863a
feat: Define routes for listing and creating users 2026-05-27 12:35:45 -04:00
5a3f5b0247
feat: Add version part to admin API URLs
This is a surprise tool that will help us later
2026-05-27 12:35:45 -04:00
00aa3204a2
chore: Add some documentation to API stuff 2026-05-27 12:35:45 -04:00
822f3aea47
feat: Drop ruminuwuity msc4323 definitions 2026-05-27 12:35:45 -04:00
f023603118
feat: Use upstream ruma defs for msc4323, add locking endpoints 2026-05-27 12:35:45 -04:00
c663a0903e
refactor: Update logic for checking if a username is available
Some checks failed
Checks / Changelog / Check changelog is added (pull_request_target) Successful in 8s
Documentation / Build and Deploy Documentation (pull_request) Failing after 2m18s
Checks / Prek / Check changed files (pull_request) Successful in 28s
Update flake hashes / update-flake-hashes (pull_request) Successful in 1m30s
Checks / Prek / Pre-commit & Formatting (pull_request) Failing after 5m26s
Checks / Prek / Clippy and Cargo Tests (pull_request) Failing after 14m2s
2026-05-27 12:34:16 -04:00
242e1120af
fix: CSS adjustments 2026-05-27 12:34:13 -04:00
38e636a44b
fix: Adjust error codes to comply with MSC4190 2026-05-27 12:34:13 -04:00
06bfacaba9
feat: Mark spec version 1.15 as supported 2026-05-27 12:34:13 -04:00
3bbf0a90e0
feat: Add a page with some information about the server 2026-05-27 12:34:13 -04:00
e4d02b35bd
fix: Correct config file example section name 2026-05-27 12:34:13 -04:00
8abe673cc3
chore: My Giant Future 2026-05-27 12:34:13 -04:00
b2735ca860
feat: Improve account panel UI for locked and suspended accounts 2026-05-27 12:34:13 -04:00
76885818cb
fix: Include query parameters in link back to login on register page 2026-05-27 12:34:12 -04:00
8f41bea040
fix: CSS tweaks 2026-05-27 12:34:12 -04:00
886ae31ef6
feat: Improve registration UI in first-run mode 2026-05-27 12:34:12 -04:00
039580faf1
fix: Minor wording improvements 2026-05-27 12:34:12 -04:00
a506142170
fix: Set default for allow_deactivation 2026-05-27 12:34:12 -04:00
1c67d6f26e
fix: Fix registration terms example in config 2026-05-27 12:34:12 -04:00
4f055e69b5
feat: Implement support for prompt=create in the authorization code flow 2026-05-27 12:34:12 -04:00
f6a4ec5315
fix: Don't let logged-in users access the registration page 2026-05-27 12:34:12 -04:00
954716f1db
feat: Allow self-service deactivation to be disabled 2026-05-27 12:34:12 -04:00
5fc9e3af9c
refactor: Use more consistent terminology for email validation pages 2026-05-27 12:34:11 -04:00
a06e8d089d
feat: Add support for registering accounts with the web UI 2026-05-27 12:34:11 -04:00
7db8a6cd06
refactor: Change template context to allow using a CSP nonce 2026-05-27 12:34:11 -04:00
a3f54fd702
fix: Minor CSS improvements 2026-05-27 12:34:11 -04:00
e02bb04629
fix: Remove errant whitespace in device details 2026-05-27 12:34:11 -04:00
d260636660
chore: News fragment 2026-05-27 12:34:11 -04:00
3405d2b4b6
feat: Allow configuring the OAuth compatibility mode 2026-05-27 12:34:11 -04:00
de619e64b2
fix: Use button styling for account management link on index page 2026-05-27 12:34:10 -04:00
f55a2fb887
fix: Use the right text color on input elements 2026-05-27 12:34:10 -04:00
3b3b778b1d
feat: Add support for account management deeplinks 2026-05-27 12:34:10 -04:00
25d282c4d8
fix: Return the correct error code for expired access tokens 2026-05-27 12:34:10 -04:00
d1dd626c79
feat: Add a page for viewing a device's details 2026-05-27 12:34:10 -04:00
c88fc6856c
fix: Use SameSite=Lax for session cookie 2026-05-27 12:34:10 -04:00
a58d524f56
feat: Allow devices to be removed from the account panel 2026-05-27 12:34:10 -04:00
87777660bb
feat: Implement oauth token revocation 2026-05-27 12:34:10 -04:00
8b567e1a15
chore: Clippy fixes 2026-05-27 12:34:10 -04:00
fd74e16e5e
feat: Implement oauth auth code and refresh token flows 2026-05-27 12:34:10 -04:00
2e32e5f0ab
chore: Clippy fixes 2026-05-27 12:34:06 -04:00
f8b6b3377c
feat: Implement a web-based account management dashboard 2026-05-27 12:34:06 -04:00
b63c43828e
feat: Implement oauth service and client registration 2026-05-27 12:31:50 -04:00