summaryrefslogtreecommitdiffstats
path: root/apps/federation/lib
Commit message (Collapse)AuthorAgeFilesLines
* A failing federation sync job is not an errorRoeland Jago Douma2018-08-061-1/+1
| | | | | | This is an INFO warning at best. Else it spams the logs continiously. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* move log constants to ILoggerArthur Schiwon2018-04-264-5/+5
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* improve error reporting and move format parameter to the optionsBjoern Schiessle2018-04-253-32/+7
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Remove unused import statementsMorris Jobke2018-02-143-3/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use ::class statement instead of stringMorris Jobke2018-01-292-2/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Properly log the full exception instead of only the messageMorris Jobke2018-01-234-5/+24
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* 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
|