Nextcloud Server
Go to 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
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
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
.bowerrc
.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
.mailmap Map Maci 2016-03-01 17:45:05 +01:00
.mention-bot
.scrutinizer.yml No more code coverage on scrutinizer 2016-02-16 08:22:57 +01:00
.tag
.travis.yml
.user.ini
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
autotest-js.sh
autotest.sh Add verbose flag to occ commands of autotest* 2016-02-23 09:31:31 +01:00
bower.json
buildjsdocs.sh
console.php Update author information 2016-03-01 17:25:15 +01:00
CONTRIBUTING.md
COPYING-AGPL
COPYING-README
cron.php
db_structure.xml exchange user_id_key for a unique one. 2016-02-26 01:02:22 +01:00
index.html
index.php
issue_template.md Fix wording 2016-02-29 09:49:11 +01:00
occ
public.php
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
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