☁️ Nextcloud server, a safe home for all your data
Find a file
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
.idea Add newline that was removed by 15be763d46 2014-12-10 09:38:32 +01:00
3rdparty@ec111b90c4 update icewind/streams to 0.4.0 2016-03-21 14:23:57 +01:00
apps Disable pastezone for jquery.fileupload 2016-03-22 20:28:57 +01:00
build Add intergration tests 2016-03-17 16:54:54 +01:00
config Minor grammar in config.sample.php 2016-03-03 04:31:57 +05:45
core Merge pull request #23377 from owncloud/optimize-svgs 2016-03-22 09:48:01 +01:00
l10n Adding transifex to new core apps 2016-02-16 14:40:10 +01:00
lib Merge pull request #23484 from owncloud/if-class-is-already-loaded-dont-load-it-again 2016-03-22 17:25:02 +01:00
ocs Update author information 2016-03-01 17:25:15 +01:00
ocs-provider Fix formatting of response 2016-02-25 19:05:05 +01:00
resources Merge pull request #21766 from farukuzun/master 2016-02-04 16:49:31 +01:00
settings Disable pastezone for jquery.fileupload 2016-03-22 20:28:57 +01:00
tests Save the query when we get tags for no objects 2016-03-22 11:13:11 +01:00
themes update example theme favicon 2015-11-03 14:24:20 +01:00
.bowerrc ability to add bower resources 2014-11-03 20:54:40 +01:00
.gitignore Add SSO for updater application 2016-02-09 20:28:30 +01:00
.gitmodules use https as submodule url 2014-03-21 19:38:22 +01:00
.htaccess Use raw PATH_INFO 2016-03-17 17:32:38 +01:00
.jshintrc enable laxbreak option in jshintrc to comply with our coding guide lines 2014-11-04 12:51:54 +01:00
.mailmap Map Maci 2016-03-01 17:45:05 +01:00
.mention-bot Merge pull request #21970 from zander/mentionbot 2016-01-28 11:20:25 +01:00
.scrutinizer.yml Scrutinizer should not check generated composer files 2016-03-10 21:17:34 +01:00
.tag Add .tag file to make tar balls tracable 2014-06-14 17:40:32 +02:00
.travis.yml Merge pull request #23303 from owncloud/exclude-only-specific-third-party 2016-03-17 09:50:02 +01:00
.user.ini Also set output_buffering in .user.ini to 0 2015-09-29 17:49:37 +02:00
AUTHORS Remove Scrutinizer Auto Fixer 2016-03-01 17:48:23 +01:00
autotest-external.sh Add verbose flag to occ commands of autotest* 2016-02-23 09:31:31 +01:00
autotest-hhvm.sh Combine autotest-hhvm.sh with autotest.sh 2015-05-04 16:37:23 +02:00
autotest-js.sh Use a universal shebang 2015-09-27 13:03:31 +02:00
autotest.sh docker containers should be stopped before being removed - refs https://github.com/docker/docker/issues/18758 2016-03-09 14:02:08 +01:00
bower.json Add davidchambers/base64 JS library 2015-12-14 17:48:30 +01:00
buildjsdocs.sh Added OC.Files.Client Webdav-based files client 2015-11-22 16:05:49 +01:00
composer.json Execute PHP Parallel Linter on Travis 2016-03-16 12:17:58 +01:00
console.php Update author information 2016-03-01 17:25:15 +01:00
CONTRIBUTING.md Replace list of apps with a link 2015-12-16 13:58:18 +01:00
COPYING-AGPL
COPYING-README correct icon license, we use Elementary icons, not Silk anymore 2014-07-15 11:35:49 +02:00
cron.php Do not create a loop that generates thousands of jobs 2016-01-28 15:40:23 +01:00
db_structure.xml exchange user_id_key for a unique one. 2016-02-26 01:02:22 +01:00
index.html Try to prefer index.php over index.html in the same directory 2013-04-24 15:11:53 +02:00
index.php Happy new year! 2016-01-12 15:02:18 +01:00
issue_template.md Fix wording 2016-02-29 09:49:11 +01:00
occ Use a more universal shebang 2014-11-19 17:34:03 +01:00
public.php Happy new year! 2016-01-12 15:02:18 +01:00
README.md Fix a typo in Readme 2016-02-18 09:41:55 +05:30
remote.php Update author information 2016-03-01 17:25:15 +01:00
robots.txt Add robot.txt 2013-01-28 16:39:53 -06:00
status.php Happy new year! 2016-01-12 15:02:18 +01:00
version.php Increase all versions on master which is now 9.1 2016-03-02 08:53:42 +01:00

ownCloud Core

Build Status Scrutinizer Code Quality CodeClimate Coverity Dependency Status Dependency Status

ownCloud gives you freedom and control over your own data. A personal cloud which runs on your own server.

Why is this so awesome?

  • 📁 Access your Data You can store your files, contacts, calendars and more on a server of your choosing.
  • 📦 Sync your Data You keep your files, contacts, calendars and more synchronized amongst your devices.
  • 🔄 Share your Data You share your data with others, and give them access to your latest photo galleries, your calendar or anything else you want them to see.
  • 🚀 Expandable with dozens of Apps ...like Calendar, Contacts, Mail or News.
  • ☁️ All Benefits of the Cloud ...on your own Server.
  • 🔒 Encryption You can encrypt data in transit with secure https connections. You can enable the encryption app to encrypt data on storage for improved security and privacy.
  • ...

Installation instructions

https://doc.owncloud.org/server/9.0/developer_manual/app/index.html

Contribution Guidelines

https://owncloud.org/contribute/

Support

Learn about the different ways you can get support for ownCloud: https://owncloud.org/support/

Get in touch

Important notice on translations

Please submit translations via Transifex: https://www.transifex.com/projects/p/owncloud/

Transifex

For more detailed information about translations: http://doc.owncloud.org/server/9.0/developer_manual/core/translation.html