Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use ::class statement instead of string | Morris Jobke | 2018-01-29 | 2 | -10/+12 |
| | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Use type casting instead of *val() method | Morris Jobke | 2018-01-26 | 2 | -5/+5 |
| | | | | | | It should be up to 6x faster Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Merge pull request #8053 from nextcloud/simplify-substr | Joas Schilling | 2018-01-26 | 1 | -1/+1 |
|\ | | | | | Use short for of substr to not need strlen() | ||||
| * | Use short for of substr to not need strlen() | Morris Jobke | 2018-01-25 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | | Use $var[] = $a instead of array_push - 2x faster | Morris Jobke | 2018-01-25 | 1 | -1/+1 |
|/ | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Update license headers | Morris Jobke | 2017-11-06 | 7 | -2/+11 |
| | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Remove unneeded check if app is enabled | Morris Jobke | 2017-10-23 | 1 | -44/+28 |
| | | | | | | App code will not be executable if the app is not enabled, because the autoloader refuses to load that class. Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | allow apps to disable versions for some files | Bjoern Schiessle | 2017-09-15 | 2 | -0/+93 |
| | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org> | ||||
* | Remove undocumented config | Joas Schilling | 2017-08-01 | 1 | -77/+73 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Fix versions app | Joas Schilling | 2017-08-01 | 1 | -3/+3 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Fix comparisons in the versions app | Joas Schilling | 2017-08-01 | 2 | -12/+12 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Use IConfig instead of static OCP\Config | Morris Jobke | 2017-07-27 | 1 | -2/+2 |
| | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Handle more error cases | Morris Jobke | 2017-05-02 | 1 | -0/+2 |
| | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Merge JS for files_versions | Lukas Reschke | 2017-03-24 | 1 | -4/+1 |
| | | | | | | Shaves off 3 requests. Signed-off-by: Lukas Reschke <lukas@statuscode.ch> | ||||
* | Properly expire ext storage versions (#26601) | Vincent Petry | 2017-03-10 | 2 | -9/+16 |
| | | | | | | | | | | | | | | | | | | * Properly expire ext storage versions System-wide external storages have no real owner so the current user is used as owner. However when running cron.php there is no current user, so no expiry can be done. This fix adds an user argument to the expire() function to tell for which user to expire files. This information is anyway always available now through the expire command job. * Move version expire setupFS into the expire function * Add comment about not tearing down in version Storage::expire() Signed-off-by: Lukas Reschke <lukas@statuscode.ch> | ||||
* | Show mimeicon when versions don't have a preview | Roeland Jago Douma | 2016-11-29 | 1 | -0/+1 |
| | | | | | | Fixes #2413 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | More tests | Roeland Jago Douma | 2016-11-03 | 1 | -13/+1 |
| | | | | | | | | | * PreviewController test * PublicPreview test * Versions Preview test * Trash Preview test Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | Moved over files_versions | Roeland Jago Douma | 2016-11-03 | 2 | -1/+112 |
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | introduce callForSeenUsers and countSeenUsers (#26361) | Jörn Friedrich Dreyer | 2016-10-28 | 2 | -4/+4 |
| | | | | | | | | | | * introduce callForSeenUsers and countSeenUsers * add tests * oracle should support not null on clob * since 9.2.0 | ||||
* | Add occ command to expire the trashbin (#25878) | Thomas Müller | 2016-08-29 | 1 | -0/+125 |
| | | | | | | * Add occ command to expire the trashbin * Fix versions folder in setup check | ||||
* | Skip version and trash expiry for users that never logged in | Jörn Friedrich Dreyer | 2016-08-10 | 1 | -1/+1 |
| | |||||
* | Update with robin | Joas Schilling | 2016-07-21 | 3 | -3/+3 |
| | |||||
* | Fix apps/ | Joas Schilling | 2016-07-21 | 8 | -13/+23 |
| | |||||
* | Merge branch 'master' into sync-master | Morris Jobke | 2016-07-07 | 1 | -8/+12 |
|\ | |||||
| * | we don't need to check permissions twice | Bjoern Schiessle | 2016-07-04 | 1 | -4/+2 |
| | | |||||
| * | Merge remote-tracking branch 'upstream/master' into master-sync-upstream | Lukas Reschke | 2016-07-01 | 1 | -0/+8 |
| |\ | |||||
| * | | check permissions before rollback | Bjoern Schiessle | 2016-06-30 | 1 | -5/+11 |
| | | | |||||
* | | | Upgrading the log level From Debug to INFO to be consistent with ↵ | Carlos Damken | 2016-07-06 | 1 | -3/+3 |
| |/ |/| | | | | | files_trashbin (#25367) | ||||
* | | Hide revert button when no permission to revert | Vincent Petry | 2016-06-28 | 1 | -0/+8 |
|/ | |||||
* | Rollback version must also adjust cached size | Vincent Petry | 2016-06-22 | 1 | -1/+8 |
| | |||||
* | Construct path to the version file from the current directory and filename. ↵ | Victor Dubiniuk | 2016-06-02 | 1 | -4/+6 |
| | | | | Fixes #22450 | ||||
* | Update license headers | Lukas Reschke | 2016-05-26 | 4 | -6/+6 |
| | |||||
* | Move files_versions to PSR-4 (#24571) | Joas Schilling | 2016-05-12 | 8 | -0/+227 |
| | |||||
* | Add missing use statement | Joas Schilling | 2016-04-25 | 1 | -0/+1 |
| | |||||
* | Chunk the users correctly in the trashbin and versions background job | Joas Schilling | 2016-04-20 | 1 | -16/+12 |
| | |||||
* | 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 | 5 | -7/+7 |
|/ |