summaryrefslogtreecommitdiffstats
path: root/core/Controller/AvatarController.php
Commit message (Collapse)AuthorAgeFilesLines
* Implement guest avatar endpointMichael Weimann2019-02-071-1/+0
| | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* Make the info available if the avatar was uploaded or generatedJoas Schilling2018-08-011-5/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Removed debug stackJohn Molakvoæ (skjnldsv)2018-06-151-1/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Avatar imagick bumpJohn Molakvoæ (skjnldsv)2018-06-131-48/+14
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Controller tests fixesJohn Molakvoæ (skjnldsv)2018-06-131-6/+16
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Return Svg avatarsJohn Molakvoæ (skjnldsv)2018-06-131-9/+37
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix usageRoeland Jago Douma2018-06-041-8/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Remove unused import statementsMorris Jobke2018-02-141-1/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Improve OC_Image code to not guess the type of input, but actually request ↵Morris Jobke2018-01-181-2/+4
| | | | | | | | the specific methods to be called Followup to #7836 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Move avatar code to Avatar ClassRoeland Jago Douma2017-11-291-159/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Always generate avatarRoeland Jago Douma2017-11-291-5/+155
| | | | | | | | Even if no avatar is set we should just generate the image. This to not duplicate the code on all the clients. And only server images from the avtar endpoint. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update license headersMorris Jobke2017-11-061-1/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Exclude avatar from Same-Site Cookie requirementLukas Reschke2017-10-111-0/+1
| | | | | | Required to work with the upcoming Collabora avatar integration. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Return the user id in case of an errorJoas Schilling2017-08-291-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix AvatarControllerRoeland Jago Douma2017-08-011-2/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Cache all avatar responsesRoeland Jago Douma2016-11-301-16/+10
| | | | | | | * Cache for 30 minutes * Also cache when avatar can't be found Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix avatar on exif rotated imagesRoeland Jago Douma2016-10-261-0/+1
| | | | | | Fixes #1928 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Check the mimetype before reading the content and catch exceptionJoas Schilling2016-10-181-1/+16
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Move AvatarController over to FileDisplayResponseRoeland Jago Douma2016-09-051-8/+3
|
* Cache avatars properlyRoeland Jago Douma2016-08-301-5/+29
| | | | | * Set proper caching headers for avatars (15 minutes) * For our own avatar use some extra logic to invalidate when we update
* AvatarController use proper JSONResponseRoeland Jago Douma2016-08-291-42/+33
| | | | | * Do not rely on DataResponse magic. We want JSON so use JSON * Fix tests
* AvatarController cleanupRoeland Jago Douma2016-08-251-21/+23
| | | | | | | * Use all DI components * Let the AppFramework resolve the AvatarController * Update unit tests * Unit tests no longer require DB
* Delete IE8 support in the avatar controllerRoeland Jago Douma2016-08-161-5/+0
|
* Update with robinJoas Schilling2016-07-211-1/+1
|
* Fix othersJoas Schilling2016-07-211-3/+4
|
* Add fancy layoutLukas Reschke2016-06-091-1/+2
|
* Update license headersLukas Reschke2016-05-261-1/+1
|
* Rename files to be PSR-4 compliantLukas Reschke2016-04-061-0/+327