aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/Updater.php
Commit message (Collapse)AuthorAgeFilesLines
* Add argument to getSharesInFolder enable deep share lookupLouis Chemineau2022-07-261-1/+1
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Recursively fetch subsharesLouis Chemineau2022-07-261-3/+1
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Change share owner when moving share out of shareLouis Chemineau2022-07-261-12/+14
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Update owner of subdir on move into/out of shareVincent Petry2022-07-261-0/+19
| | | | | | | | When moving a directory into or out of a received share, make sure to also update the share owner column for shares that exist insie the directory. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* type fixesRobin Appelman2022-03-041-0/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* When changing the share owner, downgrade permissions where neededJulius Härtl2021-06-091-0/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Drop share if moved to a parent share that does not allow resharingJulius Härtl2021-06-091-0/+5
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-1/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Drop \OCP\UserChristoph Wurst2021-05-211-3/+3
| | | | | | Inlines and remaining usages and drops the deprecated public API. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format code to a single space around binary operatorsChristoph Wurst2020-10-051-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-241-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update share type constant usageJoas Schilling2020-06-241-4/+6
| | | | 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>
* Add visibility to all methods and position of static keywordChristoph Wurst2020-04-101-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-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>
* Update license headersChristoph Wurst2019-12-051-1/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add support for room shares to the share owner updaterDaniel Calviño Sánchez2018-08-081-0/+1
| | | | | | | | A user can move her own shares into a received share. When that happens she is effectively handing over the ownership of the file, so the share needs to be updated to reflect the new owner. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Use ::class statement instead of stringMorris Jobke2018-01-291-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix apps/Joas Schilling2016-07-211-2/+3
|
* Update license headersLukas Reschke2016-05-261-4/+1
|
* Move lib/ to PSR-4Joas Schilling2016-05-251-0/+109