summaryrefslogtreecommitdiffstats
path: root/lib/private/Preview.php
Commit message (Collapse)AuthorAgeFilesLines
* New preview generatorRoeland Jago Douma2016-11-031-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #1338 from nextcloud/fix-trashbin-errorsRoeland Jago Douma2016-09-131-0/+6
|\ | | | | Opening the trashbin causes errors in log for files without preview
| * Opening the trashbin causes errors in log for files without previewMorris Jobke2016-09-091-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * put a file without a generated preview in the trashbin (e.g. a *.docx file) * open the trashbin * following errors will show up in the nextcloud.log: - filesize(): stat failed for ... - fopen(...): failed to open stream: No such file or directory at ... - fread() expects parameter 1 to be resource, boolean given at ... - fclose() expects parameter 1 to be resource, boolean given at ... - imagecreatefromstring(): Empty string or invalid image at ... This is because the preview code tries to load an SVG image, which is obviously only text. The fix simply handles this before the loading happens and the web UI keeps showing the default mimetype icon.
* | Fix failing preview unit tests (#26039)Thomas Müller2016-09-121-1/+1
|/
* Check if the file isReadable() before sending a (cached) previewJoas Schilling2016-08-291-1/+1
|
* Update with robinJoas Schilling2016-07-211-1/+1
|
* Fix othersJoas Schilling2016-07-211-3/+4
|
* propagator batching when removing thumbnailsRobin Appelman2016-06-141-7/+13
|
* remvoe duplicate rmdirRobin Appelman2016-06-141-1/+0
|
* Update license headersLukas Reschke2016-05-261-3/+3
|
* Move more from \OC to PSR-4Roeland Jago Douma2016-04-291-0/+1337
* \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