aboutsummaryrefslogtreecommitdiffstats
path: root/core/Controller/ReferenceController.php
Commit message (Collapse)AuthorAgeFilesLines
* Applies agreed-upon indentation convention to the changed controllers.Faraz Samapoor2023-06-161-4/+6
| | | | | | Based on https://github.com/nextcloud/server/pull/38636#discussion_r1218167753 Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
* Refactors controllers by using PHP8's constructor property promotion.Faraz Samapoor2023-06-161-6/+4
| | | | Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
* [reference preview] fix getting null mimetype if the cached reference lacks ↵Julien Veyssier2023-02-221-1/+4
| | | | | | an image content type Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* fix reference preview endpoint when no server-side cache configuredJulien Veyssier2022-10-131-4/+7
| | | | Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
* Add cache header for image endpoint if link previewsJulius Härtl2022-09-281-2/+4
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Inject all dependnencies and increase cache timeoutJulius Härtl2022-08-311-1/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* CleanupJulius Härtl2022-08-311-9/+10
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Implement image cachingJulius Härtl2022-08-311-40/+23
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* API for fetching reference metadataJulius Härtl2022-08-311-0/+82
Signed-off-by: Julius Härtl <jus@bitgrid.net>