summaryrefslogtreecommitdiffstats
path: root/lib/private/PreviewManager.php
Commit message (Collapse)AuthorAgeFilesLines
* Update license headers for 19Christoph Wurst2020-04-291-0/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #20422 from ↵Christoph Wurst2020-04-101-1/+1
|\ | | | | | | | | nextcloud/techdebt/format-control-structs-classes-methods Format control structures, classes, methods and function
| * Format control structures, classes, methods and functionChristoph Wurst2020-04-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge pull request #19495 from nextcloud/preview-generate-batchRoeland Jago Douma2020-04-101-13/+31
|\ \ | |/ |/| optimize batch generation of previews
| * allow generating multiple preview sizes for a single file at onceRobin Appelman2020-04-091-13/+31
| | | | | | | | | | | | this saves having to do some of the overhead multiple times Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Add preview provider for Krita filesJulius Härtl2020-04-081-1/+3
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Extract preview from opendocument filesJulius Härtl2020-04-081-0/+2
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Update license headersChristoph Wurst2019-12-051-1/+3
| | | | 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>
* Remove deprecated function createPreviewRoeland Jago Douma2019-09-151-28/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Allow IProviderV2 for previews as wellJohn Molakvoæ (skjnldsv)2019-07-051-4/+9
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add new Provider interface for preview providersRobin Appelman2019-06-171-1/+1
| | | | | | | | | 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>
* Allow the creationg of previews of files stored in appdataRoeland Jago Douma2018-10-081-1/+2
| | | | | | | To allow us to create previews of files stored in appdata we need to construct the view differently. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Develop HEIC/HEIF preview support #7406Sebastian Steinmetz2018-08-111-0/+3
| | | Signed-off-by: Sebastian Steinmetz <me@sebastiansteinmetz.ch>
* Use ::class statement instead of stringMorris Jobke2018-01-291-31/+31
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove unneeded semicolon and parenthesesMorris Jobke2018-01-261-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Improve OC_Image code to not guess the type of input, but actually request ↵Morris Jobke2018-01-181-1/+3
| | | | | | | | the specific methods to be called Followup to #7836 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-061-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add PHPDocMorris Jobke2017-05-021-1/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Rewrite old preview endpoint for PreviewManagerRoeland Jago Douma2017-01-041-3/+21
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #2076 from nextcloud/log_preview_accessMorris Jobke2016-11-181-4/+14
|\ | | | | Dispatch event on preview request
| * Dispatch event on preview requestRoeland Jago Douma2016-11-101-4/+14
| | | | | | | | | | | | Fixes: #73 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | @since 9.2.0 to @since 11.0.0Roeland Jago Douma2016-11-151-1/+1
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Added genertor helper & testsRoeland Jago Douma2016-11-031-2/+5
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Moved over files_versionsRoeland Jago Douma2016-11-031-2/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move Ipreview to more of DI thingyRoeland Jago Douma2016-11-031-2/+50
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update with robinJoas Schilling2016-07-211-1/+1
|
* Fix othersJoas Schilling2016-07-211-2/+3
|
* Remove unneeded checks if it runs on a Windows machineMorris Jobke2016-07-081-5/+3
| | | | * the setup check is still there
* Move more from \OC to PSR-4Roeland Jago Douma2016-04-291-0/+342
* \OC\OCSClient * \OC\Preview * \OC\PreviewManager * \OC\Repair * \OC\RepairException * \OC\Search * \OC\ServerContainer * \OC\ServerNotAvailableException * \OC\ServiceUnavailableException * \OC\Setup * \OC\Streamer * \OC\SubAdmin * \OC\SystemConfig * \OC\TagManager * \OC\Tags * \OC\TempManager * \OC\TemplateLayout * \OC\URLGenerator * \OC\Updater