aboutsummaryrefslogtreecommitdiffstats
path: root/apps/cloud_federation_api/lib/Controller
Commit message (Collapse)AuthorAgeFilesLines
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-7/+3
| | | | | | | | | | | | | | | 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>
* Remove spaces after method or function callChristoph Wurst2020-04-091-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-311-0/+1
| | | | 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>
* Update license headersChristoph Wurst2019-12-051-1/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-221-2/+1
| | | | | | | | | | | * 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>
* implement federated group sharesBjoern Schiessle2018-07-111-10/+35
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* let the actual federated share provider check if incoming/outgoing shares ↵Bjoern Schiessle2018-07-021-13/+0
| | | | | | are enabled for the specific resource type Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* send the display name back after a federated share was receivedBjoern Schiessle2018-07-021-1/+7
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* some minor fixes and clode cleanupBjoern Schiessle2018-07-021-1/+0
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* replace \OCP\Federation\Exception\ShareNotFoundException with the generic ↵Bjoern Schiessle2018-07-021-2/+2
| | | | | | \OCP\Share\Exception\ShareNotFound exception Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* send reshare over OCM APIBjoern Schiessle2018-07-021-3/+3
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* implement accept share notificationBjoern Schiessle2018-07-021-1/+8
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* adjust to latest api versionBjoern Schiessle2018-07-021-13/+18
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* send accept share notification (WIP)Bjoern Schiessle2018-07-021-9/+14
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* use new API to send a federated share if possibleBjoern Schiessle2018-07-021-3/+11
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* add cloud federation api appBjoern Schiessle2018-07-021-0/+258
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>