This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 3
Make AccessRules use the public rooms directory instead of checking a room's join rules on rule change #63
Merged
Merged
Changes from 13 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
81d0fd6
Allow ThirdPartyEventRules modules to manipulate public room state
anoadragon453 3a1adf3
Make AccessRules use the public rooms directory instead of checking a…
anoadragon453 19eb148
Changelog
anoadragon453 064745f
Prevent external users from joining rooms if they are not in the PRL
anoadragon453 4a0fcbd
Fix module_api.public_room_list_manager call
anoadragon453 c868363
async get_event_allowed
anoadragon453 f5bf163
async on_create_room
anoadragon453 0eb372b
Modify and add tests for public room list vs public join rules
anoadragon453 e952eab
Fix double-negative
anoadragon453 7a697a6
Update to deny a room join from a forbidden user with no invite
anoadragon453 ec11ee0
Allow only unrestricted and restricted rooms to have public join_rules
anoadragon453 a66641d
Make use of get_domain_from_id
anoadragon453 951b956
Test forbidden users cannot join restricted room, but can join unrest…
anoadragon453 d3c5880
Remove public_Chat restriction on unrestricted rooms
anoadragon453 f977611
wording + fix check for whether a user has been invited to a room
anoadragon453 07dd721
Testing fixes from review comments
anoadragon453 c34b5bb
Wording fixes
anoadragon453 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
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 @@ | ||
Make AccessRules use the public rooms directory instead of checking a room's join rules on rule change. |
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.
We needed to
async
this method to eventually call the check on whether a room is public. Luckily this method is alreadyawait
ed on everywhere!