server/apps
Morris Jobke f56ae37e8f
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-09 13:53:06 +02:00
..
admin_audit Disable by default 2016-08-08 16:45:40 +02:00
comments [tx-robot] updated from transifex 2016-09-09 00:09:31 +00:00
dav Fix tests 2016-09-07 18:39:48 +02:00
encryption Fix apps warnings 2016-09-07 20:42:38 +02:00
federatedfilesharing [tx-robot] updated from transifex 2016-09-08 00:10:21 +00:00
federation [tx-robot] updated from transifex 2016-09-08 00:10:21 +00:00
files [tx-robot] updated from transifex 2016-09-09 00:09:31 +00:00
files_external [tx-robot] updated from transifex 2016-09-09 00:09:31 +00:00
files_sharing [tx-robot] updated from transifex 2016-09-09 00:09:31 +00:00
files_trashbin Opening the trashbin causes errors in log for files without preview 2016-09-09 13:53:06 +02:00
files_versions [tx-robot] updated from transifex 2016-09-08 00:10:21 +00:00
provisioning_api add viewBox to app icon for proper scaling in Firefox 2016-08-17 18:38:53 +02:00
systemtags [tx-robot] updated from transifex 2016-09-08 00:10:21 +00:00
testing Add viewBox to app icons 2016-08-17 15:23:51 +02:00
theming Add icon for the theming app 2016-09-07 01:23:53 +02:00
twofactor_backupcodes [tx-robot] updated from transifex 2016-09-08 00:10:21 +00:00
updatenotification [tx-robot] updated from transifex 2016-09-09 00:09:31 +00:00
user_ldap [tx-robot] updated from transifex 2016-09-08 00:10:21 +00:00
workflowengine Merge pull request #1243 from nextcloud/fix-detection-of-file-types-a-bit 2016-09-08 09:19:33 +02:00