Commit graph

20 commits

Author SHA1 Message Date
Arthur Schiwon b13a9983e2
adjust to recent merged changes
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-01-26 19:03:03 +01:00
Arthur Schiwon c06679fa74
adjust tests
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-01-26 14:32:28 +01:00
Arthur Schiwon 9ed277dc1f
sanitize and test user id received from IdP, if original does not match
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-01-26 14:31:04 +01:00
Roeland Jago Douma f5304f6757
Make work with posts and cookies again
Requires https://github.com/nextcloud/server/pull/21479 to fully work.
Basically don't save this info in the session (which is lax by default
starting with NC19 but also soon with new chromes and firefox). We now
save it is a cookie that is set to None. This is the best we can do I
think.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-07-10 10:01:16 +02:00
Joas Schilling 005a2fc845
Update supported versions and CI
Signed-off-by: Joas Schilling <coding@schilljs.com>

Fix unit tests

Signed-off-by: Joas Schilling <coding@schilljs.com>

adjust CI config

- NC 15 is EOL
- integration tests need PHP 7.3

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>

add test pipeline for NC 18

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>

go for 18 only

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-01-16 10:56:43 +01:00
Arthur Schiwon 89da6ce72d
add unit tests
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-19 15:16:46 +02:00
Björn Schiessle 6734601db8
Merge pull request #188 from nextcloud/dav_saml
Add sabredav plugin to register environment auth for dav requests
2018-11-27 11:55:28 +01:00
Robin Appelman 847d2e0979 fix test
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-11-26 11:47:38 +01:00
Daniel Klaffenbach 624d1a23b9 Implement mapping of user's home directory
Signed-off-by: Daniel Klaffenbach <daniel.klaffenbach@hrz.tu-chemnitz.de>
2018-11-22 09:45:08 +01:00
Björn Schiessle 64ac2fa7b0
adjust unit tests
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-10-30 15:54:57 +01:00
Björn Schiessle ae999a9e41
fix test
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-10-09 18:51:09 +02:00
Björn Schiessle 418d54fa2d
update unit tests
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-09-25 16:47:01 +02:00
Björn Schiessle 2d62533eac
fix unit tests
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-08-03 12:43:20 +02:00
Roeland Jago Douma 82102c6f18
Merge pull request #196 from nextcloud/multiple-user-back-ends
Multiple user back ends
2018-03-19 14:01:07 +01:00
Björn Schiessle 8bc343da6f
make display name of SSO identity provider configurable
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-03-19 12:51:38 +01:00
Arthur Schiwon bed32b460f
try to lookup a user if the uid does not resolve and autoprov is disabled
it might well may be that the user exists but is not yet known to the
specific backend in Nextcloud and need to be mapped first.

This assumes that searching for the uid will actually find the user. This
is not necessarily given by the backend configuration.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-03-14 17:53:07 +01:00
Björn Schiessle 1eb3b565db
add tests
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-03-13 19:09:23 +01:00
Lukas Reschke 4f3ae3e6fd
Adjust tests
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-08-04 19:03:32 +02:00
Lukas Reschke 29c60c3869
Add better error handling
1. Enable `debug` mode if debug mode is enabled in config.php
2. Log errors to the log file

Also I fixed the unit tests that broke with https://github.com/nextcloud/user_saml/pull/81

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-02-03 12:30:10 +01:00
Lukas Reschke 9980a80100
Add integration tests
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-01-04 22:47:19 +01:00
Renamed from tests/Controller/SAMLControllerTest.php (Browse further)