Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'stable9' into local-invalid-9 | C. Montero Luque | 2016-04-26 | 1 | -0/+24 |
|\ | |||||
| * | triger the propagator from the command line scanner | Robin Appelman | 2016-04-25 | 1 | -0/+24 |
| | | |||||
* | | add tests | Robin Appelman | 2016-04-26 | 1 | -0/+14 |
|/ | |||||
* | 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 #24131 from ↵ | Thomas Müller | 2016-04-22 | 2 | -5/+6 |
|\ | | | | | | | | | owncloud/dont-transfer-files-to-not-ready-user-stable9 [9.0] Introduce isReadyForUser and verify in file transfer ownership | ||||
| * | Introduce isReadyForUser and verify in file transfer ownership - fixes #23786 | Thomas Müller | 2016-04-20 | 2 | -5/+6 |
| | | |||||
* | | When the scanner detects a file is changed clear checksum | Roeland Jago Douma | 2016-04-20 | 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 | ||||
* | Merge pull request #23709 from ↵ | Thomas Müller | 2016-04-01 | 1 | -5/+19 |
|\ | | | | | | | | | owncloud/stable9-make-sure-that-encrypted-version-is-set [stable9] 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-23 | 1 | -18/+63 |
| | |||||
* | pass the fileinfo to the node if available | Robin Appelman | 2016-03-23 | 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 |
| | | |||||
* | | Also add metadata for postDelete hooks triggered from the view | Robin Appelman | 2015-12-02 | 1 | -1/+21 |
|/ | |||||
* | Merge pull request #20875 from owncloud/remove-changepropagator | Thomas Müller | 2015-12-02 | 2 | -198/+0 |
|\ | | | | | remove old propagation logic | ||||
| * | remove old propagation logic | Robin Appelman | 2015-12-01 | 2 | -198/+0 |
| | | |||||
* | | Add metadata to post delete hooks | Robin Appelman | 2015-12-01 | 2 | -1/+4 |
|/ | |||||
* | More group DB | Thomas Müller | 2015-11-30 | 1 | -0/+7 |
| | |||||
* | Adding more DB groups to test suits | Thomas Müller | 2015-11-30 | 9 | -0/+63 |
| | | | | Adding more DB groups to test suits | ||||
* | Further unit test suite tweats | Thomas Müller | 2015-11-30 | 1 | -0/+79 |
| | |||||
* | Apply DB group annotation ... | Thomas Müller | 2015-11-30 | 13 | -0/+91 |
| | |||||
* | Skip unavailable storages in scanner | Robin Appelman | 2015-11-27 | 2 | -6/+6 |
| | |||||
* | Make Cache\Updater per storage | Robin Appelman | 2015-11-25 | 1 | -30/+11 |
| |