nextcloud/apps/files_trashbin
Morris Jobke 9ca848c317
Opening the trashbin causes errors in log for files without preview
* 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.
2016-09-13 20:18:09 +02:00
..
ajax Opening the trashbin causes errors in log for files without preview 2016-09-13 20:18:09 +02:00
appinfo Increment the versions and adjust the capitilization 2016-08-08 16:48:00 +02:00
css Revert "Revert "Move trashbin specific CSS that modifies sidebar"" 2015-10-12 16:21:27 +02:00
img Add viewBox to app icons 2016-08-17 16:27:04 +02:00
js Fix trashed file name corruption when rerendering trashbin list 2016-06-23 11:51:23 +02:00
l10n [tx-robot] updated from transifex 2016-09-07 00:09:32 +00:00
lib detect the correct mimetype of the files in the trashbin, therefore we have to check the filename without the appended timestamp 2016-09-12 11:47:57 +02:00
templates Make more action icons themable + style fixes 2016-02-25 23:01:07 +01:00
tests Run the license script 2016-07-22 11:40:41 +02:00
list.php Run the license script 2016-07-22 11:40:41 +02:00