summaryrefslogtreecommitdiffstats
path: root/lib/private/Federation
Commit message (Collapse)AuthorAgeFilesLines
* According to the OCM specification the body needs to be JSON encodedBjoern Schiessle2019-02-191-3/+4
| | | | | | see: https://github.com/GEANT/OCM-API/pull/37 Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* translate nextcloud share types to OCM share typesBjoern Schiessle2018-07-111-1/+5
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* log error messgageBjoern Schiessle2018-07-111-0/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* cache results from ocm end-point discoveryBjoern Schiessle2018-07-021-0/+11
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* fix return type from send shareBjoern Schiessle2018-07-021-1/+2
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* look for correct OCM permissionsBjoern Schiessle2018-07-021-1/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* cleanup variable naming, it is actually a resource typeBjoern Schiessle2018-07-021-12/+10
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* some minor fixes and clode cleanupBjoern Schiessle2018-07-022-1/+8
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* send reshare over OCM APIBjoern Schiessle2018-07-021-3/+4
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* detect correctly if a share was send successfulBjoern Schiessle2018-07-021-1/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* adjust to latest api versionBjoern Schiessle2018-07-024-22/+41
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* check API VersionBjoern Schiessle2018-07-021-1/+5
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* send accept share notification (WIP)Bjoern Schiessle2018-07-022-14/+55
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* use new API to send a federated share if possibleBjoern Schiessle2018-07-022-5/+74
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* check if cloud federation api is readyBjoern Schiessle2018-07-021-1/+15
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* start implementing federated sharing 2.0Bjoern Schiessle2018-07-024-0/+559
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Make OCP\Federation strictRoeland Jago Douma2018-01-162-10/+12
| | | | | | | | | * Also internal classes * Added scalar typehints * Added return type * Made strict Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update license headersMorris Jobke2017-11-062-12/+19
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix DI of the cloud id manager into appsJoas Schilling2017-02-141-0/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix copyright headersRobin Appelman2017-02-092-1/+5
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* clean cloud idsRobin Appelman2017-02-091-3/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* add testsRobin Appelman2017-02-081-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add a single public api for resolving a cloud id to a user and remote and backRobin Appelman2017-02-082-0/+182
Signed-off-by: Robin Appelman <robin@icewind.nl>