server/apps
Lukas Reschke f8ae1bb36e Disable pastezone for jquery.fileupload
jquery.fileupload offers the [`pastezone`](https://github.com/blueimp/jQuery-File-Upload/wiki/Options#pastezone) functionality. This functionality is enabled by default and if somebody copy-pastes something into Chrome it will automatically trigger an upload of the content to any configured jquery.fileupload element embedded in the JS.

This implementation triggers some problems:

1. The pastezone is defined globally by default (🙈). So if there are multiple fileupload's on a page (such as in the personal settings) then stuff is going to be uploaded to all embedded uploads.
2. Our server code is not able to parse the data. For example for uploads in the files app we expect a file name which is not specified => Just an error is thrown. You can reproduce this by taking a file into your clipboard and in Chrome then pressing <kbd>CTRL + V</kbd>.
3. When copy-pasting some string from MS Office on the personal page a temporary avatar with said content is created.

Considering that this is anyways was never working at all and causes bugs I've set the `pastezone` to `null`. This mens that upload via copy and paste will be disabled.

Lesson learned: Third-party JS libraries can have some weird details.
2016-03-22 20:28:57 +01:00
..
comments Add comment icons and "You commented" translations 2016-03-21 09:41:13 +01:00
dav Merge pull request #23404 from owncloud/fix-22988 2016-03-22 14:49:54 +01:00
encryption Merge pull request #22792 from owncloud/no-recovery-key-if-the-master-key-is-enabled 2016-03-21 09:49:15 +01:00
federatedfilesharing [tx-robot] updated from transifex 2016-03-14 01:56:12 -04:00
federation Merge pull request #23388 from owncloud/issue-22887-infinite-background-job-loop-for-old-versions 2016-03-21 18:04:02 +01:00
files Disable pastezone for jquery.fileupload 2016-03-22 20:28:57 +01:00
files_external Merge pull request #23440 from owncloud/fix_22286 2016-03-22 09:50:05 +01:00
files_sharing Merge pull request #22789 from owncloud/dav-sharesproperty 2016-03-21 11:15:00 +01:00
files_trashbin Merge pull request #22785 from owncloud/trash-returnfalseon401 2016-03-07 14:41:31 +01:00
files_versions Merge pull request #22787 from owncloud/versions-fixmtimetooltip 2016-03-07 14:41:46 +01:00
provisioning_api Increase all versions on master which is now 9.1 2016-03-02 08:53:42 +01:00
systemtags [tx-robot] updated from transifex 2016-03-22 01:55:40 -04:00
testing Mark testing app as compatible with 9.1 2016-03-13 19:47:30 +01:00
updatenotification [tx-robot] updated from transifex 2016-03-22 01:55:40 -04:00
user_ldap Merge pull request #23329 from owncloud/fix-21555 2016-03-21 09:47:50 +01:00