Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move Test\Files\Storage\Wrapper\EncodingTest to PSR-4 | Joas Schilling | 2016-05-25 | 1 | -203/+0 |
| | |||||
* | Merge pull request #24349 from owncloud/nfd-storagewrapper | Vincent Petry | 2016-05-23 | 1 | -0/+203 |
|\ | | | | | Add wrapper for NFD encoding workaround | ||||
| * | Fixes for encoding wrapper | Vincent Petry | 2016-05-20 | 1 | -0/+49 |
| | | | | | | | | | | | | Improved label Fixed rename/copy/moveFromStorage/copyFromStorage and added tests Improved findPathToUse algo | ||||
| * | Add wrapper for NFD encoding workaround | Vincent Petry | 2016-05-20 | 1 | -0/+154 |
| | | |||||
* | | Move tests/ to PSR-4 (#24731) | Joas Schilling | 2016-05-20 | 6 | -1480/+0 |
|/ | | | | | | | | | | | | | | | | | | | | * Move a-b to PSR-4 * Move c-d to PSR-4 * Move e+g to PSR-4 * Move h-l to PSR-4 * Move m-r to PSR-4 * Move s-u to PSR-4 * Move files/ to PSR-4 * Move remaining tests to PSR-4 * Remove Test\ from old autoloader | ||||
* | Fix namespaces and class names in tests/lib/files/ | Joas Schilling | 2016-05-19 | 1 | -0/+1 |
| | |||||
* | Prevent concurrent availability checks | Robin McCorkell | 2016-04-26 | 1 | -2/+5 |
| | |||||
* | Introduce isReadyForUser and verify in file transfer ownership - fixes #23786 | Thomas Müller | 2016-04-15 | 1 | -4/+5 |
| | |||||
* | Merge pull request #23707 from owncloud/make-sure-that-encrypted-version-is-set | Frank Karlitschek | 2016-03-31 | 1 | -5/+19 |
|\ | | | | | Make sure that the encrypted version is set | ||||
| * | Make sure that the encrypted version is set | Lukas Reschke | 2016-03-31 | 1 | -5/+19 |
| | | | | | | | | | | | | | | | | The code path called when using external storage with WebDAV is using `\OC\Files\Storage\Wrapper\Encryption::getMetaData` which did not contain the actual encrypted version inside the cache entry version. This lead to the following: 1. User uploaded a file 2. File is created and `\OC\Files\Storage\Wrapper\Encryption::getMetaData` is called. It has an empty `encryptedVersion` but sets `encrypted` to either `true` or `false`. 3. The call when updating the file cache will use the old version. | ||||
* | | fix creation of versions of encrypted files on external storages | Bjoern Schiessle | 2016-03-31 | 1 | -13/+31 |
|/ | | | | | | in order to create a 1:1 copy of a file if a version gets created we need to store this information on copyBetweenStorage(). This allows us to by-pass the encryption wrapper if we read the source file. | ||||
* | Ensure that stored version is at least 1 for cross-storage copy | Lukas Reschke | 2016-03-16 | 1 | -0/+42 |
| | | | | | | | | | In case of a move operation from an unencrypted to an encrypted storage the old encrypted version would stay with "0" while the correct value would be "1". Thus we manually set the value to "1" for those cases. See also https://github.com/owncloud/core/issues/23078 | ||||
* | Keep "encryptedVersion" when calling `\OC\Files\View::copy` | Lukas Reschke | 2016-03-03 | 1 | -6/+21 |
| | | | | | | | | | | | | | | | | 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 https://github.com/owncloud/core/commit/54cea05271b887f1c8062c034741df869bc0f055 the stream is directly copied and thus bypassing the FS. | ||||
* | recalculate unencrypted size if we assume that the size stored in the db is ↵ | Bjoern Schiessle | 2016-02-23 | 1 | -1/+157 |
| | | | | not correct | ||||
* | fix quota wrapper | Robin Appelman | 2016-01-14 | 1 | -1/+3 |
| | |||||
* | Use TempManager instead of tmpFolder | Morris Jobke | 2015-12-18 | 2 | -2/+2 |
| | |||||
* | Adding more DB groups to test suits | Thomas Müller | 2015-11-30 | 1 | -0/+7 |
| | | | | Adding more DB groups to test suits | ||||
* | make sure that we update the unencrypted size for the versions | Björn Schießle | 2015-11-04 | 1 | -0/+96 |
| | |||||
* | versions should always use the keys of the original file, no need to create ↵ | Bjoern Schiessle | 2015-10-01 | 1 | -0/+23 |
| | | | | new one | ||||
* | Replaces if ($file === '.' || $file === '..') by ↵ | Martin | 2015-09-22 | 1 | -1/+1 |
| | | | | if(\OC\Files\Filesystem::isIgnoredDir($file)). Eases to find where this operation is used. | ||||
* | occ script to disable encryption and to decrypt all files again | Bjoern Schiessle | 2015-09-15 | 1 | -1/+1 |
| | |||||
* | copy always file by file to encrypt/decrypt it if needed | Bjoern Schiessle | 2015-08-26 | 1 | -53/+8 |
| | |||||
* | occ tool to encrypt all files | Bjoern Schiessle | 2015-08-26 | 1 | -1/+1 |
| | |||||
* | Merge pull request #13641 from owncloud/cache-storage-status | Vincent Petry | 2015-08-07 | 1 | -0/+149 |
|\ | | | | | Store storage availability in database | ||||
| * | Store storage availability in database | Robin McCorkell | 2015-07-20 | 1 | -0/+149 |
| | | | | | | | | | | | | | | | | Storage status is saved in the database. Failed storages are rechecked every 10 minutes, while working storages are rechecked every request. Using the files_external app will recheck all external storages when the settings page is viewed, or whenever an external storage is saved. | ||||
* | | always update file cache, the cache can handle partial data correctly if the ↵ | Bjoern Schiessle | 2015-07-31 | 1 | -3/+5 |
| | | | | | | | | file doesn't already exists in the file cache | ||||
* | | Add a unit test for the disabled encryption case | Joas Schilling | 2015-07-23 | 1 | -1/+60 |
|/ | |||||
* | make sure that we always detect legacy files correctly | Bjoern Schiessle | 2015-07-17 | 1 | -5/+115 |
| | |||||
* | Correctly check if the real file exists, otherwise try the part file | Joas Schilling | 2015-06-26 | 1 | -8/+18 |
| | |||||
* | make sure that we always read the header from the original file | Bjoern Schiessle | 2015-06-23 | 1 | -3/+60 |
| | |||||
* | Move the helpful method to the TestCase class | Joas Schilling | 2015-06-03 | 1 | -1/+1 |
| | |||||
* | Only use quota stream wrapper on "files" | Vincent Petry | 2015-05-28 | 1 | -11/+23 |
| | | | | | Prevent using the quota stream wrapper on trashbin folders and other metadata folders | ||||
* | copy keys before we move a file between storages to make sure that the new ↵ | Bjoern Schiessle | 2015-05-22 | 1 | -4/+45 |
| | | | | target file reuses the old file key, otherwise versions will break | ||||
* | Merge pull request #16399 from owncloud/enc_rmdir_fix | Clark Tomlinson | 2015-05-18 | 1 | -7/+74 |
|\ | | | | | [encryption] only try to delete file keys if it is a valid path | ||||
| * | only try to delete file keys if it is a valid path | Bjoern Schiessle | 2015-05-18 | 1 | -7/+74 |
| | | |||||
* | | a new approach to display the error message | Bjoern Schiessle | 2015-05-18 | 1 | -2/+7 |
|/ | |||||
* | use hooks to update encryption keys instead of the storage wrapper if a file ↵ | Bjoern Schiessle | 2015-05-11 | 1 | -10/+1 |
| | | | | | | gets renamed/restored, as long as we are in the storage wrapper the file cache isn't up-to-date | ||||
* | Fix missing types on doc block and deduplicate the method name | Joas Schilling | 2015-05-06 | 1 | -1/+1 |
| | |||||
* | move/copy from storage | Bjoern Schiessle | 2015-05-06 | 1 | -9/+10 |
| | |||||
* | unit tests | Bjoern Schiessle | 2015-05-06 | 1 | -41/+68 |
| | |||||
* | make sure that we keep the correct encrypted-flag and the (unencrypted)size ↵ | Bjoern Schiessle | 2015-05-05 | 1 | -11/+41 |
| | | | | if a file gets copied | ||||
* | fixes #15848 | Thomas Müller | 2015-04-27 | 1 | -0/+3 |
| | |||||
* | Fix new tests | Joas Schilling | 2015-04-27 | 1 | -4/+1 |
| | |||||
* | Add test "operation on keys failed" | Joas Schilling | 2015-04-24 | 1 | -7/+10 |
| | |||||
* | Deduplicate data provider and fix method visibility | Joas Schilling | 2015-04-24 | 1 | -18/+14 |
| | |||||
* | only update share keys if the file was encrypted | Bjoern Schiessle | 2015-04-24 | 1 | -2/+4 |
| | |||||
* | update share keys if file gets copied | Bjoern Schiessle | 2015-04-23 | 1 | -16/+67 |
| | |||||
* | update share keys if a file is moved to a shared folder | Bjoern Schiessle | 2015-04-23 | 1 | -6/+53 |
| | |||||
* | pass KeyStorage via ctor | Thomas Müller | 2015-04-22 | 1 | -26/+1 |
| | |||||
* | calling renameKeys() on directory level as well - fixes #15778 | Thomas Müller | 2015-04-22 | 1 | -2/+15 |
| |