synapse-product/synapse/handlers
Andrew Morgan a7a37437bc
Integrate knock rooms with the public rooms directory (#9359)
This PR implements the ["Changes regarding the Public Rooms Directory"](https://github.com/Sorunome/matrix-doc/blob/soru/knock/proposals/2403-knock.md#changes-regarding-the-public-rooms-directory) section of knocking MSC2403.

Specifically, it:

* Allows rooms with `join_rule` "knock" to be returned by the query behind the public rooms directory
* Adds the field `join_rule` to each room entry returned by a public rooms directory query, so clients can know whether to attempt a join or knock on a room

Based on https://github.com/matrix-org/synapse/issues/6739. Complement tests for this change: https://github.com/matrix-org/complement/pull/72
2021-06-09 20:31:31 +01:00
..
ui_auth Add missing type hints to handlers and fix a Spam Checker type hint. (#9896) 2021-04-29 07:17:28 -04:00
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
_base.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
account_data.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
account_validity.py Split multiplart email sending into a dedicated handler (#9977) 2021-05-17 12:33:38 +02:00
acme_issuing_service.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
acme.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
admin.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
appservice.py Always update AS last_pos, even on no events (#10107) 2021-06-07 15:42:05 +01:00
auth.py Change the format of access tokens away from macaroons (#5588) 2021-05-12 15:04:51 +01:00
cas.py Rename handler and config modules which end in handler/config. (#9816) 2021-04-20 14:55:20 -04:00
deactivate_account.py Port "Allow users to click account renewal links multiple times without hitting an 'Invalid Token' page #74" from synapse-dinsic (#9832) 2021-04-19 19:16:34 +01:00
device.py Clear the resync bit after resyncing device lists (#9867) 2021-04-22 16:53:24 +01:00
devicemessage.py Fix m.room_key_request to-device messages (#9961) 2021-05-11 11:02:56 +01:00
directory.py Use get_current_users_in_room from store and not StateHandler (#9910) 2021-05-05 16:49:34 +01:00
e2e_keys.py Limit the number of in-flight /keys/query requests from a single device. (#10144) 2021-06-09 07:05:32 -04:00
e2e_room_keys.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
event_auth.py Allow a user who could join a restricted room to see it in spaces summary. (#9922) 2021-05-20 11:10:36 -04:00
events.py Use get_current_users_in_room from store and not StateHandler (#9910) 2021-05-05 16:49:34 +01:00
federation.py Implement knock feature (#6739) 2021-06-09 19:39:51 +01:00
groups_local.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
identity.py Add missing type hints to handlers and fix a Spam Checker type hint. (#9896) 2021-04-29 07:17:28 -04:00
initial_sync.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
message.py Implement knock feature (#6739) 2021-06-09 19:39:51 +01:00
oidc.py Allow OIDC cookies to work on non-root public baseurls (#9726) 2021-04-23 18:22:47 +01:00
pagination.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
password_policy.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
presence.py Use a database table to hold the users that should have full presence sent to them, instead of something in-memory (#9823) 2021-05-18 14:13:45 +01:00
profile.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
read_marker.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
receipts.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
register.py Change the format of access tokens away from macaroons (#5588) 2021-05-12 15:04:51 +01:00
room_list.py Integrate knock rooms with the public rooms directory (#9359) 2021-06-09 20:31:31 +01:00
room_member_worker.py Implement knock feature (#6739) 2021-06-09 19:39:51 +01:00
room_member.py Implement knock feature (#6739) 2021-06-09 19:39:51 +01:00
room.py Correctly ratelimit invites when creating a room (#9968) 2021-05-12 16:05:28 +02:00
saml.py Rename handler and config modules which end in handler/config. (#9816) 2021-04-20 14:55:20 -04:00
search.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
send_email.py Split multiplart email sending into a dedicated handler (#9977) 2021-05-17 12:33:38 +02:00
set_password.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
space_summary.py Do not show invite-only rooms in spaces summary (unless joined/invited). (#10109) 2021-06-02 11:31:41 -04:00
sso.py Remove synapse.types.Collection (#9856) 2021-04-22 16:43:50 +01:00
state_deltas.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
stats.py Implement knock feature (#6739) 2021-06-09 19:39:51 +01:00
sync.py Implement knock feature (#6739) 2021-06-09 19:39:51 +01:00
typing.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
user_directory.py User directory: use calculated room membership state instead (#9821) 2021-04-16 18:17:18 +01:00