summaryrefslogtreecommitdiffstats
path: root/apps/files/lib/Command
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #7075 from nextcloud/remove-unused-variablesRoeland Jago Douma2017-11-072-2/+2
|\ | | | | Remove unused variables
| * Remove unused variablesMorris Jobke2017-11-062-2/+2
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Update license headersMorris Jobke2017-11-062-2/+26
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove unused use statementsMorris Jobke2017-04-222-4/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add PHPDoc and handle exception in ScanAppData as wellMorris Jobke2017-04-191-0/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* show error when trying to scan non existing pathRobin Appelman2017-04-191-7/+12
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #3965 from nextcloud/downstream-27343Morris Jobke2017-03-231-4/+33
|\ | | | | Providing --path option to transfer-ownership
| * improve file transfer codeMorris Jobke2017-03-221-26/+15
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * Providing --path option to transfer-ownershipSujith H2017-03-201-4/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will help user to selectively move the folders specified using --path option, instead of moving entire folder under files directory. Signed-off-by: Sujith H <sharidasan@owncloud.com> Update the integration test for transfer-ownership Update the integration test for transfer-ownership as the new option --path is introduced in the command. Signed-off-by: Sujith H <sharidasan@owncloud.com> Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Use proper name and code styleMorris Jobke2017-03-221-2/+2
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Add files:scanAppData commandRoeland Jago Douma2017-03-221-0/+284
|/ | | | | | | | Fixes https://github.com/nextcloud/server/issues/3041 Add a dedicated command to scan the special appdata dir Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Log files:scan exception, add InterruptedExceptionVincent Petry2017-03-201-8/+10
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use a proper date format for transfer ownershipMorris Jobke2017-03-021-1/+1
| | | | | | | * on Windows : is not allowed as filename and doesn't get synced then * uses 2017-03-02 22-00-00 instead of 2017-03-02T22:00:00+00:00 as format Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #2109 from nextcloud/oc_26533Morris Jobke2016-11-181-0/+5
|\ | | | | Transfer ownership only analyze home storage
| * Test on storageRoeland Jago Douma2016-11-151-2/+2
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Transfer ownership only analyze home storageVincent Petry2016-11-141-0/+5
| | | | | | | | | | | | | | | | | | | | When transferring ownership, only the local files will be transferred during the rename operation. This means that the analyzing code doesn't need to recurse into any mount points. Furthermore this fixes issues where FailedStorage might appear as mount points as a result of inaccessible external storages or shares. So this makes it more robust.
* | Merge pull request #2125 from nextcloud/downstream-26546Morris Jobke2016-11-151-3/+3
|\ \ | | | | | | Transfer ownership now returns exit code on error
| * | Transfer ownership now returns exit code on error (#26546)Vincent Petry2016-11-141-3/+3
| |/
* | Merge pull request #2115 from nextcloud/oc_26527Roeland Jago Douma2016-11-141-15/+21
|\ \ | | | | | | Skip broken shares when transferring ownership (#26527)
| * | Skip broken shares when transferring ownership (#26527)Vincent Petry2016-11-141-15/+21
| |/
* / First process group shares and then user sharesVincent Petry2016-11-141-1/+1
|/ | | | | | | | This prevents a validation failure where the code checks whether a file is already shared with another user, but the check disables itself when the owner is the same. Processing the groups first prevents the check to kick in too early when the group share still has the old owner while we try transferring the user share.
* Add using casing check/fix for initMountPointsVincent Petry2016-11-021-8/+6
|
* Make sure the UID is correctly casedJoas Schilling2016-10-171-3/+11
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Before a user is getting scanned the database connection is re-establishedThomas Müller2016-08-291-1/+26
|
* Update with robinJoas Schilling2016-07-211-1/+1
|
* Fix apps/Joas Schilling2016-07-213-5/+8
|
* Update license headersLukas Reschke2016-05-262-0/+3
|
* add "unscanned" option to files:scan to triger a background scanRobin Appelman2016-05-191-3/+12
|
* Move Files app to PSR-4 (#24569)Joas Schilling2016-05-123-0/+634
* Move lib/ of Files app to PSR-4 * Move tests to PSR-4