☁️ Nextcloud server, a safe home for all your data
Find a file
Lukas Reschke 72c8187cbb Keep "encryptedVersion" when calling \OC\Files\View::copy
When calling `\OC\Files\View::copy` we should also keep the version to ensure that the file will always have the correct version attached and can be successfully decrypted.

To test this the following steps are necessary (from https://github.com/owncloud/core/issues/22781#issuecomment-191328982):

1. setup a new ownCloud 9.0 beta2
2. enable encryption
2. upload a docx (5.7MB large)
3. upload the same file again and overwrite the existing file
4. I can download the original file and the first version
5. I restore the first version
6. restored version can no longer be downloaded with the error described above

The manual cache operation in `\OCA\Files_Versions\Storage` is unfortunately necessary since `\OCA\Files_Versions\Storage::copyFileContents` is not using `\OCP\Files\Storage::moveFromStorage` in the case when an object storage is used. Due to the workaround added in 54cea05271 the stream is directly copied and thus bypassing the FS.
2016-03-03 14:15:36 +01:00
.idea Add newline that was removed by 15be763d46 2014-12-10 09:38:32 +01:00
3rdparty@fc0c1159f4 Bump Zipstreamer 2016-02-18 11:27:27 +01:00
apps Keep "encryptedVersion" when calling \OC\Files\View::copy 2016-03-03 14:15:36 +01:00
build Add new apps 2016-03-01 17:52:32 +01:00
config Minor grammar in config.sample.php 2016-03-03 04:31:57 +05:45
core [tx-robot] updated from transifex 2016-03-03 01:56:04 -05:00
l10n Adding transifex to new core apps 2016-02-16 14:40:10 +01:00
lib Keep "encryptedVersion" when calling \OC\Files\View::copy 2016-03-03 14:15:36 +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 [tx-robot] updated from transifex 2016-03-03 01:56:04 -05:00
tests Keep "encryptedVersion" when calling \OC\Files\View::copy 2016-03-03 14:15:36 +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
.htaccess Exclude ocs-provider from rewrite rule 2016-02-25 18:47:09 +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 No more code coverage on scrutinizer 2016-02-16 08:22:57 +01:00
.tag Add .tag file to make tar balls tracable 2014-06-14 17:40:32 +02:00
.travis.yml Adding integration tests for CalDAV 2015-12-21 16:04:27 +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 Add verbose flag to occ commands of autotest* 2016-02-23 09:31:31 +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
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
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
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