summary refs log tree commit diff
path: root/synapse/media (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Refactor media modules. (#15146)Patrick Cloke2023-02-278-0/+3469
| | | | | | | * Removes the `v1` directory from `test.rest.media.v1`. * Moves the non-REST code from `synapse.rest.media.v1` to `synapse.media`. * Flatten the `v1` directory from `synapse.rest.media`, but leave compatiblity with 3rd party media repositories and spam checkers.
* Move rest APIs back under the rest directoryMark Haines2015-01-2211-1248/+0
|
* make our JPEG thumbnail quality less horrifically uglyMatthew Hodgson2015-01-081-1/+1
|
* Change error message for missing pillow libs.Kegan Dougal2015-01-071-2/+4
|
* Merge branch 'master' into developMark Haines2015-01-061-0/+1
|\
| * Return the argument passed to the callback in a deferred callback, otherwise ↵Mark Haines2014-12-291-0/+1
| | | | | | | | twisted will replace the deferred result with 'None'
* | SYN-32 Use the ANTIALIAS resize method for thumbnailing imagesMark Haines2015-01-061-3/+3
| |
* | Update copyright noticesMark Haines2015-01-069-9/+23
| |
* | SYN-208/SYN-228: Add runtime checks on startup to enforce that JPEG/PNG ↵Kegan Dougal2015-01-061-0/+29
| | | | | | | | support is included when installing pillow.
* | SYN-229: Include Content-Length when downloading filesMark Haines2015-01-063-7/+23
|/
* SYN-203: Handle requests for thunbnails for images that are smallMark Haines2014-12-191-5/+14
|
* clean up coding style a bitMark Haines2014-12-161-0/+1
|
* Update media_repository.pyKegsay2014-12-151-1/+1
| | | _ not -
* Update docs in media_repositoryMark Haines2014-12-151-2/+2
|
* return an mxc uri rather than a content_token.Mark Haines2014-12-151-1/+3
|
* Fix typo in media repository doc stringMark Haines2014-12-111-1/+1
|
* Fix media repository doc string to include server_nameMark Haines2014-12-111-3/+3
|
* Allow only one download for a given image at a time, so that we don't end up ↵Mark Haines2014-12-113-20/+29
| | | | downloading the same image twice if two clients request a remote image at the same time
* Limit the size of images that are thumbnailed serverside. Limit the size of ↵Mark Haines2014-12-111-0/+18
| | | | file that a server will download from a remote server
* doc the thumbnail methodsMark Haines2014-12-111-2/+11
|
* Make sure we pass a tuple to string '%' formattingMark Haines2014-12-111-2/+2
|
* import Image as PIL.Image.Mark Haines2014-12-101-1/+1
|
* Get the code actually workingMark Haines2014-12-105-46/+53
|
* Thumbnail uploaded and cached imagesMark Haines2014-12-106-169/+581
|
* Add a class for generating thumbnails using PILMark Haines2014-12-051-0/+78
|
* Implement download support for media_repositoryMark Haines2014-12-043-4/+203
|
* Fix pyflakes and pep8 warningsMark Haines2014-12-022-1/+3
|
* Get uploads working with new media repoMark Haines2014-12-026-23/+16
|
* Write the upload portion of version 1 of the media repositoryMark Haines2014-12-024-0/+447