aboutsummaryrefslogtreecommitdiffstats
path: root/apps/federation/lib/Controller
Commit message (Collapse)AuthorAgeFilesLines
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-192-3/+3
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* refactor(federation): Replace security annotations with respective attributesprovokateurin2024-07-282-20/+20
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-292-45/+8
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix: Add bruteforce protection to federation endpointJoas Schilling2024-02-211-1/+12
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* refactor: Configure OpenAPI scopesprovokateurin2024-01-181-0/+2
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-231-3/+3
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* federation: Add OpenAPI specjld31032023-07-101-4/+29
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* Fix many issues with the testsCarl Schwan2022-06-281-1/+3
| | | | | | | - Return type were not correct - willReturn and with confusion Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Summer cleanup of the federation appCarl Schwan2022-06-242-97/+37
| | | | | | | | | | - 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>
* Add support for Delegation Settings for more appsCarl Schwan2021-10-151-3/+6
| | | | | | | | | * This adds support for the sharing, groupware, theming and user_ldap app * This adds some code who disapeared during a rebase in the initial delegation PR (provisioning_api) Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Migrate HintException to OCPGary Kim2021-06-301-1/+1
| | | | Signed-off-by: Gary Kim <gary@garykim.dev>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-042-2/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* No longer add trusted servers on federated share creationRoeland Jago Douma2021-04-261-10/+0
| | | | | | | | It was disabled by default for ages. And often resulted in unwanted behavior. If admins want trusted servers they just have to do it manually. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Remove unneeded casts that were found by PsalmMorris Jobke2021-01-111-1/+1
| | | | | | In preparation of the update of Psalm from 4.2.1 to 4.3.1+ (see https://github.com/nextcloud/server/pull/24521) Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headers for 19Christoph Wurst2020-04-291-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-102-3/+1
| | | | | | | | | | | | | | | 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-052-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-222-2/+0
| | | | | | | | | | | * 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>
* improve error reporting and move format parameter to the optionsBjoern Schiessle2018-04-251-2/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Update license headersMorris Jobke2017-11-062-0/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use automatic injection whenever possibleJoas Schilling2017-08-021-1/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use ITimeFactoryRoeland Jago Douma2017-08-011-7/+9
| | | | | | | * Inject the timefacotry so we can mock it properly in the tests. * Extended unit tests to cover the new paths Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* we don't need to remove the job manually here, even if we ask once more the ↵Bjoern Schiessle2017-08-011-9/+0
| | | | | | other server will decline and the background job will be removed Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* expire getShareadSecret job after 30 daysBjoern Schiessle2017-08-011-0/+5
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Merge pull request #3614 from nextcloud/discover-federatedsharing-endpointsBjörn Schießle2017-04-121-0/+31
|\ | | | | Discover federatedsharing endpoints
| * give old end-points a seperate nameBjoern Schiessle2017-04-111-0/+31
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | Update comments to NextcloudMorris Jobke2017-04-112-3/+3
|/ | | | | | | * based on PR by @Ardinis * see #4311 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use function parametersRoeland Jago Douma2016-08-281-10/+6
|
* Move OCSAuthAPI to AppFrameworkRoeland Jago Douma2016-08-281-0/+187
| | | | | | * Convert class * Convert routes * Convert tests
* improve federation error messagesBjoern Schiessle2016-08-091-2/+2
|
* Fix apps/Joas Schilling2016-07-211-1/+3
|
* fix federation stringsMorris Jobke2016-06-201-3/+3
|
* Update license headersLukas Reschke2016-05-261-1/+1
|
* Move federation code to PSR-4Joas Schilling2016-05-191-0/+122