☁️ Nextcloud server, a safe home for all your data
Find a file
Joas Schilling 20cf8ec205 Add an update script to reset the value
In case encryption was not enabled, we accidently set encrypted = 1 for
files inside mount points, since 8.1.0. This breaks opening the files in
8.1.1 because we fixed the code that checks if a file is encrypted.
In order to fix the file, we need to reset the flag of the file. However,
the flag might be set because the file is in fact encrypted because it was
uploaded at a time where encryption was enabled.

So we can only do this when:
- Current version of ownCloud before the update is 8.1.0 or 8.2.0.(0-2)
- Encryption is disabled
- files_encryption is not known in the app config

If the first two are not the case, we are save. However, if files_encryption
values exist in the config, we might have a false negative here.
Now if there is no file with unencrypted size greater 0, that means there are
no files that are still encrypted with "files_encryption" encryption. So we
can also safely reset the flag here.

If this is not the case, we go with "better save then sorry" and don't change
the flag but write a message to the ownCloud log file.
2015-07-24 10:37:39 +02:00
.idea Add newline that was removed by 15be763d46 2014-12-10 09:38:32 +01:00
3rdparty@5cd078af93 Update ringphp to 1.1.0 for PHP 7 compatibility 2015-07-17 22:59:26 +02:00
apps Add an update script to reset the value 2015-07-24 10:37:39 +02:00
build Update JS unit test libs 2015-07-10 11:21:47 +02:00
config Merge pull request #17481 from rullzer/mimetype-list 2015-07-13 08:31:18 +02:00
core Update blueimp-md5 to 1.1.0 2015-07-22 16:17:56 +02:00
l10n files_encryption -> encryption 2015-04-14 16:18:12 +02:00
lib Only set is encrypted when encryption is enabled 2015-07-23 15:18:59 +02:00
ocs update license headers and authors 2015-06-25 14:13:49 +02:00
ocs-provider Add endpoint with list of OCS providers 2015-06-27 18:23:49 +02:00
settings [tx-robot] updated from transifex 2015-07-23 01:55:22 -04:00
tests Add a unit test for the disabled encryption case 2015-07-23 17:01:44 +02:00
themes add example theme 2015-05-22 02:17:46 +02:00
.bowerrc
.gitignore add example theme 2015-05-22 02:17:46 +02:00
.gitmodules
.htaccess This will be 8.2 in the future 2015-07-01 10:06:26 -04:00
.jshintrc
.mailmap add additional email address for Georg 2015-06-25 14:14:14 +02:00
.scrutinizer.yml Update comment 2015-06-28 17:06:49 +02:00
.tag
.user.ini Use "off" and "off" instead of true booleans 2015-02-23 09:40:15 +01:00
AUTHORS
autotest-external.sh Replace replace with sed statement 2015-04-29 09:53:45 +02:00
autotest-hhvm.sh Combine autotest-hhvm.sh with autotest.sh 2015-05-04 16:37:23 +02:00
autotest-js.sh
autotest.cmd Restore the development config after running the tests 2014-12-02 12:41:33 +01:00
autotest.sh [autotest] timeout oracle docker startup after 2 minutes 2015-07-16 11:51:15 +02:00
bower.json Update blueimp-md5 to 1.1.0 2015-07-22 16:17:56 +02:00
buildjsdocs.sh
console.php Fix the config.php owner check for console.php 2015-07-09 23:19:52 +02:00
CONTRIBUTING.md Add information how to report security bugs 2015-05-29 19:28:45 +02:00
COPYING-AGPL
COPYING-README
cron.php Remove OC_Log 2015-07-03 18:00:16 +02:00
db_structure.xml Remove index on file_target of share table 2015-07-14 13:26:51 +02:00
index.html
index.php Update license headers 2015-03-26 11:44:36 +01:00
indie.json
issue_template.md Add example command to the issue_template.md 2015-07-07 11:18:25 +02:00
occ
public.php update license headers and authors 2015-06-25 14:13:49 +02:00
README.md Update version to 8.2 in README and bower 2015-07-07 10:21:20 +02:00
remote.php Fixing content type detection and handle all local printErrorPage calls 2015-06-30 15:05:59 +02:00
robots.txt
status.php Fix maintenance refresh interval 2015-04-08 18:02:00 +02:00
version.php Add an update script to reset the value 2015-07-24 10:37:39 +02:00

ownCloud

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

Build Status on Jenkins CI

Git master: Build Status

Quality:

  • Scrutinizer: Scrutinizer Quality Score
  • CodeClimate: Code Climate

Depencencies:

Dependency Status

Dependency Status

Installation instructions

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

Contribution Guidelines

https://owncloud.org/contribute/

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/8.2/developer_manual/core/translation.html