This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Experimental support for MSC3266 Room Summary API #10394
Merged
Merged
Changes from 38 commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
7d9c34d
Extract ResolveRoomIdMixin and reuse it for /_matrix/client/r0/join/{…
t3chguy ef295d1
First cut of a local-only poc for MSC3266
t3chguy 85abffc
Update allowed_spaces to allowed_room_ids to match Space Summary API
t3chguy b0c8e02
Extract _is_room_accessible into synapse.api.auth.Auth
t3chguy d169cd8
Extract build_room_entry into a mixin, updates Space Summary API allo…
t3chguy 01b222a
remove unused variables
t3chguy 9227efc
delint
t3chguy c02485c
fix types
t3chguy 0fa04fe
Fix typo in the msc3266 experimental config flag
t3chguy 3982736
Merge branch 'develop' into msc3266
t3chguy 957cb4f
Merge branch 'develop' of https://github.com/matrix-org/synapse into …
t3chguy 9994f12
extract requester_can_see_room_entry to reuse in both space and room …
t3chguy b2c8a7c
Add newsfragment
t3chguy e6e7ecf
Add tests for the room_summary handler and make remote_room_hosts opt…
t3chguy 85c166e
Merge branch 'msc3266' of github.com:t3chguy/synapse into msc3266
t3chguy cc6c271
fix mypy lint and missing await
t3chguy 0c5952b
delint s'more
t3chguy 9e113aa
fix test_state by stubbing get_event_auth_handler
t3chguy faa8bf1
Merge branch 'develop' of https://github.com/matrix-org/synapse into …
t3chguy caa8015
re-apply consolidation between room_summary and space_summary
t3chguy f5c6740
delint
t3chguy 2a9b961
Make requester optional to be more generically re-usable
t3chguy b277031
update naming and comments
t3chguy 61d9312
Apply suggestions from code review
t3chguy dfa8247
remove references to summary
t3chguy 9dbe660
Consolidate the two handlers into 1
t3chguy b7ba82a
Fix mocks
t3chguy 7a57bcc
fix arg order
t3chguy 8371e26
minimise diff
t3chguy d4020d8
delint
t3chguy 3fbf621
revert bits of the PR
t3chguy e99ca29
revert s'more
t3chguy 2823459
minimise diff
t3chguy 82c6f40
Fix ordering of mypy.
clokep 82ed39c
Update comments.
clokep 0a74384
Rollback an unused change.
clokep 5dcbf1a
Strip out code for federation, which is not yet supported.
clokep a168618
Pull in changes from #10569 to simplify code.
clokep d9c4e0c
Merge remote-tracking branch 'origin/develop' into msc3266
clokep 4e23960
Inline a variable.
clokep a1f45e8
Merge remote-tracking branch 'origin/develop' into msc3266
clokep File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Initial local support for [MSC3266](https://github.com/matrix-org/synapse/pull/10394), Room Summary over the unstable `/rooms/{roomIdOrAlias}/summary` API. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change is from #10569 and means we don't need to use a separate method to summarize a single room.