aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Federation
Commit message (Collapse)AuthorAgeFilesLines
* fix(federation): Fix missing protocol on CloudID remoteJoas Schilling2024-06-271-1/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* chore: Add SPDX headerAndy Scherzinger2024-05-2414-272/+28
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix: Apply new coding standard to all filesCôme Chilliet2024-04-021-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(federation): Allow cloud federation providers to handle unsuccessful ↵Joas Schilling2024-02-281-0/+22
| | | | | | | | return codes Otherwise they are put to retry and will immediately trigger bruteforce protection infinitely Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use OCP\Util::getL10N instead of OC::$server->getL10NCôme Chilliet2024-02-055-5/+5
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(federation): Fix type and docs on ICloudFederationNotification interfaceJoas Schilling2023-10-181-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* federatedfilesharing: Add OpenAPI specjld31032023-07-121-1/+1
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* displayname on federated sharesMaxence Lange2023-06-281-0/+10
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Fix OCM validation errorsjld31032023-02-101-2/+5
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* composer run cs:fixCôme Chilliet2023-01-2010-10/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Summer cleanup of the federation appCarl Schwan2022-06-241-0/+48
| | | | | | | | | | - Use IEventDispatcher instead of deprecated symfony dispatcher - Use LoggerInterface where possible - Use php 7.4 properties - Add type hinting where possible - Move federation hooks to a seperate listener Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Allow to get a local cloud id without going through the contacts managerJulius Härtl2021-07-141-2/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Migrate HintException to OCPGary Kim2021-06-306-6/+6
| | | | Signed-off-by: Gary Kim <gary@garykim.dev>
* Correctly check the reception of a remote feedbackLouis Chemineau2021-06-091-1/+1
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-0413-26/+13
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-161-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format code to a single space around binary operatorsChristoph Wurst2020-10-051-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove @package annotations from public namespaceJulius Härtl2020-08-2611-11/+0
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-109-12/+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-0513-13/+45
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-221-1/+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>
* Use numeric placeholders if there are multiple, so that RTL languages can ↵Joas Schilling2018-10-091-1/+1
| | | | | | operate better Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix exception classJoas Schilling2018-09-101-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fixed tiny grammar issuerakekniven2018-07-311-2/+2
| | | | | ID in uppercase. Signed-off-by: Mark Ziegler <mark.ziegler@rakekniven.de>
* fix return type from send shareBjoern Schiessle2018-07-021-1/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* add support for different share typesBjoern Schiessle2018-07-021-0/+9
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* cleanup variable naming, it is actually a resource typeBjoern Schiessle2018-07-021-7/+7
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* some minor fixes and clode cleanupBjoern Schiessle2018-07-029-3/+86
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* replace \OCP\Federation\Exception\ShareNotFoundException with the generic ↵Bjoern Schiessle2018-07-022-31/+2
| | | | | | \OCP\Share\Exception\ShareNotFound exception Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* send reshare over OCM APIBjoern Schiessle2018-07-022-2/+3
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* implement accept share notificationBjoern Schiessle2018-07-023-0/+110
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* adjust to latest api versionBjoern Schiessle2018-07-024-7/+20
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* send accept share notification (WIP)Bjoern Schiessle2018-07-024-9/+52
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* use new API to send a federated share if possibleBjoern Schiessle2018-07-022-9/+2
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* check if cloud federation api is readyBjoern Schiessle2018-07-021-0/+9
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* implement receiving of federated sharesBjoern Schiessle2018-07-022-7/+11
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* start implementing federated sharing 2.0Bjoern Schiessle2018-07-029-0/+648
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Make OCP\Federation strictRoeland Jago Douma2018-01-162-7/+9
| | | | | | | | | * 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>
* Document that it throwsJoas Schilling2017-08-141-0/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix copyright headersRobin Appelman2017-02-092-2/+6
| | | | 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/+113
Signed-off-by: Robin Appelman <robin@icewind.nl>