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 | 13 | -2548/+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 |
| | |||||
* | add tests | Robin Appelman | 2016-04-26 | 1 | -0/+14 |
| | |||||
* | Introduce isReadyForUser and verify in file transfer ownership - fixes #23786 | Thomas Müller | 2016-04-15 | 1 | -4/+5 |
| | |||||
* | tests: Fix typos (found by codespell) | Stefan Weil | 2016-04-06 | 1 | -2/+2 |
| | | | | | | Fix also a small grammar issue. Signed-off-by: Stefan Weil <sw@weilnetz.de> | ||||
* | 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 getNodeForPath for non existing part files | Robin Appelman | 2016-02-11 | 1 | -0/+6 |
| | |||||
* | remove unused Storage->getLocalFolder | Robin Appelman | 2016-02-05 | 2 | -15/+0 |
| | |||||
* | fix quota wrapper | Robin Appelman | 2016-01-14 | 1 | -1/+3 |
| | |||||
* | Merge pull request #21216 from owncloud/fopen-statcache | Thomas Müller | 2015-12-28 | 1 | -0/+13 |
|\ | | | | | Clear SMB statcache after fopen | ||||
| * | test for statcache after fopen | Robin Appelman | 2015-12-15 | 1 | -0/+13 |
| | | |||||
* | | Use TempManager instead of tmpFolder | Morris Jobke | 2015-12-18 | 5 | -5/+5 |
| | | |||||
* | | Removed deprecated function OC_User::deleteUser | Roeland Jago Douma | 2015-12-17 | 1 | -2/+4 |
| | | | | | | | | Replaced with proper OCP calls | ||||
* | | Removed deprecated private OC_User::createUser | Roeland Jago Douma | 2015-12-17 | 1 | -2/+2 |
|/ | | | | | All function calls are replaced with the recommended (which was already the body of the function). | ||||
* | Adding more DB groups to test suits | Thomas Müller | 2015-11-30 | 5 | -0/+35 |
| | | | | Adding more DB groups to test suits | ||||
* | Further unit test suite tweats | Thomas Müller | 2015-11-30 | 1 | -0/+79 |
| | |||||
* | 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 | ||||
* | add is* storage tests | Jörn Friedrich Dreyer | 2015-09-23 | 1 | -0/+25 |
| | |||||
* | 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 |
| | |||||
* | Merge pull request #16924 from owncloud/copy-recursive-polyfill | Thomas Müller | 2015-07-06 | 1 | -0/+46 |
|\ | | | | | add recursive copy polyfill for storage backends | ||||
| * | add unit tests | Robin Appelman | 2015-07-03 | 1 | -0/+46 |
| | | |||||
* | | Remove file mapper - was only use in Windows and never worked properly | Thomas Müller | 2015-07-03 | 2 | -88/+0 |
| | | |||||
* | | Correctly check if the real file exists, otherwise try the part file | Joas Schilling | 2015-06-26 | 1 | -8/+18 |
| | | |||||
* | | Merge pull request #17045 from owncloud/enc_improvements | Björn Schießle | 2015-06-23 | 1 | -3/+60 |
|\ \ | | | | | | | encryption improvements | ||||
| * | | make sure that we always read the header from the original file | Bjoern Schiessle | 2015-06-23 | 1 | -3/+60 |
| |/ | |||||
* / | Workaround for empty dir deletion for SFTP | Vincent Petry | 2015-06-18 | 1 | -0/+7 |
|/ | | | | | | | | Explicitly clear the stat cache after deleting an empty folder to make sure it is properly detected as deleted in subsequent requests. This works around a problem with phpseclib where the folder is properly deleted remotely but the stat cache was not updated. | ||||
* | Merge pull request #15895 from owncloud/dav-getremoteetag | Joas Schilling | 2015-06-03 | 1 | -0/+18 |
|\ | | | | | Get etag from remote OC server | ||||
| * | Disable update check test when testing wrappers | Vincent Petry | 2015-06-02 | 1 | -0/+3 |
| | | | | | | | | | | The checkUpdate test is intended for testing real storages, not wrappers. | ||||
| * | Added storage backend test for checkUpdate | Vincent Petry | 2015-06-02 | 1 | -0/+15 |
| | | | | | | | | | | This helps testing whether checkUpdate properly returns false when no change exists | ||||
* | | Move the helpful method to the TestCase class | Joas Schilling | 2015-06-03 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #16517 from owncloud/remove-logo-wide | Thomas Müller | 2015-05-29 | 1 | -6/+6 |
|\ | | | | | replace logo-wide on share page as well with better icon + text |