Commit Graph

52 Commits (a547e2df8517d22010f7978da88dfe81bbd2b207)

Author SHA1 Message Date
Mark Haines 58c9f20692 Catch the exceptions thrown by twisted when you write to a closed connection 9 years ago
Erik Johnston 33c71c3a4b Preserve log context over when deferring to thread pool in media repo 9 years ago
Daniel Wagner-Hall 2110e35fd6 Introduce a Requester object 9 years ago
Mark Haines 8677b7d698 Only use cropped thumbnails when asked for a cropped thumbnail. 9 years ago
Matthew Hodgson 6c28ac260c copyrights 9 years ago
Daniel Wagner-Hall cfd07aafff Allow guests to upgrade their accounts 9 years ago
Erik Johnston 8737ead008 Use larger thumbnail rather than smaller. 9 years ago
Daniel Wagner-Hall f522f50a08 Allow guests to register and call /events?room_id= 9 years ago
Erik Johnston ddf4d2bd98 Consistency 9 years ago
Erik Johnston 66ec6cf9b8 Check for an internationalised filename first 9 years ago
Erik Johnston 53c2eed862 None check the correct variable 9 years ago
Erik Johnston f02532baad Check for None 9 years ago
Mark Haines c9cb354b58 Give a sensible error message if the filename is invalid UTF-8 9 years ago
Mark Haines 5a9e0c3682 Handle unicode filenames given when downloading or received over federation 9 years ago
Mark Haines e85c7873dc Allow non-ascii filenames for attachments 9 years ago
Daniel Wagner-Hall a0b181bd17 Remove completely unused concepts from codebase 9 years ago
Mark Haines fdb724cb70 Add config option for setting the list of thumbnail sizes to precalculate 9 years ago
Mark Haines 7e3d1c7d92 Make a config option for whether to generate new thumbnail sizes dynamically 9 years ago
Erik Johnston 459085184c Factor out thumbnail() 9 years ago
Erik Johnston 2b4f47db9c Generate local thumbnails on a thread 9 years ago
Erik Johnston 33d83f3615 Fix remote thumbnailing 9 years ago
Erik Johnston ff7c2e41de Always return a thumbnail of the requested size. 9 years ago
Erik Johnston 103e1c2431 Pick larger than desired thumbnail for 'crop' 9 years ago
Matthew Hodgson 8cedf3ce95 bump up image quality a bit more as it looks crap 10 years ago
Erik Johnston 12b83f1a0d If user supplies filename in URL when downloading from media repo, use that name in Content Disposition 10 years ago
Erik Johnston 9beaedd164 Enforce ascii filenames for uploads 10 years ago
Erik Johnston 2124f668db Add Content-Disposition headers to media repo v1 downloads 10 years ago
Erik Johnston 2ef2f6d593 SYN-403: Make content repository use its own http client. 10 years ago
Erik Johnston 5044e6c544 Thumbnail images on a seperate thread 10 years ago
Erik Johnston fca28d243e Change the way we create observers to deferreds so that we don't get spammed by 'unhandled errors' 10 years ago
Erik Johnston e701aec2d1 Implement locks using create_observer for fetching media and server keys 10 years ago
Mark Haines 4e2f8b8722 Copyright notices 10 years ago
Mark Haines 812a99100b Set a version_string in BaseMediaResource so that the request_handler wrapper works 10 years ago
Mark Haines 1967650bc4 Combine the request wrappers in rest/media/v1 and http/server into a single wrapper decorator 10 years ago
Mark Haines 6375bd3e33 SYN-282: Don't log tracebacks for client errors 10 years ago
Erik Johnston 4ebbaf0d43 Blunty replace json with simplejson 10 years ago
Mark Haines 84a769cdb7 Fix code-style 10 years ago
Mark Haines b085fac735 Code-style fixes 10 years ago
Matthew Hodgson 582019f870 ...and here's the actual impl. git fail. 10 years ago
Matthew Hodgson e117bc3fc5 thou shalt specify a content-length 10 years ago
Matthew Hodgson 34c39398fa i hate weakly typed languages 10 years ago
Mark Haines 1bb0528316 Add Cache-Control header to identicon 10 years ago
Mark Haines f2eda123b7 Fix setting identicon width and height 10 years ago
Mark Haines 038f5afb07 Spell height more correctly 10 years ago
Mark Haines 22c1ffb0a0 Add a media/v1/identicon resource for generating identicons using pydenticon 10 years ago
Mark Haines 388581e087 Extract the id token of the token when authing users, include the token and device_id in the internal meta data for the event along with the transaction id when sending events 10 years ago
Mark Haines c59bcabf0b Return the device_id from get_auth_by_req 10 years ago
Mark Haines 97c68c508d Move rest APIs back under the rest directory 10 years ago