forked-synapse/tests/handlers
Eric Eastwood b07b14b494
Federation outbound proxy (#15773)
Allow configuring the set of workers to proxy outbound federation traffic through (`outbound_federation_restricted_to`).

This is useful when you have a worker setup with `federation_sender` instances responsible for sending outbound federation requests and want to make sure *all* outbound federation traffic goes through those instances. Before this change, the generic workers would still contact federation themselves for things like profile lookups, backfill, etc. This PR allows you to set more strict access controls/firewall for all workers and only allow the `federation_sender`'s to contact the outside world.

The original code is from @erikjohnston's branches which I've gotten in-shape to merge.
2023-07-05 18:53:55 -05:00
..
__init__.py Reference Matrix Home Server 2014-08-12 15:10:52 +01:00
oidc_test_key.p8 JWT OIDC secrets for Sign in with Apple (#9549) 2021-03-09 15:03:37 +00:00
oidc_test_key.pub.pem JWT OIDC secrets for Sign in with Apple (#9549) 2021-03-09 15:03:37 +00:00
test_admin.py Revert pruning of old devices (#15360) 2023-03-31 13:51:51 +01:00
test_appservice.py Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
test_auth.py Save login tokens in database (#13844) 2022-10-26 11:45:41 +01:00
test_cas.py Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
test_deactivate_account.py Port the push rule classes to Rust. (#13768) 2022-09-20 12:10:31 +01:00
test_device.py Federation outbound proxy (#15773) 2023-07-05 18:53:55 -05:00
test_directory.py Add missing type hints to tests.handlers. (#14680) 2022-12-16 11:53:01 +00:00
test_e2e_keys.py Add requesting user id parameter to key claim methods in TransportLayerClient (#15663) 2023-05-24 13:23:26 -07:00
test_e2e_room_keys.py Add missing type hints to tests.handlers. (#14680) 2022-12-16 11:53:01 +00:00
test_federation_event.py Process previously failed backfill events in the background (#15585) 2023-05-24 23:22:24 -05:00
test_federation.py Federation outbound proxy (#15773) 2023-07-05 18:53:55 -05:00
test_message.py Batch up storing state groups when creating new room (#14918) 2023-02-24 13:15:29 -08:00
test_oauth_delegation.py Enforce that an admin token also has the basic Matrix API scope 2023-05-30 09:43:06 -04:00
test_oidc.py Add the ability to enable/disable registrations when in the OIDC flow (#14978) 2023-03-30 11:09:41 +00:00
test_password_providers.py Consolidate logic to check for deactivated users. (#15634) 2023-05-23 10:35:43 -04:00
test_presence.py Federation outbound proxy (#15773) 2023-07-05 18:53:55 -05:00
test_profile.py N + 3: Read from column full_user_id rather than user_id of tables profiles and user_filters (#15649) 2023-06-02 17:24:13 -07:00
test_receipts.py Add missing type hints to tests.handlers. (#14680) 2022-12-16 11:53:01 +00:00
test_register.py Make the api.auth.Auth a Protocol 2023-05-30 09:43:06 -04:00
test_room_member.py Fix forgotten rooms missing in initial sync (#15815) 2023-06-21 14:56:31 +01:00
test_room_summary.py Add missing type hints to tests.handlers. (#14680) 2022-12-16 11:53:01 +00:00
test_room.py Add missing type hints to tests.handlers. (#14680) 2022-12-16 11:53:01 +00:00
test_saml.py Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
test_send_email.py Add missing type hints to tests.handlers. (#14680) 2022-12-16 11:53:01 +00:00
test_sso.py Rename blacklist/whitelist internally. (#15620) 2023-05-19 12:25:25 +00:00
test_stats.py Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
test_sync.py Clear event caches when we purge history (#15609) 2023-06-08 13:14:40 +01:00
test_typing.py Federation outbound proxy (#15773) 2023-07-05 18:53:55 -05:00
test_user_directory.py Move Spam Checker callbacks to a dedicated file (#15453) 2023-04-18 00:57:40 +00:00