Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move files_versions to PSR-4 (#24571) | Joas Schilling | 2016-05-12 | 1 | -809/+0 |
| | |||||
* | Add missing use statement | Joas Schilling | 2016-04-25 | 1 | -0/+1 |
| | |||||
* | Keep "encryptedVersion" when calling `\OC\Files\View::copy` | Lukas Reschke | 2016-03-03 | 1 | -10/+12 |
| | | | | | | | | | | | | | | | | 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. | ||||
* | Remove Scrutinizer Auto Fixer | Lukas Reschke | 2016-03-01 | 1 | -1/+0 |
| | |||||
* | 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 :) | ||||
* | make sure that the file name doesn't end with a trailing slash. Can for ↵ | Bjoern Schiessle | 2016-02-19 | 1 | -0/+3 |
| | | | | example happen single files shared across servers | ||||
* | get the actual user instead of a federated cloud id | Bjoern Schiessle | 2016-02-18 | 1 | -24/+47 |
| | | | | | | $view->getUidAndFilename($filename); returns the federated cloud id in case of a federated share. But in this case we need the local user who "owns" the file which is the current logged in user in case of a federated share | ||||
* | Use cache directly instead of QB | Lukas Reschke | 2016-02-10 | 1 | -5/+2 |
| | | | | In case somebody does not use oc_filecache | ||||
* | Use database for keeping track of the version | Lukas Reschke | 2016-02-09 | 1 | -1/+9 |
| | |||||
* | Consolidate getQuota and setQuota methods in User instance | Arthur Schiwon | 2016-02-09 | 1 | -4/+2 |
| | |||||
* | use int values and constants instead of strings | Arthur Schiwon | 2016-02-08 | 1 | -8/+12 |
| | |||||
* | versions provide more information when throwing hooks | Arthur Schiwon | 2016-02-08 | 1 | -8/+9 |
| | |||||
* | Merge pull request #21117 from owncloud/owner-file-exists | Thomas Müller | 2016-01-15 | 1 | -23/+15 |
|\ | | | | | Only return an owner if the file exists + improved getUidAndFilename | ||||
| * | removed unused imports | Robin Appelman | 2016-01-11 | 1 | -3/+0 |
| | | |||||
| * | improve handling of non existing files in the trashbin | Robin Appelman | 2016-01-11 | 1 | -10/+15 |
| | | |||||
| * | de-deplicate getUidAndFilename | Robin Appelman | 2016-01-11 | 1 | -12/+2 |
| | | |||||
* | | Happy new year! | Thomas Müller | 2016-01-12 | 1 | -2/+2 |
|/ | |||||
* | Deduplicate version expire jobs | Morris Jobke | 2015-12-10 | 1 | -21/+8 |
| | | | | | | * versionSize is calculated anyway in the expire job - > dropped * offset/neededSpace was needed for expiry before the file is moved to the versions -> now this is included already in the currently used space because the expiry job is defered to a point in time after the version creation * fixes #21108 | ||||
* | Scrutinizer Auto-Fixes | Scrutinizer Auto-Fixer | 2015-12-07 | 1 | -1/+1 |
| | | | | This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com | ||||
* | Throw exception on `getPath` if file does not exist | Lukas Reschke | 2015-10-25 | 1 | -2/+12 |
| | | | | | | | | | | Currently the `getPath` methods returned `NULL` in case when a file with the specified ID does not exist. This however mandates that developers are checking for the `NULL` case and if they do not the door for bugs with all kind of impact is widely opened. This is especially harmful if used in context with Views where the final result is limited based on the result of `getPath`, if `getPath` returns `NULL` PHP type juggles this to an empty string resulting in all possible kind of bugs. While one could argue that this is a misusage of the API the fact is that it is very often misused and an exception will trigger an immediate stop of execution as well as log this behaviour and show a pretty error page. I also adjusted some usages where I believe that we need to catch these errors, in most cases this is though simply an error that should hard-fail. | ||||
* | handle versions expire for home storages with unlimited quota | Robin Appelman | 2015-10-16 | 1 | -8/+12 |
| | |||||
* | Fix preserving file ids when restoring a file with object storage | Robin Appelman | 2015-10-16 | 1 | -1/+14 |
| | |||||
* | update licence headers via script | Morris Jobke | 2015-10-05 | 1 | -0/+1 |
| | |||||
* | Lock files when rolling back version | Robin Appelman | 2015-10-02 | 1 | -0/+9 |
| | |||||
* | delete cached preview when rolling back file's version | Georg Ehrke | 2015-09-20 | 1 | -0/+3 |
| | | | | | | | | add random number using OC.parseQueryString and _.extend() version rollback: add missing prefix to OC\Preview::post_delete add test to assure that the rollback hook is called | ||||
* | Correct method title. Add docblock | Victor Dubiniuk | 2015-09-16 | 1 | -1/+5 |
| | |||||
* | Add expiration for versions older than max | Victor Dubiniuk | 2015-09-15 | 1 | -0/+28 |
| | |||||
* | Namespacing, reusing | Victor Dubiniuk | 2015-09-15 | 1 | -2/+7 |
| | |||||
* | Improvements | Victor Dubiniuk | 2015-09-15 | 1 | -6/+13 |
| | |||||
* | Add quota status to expiration check | Victor Dubiniuk | 2015-09-15 | 1 | -10/+10 |
| | |||||
* | Add versions obligation | Victor Dubiniuk | 2015-09-15 | 1 | -4/+38 |
| | |||||
* | update license headers and authors | Morris Jobke | 2015-06-25 | 1 | -0/+1 |
| | |||||
* | Abort expiration when file is gone | Vincent Petry | 2015-05-29 | 1 | -1/+5 |
| | | | | | | | Sometimes a background job for versions expiration was scheduled for a file that has been moved or deleted since. This prevents showing useless warnings in the log and simply bail out. | ||||
* | Use owner when expiring versions, not the logged in user | Vincent Petry | 2015-05-13 | 1 | -8/+11 |
| | |||||
* | Merge pull request #15881 from owncloud/share-moveversionsproperly | Vincent Petry | 2015-05-11 | 1 | -18/+41 |
|\ | | | | | Fix version rename with files and folders | ||||
| * | Fix version rename with files and folders | Vincent Petry | 2015-04-27 | 1 | -18/+41 |
| | | | | | | | | | | - fix moving folder into another folder - fix moving file or folder into shared folder as recipient | ||||
* | | Do not run method when the path is empty | Joas Schilling | 2015-05-07 | 1 | -0/+3 |
| | | |||||
* | | Use moveFromStorage instead of streamCopy when restoring version | Vincent Petry | 2015-04-30 | 1 | -14/+1 |
| | | |||||
* | | Fix version rollback to keep fileid | Vincent Petry | 2015-04-30 | 1 | -4/+38 |
|/ | |||||
* | kill OC_FileProxy :boom: | Thomas Müller | 2015-04-07 | 1 | -14/+0 |
| | |||||
* | Merge pull request #15129 from owncloud/version-command-bus | Lukas Reschke | 2015-03-26 | 1 | -5/+22 |
|\ | | | | | expire versions in a background command | ||||
| * | save uid instead of user object in command | Robin Appelman | 2015-03-26 | 1 | -1/+1 |
| | | |||||
| * | Setup the filesystem in the expire command | Robin Appelman | 2015-03-26 | 1 | -1/+1 |
| | | |||||
| * | expire versions in a background command | Robin Appelman | 2015-03-26 | 1 | -5/+22 |
| | | |||||
* | | Update license headers | Jenkins for ownCloud | 2015-03-26 | 1 | -5/+29 |
|/ | |||||
* | Revert "Updating license headers" | Morris Jobke | 2015-02-26 | 1 | -29/+11 |
| | | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36. | ||||
* | Updating license headers | Jenkins for ownCloud | 2015-02-23 | 1 | -11/+29 |
| | |||||
* | replace hook with storage wrapper | Bjoern Schiessle | 2015-01-19 | 1 | -1/+1 |
| | |||||
* | make versions of shared files downloadable | Bjoern Schiessle | 2015-01-09 | 1 | -3/+3 |
| | |||||
* | reduce OC_Preferences, OC_Config and \OCP\Config usage | Morris Jobke | 2014-12-08 | 1 | -3/+4 |
| | | | | | | | | | | * files_encryption * files_versions * files_trashbin * tests * status.php * core * server container |