forked-synapse/tests/handlers
reivilibre a83a337c4d
Filter out rooms from the room directory being served to other homeservers when those rooms block that homeserver by their Access Control Lists. (#16759)
The idea here being that the directory server shouldn't advertise rooms
to a requesting server is the requesting server would not be allowed to
join or participate in the room.

<!--
Fixes: # <!-- -->
<!--
Supersedes: # <!-- -->
<!--
Follows: # <!-- -->
<!--
Part of: # <!-- -->
Base: `develop` <!-- git-stack-base-branch:develop -->

<!--
This pull request is commit-by-commit review friendly. <!-- -->
<!--
This pull request is intended for commit-by-commit review. <!-- -->

Original commit schedule, with full messages:

<ol>
<li>

Pass `from_federation_origin` down into room list retrieval code 

</li>
<li>

Don't cache /publicRooms response for inbound federated requests 

</li>
<li>

fixup! Don't cache /publicRooms response for inbound federated requests 

</li>
<li>

Cap the number of /publicRooms entries to 100 

</li>
<li>

Simplify code now that you can't request unlimited rooms 

</li>
<li>

Filter out rooms from federated requests that don't have the correct ACL

</li>
<li>

Request a handful more when filtering ACLs so that we can try to avoid
shortchanging the requester

</li>
</ol>

---------

Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
2024-01-08 17:24:20 +00: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 Update license headers 2023-11-21 15:29:58 -05:00
test_appservice.py Update license headers 2023-11-21 15:29:58 -05:00
test_auth.py Update license headers 2023-11-21 15:29:58 -05:00
test_cas.py Update license headers 2023-11-21 15:29:58 -05:00
test_deactivate_account.py Update license headers 2023-11-21 15:29:58 -05:00
test_device.py Update license headers 2023-11-21 15:29:58 -05:00
test_directory.py Update license headers 2023-11-21 15:29:58 -05:00
test_e2e_keys.py Update license headers 2023-11-21 15:29:58 -05:00
test_e2e_room_keys.py Update license headers 2023-11-21 15:29:58 -05:00
test_federation_event.py Update license headers 2023-11-21 15:29:58 -05:00
test_federation.py Update license headers 2023-11-21 15:29:58 -05:00
test_message.py Update license headers 2023-11-21 15:29:58 -05:00
test_oauth_delegation.py Merge remote-tracking branch 'gitlab/clokep/license-license' into new_develop 2023-12-13 15:11:56 +00:00
test_oidc.py Update license headers 2023-11-21 15:29:58 -05:00
test_password_providers.py Update license headers 2023-11-21 15:29:58 -05:00
test_presence.py Update license headers 2023-11-21 15:29:58 -05:00
test_profile.py Update license headers 2023-11-21 15:29:58 -05:00
test_receipts.py Update license headers 2023-11-21 15:29:58 -05:00
test_register.py Update license headers 2023-11-21 15:29:58 -05:00
test_room_list.py Filter out rooms from the room directory being served to other homeservers when those rooms block that homeserver by their Access Control Lists. (#16759) 2024-01-08 17:24:20 +00:00
test_room_member.py Replace make_awaitable with AsyncMock (#16179) 2023-08-24 19:38:46 -04:00
test_room_summary.py Update license headers 2023-11-21 15:29:58 -05:00
test_room.py Add missing type hints to tests.handlers. (#14680) 2022-12-16 11:53:01 +00:00
test_saml.py Update license headers 2023-11-21 15:29:58 -05:00
test_send_email.py Update license headers 2023-11-21 15:29:58 -05:00
test_sso.py Update license headers 2023-11-21 15:29:58 -05:00
test_stats.py Update license headers 2023-11-21 15:29:58 -05:00
test_sync.py Update license headers 2023-11-21 15:29:58 -05:00
test_typing.py Update license headers 2023-11-21 15:29:58 -05:00
test_user_directory.py Update license headers 2023-11-21 15:29:58 -05:00
test_worker_lock.py Update license headers 2023-11-21 15:29:58 -05:00