summaryrefslogtreecommitdiffstats
path: root/apps/federation/tests
Commit message (Collapse)AuthorAgeFilesLines
* improve error reporting and move format parameter to the optionsBjoern Schiessle2018-04-253-57/+18
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Properly log the full exception instead of only the messageMorris Jobke2018-01-231-6/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Catch the errors related to untrusted self signed certificates for federationRoeland Jago Douma2017-12-112-0/+76
| | | | | | * 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/+76
| | | | | | * And add tests so I don't mess up again Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update license headersMorris Jobke2017-11-068-0/+13
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use ITimeFactoryRoeland Jago Douma2017-08-014-71/+181
| | | | | | | * 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-2/+0
| | | | | | other server will decline and the background job will be removed Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* update unit testsBjoern Schiessle2017-08-012-12/+34
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* expire requestSharedSecret job after 30 daysBjoern Schiessle2017-08-011-2/+3
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* expire getShareadSecret job after 30 daysBjoern Schiessle2017-08-011-10/+18
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* adjust existing testsBjoern Schiessle2017-04-113-8/+38
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* only execute code if exception was thrown by the corresponding controllerBjoern Schiessle2017-03-241-3/+3
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* don't add server automatically to trusted serverBjoern Schiessle2016-11-171-1/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Fix deprecated getMock call in Federation appRoeland Jago Douma2016-08-316-29/+33
|
* Use function parametersRoeland Jago Douma2016-08-281-7/+2
|
* Move OCSAuthAPI to AppFrameworkRoeland Jago Douma2016-08-281-29/+36
| | | | | | * Convert class * Convert routes * Convert tests
* Use MockBuilder instead of createMockLukas Reschke2016-08-151-1/+1
| | | | CI uses an older PHPUnit
* Add unit testsLukas Reschke2016-08-151-0/+70
|
* improve federation error messagesBjoern Schiessle2016-08-091-2/+1
|
* Update with robinJoas Schilling2016-07-211-1/+1
|
* Fix apps/Joas Schilling2016-07-2110-16/+27
|
* fix federation stringsMorris Jobke2016-06-201-1/+1
|
* Update license headersLukas Reschke2016-05-269-10/+16
|
* Fix errors in the testsJoas Schilling2016-05-195-10/+20
|
* Move federation tests to PSR-4Joas Schilling2016-05-1910-4/+4
|
* Do not create a new job when it failed to connect atmJoas Schilling2016-03-212-14/+39
|
* Update author informationLukas Reschke2016-03-015-2/+25
| | | | Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
* remove remote address book if the admin removes the server from the trusted ↵Bjoern Schiessle2016-02-292-4/+32
| | | | servers list
* reuse the url_hash instead of calculating a new hash for the address bookBjoern Schiessle2016-02-262-7/+9
|
* Remove background job if the server accepted to ask for the shared secretBjoern Schiessle2016-02-151-0/+3
| | | | | | If we don't remove it the server will later ask the remote server to ask for the shared secret which will result in a error log message on the remote server and in some circumstances maybe even to a failure
* Forward exception message to the admin in case of errors and in case the ↵Thomas Müller2016-02-092-16/+27
| | | | remote server version is to low and appropriate message is displayed as well
* Fix PHPDoc and signatureLukas Reschke2016-01-261-1/+1
|
* Adding unit testsThomas Müller2016-01-251-0/+66
|
* Merge pull request #21653 from owncloud/update-license-headers-2016Thomas Müller2016-01-138-8/+10
|\ | | | | Update license headers 2016
| * Happy new year!Thomas Müller2016-01-128-8/+10
| |
* | Adding tests and adjust PHPDocThomas Müller2016-01-122-1/+77
|/
* Fix unit testsRoeland Jago Douma2016-01-112-4/+0
|
* Add error logging to federated sharing handshakeRobin Appelman2015-12-211-2/+10
|
* Add DB group to some files_external testsThomas Müller2015-11-301-0/+7
| | | | | | | | | | Adding group Db to federation tests and ldap tests Add group DB to Test_UrlGenerator Adding group DB to trashbin and versions tests Adding group DB to Test_Util_CheckServer for pg
* always store server url without a trailing slashBjörn Schießle2015-11-241-3/+19
|
* use hooks to auto add server to the list of trusted servers once a federated ↵Björn Schießle2015-11-241-0/+79
| | | | share was created
* unit testsBjörn Schießle2015-11-204-12/+526
|
* exchange shared secretBjörn Schießle2015-11-193-50/+292
|
* added app "federation", allows you to connect ownClouds and exchange user listsBjörn Schießle2015-11-194-0/+640