aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/Controller/PublicPreviewController.php
Commit message (Collapse)AuthorAgeFilesLines
* refactor(files_sharing): Replace security annotations with respective attributesprovokateurin2024-07-271-5/+6
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore: Add SPDX headerAndy Scherzinger2024-06-061-22/+2
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix: public dav and files_sharing testing fixesJohn Molakvoæ2024-01-091-1/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-231-4/+4
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* files_sharing: Add OpenAPI specjld31032023-07-311-7/+23
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* Check share attributes on preview endpointsJulius Härtl2022-10-251-0/+10
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Multiple fixesCarl Schwan2022-07-311-1/+1
| | | | | | | | | | | - Fix tests - Use non deprecated event stuff - Add a bit of type hinting to the new stuff - More safe handling of instanceOfStorage (share might not be the first wrapper) - Fix resharing Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-2/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-1/+0
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove unused importsChristoph Wurst2020-03-251-1/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-1/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-221-0/+1
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add caching headers for public previewsJulius Härtl2019-01-021-2/+6
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Move public preview endpoint overRoeland Jago Douma2018-06-201-10/+34
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update license headersMorris Jobke2017-11-061-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add annotationRoeland Jago Douma2017-09-251-0/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add direct preview link to single shared image filesRoeland Jago Douma2017-09-251-0/+46
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Handle more error casesMorris Jobke2017-05-021-0/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* More testsRoeland Jago Douma2016-11-031-20/+14
| | | | | | | | | * PreviewController test * PublicPreview test * Versions Preview test * Trash Preview test Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move publicpreview overRoeland Jago Douma2016-11-031-0/+108
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>