summaryrefslogtreecommitdiffstats
path: root/apps/federation/lib
Commit message (Collapse)AuthorAgeFilesLines
* improve error reporting and move format parameter to the optionsBjoern Schiessle2018-05-293-32/+7
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Catch the errors related to untrusted self signed certificates for federationRoeland Jago Douma2017-12-112-2/+12
| | | | | | * Added tests Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Actually set the status so we don't cause another exceptionRoeland Jago Douma2017-11-292-0/+2
| | | | | | * And add tests so I don't mess up again Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Do not log Exception if a connection error occuredRoeland Jago Douma2017-11-292-0/+6
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update license headersMorris Jobke2017-11-0611-1/+20
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #5923 from nextcloud/expire-federation-jobsRoeland Jago Douma2017-08-0211-162/+204
|\ | | | | Expire federation jobs
| * Close all the cursorsJoas Schilling2017-08-021-12/+26
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Use automatic injection whenever possibleJoas Schilling2017-08-026-80/+38
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Use ITimeFactoryRoeland Jago Douma2017-08-015-32/+50
| | | | | | | | | | | | | | * 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>
| * cleanup constructorsBjoern Schiessle2017-08-012-53/+33
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
| * expire requestSharedSecret job after 30 daysBjoern Schiessle2017-08-012-3/+45
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
| * expire getShareadSecret job after 30 daysBjoern Schiessle2017-08-012-2/+42
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | Remove explicit type hints for ControllerLukas Reschke2017-08-011-1/+1
| | | | | | | | | | | | This is public API and breaks the middlewares of existing apps. Since this also requires maintaining two different code paths for 12 and 13 I'm at the moment voting for reverting this change. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Merge pull request #5877 from nextcloud/typehint_middlewareMorris Jobke2017-08-011-2/+4
|\ \ | |/ |/| Prop argument type for Middleware
| * Fix testsRoeland Jago Douma2017-07-311-2/+4
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Add |null to PHPDocLukas Reschke2017-08-012-2/+2
|/ | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Remove unused use statementsMorris Jobke2017-04-222-5/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* No need to log guzzle exceptionRoeland Jago Douma2017-04-212-2/+2
| | | | | | | | | | When getting/requesting a shared secret there is no need to log the full exception when an unexpected status code is returned since this won't really tell us anything as the bad stuff happened on a remote server Fixes #3380 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #3614 from nextcloud/discover-federatedsharing-endpointsBjörn Schießle2017-04-125-13/+85
|\ | | | | Discover federatedsharing endpoints
| * Do proper DIRoeland Jago Douma2017-04-113-3/+3
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * give old end-points a seperate nameBjoern Schiessle2017-04-111-0/+31
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
| * fix constructorBjoern Schiessle2017-04-112-2/+2
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
| * get addressbook url and carddav user from remote serverBjoern Schiessle2017-04-112-7/+18
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
| * use discovered end-point for trusted serversBjoern Schiessle2017-04-112-6/+36
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | Update comments to NextcloudMorris Jobke2017-04-115-6/+6
|/ | | | | | | * based on PR by @Ardinis * see #4311 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* only execute code if exception was thrown by the corresponding controllerBjoern Schiessle2017-03-241-0/+4
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* No challenge within federated authThomas Müller2016-12-191-0/+8
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* don't add server automatically to trusted serverBjoern Schiessle2016-11-171-1/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Remove dead OCS register codeRoeland Jago Douma2016-09-021-34/+0
|
* Use function parametersRoeland Jago Douma2016-08-281-10/+6
|
* Move OCSAuthAPI to AppFrameworkRoeland Jago Douma2016-08-281-17/+27
| | | | | | * Convert class * Convert routes * Convert tests
* adjust federation appArthur Schiwon2016-08-112-7/+69
|
* improve federation error messagesBjoern Schiessle2016-08-093-13/+19
|
* Update with robinJoas Schilling2016-07-215-5/+5
|
* Fix apps/Joas Schilling2016-07-2113-18/+37
|
* Use the themed Defaults everywhereJoas Schilling2016-07-151-1/+1
|
* Allow nullRobin Appelman2016-07-081-1/+1
|
* Fix undefined propertiesRobin Appelman2016-07-081-2/+2
|
* fix federation stringsMorris Jobke2016-06-203-8/+8
|
* Use the correct realm for basic authentication - fixes #23427Thomas Müller2016-06-091-0/+4
|
* Update license headersLukas Reschke2016-05-2611-14/+17
|
* Move federation code to PSR-4Joas Schilling2016-05-1913-0/+1063
|
* Update author informationLukas Reschke2016-03-012-1/+22
| | | | Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
* fix doc-blockBjoern Schiessle2016-02-291-0/+1
|
* remove synced remote address book if the remote server revoked access to his ↵Bjoern Schiessle2016-02-292-0/+6
| | | | system address book
* remove remote address book if the admin removes the server from the trusted ↵Bjoern Schiessle2016-02-292-1/+34
| | | | servers list
* reuse the url_hash instead of calculating a new hash for the address bookBjoern Schiessle2016-02-262-4/+4
|
* throw exception if we don't find a token for a given serverBjoern Schiessle2016-02-151-0/+6
|
* Forward exception message to the admin in case of errors and in case the ↵Thomas Müller2016-02-091-18/+18
| | | | remote server version is to low and appropriate message is displayed as well