John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
pirms 3 gadiem
Roeland Jago Douma
f421fd25ba
Move requesthandler controller to LoggerInterface
* LoggerInterface
* executeUpdate
* log exception when there is one (just so we ahve the trace)
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
pirms 3 gadiem
Christoph Wurst
2a054e6c04
Update the license headers for Nextcloud 20
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
pirms 3 gadiem
Morris Jobke
a6d308ff80
Move cloud_federation_api to bootstrap mechanism
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
pirms 4 gadiem
Christoph Wurst
cb057829f7
Update license headers for 19
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
pirms 4 gadiem
Christoph Wurst
caff1023ea
Format control structures, classes, methods and function
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>
pirms 4 gadiem
Christoph Wurst
42625a46be
Remove spaces after method or function call
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
pirms 4 gadiem
Christoph Wurst
41b5e5923a
Use exactly one empty line after the namespace declaration
For PSR2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
pirms 4 gadiem
Christoph Wurst
1a9330cd69
Update the license headers for Nextcloud 19
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
pirms 4 gadiem
Christoph Wurst
b80ebc9674
Use the short array syntax, everywhere
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
pirms 4 gadiem
Christoph Wurst
74936c49ea
Remove unused imports
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
pirms 4 gadiem
Christoph Wurst
5bf3d1bb38
Update license headers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
pirms 4 gadiem
Roeland Jago Douma
68748d4f85
Some php-cs fixes
* 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>
pirms 4 gadiem
Bjoern Schiessle
1b93af37d6
adjust json to match the definition
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
pirms 5 gadiem
Bjoern Schiessle
b23032e4c5
implement federated group shares
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
pirms 6 gadiem
Bjoern Schiessle
8d4da30bf5
add support for different share types
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
pirms 6 gadiem
Bjoern Schiessle
5c8b26248b
let the actual federated share provider check if incoming/outgoing shares are enabled for the specific resource type
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
pirms 6 gadiem
Bjoern Schiessle
22d9246134
send the display name back after a federated share was received
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
pirms 6 gadiem
Bjoern Schiessle
21b8a873d5
implement config check
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
pirms 6 gadiem
Bjoern Schiessle
84fc188dfc
some minor fixes and clode cleanup
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
pirms 6 gadiem
Bjoern Schiessle
957b27f282
replace \OCP\Federation\Exception\ShareNotFoundException with the generic \OCP\Share\Exception\ShareNotFound exception
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
pirms 6 gadiem
Bjoern Schiessle
fab4e561f4
send reshare over OCM API
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
pirms 6 gadiem
Bjoern Schiessle
b7b84305a3
fix capabilities
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
pirms 6 gadiem
Bjoern Schiessle
8889e14c7c
implement accept share notification
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
pirms 6 gadiem
Bjoern Schiessle
bbce8c3ea1
adjust to latest api version
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
pirms 6 gadiem
Bjoern Schiessle
daba042d26
update capabilities
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
pirms 6 gadiem
Bjoern Schiessle
db428ea547
send accept share notification (WIP)
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
pirms 6 gadiem
Bjoern Schiessle
a3948e8a12
use new API to send a federated share if possible
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
pirms 6 gadiem
Bjoern Schiessle
4c8f3d6d77
add cloud federation api app
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
pirms 6 gadiem