Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add type hints to `synapse/tests/rest/admin` (#11590) | Dirk Klimpel | 2021-12-16 | 1 | -1/+3 |
| | |||||
* | Add missing `errcode` to `parse_string` and `parse_boolean` (#11542) | Dirk Klimpel | 2021-12-09 | 1 | -1/+1 |
| | |||||
* | Add type hints to `synapse/tests/rest/admin` (#11501) | Dirk Klimpel | 2021-12-03 | 1 | -33/+36 |
| | |||||
* | Convert status codes to `HTTPStatus` in `tests.rest.admin` (#11455) | Dirk Klimpel | 2021-11-30 | 1 | -55/+136 |
| | |||||
* | Show error when timestamp in seconds is provided to the /purge_media_cache ↵ | Aaron R | 2021-10-20 | 1 | -4/+102 |
| | | | | API (#11101) | ||||
* | Use direct references for configuration variables (part 5). (#10897) | Patrick Cloke | 2021-09-24 | 1 | -2/+2 |
| | |||||
* | Add reactor to `SynapseRequest` and fix up types. (#10868) | Erik Johnston | 2021-09-24 | 1 | -3/+3 |
| | |||||
* | Create a constant for a small png image in tests. (#10834) | Patrick Cloke | 2021-09-16 | 1 | -28/+6 |
| | | | To avoid duplicating it between a few tests. | ||||
* | Flatten the synapse.rest.client package (#10600) | reivilibre | 2021-08-17 | 1 | -1/+1 |
| | |||||
* | Add type hints to additional servlet functions (#10437) | Patrick Cloke | 2021-07-21 | 1 | -2/+2 |
| | | | | | | | | | Improves type hints for: * parse_{boolean,integer} * parse_{boolean,integer}_from_args * parse_json_{value,object}_from_request And fixes any incorrect calls that resulted from unknown types. | ||||
* | Add new admin APIs to remove media by media ID from quarantine. (#10044) | Dirk Klimpel | 2021-06-02 | 1 | -0/+128 |
| | | | | | Related to: #6681, #5956, #10040 Signed-off-by: Dirk Klimpel dirk@klimpel.org | ||||
* | Add an admin API for unprotecting local media from quarantine (#10040) | Dirk Klimpel | 2021-05-26 | 1 | -0/+99 |
| | | | Signed-off-by: Dirk Klimpel dirk@klimpel.org | ||||
* | 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 | -14/+46 |
| | | | | | | | - 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 | -2/+0 |
| | |||||
* | Remove spurious "SynapseRequest" result from `make_request" | Richard van der Hoff | 2020-12-15 | 1 | -36/+26 |
| | | | | This was never used, so let's get rid of it. | ||||
* | Fix broken testcase (#8851) | Richard van der Hoff | 2020-12-01 | 1 | -1/+0 |
| | | | | This test was broken by #8565. It doesn't need to set set `self.clock` here anyway - that is done by `setUp`. | ||||
* | Remove redundant `HomeserverTestCase.render` | Richard van der Hoff | 2020-11-16 | 1 | -23/+0 |
| | |||||
* | Make `make_request` actually render the request | Richard van der Hoff | 2020-11-16 | 1 | -6/+0 |
| | | | | | | remove the stubbing out of `request.process`, so that `requestReceived` also renders the request via the appropriate resource. Replace render() with a stub for now. | ||||
* | use global make_request() directly where we have a custom Resource | Richard van der Hoff | 2020-11-15 | 1 | -3/+10 |
| | | | | | | Where we want to render a request against a specific Resource, call the global make_request() function rather than the one in HomeserverTestCase, allowing us to pass in an appropriate `Site`. | ||||
* | Add an admin api to delete local media. (#8519) | Dirk Klimpel | 2020-10-26 | 1 | -0/+568 |
Related to: #6459, #3479 Add `DELETE /_synapse/admin/v1/media/<server_name>/<media_id>` to delete a single file from server. |