Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use literals in place of `HTTPStatus` constants in tests (#13488) | Dirk Klimpel | 2022-08-10 | 1 | -51/+10 |
| | | | | | | | | | * Use literals in place of `HTTPStatus` constants in tests * newsfile * code style * code style | ||||
* | Use literals in place of `HTTPStatus` constants in tests (#13479) | Dirk Klimpel | 2022-08-09 | 1 | -3/+3 |
| | | | | | | | | | | Replace - `HTTPStatus.NOT_FOUND` - `HTTPStatus.FORBIDDEN` - `HTTPStatus.UNAUTHORIZED` - `HTTPStatus.CONFLICT` - `HTTPStatus.CREATED` Signed-off-by: Dirk Klimpel <dirk@klimpel.org> | ||||
* | Use literals in place of `HTTPStatus` constants in tests (#13469) | Dirk Klimpel | 2022-08-08 | 1 | -18/+18 |
| | |||||
* | Add missing `errcode` to `parse_string` and `parse_boolean` (#11542) | Dirk Klimpel | 2021-12-09 | 1 | -1/+1 |
| | |||||
* | Clean up `synapse.rest.admin` (#11535) | Dirk Klimpel | 2021-12-08 | 1 | -1/+1 |
| | |||||
* | Add type hints to `synapse/tests/rest/admin` (#11501) | Dirk Klimpel | 2021-12-03 | 1 | -18/+22 |
| | |||||
* | Convert status codes to `HTTPStatus` in `tests.rest.admin` (#11455) | Dirk Klimpel | 2021-11-30 | 1 | -31/+71 |
| | |||||
* | Create a constant for a small png image in tests. (#10834) | Patrick Cloke | 2021-09-16 | 1 | -9/+3 |
| | | | To avoid duplicating it between a few tests. | ||||
* | Flatten the synapse.rest.client package (#10600) | reivilibre | 2021-08-17 | 1 | -1/+1 |
| | |||||
* | Fix (final) Bugbear violations (#9838) | Jonathan de Jong | 2021-04-20 | 1 | -1/+1 |
| | |||||
* | 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>` | ||||
* | Update black, and run auto formatting over the codebase (#9381) | Eric Eastwood | 2021-02-16 | 1 | -32/+101 |
| | | | | | | | - Update black version to the latest - Run black auto formatting over the codebase - Run autoformatting according to [`docs/code_style.md `](https://github.com/matrix-org/synapse/blob/80d6dc9783aa80886a133756028984dbf8920168/docs/code_style.md) - Update `code_style.md` docs around installing black to use the correct version | ||||
* | Removes unnecessary declarations in the tests for the admin API. (#9063) | Dirk Klimpel | 2021-01-11 | 1 | -1/+0 |
| | |||||
* | Remove spurious "SynapseRequest" result from `make_request" | Richard van der Hoff | 2020-12-15 | 1 | -33/+27 |
| | | | | This was never used, so let's get rid of it. | ||||
* | Remove redundant `HomeserverTestCase.render` | Richard van der Hoff | 2020-11-16 | 1 | -27/+0 |
| | |||||
* | Add an admin API for users' media statistics (#8700) | Dirk Klimpel | 2020-11-05 | 1 | -0/+485 |
Add `GET /_synapse/admin/v1/statistics/users/media` to get statisics about local media usage by users. Related to #6094 It is the first API for statistics. Goal is to avoid/reduce usage of sql queries like [Wiki analyzing Synapse](https://github.com/matrix-org/synapse/wiki/SQL-for-analyzing-Synapse-PostgreSQL-database-stats) Signed-off-by: Dirk Klimpel dirk@klimpel.org |