Commit graph

10 commits

Author SHA1 Message Date
Laura Hausmann
8b514986a4
[backend/middleware] Require administrator role for masto admin scope endpoints
This isn't currently used anywhere, but may become relevant in the future.
2025-02-17 23:29:05 +01:00
Laura Hausmann
ec6e334266
[backend/api] Add TOTP submission endpoint (ISH-580) 2024-11-21 20:04:21 +01:00
Laura Hausmann
705e061f74
[backend/asp] Refactor middleware stack
This commit splits the request pipeline conditionally instead of invoking every middleware in the stack.

It also simplifies middleware instantiation by using runtime discovery, allowing for Plugins to add Middleware.
2024-11-18 19:02:44 +01:00
Laura Hausmann
aaa3f91e1f
[backend/api-shared] Add Cache-Control: private, no-store for all authenticated requests 2024-04-27 21:54:11 +02:00
Laura Hausmann
ba0e041bad
[backend/core] Add 401/403 response examples programmatically 2024-02-24 22:09:47 +01:00
Laura Hausmann
d4e1d92771
[backend] Code cleanup: switch to BSD braces style, tweak code style 2024-02-17 02:31:00 +01:00
Laura Hausmann
9b551d11be
[backend/api] Add endpoint allowing admins to generate invites 2024-02-16 23:42:07 +01:00
Laura Hausmann
e31a0719f4
[backend] Replace mastodon-specific middleware with modes triggered on MastodonApiControllerAttribute 2024-02-05 21:08:20 +01:00
Laura Hausmann
135d26127b
Allow changing the password of a user 2024-01-28 00:54:58 +01:00
Laura Hausmann
64a70e688c
Split authentication and authorization 2024-01-28 00:42:22 +01:00