summary refs log tree commit diff
path: root/synapse/rest/media/v1/_base.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Add reactor to `SynapseRequest` and fix up types. (#10868)Erik Johnston2021-09-241-3/+4
* Add missing type hints to non-client REST servlets. (#10817)Patrick Cloke2021-09-151-9/+15
* Convert media repo's FileInfo to attrs. (#10785)Patrick Cloke2021-09-141-37/+57
* Use inline type hints in `handlers/` and `rest/`. (#10382)Jonathan de Jong2021-07-161-1/+1
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
* Use the proper Request in type hints. (#9515)Patrick Cloke2021-03-011-8/+10
* Fix some typos.Patrick Cloke2021-02-121-1/+1
* Return a 404 if no valid thumbnail is found. (#9163)Patrick Cloke2021-01-211-0/+3
* Add type hints to media rest resources. (#9093)Patrick Cloke2021-01-151-31/+45
* Add X-Robots-Tag header to stop crawlers from indexing media (#8887)Aaron Raimist2020-12-081-0/+5
* Don't bother responding to client requests that have already disconnected (#8...Andrew Morgan2020-10-061-0/+6
* Stop sub-classing object (#8249)Patrick Cloke2020-09-041-2/+2
* Convert the remaining media repo code to async / await. (#7947)Patrick Cloke2020-07-271-3/+5
* Convert more of the media code to async/await (#7873)Patrick Cloke2020-07-241-7/+8
* Replace all remaining six usage with native Python 3 equivalents (#7704)Dagfinn Ilmari Mannsåker2020-06-161-2/+1
* remove miscellaneous PY2 codeRichard van der Hoff2020-05-151-18/+9
* Set charset to utf-8 when adding headers for certain text content types (#7044)The Stranjer2020-03-171-1/+24
* Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957)Patrick Cloke2020-02-211-21/+19
* Log responder we are using. (#6139)Michael Kaye2019-10-071-1/+1
* Move logging utilities out of the side drawer of util/ and into logging/ (#5606)Amber Brown2019-07-041-4/+2
* Run Black. (#5482)Amber Brown2019-06-201-20/+37
* Prevent "producer not unregistered" message (#5009)Amber Brown2019-04-241-0/+4
* Remove periods from copyright headers (#5046)Andrew Morgan2019-04-111-1/+1
* fix incorrect encoding of filenames with spaces in (#2090)Matthew Hodgson2019-03-111-3/+51
* Fix parsing of Content-Disposition headers (#4763)Richard van der Hoff2019-02-271-20/+65
* Don't log stack trace when client has gone away during media download (#4738)Erik Johnston2019-02-251-2/+9
* Fix Content-Disposition in media repository (#4176)Amber Brown2018-11-151-25/+97
* Port rest/ to Python 3 (#3823)Amber Brown2018-09-121-15/+15
* run isortAmber Brown2018-07-091-11/+8
* Fix logcontext leak in media repoRichard van der Hoff2018-05-021-0/+1
* Use six.moves.urlparseAdrian Tschira2018-04-151-1/+1
* Fix up commentsErik Johnston2018-01-121-2/+2
* Make Responder a context managerErik Johnston2018-01-121-6/+8
* CommentsErik Johnston2018-01-121-5/+4
* Add some helper classesErik Johnston2018-01-091-0/+73
* Split out add_file_headersErik Johnston2018-01-091-28/+42
* replace 'except:' with 'except Exception:'Richard van der Hoff2017-10-231-1/+1
* Fix a logcontext leak in the media repoRichard van der Hoff2017-10-231-1/+4
* Move MediaRepository to media_repository moduleErik Johnston2016-04-191-0/+110