synapse-old/tests/rest/client
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 Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
test_account.py Delete server-side backup keys when deactivating an account. (#15181) 2023-04-04 20:16:08 +00:00
test_account_data.py Add a module callback to react to account data changes (#12327) 2022-04-01 11:22:48 +02:00
test_auth.py Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
test_capabilities.py Implement stable support for MSC3882 to allow an existing device/session to generate a login token for use on a new device/session (#15388) 2023-06-01 08:52:51 -04:00
test_consent.py Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
test_devices.py Fix dehydrated device REST checks (#14336) 2022-10-31 20:31:43 +00:00
test_directory.py Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
test_ephemeral_message.py Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
test_events.py Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
test_filter.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_identity.py Drop support for calling `/_matrix/client/v3/rooms/{roomId}/invite` without an `id_access_token` (#13241) 2022-08-31 12:10:25 +00:00
test_keys.py Implementation of MSC3967: Don't require UIA for initial upload of cross signing keys (#15077) 2023-03-02 10:34:59 +00:00
test_login.py Add login spam checker API (#15838) 2023-06-26 14:12:20 +00:00
test_login_token_request.py Implement stable support for MSC3882 to allow an existing device/session to generate a login token for use on a new device/session (#15388) 2023-06-01 08:52:51 -04:00
test_models.py A third batch of Pydantic validation for rest/client/account.py (#13736) 2022-09-15 18:36:02 +01:00
test_mutual_rooms.py Update Mutual Rooms (MSC2666) implementation (#15621) 2023-05-18 12:49:12 -04:00
test_notifications.py Fix invite notifications for users without pushers (#12840) 2022-05-30 13:14:43 +02:00
test_password_policy.py Remove unnecessary `json.dumps` from tests (#13303) 2022-07-17 22:28:45 +01:00
test_power_levels.py Add type hints to `tests/rest/client` (#12072) 2022-02-24 13:56:38 -05:00
test_presence.py Federation outbound proxy (#15773) 2023-07-05 18:53:55 -05:00
test_profile.py Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
test_push_rule_attrs.py push rules: fix internal conversion from _type to value (#15781) 2023-06-16 14:17:02 +02:00
test_read_marker.py Clear event caches when we purge history (#15609) 2023-06-08 13:14:40 +01:00
test_receipts.py Reject receipt requests with invalid room or event IDs. (#14632) 2022-12-07 17:35:41 +00:00
test_redactions.py Add a catch-all * to the supported relation types when redacting (#15705) 2023-06-02 13:13:50 +00:00
test_register.py Revert pruning of old devices (#15360) 2023-03-31 13:51:51 +01:00
test_relations.py Initial implementation of MSC3981: recursive relations API (#15315) 2023-05-02 07:59:55 -04:00
test_rendezvous.py Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
test_report_event.py Make `POST /_matrix/client/v3/rooms/{roomId}/report/{eventId}` endpoint return 404 if event exists, but the user lacks access (#15300) 2023-03-21 13:24:03 +00:00
test_retention.py Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
test_rooms.py Federation outbound proxy (#15773) 2023-07-05 18:53:55 -05:00
test_sendtodevice.py Additional constants for EDU types. (#12884) 2022-05-27 07:14:36 -04:00
test_shadow_banned.py Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
test_sync.py Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
test_third_party_rules.py Move ThirdPartyEventRules into module_api/callbacks (#15535) 2023-05-04 14:18:22 +00:00
test_transactions.py Pass the Requester down to the HttpTransactionCache. (#15200) 2023-03-07 16:05:22 +00:00
test_typing.py Do not allow a None-limit on PaginationConfig. (#14146) 2022-10-14 12:30:05 +00:00
test_upgrade_room.py Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
utils.py Fix-up type hints in tests/server.py. (#15084) 2023-02-17 18:19:38 +00:00