aboutsummaryrefslogtreecommitdiffstats
path: root/core/Controller/ReferenceController.php
Commit message (Collapse)AuthorAgeFilesLines
* refactor(core): Replace security annotations with respective attributesprovokateurin2024-07-261-3/+4
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-271-19/+2
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* refactor(core): Switch to attribute based routingprovokateurin2024-02-211-0/+2
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-231-1/+1
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* core: Add OpenAPI specjld31032023-07-131-3/+9
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* 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>