continuwuity/src/api/server
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
..
backfill.rs significantly improve get_missing_events fed code 2025-04-02 22:44:44 -04:00
event.rs run cargo fix for rust 2024 changes and rustfmt 2025-02-23 01:17:45 -05:00
event_auth.rs run cargo fix for rust 2024 changes and rustfmt 2025-02-23 01:17:45 -05:00
get_missing_events.rs further simplify get_missing_events; various log calls 2025-04-03 22:40:40 +00:00
hierarchy.rs move core::pdu and core::state_res into core::matrix:: 2025-04-05 02:44:46 +00:00
invite.rs refactor: Centralize server forbidden checks into moderation module 2025-04-19 23:37:54 +01:00
key.rs run cargo fix for rust 2024 changes and rustfmt 2025-02-23 01:17:45 -05:00
make_join.rs refactor: Centralize server forbidden checks into moderation module 2025-04-19 23:37:54 +01:00
make_knock.rs refactor: Centralize server forbidden checks into moderation module 2025-04-19 23:37:54 +01:00
make_leave.rs move core::pdu and core::state_res into core::matrix:: 2025-04-05 02:44:46 +00:00
media.rs run cargo fix for rust 2024 changes and rustfmt 2025-02-23 01:17:45 -05:00
mod.rs knocking implementation 2025-01-13 14:15:16 -05:00
openid.rs move core::pdu and core::state_res into core::matrix:: 2025-04-05 02:44:46 +00:00
publicrooms.rs move core::pdu and core::state_res into core::matrix:: 2025-04-05 02:44:46 +00:00
query.rs run cargo fix for rust 2024 changes and rustfmt 2025-02-23 01:17:45 -05:00
send.rs move core::pdu and core::state_res into core::matrix:: 2025-04-05 02:44:46 +00:00
send_join.rs refactor: Centralize server forbidden checks into moderation module 2025-04-19 23:37:54 +01:00
send_knock.rs refactor: Centralize server forbidden checks into moderation module 2025-04-19 23:37:54 +01:00
send_leave.rs move core::pdu and core::state_res into core::matrix:: 2025-04-05 02:44:46 +00:00
state.rs run cargo fix for rust 2024 changes and rustfmt 2025-02-23 01:17:45 -05:00
state_ids.rs run cargo fix for rust 2024 changes and rustfmt 2025-02-23 01:17:45 -05:00
user.rs run cargo fix for rust 2024 changes and rustfmt 2025-02-23 01:17:45 -05:00
utils.rs run cargo fix for rust 2024 changes and rustfmt 2025-02-23 01:17:45 -05:00
version.rs move core::pdu and core::state_res into core::matrix:: 2025-04-05 02:44:46 +00:00
well_known.rs move core::pdu and core::state_res into core::matrix:: 2025-04-05 02:44:46 +00:00