aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/lib/Service
Commit message (Collapse)AuthorAgeFilesLines
...
* Log exception message during failed ownership transfer share restoreChristoph Wurst2021-08-241-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-043-6/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Only perform login check during ownership transfer for encryptionChristoph Wurst2021-03-191-2/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-162-2/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Introduce deck share type to ShareAPIControllerJulius Härtl2020-12-091-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #22648 from nextcloud/bugfix/noid/transfer-all-sharesJoas Schilling2020-09-091-2/+2
|\ | | | | Transfer shares if no path provided
| * Transfer shares if no path providedJulius Härtl2020-09-071-2/+2
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Update license headers for Nextcloud 20 (again)Christoph Wurst2020-09-071-0/+1
|/ | | | | | | There are still lots of outdated headers, so time for another round of updates. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Do not expose direct editing if no master key is availableJulius Härtl2020-09-011-0/+4
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Transfer shares of the transferred root nodeJulius Härtl2020-08-311-3/+36
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-241-0/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #21797 from rawtaz/patch-1Morris Jobke2020-08-201-1/+1
|\ | | | | Include e-mail shares when transferring ownership
| * Include circle shares when transferring ownershiprawtaz2020-07-151-1/+1
| |
| * Include e-mail shares when transferring ownershiprawtaz2020-07-111-1/+1
| | | | | | E-mail shares weren't included in the processing of shares when using the `occ files:transfer-ownership` command, so they'd be lost (not visible in either the former or the new account). This commit fixes that.
* | Use constant instead of magic number Morris Jobke2020-08-111-1/+1
| | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Do not exit if available space cannot be determined on file transferJulius Härtl2020-08-111-1/+1
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Update share type constant usageJoas Schilling2020-06-241-2/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update license headers for 19Christoph Wurst2020-04-291-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-102-2/+0
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-091-1/+0
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Try to use the display name of file transfersJoas Schilling2020-04-081-6/+20
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-312-0/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the short array syntax, everywhereChristoph Wurst2020-03-261-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Make TAG_FAVORITE publicDaniel Kesselberg2020-02-121-3/+2
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Allow specifying this is the first loginRoeland Jago Douma2020-02-031-2/+9
| | | | | | | On firstlogin we allow non empty target folders. So that for guest transfers the user sees the same UI. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Catch \Error in Transfer::restoreSharesTobia De Koninck2020-02-031-1/+1
| | | | | | | | | This makes the command more fault tolerant. An \Error can happen when e.g. the owner of a share is null. If we don't catch this, the restore process will stop in an unknown state. Signed-off-by: Tobia De Koninck <LEDfan@users.noreply.github.com>
* Prevent transferring data to user which never loggedinTobia De Koninck2020-02-031-1/+1
| | | | Signed-off-by: Tobia De Koninck <LEDfan@users.noreply.github.com>
* Add option to transfer-ownership to move dataTobia De Koninck2020-02-031-3/+16
| | | | | | | | This will move the home folder of own user to another user. Only allowed if that other user's home folder is empty. Can be used as workaround to rename users. Signed-off-by: Tobia De Koninck <LEDfan@users.noreply.github.com>
* Update license headers for 18Christoph Wurst2019-12-202-0/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Transfer ownership function polishingSascha Wiswedel2019-12-171-6/+6
| | | | Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
* Merge pull request #18242 from nextcloud/directEditingEditorWithIdRoeland Jago Douma2019-12-051-0/+1
|\ | | | | add id to editor of direct editing
| * add id to editor of direct editingtobiasKaminsky2019-12-051-0/+1
| | | | | | | | Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
* | Update license headersChristoph Wurst2019-12-053-5/+8
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #17913 from ↵Roeland Jago Douma2019-12-041-1/+6
|\ | | | | | | | | nextcloud/fix/transfer-ownership-move-files-error-handling Catch file transfer error and stop transfer ownership command
| * Catch file transfer error and stop transfer ownership commandChristoph Wurst2019-11-271-1/+6
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Also allow transfer ownership of filesChristoph Wurst2019-12-021-1/+1
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Only expose link to info endpoint in capabiltiesJulius Härtl2019-11-271-0/+85
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Extract transfer ownership logic into a reusable serviceChristoph Wurst2019-11-261-0/+276
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-221-1/+0
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add events for favoritesJoas Schilling2018-01-101-1/+15
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update license headersMorris Jobke2017-11-061-1/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Make sure the file information is available when sending the emailJoas Schilling2017-01-201-8/+15
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add an activity when managing favoritesJoas Schilling2016-12-041-15/+50
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make it possible to filter by tags with REPORT methodVincent Petry2016-10-191-21/+0
| | | | | | | | | | | Enhanced the REPORT method on the Webdav endpoint and added a "oc:favorite" filter rule. When set, it will return a flat list of results filtered with only favorite files. The web UI was also adjusted to use this REPORT method instead of the private API endpoint. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix apps/Joas Schilling2016-07-211-2/+3
|
* Move Files app to PSR-4 (#24569)Joas Schilling2016-05-121-0/+114
* Move lib/ of Files app to PSR-4 * Move tests to PSR-4