Adds two new toggles to the configuration, the first of which allows disabling the policy server checks entirely, and the second of which allows disabling checking events created locally. They're both enabled by default for maximum PS efficacy but allowing them to be disabled allows people who frequently cannot contact policy servers, for example those in censored countries, to be able to still use rooms with pace, allows single-user/trusted-only homeservers to disable the preliminary check on their own events, and also gives an escape hatch in case an issue like #1060 happens again, especially with MSCs not in FCP being moving targets. In future, I think we should gate all MSC implementations behind config flags, even if they default to on. Reviewed-on: https://forgejo.ellis.link/continuwuation/continuwuity/pulls/1127 Reviewed-by: Jade Ellis <jade@ellis.link> Co-authored-by: timedout <git@nexy7574.co.uk> Co-committed-by: timedout <git@nexy7574.co.uk> |
||
|---|---|---|
| .. | ||
| acl_check.rs | ||
| fetch_and_handle_outliers.rs | ||
| fetch_prev.rs | ||
| fetch_state.rs | ||
| handle_incoming_pdu.rs | ||
| handle_outlier_pdu.rs | ||
| handle_prev_pdu.rs | ||
| mod.rs | ||
| parse_incoming_pdu.rs | ||
| policy_server.rs | ||
| resolve_state.rs | ||
| state_at_incoming.rs | ||
| upgrade_outlier_pdu.rs | ||