Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move \OC\Files to PSR-4 | Roeland Jago Douma | 2016-04-24 | 6 | -2882/+0 |
| | |||||
* | Merge pull request #23919 from owncloud/cyclyc-share-dep-example | Thomas Müller | 2016-04-20 | 2 | -1/+51 |
|\ | | | | | SharedStorage to new sharing code + cleanup | ||||
| * | Move copy- and moveFromStorage to jail | Roeland Jago Douma | 2016-04-19 | 1 | -0/+26 |
| | | |||||
| * | Fix resolve path | Roeland Jago Douma | 2016-04-19 | 1 | -2/+7 |
| | | |||||
| * | Fix related logic | Roeland Jago Douma | 2016-04-19 | 1 | -1/+14 |
| | | |||||
| * | cache the scanner/updater/cache in the wrapper storage | Robin Appelman | 2016-04-19 | 1 | -0/+6 |
| | | |||||
* | | preserve information if it is a rename operation or not | Björn Schießle | 2016-04-20 | 1 | -3/+4 |
|/ | |||||
* | lib: Fix typos (found by codespell) | Stefan Weil | 2016-04-07 | 1 | -1/+1 |
| | | | | Signed-off-by: Stefan Weil <sw@weilnetz.de> | ||||
* | make sure that we always remove the file again from the cache after the ↵ | Bjoern Schiessle | 2016-03-31 | 1 | -0/+1 |
| | | | | version was created | ||||
* | Merge pull request #23445 from owncloud/enc_small_improvement | Frank Karlitschek | 2016-03-31 | 1 | -1/+1 |
|\ | | | | | small performance improvement: no need to calculate the header size | ||||
| * | no need to calculate the header size, if the first block contain a header we ↵ | Bjoern Schiessle | 2016-03-21 | 1 | -1/+1 |
| | | | | | | | | already know the size | ||||
* | | Merge pull request #23707 from owncloud/make-sure-that-encrypted-version-is-set | Frank Karlitschek | 2016-03-31 | 1 | -2/+7 |
|\ \ | | | | | | | Make sure that the encrypted version is set | ||||
| * | | Make sure that the encrypted version is set | Lukas Reschke | 2016-03-31 | 1 | -2/+7 |
| |/ | | | | | | | | | | | | | | | 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 | -1/+20 |
|/ | | | | | | 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 | -1/+12 |
| | | | | | | | | | 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 | ||||
* | Merge pull request #22816 from owncloud/external-unavailable-recheck | Thomas Müller | 2016-03-04 | 1 | -5/+12 |
|\ | | | | | allow availability recheck for external storages | ||||
| * | allow availability recheck for external storages | Robin Appelman | 2016-03-03 | 1 | -5/+12 |
| | | |||||
* | | Keep "encryptedVersion" when calling `\OC\Files\View::copy` | Lukas Reschke | 2016-03-03 | 1 | -9/+28 |
|/ | | | | | | | | | | | | | | | | 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. | ||||
* | Update author information | Lukas Reschke | 2016-03-01 | 1 | -0/+1 |
| | | | | Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :) | ||||
* | Merge pull request #22579 from owncloud/fix_broken_unencrypted_size | Thomas Müller | 2016-02-25 | 1 | -3/+129 |
|\ | | | | | Heal unencrypted file sizes at download time (second approach) | ||||
| * | recalculate unencrypted size if we assume that the size stored in the db is ↵ | Bjoern Schiessle | 2016-02-23 | 1 | -3/+129 |
| | | | | | | | | not correct | ||||
* | | Check delete permission before attemping copy+delete | Vincent Petry | 2016-02-19 | 1 | -0/+4 |
|/ | | | | | | | | Some move operations when cross-storage will be replaced by copy and delete. Before attempting this, first check whether the source storage has delete permissions. This also prevents renaming system-wide external storages. | ||||
* | Don't apply quota in stream wrapper for part files | Vincent Petry | 2016-02-17 | 1 | -5/+22 |
| | | | | | | | | | When overwriting shared files as recipient, the part file is written on the uploader's storage before overwriting the target file. If the uploader has no quota left, they should still be able to overwrite that file with Webdav. To make this work, they need to be able to write the part file to their own storage first. | ||||
* | remember signature version and only set it on update to make sure that other | Bjoern Schiessle | 2016-02-10 | 1 | -0/+4 |
| | | | | apps like files_versions still get the old signature version | ||||
* | Check if partial cache entry or not in encryption wrapper | Vincent Petry | 2016-02-09 | 1 | -2/+5 |
| | |||||
* | Use database for keeping track of the version | Lukas Reschke | 2016-02-09 | 1 | -1/+2 |
| | |||||
* | make it backward compatible to work with signed and un-signed files | Björn Schießle | 2016-02-09 | 1 | -2/+4 |
| | |||||
* | Fix part file partial cache logic in encryption code | Vincent Petry | 2016-02-09 | 1 | -1/+7 |
| | | | | | | | | | | | | The encryption code uses partial cache entries for the part file (which are not stored in the database) but are useful for other parts of the code to retrieve the file size again. This means that in the fixed code $info was empty, so getData() could not be called. The fix makes sure to support both cases when the cache entry exists and doesn't. | ||||
* | remove unused Storage->getLocalFolder | Robin Appelman | 2016-02-05 | 3 | -33/+0 |
| | |||||
* | only trigger locking on lockingstorages | Robin Appelman | 2016-01-14 | 1 | -4/+11 |
| | |||||
* | fix quota wrapper | Robin Appelman | 2016-01-14 | 1 | -1/+3 |
| | |||||
* | Return a class from cache operations instead of an array | Robin Appelman | 2016-01-14 | 1 | -1/+3 |
| | |||||
* | Happy new year! | Thomas Müller | 2016-01-12 | 6 | -10/+11 |
| | |||||
* | Do not check storage availability for getOwner | Vincent Petry | 2015-12-09 | 1 | -1/+0 |
| | | | | | Because the owner is always known thanks to the file cache and other places, we don't need the remote storage to be actually available. | ||||
* | Make Cache\Updater per storage | Robin Appelman | 2015-11-25 | 1 | -0/+7 |
| | |||||
* | take the etag of child mounts into account for the folder etag | Robin Appelman | 2015-11-19 | 1 | -0/+7 |
| | | | | this replaces shared etag propagation | ||||
* | make sure that we update the unencrypted size for the versions | Björn Schießle | 2015-11-04 | 1 | -1/+13 |
| | |||||
* | The root of a storage always exists | Robin Appelman | 2015-10-29 | 1 | -0/+3 |
| | |||||
* | Update license headers | Lukas Reschke | 2015-10-26 | 1 | -0/+1 |
| | |||||
* | check if fopen was successful before continue | Bjoern Schiessle | 2015-10-15 | 1 | -3/+7 |
| | |||||
* | only wrap source if fopen was successful | Bjoern Schiessle | 2015-10-15 | 1 | -1/+4 |
| | |||||
* | Merge pull request #19597 from owncloud/update-license-headers | Thomas Müller | 2015-10-06 | 3 | -1/+3 |
|\ | | | | | update licence headers via script | ||||
| * | deduplicate @xenopathic | Morris Jobke | 2015-10-06 | 1 | -1/+1 |
| | | |||||
| * | update licence headers via script | Morris Jobke | 2015-10-05 | 3 | -1/+3 |
| | | |||||
* | | use a normal rename when moving from the same storage in the encryption wrapper | Robin Appelman | 2015-10-05 | 1 | -0/+3 |
|/ | |||||
* | versions should always use the keys of the original file, no need to create ↵ | Bjoern Schiessle | 2015-10-01 | 1 | -2/+24 |
| | | | | new one | ||||
* | use correct variable | Jörn Friedrich Dreyer | 2015-09-23 | 1 | -1/+1 |
| | | | | wow ... just wow ... | ||||
* | Revert "use correct variable" | Jörn Friedrich Dreyer | 2015-09-23 | 1 | -1/+1 |
| | | | | This reverts commit 52cbaff061b93cb1a5e81623e58e14867c818810. | ||||
* | use correct variable | Jörn Friedrich Dreyer | 2015-09-23 | 1 | -1/+1 |
| | | | wow ... just wow ... | ||||
* | Merge pull request #18423 from owncloud/occ_encrypt_all | Björn Schießle | 2015-08-28 | 1 | -29/+15 |
|\ | | | | | occ command line tool to encrypt all files |