summaryrefslogtreecommitdiffstats
path: root/lib/public/Preview
Commit message (Collapse)AuthorAgeFilesLines
* Update license headersChristoph Wurst2019-12-053-5/+17
| | | | 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>
* allow keeping multiple preview "versions" of the same fileRobin Appelman2019-07-081-0/+39
| | | | | | | | | | | The main use case here is storage provided versioning where we dont have separate file ids for all the versions, by allowing a prefix for the version we can store separate previews for all the versions. Additionally, by keeping all the version previews in the same folder as the "normal" previews they will be cleaned up properly when the file is deleted Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add new Provider interface for preview providersRobin Appelman2019-06-172-0/+58
| | | | | | | | | the main difference is passing the `File` object to the provider instead of a `View` + path Old providers will still continue to work as before Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix othersJoas Schilling2016-07-211-2/+3
|
* Move \OCP\Preview to PSR-4Roeland Jago Douma2016-05-181-0/+58