Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | `synapse.api.auth.Auth` cleanup: make permission-related methods use ↵ | Quentin Gliech | 2022-08-22 | 1 | -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 Klimpel | 2021-11-29 | 1 | -1/+2 |
| | |||||
* | Add missing type hints to the admin API servlets (#10105) | Dirk Klimpel | 2021-06-07 | 1 | -1/+2 |
| | |||||
* | Remove redundant "coding: utf-8" lines (#9786) | Jonathan de Jong | 2021-04-14 | 1 | -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 Cloke | 2021-03-12 | 1 | -9/+6 |
| | |||||
* | Remove deprecated `/_matrix/client/*/admin` endpoints (#8785) | Dirk Klimpel | 2020-11-25 | 1 | -22/+0 |
| | | | These are now only available via `/_synapse/admin/v1`. | ||||
* | Use admin_patterns for all admin APIs. (#8331) | Patrick Cloke | 2020-09-17 | 1 | -2/+2 |
| | | | This reduces duplication of the admin prefix in regular expressions. | ||||
* | Fix type information on `assert_*_is_admin` methods (#7645) | Richard van der Hoff | 2020-06-05 | 1 | -19/+14 |
| | | | These things don't return Deferreds. | ||||
* | Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) | Patrick Cloke | 2020-02-21 | 1 | -2/+2 |
| | | | | Ensure good comprehension hygiene using flake8-comprehensions. | ||||
* | Admin API to list, filter and sort rooms (#6720) | Andrew Morgan | 2020-01-22 | 1 | -0/+15 |
| | |||||
* | Port synapse/rest/client/_base.py to async/await | Erik Johnston | 2019-10-11 | 1 | -9/+5 |
| | |||||
* | Don't load the media repo when configured to use an external media repo (#5754) | Amber Brown | 2019-08-13 | 1 | -0/+25 |
| | |||||
* | Factor out an "assert_requester_is_admin" function (#5120) | Richard van der Hoff | 2019-05-02 | 1 | -0/+59 |
Rather than copying-and-pasting the same four lines hundreds of times |