1
0
Fork 0
mirror of https://forgejo.ellis.link/continuwuation/continuwuity.git synced 2025-10-06 19:00:48 +00:00
continuwuity/src/api/router
Jade Ellis 0eb9e4f3d2
refactor: Centralize server forbidden checks into moderation module
This moves all checks related to `forbidden_remote_server_names`,
`forbidden_remote_room_directory_server_names` and
`prevent_media_downloads_from` to a new `moderation` module.
This is useful for implementing more complicated logic globally.
Mostly the changes from #673, but is also relevant for #750
2025-04-19 23:37:54 +01:00
..
args.rs use async_trait without axum re-export 2025-03-31 04:27:20 +00:00
auth.rs refactor: Centralize server forbidden checks into moderation module 2025-04-19 23:37:54 +01:00
handler.rs run cargo fix for rust 2024 changes and rustfmt 2025-02-23 01:17:45 -05:00
request.rs run cargo fix for rust 2024 changes and rustfmt 2025-02-23 01:17:45 -05:00
response.rs run cargo fix for rust 2024 changes and rustfmt 2025-02-23 01:17:45 -05:00
state.rs apply new rustfmt.toml changes, fix some clippy lints 2024-12-15 01:00:41 -05:00