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 | 45 | -12279/+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 deprecated private method | Joas Schilling | 2016-05-19 | 1 | -2/+2 |
| | |||||
* | Fix namespaces and class names in tests/lib/files/ | Joas Schilling | 2016-05-19 | 8 | -13/+13 |
| | |||||
* | Prevent concurrent availability checks | Robin McCorkell | 2016-04-26 | 1 | -2/+5 |
| | |||||
* | Merge pull request #24246 from owncloud/local-invalid | Lukas Reschke | 2016-04-26 | 1 | -0/+14 |
|\ | | | | | error out if a local storage isn't setup correctly | ||||
| * | add tests | Robin Appelman | 2016-04-26 | 1 | -0/+14 |
| | | |||||
* | | triger the propagator from the command line scanner | Robin Appelman | 2016-04-25 | 1 | -0/+24 |
|/ | |||||
* | Mark $usersSetup only if user was found in initMountPoints | Vincent Petry | 2016-04-22 | 1 | -0/+22 |
| | | | | | | | | | | initMountPoints is marking a user as successfully initialized too early. If the user was not found an NoUserException was thrown, the second time initMountPoints is called would not rethrow the exception and happily continue. This fix makes sure that we consistently throw NoUserException when initMountPoints is called repeatedly with invalid users. | ||||
* | Throw NoUserException when attempting to init mount point for null user | Vincent Petry | 2016-04-22 | 1 | -0/+22 |
| | | | | | | | In some scenarios initMountPoints is called with an empty user, and also there is no user in the session. In such cases, it is unsafe to let the code move on with an empty user. | ||||
* | Merge pull request #24098 from owncloud/fix_23782 | Thomas Müller | 2016-04-20 | 1 | -0/+20 |
|\ | | | | | When calling file_put_contents clear the checksum | ||||
| * | When the scanner detects a file is changed clear checksum | Roeland Jago Douma | 2016-04-19 | 1 | -0/+20 |
| | | | | | | | | | | | | | | | | | | Fixes #23782 and #23783 If the file scanner detects a changed file we clear the checksum while we update the cache. * Unit test added | ||||
* | | Introduce isReadyForUser and verify in file transfer ownership - fixes #23786 | Thomas Müller | 2016-04-15 | 2 | -5/+6 |
|/ | |||||
* | 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 | 2 | -14/+37 |
|/ | | | | | | 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. | ||||
* | properly use fileinfo objects | Robin Appelman | 2016-03-21 | 1 | -18/+63 |
| | |||||
* | pass the fileinfo to the node if available | Robin Appelman | 2016-03-21 | 2 | -15/+8 |
| | |||||
* | 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 |
| | |||||
* | fixing unit tests | Björn Schießle | 2016-02-09 | 1 | -0/+1 |
| | |||||
* | remove unused Storage->getLocalFolder | Robin Appelman | 2016-02-05 | 2 | -15/+0 |
| | |||||
* | Merge pull request #21956 from owncloud/cross-cache-move | Thomas Müller | 2016-01-29 | 2 | -2/+33 |
|\ | | | | | Add fallback moveFromCache implementation | ||||
| * | Add fallback moveFromCache implementation | Robin Appelman | 2016-01-29 | 2 | -2/+33 |
| | | |||||
* | | Fix failing oracle and postgres tests | Joas Schilling | 2016-01-27 | 1 | -2/+2 |
| | | |||||
* | | add IUserMountCache->getMountsForFileId | Robin Appelman | 2016-01-27 | 1 | -7/+125 |
|/ | |||||
* | multiple minor fies | Robin Appelman | 2016-01-20 | 1 | -11/+1 |
| | |||||
* | sort in tests | Robin Appelman | 2016-01-20 | 1 | -1/+18 |
| | |||||
* | log duplicates | Robin Appelman | 2016-01-20 | 1 | -1/+2 |
| | |||||
* | cache mountpoints in the db | Robin Appelman | 2016-01-20 | 1 | -0/+249 |
| | |||||
* | fix quota wrapper | Robin Appelman | 2016-01-14 | 1 | -1/+3 |
| | |||||
* | fix tests | Robin Appelman | 2016-01-14 | 2 | -2/+4 |
| | |||||
* | 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 tmpFile | Morris Jobke | 2015-12-18 | 1 | -1/+1 |
| | | |||||
* | | Use TempManager instead of tmpFolder | Morris Jobke | 2015-12-18 | 9 | -10/+10 |
| | | |||||
* | | Removed deprecated function OC_User::deleteUser | Roeland Jago Douma | 2015-12-17 | 5 | -10/+22 |
| | | | | | | | | Replaced with proper OCP calls | ||||
* | | Removed deprecated private OC_User::createUser | Roeland Jago Douma | 2015-12-17 | 5 | -9/+9 |
|/ | | | | | All function calls are replaced with the recommended (which was already the body of the function). | ||||
* | Fix more unit tests to pass a mock storage instead of null to FileInfo | Vincent Petry | 2015-12-08 | 3 | -3/+27 |
| | |||||
* | Merge pull request #20904 from owncloud/view-mime-filter | Thomas Müller | 2015-12-07 | 1 | -0/+35 |
|\ | | | | | Fix mimetype filter in getDirectoryContent | ||||
| * | Fix mimetype filter in getDirectoryContent | Robin Appelman | 2015-12-03 | 1 | -0/+35 |
| | | |||||
* | | last change of OC_Config to the proper interface in tests/ | Morris Jobke | 2015-12-03 | 1 | -3/+4 |
| | | |||||
* | | Reduce OC_Config usage in tests/ | Morris Jobke | 2015-12-03 | 1 | -5/+5 |
| | | |||||
* | | Replace OC_Config in tests with IConfig calls | Morris Jobke | 2015-12-03 | 1 | -3/+4 |
| | |