summary refs log tree commit diff
path: root/synapse/rest/admin/_base.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* `synapse.api.auth.Auth` cleanup: make permission-related methods use ↵Quentin Gliech2022-08-221-5/+5
| | | | | | | | | `Requester` instead of the `UserID` (#13024) Part of #13019 This changes all the permission-related methods to rely on the Requester instead of the UserID. This is a first step towards enabling scoped access tokens at some point, since I expect the Requester to have scope-related informations in it. It also changes methods which figure out the user/device/appservice out of the access token to return a Requester instead of something else. This avoids having store-related objects in the methods signatures.
* Convert status codes to `HTTPStatus` in `synapse.rest.admin` (#11452)Dirk Klimpel2021-11-291-1/+2
|
* Add missing type hints to the admin API servlets (#10105)Dirk Klimpel2021-06-071-1/+2
|
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
| | | | | | | Part of #9744 Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now. `Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>`
* Fix additional type hints from Twisted 21.2.0. (#9591)Patrick Cloke2021-03-121-9/+6
|
* Remove deprecated `/_matrix/client/*/admin` endpoints (#8785)Dirk Klimpel2020-11-251-22/+0
| | | These are now only available via `/_synapse/admin/v1`.
* Use admin_patterns for all admin APIs. (#8331)Patrick Cloke2020-09-171-2/+2
| | | This reduces duplication of the admin prefix in regular expressions.
* Fix type information on `assert_*_is_admin` methods (#7645)Richard van der Hoff2020-06-051-19/+14
| | | These things don't return Deferreds.
* Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957)Patrick Cloke2020-02-211-2/+2
| | | | Ensure good comprehension hygiene using flake8-comprehensions.
* Admin API to list, filter and sort rooms (#6720)Andrew Morgan2020-01-221-0/+15
|
* Port synapse/rest/client/_base.py to async/awaitErik Johnston2019-10-111-9/+5
|
* Don't load the media repo when configured to use an external media repo (#5754)Amber Brown2019-08-131-0/+25
|
* Factor out an "assert_requester_is_admin" function (#5120)Richard van der Hoff2019-05-021-0/+59
Rather than copying-and-pasting the same four lines hundreds of times