-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Add admin API to remove a local user from a space #11358
Commits on Nov 16, 2021
-
Annotate string constants in
synapse.api.constants
withFinal
This change makes mypy complain if the constants are ever reassigned, and, more usefully, makes mypy type them as `Literal`s instead of `str`s, allowing code of the following form to pass mypy: ```py def do_something(membership: Literal["join", "leave"], ...): ... do_something(Membership.JOIN, ...) ```
Sean Quah committedNov 16, 2021 Configuration menu - View commit details
-
Copy full SHA for 17bc616 - Browse repository at this point
Copy the full SHA 17bc616View commit details -
Add
RoomHierarchyHandler
for walking space hierarchiesSean Quah committedNov 16, 2021 Configuration menu - View commit details
-
Copy full SHA for 98873d7 - Browse repository at this point
Copy the full SHA 98873d7View commit details -
Add tests for
RoomHierarchyHandler
Sean Quah committedNov 16, 2021 Configuration menu - View commit details
-
Copy full SHA for f004687 - Browse repository at this point
Copy the full SHA f004687View commit details -
Add admin API to remove a local user from a space
Sean Quah committedNov 16, 2021 Configuration menu - View commit details
-
Copy full SHA for 75be1be - Browse repository at this point
Copy the full SHA 75be1beView commit details -
Add documentation for new admin API to remove a local user from a space
Sean Quah committedNov 16, 2021 Configuration menu - View commit details
-
Copy full SHA for 3371ec0 - Browse repository at this point
Copy the full SHA 3371ec0View commit details -
Add tests for admin API to remove a local user from a space
Sean Quah committedNov 16, 2021 Configuration menu - View commit details
-
Copy full SHA for b8c228a - Browse repository at this point
Copy the full SHA b8c228aView commit details -
Sean Quah committed
Nov 16, 2021 Configuration menu - View commit details
-
Copy full SHA for ab89c60 - Browse repository at this point
Copy the full SHA ab89c60View commit details -
Convert strings in
synapse.api.constants
to enums orFinal
This change makes mypy type the constants as `Literal`s instead of `str`s, allowing code of the following form to pass mypy: ```py def do_something( membership: Literal[Membership.JOIN, Membership.LEAVE], ... ): ... do_something(Membership.JOIN, ...) ```
Sean Quah committedNov 16, 2021 Configuration menu - View commit details
-
Copy full SHA for b43d085 - Browse repository at this point
Copy the full SHA b43d085View commit details
Commits on Nov 18, 2021
-
Refer to "spaces" instead of "rooms"
Sean Quah committedNov 18, 2021 Configuration menu - View commit details
-
Copy full SHA for 8627a45 - Browse repository at this point
Copy the full SHA 8627a45View commit details -
Add missing type hints to new tests
Sean Quah committedNov 18, 2021 Configuration menu - View commit details
-
Copy full SHA for f77da61 - Browse repository at this point
Copy the full SHA f77da61View commit details -
Fix bug/redundant code to do with handling of the root space id
Sean Quah committedNov 18, 2021 Configuration menu - View commit details
-
Copy full SHA for b105bea - Browse repository at this point
Copy the full SHA b105beaView commit details -
Revert "Convert strings in
synapse.api.constants
to enums orFinal
"This reverts commit b43d085.
Sean Quah committedNov 18, 2021 Configuration menu - View commit details
-
Copy full SHA for e5751a6 - Browse repository at this point
Copy the full SHA e5751a6View commit details -
Leave rooms in a deterministic order
Sean Quah committedNov 18, 2021 Configuration menu - View commit details
-
Copy full SHA for 856656a - Browse repository at this point
Copy the full SHA 856656aView commit details
Commits on Nov 19, 2021
-
Add flag to control whether remote spaces are processed
Sean Quah committedNov 19, 2021 Configuration menu - View commit details
-
Copy full SHA for 94586c5 - Browse repository at this point
Copy the full SHA 94586c5View commit details -
Sean Quah committed
Nov 19, 2021 Configuration menu - View commit details
-
Copy full SHA for 64c5617 - Browse repository at this point
Copy the full SHA 64c5617View commit details
Commits on Nov 30, 2021
-
Merge branch 'develop' into squah/leave_space_admin_api
Sean Quah committedNov 30, 2021 Configuration menu - View commit details
-
Copy full SHA for 07580ac - Browse repository at this point
Copy the full SHA 07580acView commit details
Commits on Dec 8, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 2e2f5c0 - Browse repository at this point
Copy the full SHA 2e2f5c0View commit details