aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_versions/lib/Sabre/Plugin.php
Commit message (Collapse)AuthorAgeFilesLines
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-251-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* chore: Add SPDX headerAndy Scherzinger2024-06-021-20/+2
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* chore(files_versions): Use new metadata API for versionsLouis Chemineau2024-03-131-2/+2
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(files_version): deprecated INameableVersionEduardo Morales2024-03-111-1/+1
| | | | Signed-off-by: Eduardo Morales <emoral435@gmail.com>
* feat: exposed metadata column to frontendEduardo Morales2024-03-111-0/+3
| | | | Signed-off-by: Eduardo Morales <emoral435@gmail.com>
* 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>
* Base versions' has-preview on mimetypeLouis Chemineau2023-06-291-22/+3
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Provide hasPreview in files_versions DAV APILouis Chemineau2023-06-281-2/+24
| | | | | | | This allow to no request non existing previews I also set some properties to the img element to reduce preview loading to what the browser think is necessary Signed-off-by: Louis Chemineau <louis@chmn.me>
* Support getting and patching version-labelLouis Chemineau2023-01-261-5/+25
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Remove allmost all deprecation from the files_version appCarl Schwan2021-07-231-1/+1
| | | | | | | | | | The remaining deprecations are related to Utils::hooks and I will take a look at how EventDispatcher works before working on them. Aside from the deprecations, this patch also does a few minor improvements around type hinting. 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>
* Update license headers for 19Christoph Wurst2020-04-291-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add visibility to all methods and position of static keywordChristoph Wurst2020-04-101-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* 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>
* Update license headersChristoph Wurst2019-12-051-1/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Set the proper filename for version downloadsRoeland Jago Douma2019-10-141-0/+83
Before it just used the internalid (timestamp often) which is not really user friendly. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>