Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Run `pyupgrade --py37-plus --keep-percent-format` on Synapse (#11685) | Shay | 2022-01-05 | 1 | -1/+1 |
| | | | | | | | | | * newsfragment * fix newsfragment number * update changelog * remove extra space | ||||
* | Clean up `synapse.rest.admin` (#11535) | Dirk Klimpel | 2021-12-08 | 1 | -42/+18 |
| | |||||
* | Convert status codes to `HTTPStatus` in `synapse.rest.admin` (#11452) | Dirk Klimpel | 2021-11-29 | 1 | -26/+27 |
| | |||||
* | Show error when timestamp in seconds is provided to the /purge_media_cache ↵ | Aaron R | 2021-10-20 | 1 | -6/+27 |
| | | | | API (#11101) | ||||
* | Mount /_synapse/admin/v1/users/{userId}/media admin API on media workers ↵ | Andrew Morgan | 2021-08-18 | 1 | -2/+163 |
| | | | | | only (#10628) Co-authored-by: Patrick Cloke <patrickc@matrix.org> | ||||
* | Admin API to delete media for a specific user (#10558) | Dirk Klimpel | 2021-08-11 | 1 | -1/+3 |
| | |||||
* | Add missing type hints to the admin API servlets (#10105) | Dirk Klimpel | 2021-06-07 | 1 | -6/+6 |
| | |||||
* | Add new admin APIs to remove media by media ID from quarantine. (#10044) | Dirk Klimpel | 2021-06-02 | 1 | -0/+30 |
| | | | | | 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 | -2/+26 |
| | | | 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>` | ||||
* | Import HomeServer from the proper module. (#9665) | Patrick Cloke | 2021-03-23 | 1 | -1/+1 |
| | |||||
* | Fix additional type hints from Twisted 21.2.0. (#9591) | Patrick Cloke | 2021-03-12 | 1 | -10/+19 |
| | |||||
* | Use the proper Request in type hints. (#9515) | Patrick Cloke | 2021-03-01 | 1 | -1/+1 |
| | | | | This also pins the Twisted version in the mypy job for CI until proper type hints are fixed throughout Synapse. | ||||
* | Update black, and run auto formatting over the codebase (#9381) | Eric Eastwood | 2021-02-16 | 1 | -6/+3 |
| | | | | | | | - 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 | ||||
* | Add an admin API endpoint to protect media. (#9086) | Patrick Cloke | 2021-01-15 | 1 | -15/+49 |
| | | | | | | Protecting media stops it from being quarantined when e.g. all media in a room is quarantined. This is useful for sticker packs and other media that is uploaded by server administrators, but used by many people. | ||||
* | Remove deprecated `/_matrix/client/*/admin` endpoints (#8785) | Dirk Klimpel | 2020-11-25 | 1 | -9/+6 |
| | | | These are now only available via `/_synapse/admin/v1`. | ||||
* | Add an admin api to delete local media. (#8519) | Dirk Klimpel | 2020-10-26 | 1 | -2/+79 |
| | | | | | | Related to: #6459, #3479 Add `DELETE /_synapse/admin/v1/media/<server_name>/<media_id>` to delete a single file from server. | ||||
* | Fix and add test to deprecated quarantine media admin api (#6756) | Andrew Morgan | 2020-01-22 | 1 | -1/+1 |
| | |||||
* | Quarantine media by ID or user ID (#6681) | Andrew Morgan | 2020-01-13 | 1 | -2/+66 |
| | |||||
* | Port synaps/rest/client/media.py to async/await | Erik Johnston | 2019-10-11 | 1 | -16/+11 |
| | |||||
* | Ensure an auth instance is available to ListMediaInRoom (#5967) | Travis Ralston | 2019-09-03 | 1 | -0/+1 |
| | | | | | | | | * Ensure an auth instance is available to ListMediaInRoom Fixes https://github.com/matrix-org/synapse/issues/5737 * Changelog | ||||
* | Remove unnecessary parentheses around return statements (#5931) | Andrew Morgan | 2019-08-30 | 1 | -3/+3 |
| | | | | | Python will return a tuple whether there are parentheses around the returned values or not. I'm just sick of my editor complaining about this all over the place :) | ||||
* | Don't load the media repo when configured to use an external media repo (#5754) | Amber Brown | 2019-08-13 | 1 | -0/+101 |