aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/ajax/preview.php
Commit message (Collapse)AuthorAgeFilesLines
* Move over files_trashbinRoeland Jago Douma2016-11-031-80/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Opening the trashbin causes errors in log for files without previewMorris Jobke2016-09-091-0/+2
| | | | | | | | | | | | | | | | | | * 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 apps/Joas Schilling2016-07-211-2/+3
|
* Update license headersLukas Reschke2016-05-261-2/+2
|
* Happy new year!Thomas Müller2016-01-121-1/+2
|
* Use proper public API for OC_Helper::getFileNameMimeTypeMorris Jobke2015-12-171-1/+1
|
* Update license headersLukas Reschke2015-10-261-1/+1
|
* update licence headers via scriptMorris Jobke2015-10-051-0/+1
|
* Merge pull request #15506 from rullzer/core_apps_oc_log2ocp_utilMorris Jobke2015-07-011-3/+3
|\ | | | | Move core apps from OC_Log::write to OCP\Util
| * Move core apps from OC_Log::write to OCP\UtilRoeland Jago Douma2015-05-181-3/+3
| |
* | update license headers and authorsMorris Jobke2015-06-251-1/+0
|/
* Update license headersJenkins for ownCloud2015-03-261-4/+21
|
* Revert "Updating license headers"Morris Jobke2015-02-261-20/+4
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* Updating license headersJenkins for ownCloud2015-02-231-4/+20
|
* Close session for files_trashbinLukas Reschke2014-10-291-0/+1
| | | | When restoring huge folders the interface will be unresponsive otherwise
* Files, trashbin, public apps use ajax/JSON for the file listVincent Petry2014-04-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Files app: - removed file list template, now rendering list from JSON response - FileList.addFile/addDir is now FileList.add() and takes a JS map with all required arguments instead of having a long number of function arguments - added unit tests for many FileList operations - fixed newfile.php, newfolder.php and rename.php to return the file's full JSON on success - removed obsolete/unused undo code - removed download_url / loading options, now using Files.getDownloadUrl() for that - server side now uses Helper::getFileInfo() to prepare file JSON response - previews are now client-side only Breadcrumbs are now JS only: - Added BreadCrumb class to handle breadcrumb rendering and events - Added unit test for BreadCrumb class - Moved all relevant JS functions to the BreadCrumb class Public page now uses ajax to load the file list: - Added Helper class in sharing app to make it easier to authenticate and retrieve the file's real path - Added ajax/list.php to retrieve the file list - Fixed FileActions and FileList to work with the ajax list Core: - Fixed file picker dialog to use the same list format as files app
* Merge pull request #6726 from owncloud/fix_6630Vincent Petry2014-02-141-1/+1
|\ | | | | don't urldecode get var, php does this automatically
| * don't urldecode get var, php does this automaticallyGeorg Ehrke2014-01-301-1/+1
| |
* | Fixed image preview in trashbin subdirsVincent Petry2014-01-301-2/+12
|/
* remove duplicateBjoern Schiessle2013-11-281-1/+0
|
* detect mimetype from the original filename, without the delete timestampBjoern Schiessle2013-11-281-2/+9
|
* outsource sharing and deleted files previews to appsGeorg Ehrke2013-08-191-0/+42