Commit graph

116 commits

Author SHA1 Message Date
Joas Schilling 508dd752f2
Update version on master
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-03 09:55:25 +01:00
Roeland Jago Douma 58f717f91d
Bump doctrine types for 21 support
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-01-12 20:41:40 +01:00
Roeland Jago Douma 425ef9c6c6
Bump version
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-01-12 13:20:43 +01:00
Christoph Wurst ababd7baa4
Migrate update.php to migration steps
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-30 08:14:58 +01:00
Roeland Jago Douma aa30b13666
v3.3.1
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-10-07 08:56:59 +02:00
Roeland Jago Douma 5c87778134
Fix login flow with SAML
Because of the strict samesite cookies SAML fails with the login flow.
Because the post that comes back is not transfering the proper cookies
to use the same session. Hence the token in use gets lost etc.

Now we store this all (encrypted) in a cookie. So that when we come back
we can restore the proper session.

FAQ:

* Is it elegant?
  Nope!
* Does it work?
  Yes!

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-10-05 15:16:38 +02:00
Arthur Schiwon a662780251
bump version and requirements
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-09-07 23:30:52 +02:00
Arthur Schiwon 7c8d94bfc7
bump version to 3.2.0 and drop 18 support
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-09-07 15:26:25 +02:00
blizzz 5ac1903982
Merge pull request #438 from Worteks/command-saml-metadata
Add occ command to dump metadata for a given provider
2020-09-04 12:40:44 +02:00
Maxime Besson 8c4f9da56d Add occ command to dump metadata for a given provider
Signed-off-by: Maxime Besson <maxime.besson@worteks.com>
2020-08-18 18:41:54 +02:00
Roeland Jago Douma 2e8f668830
Ignore the oauth token path in login with the environment variables
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-07-24 15:07:04 +02:00
Roeland Jago Douma 0c494e82cf
Bump version
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-07-10 10:19:21 +02:00
Joas Schilling 5f49b6c004
Move to migrations
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-30 21:36:14 +02:00
Joas Schilling a20be42cca
Update version on master
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-05-07 10:05:58 +02:00
Julius Härtl 943acf88a2
Setup Application class using query()
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-04 14:46:58 +01:00
Arthur Schiwon b0c36317d7
bump version to 3.0.1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-02-14 14:40:10 +01:00
Roeland Jago Douma 026b60b2ba
Make 19 compatible
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-01-28 19:55:11 +01: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
Sascha Wiswedel 7d1cc5f64f
added link to portal documentation
Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
2019-10-10 14:09:47 +02:00
Arthur Schiwon ed79b2cbe0
drop support for 14 (EOL)
includes version bump

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-19 16:18:17 +02:00
Arthur Schiwon 7ef2506481
bump server compat
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-19 15:26:47 +02:00
Roeland Jago Douma 15a262cb24
Update to 2.4.0
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-09-06 11:35:52 +02:00
blizzz 42b09e96f0
Merge pull request #301 from nextcloud/fix/desktop_login_flow
If the login flow is used (by default) we should not redirect desktopclients
2019-08-02 11:04:41 +02:00
Julius Härtl 900e1d99d9
Catch exceptions happening during service setup to avoid auto-disabling the app
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-07-04 11:23:34 +02:00
Frieder Schrempf 413c7a9239
Handle SLO logout requests from IdP via POST
Some IdPs send their SLO logout requests via POST. To handle
them we need to add an entry in the routing table.
Further, we need to hack around the issue, that php-saml only
handles GET by copying the request from $_POST to $_GET.

This solves #82.

Signed-off-by: Frieder Schrempf <frieder.schrempf@online.de>
2019-06-17 18:56:55 +02:00
Roeland Jago Douma 8d50db10ff
Bump to 2.3.1
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-05-29 09:54:56 +02:00
Roeland Jago Douma 714c7942d3
Bump to 2.3.0
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-05-29 08:44:45 +02:00
Roeland Jago Douma 1365bf820d
Load a timezone file if no timezone is set
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-05-27 08:39:22 +02:00
Roeland Jago Douma ed8f7502e4
Honour login flow used by 2.5 clients
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-05-09 11:23:03 +02:00
Morris Jobke ea7e93ec0f
Merge pull request #331 from nextcloud/bugfix/283
Catch exception during parameter fetching
2019-05-06 16:06:25 +02:00
Julius Härtl 4856025863
Catch exception during parameter fetching
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-05-02 14:35:36 +02:00
Joas Schilling b998a59227
Update version on master
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-04-11 14:44:51 +02:00
Björn Schiessle a8123425c4
prepare version 2.1.1 2019-02-01 08:28:34 +01:00
Björn Schiessle 0b4787b565
Merge pull request #276 from nextcloud/update-master-version
Update version on master
2018-11-27 11:56:22 +01: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
Björn Schiessle 56b5cdba70
min version is still 14
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-11-23 17:30:02 +01:00
Björn Schiessle 80deb4889d
documentation moved to the portal
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-11-23 17:30:01 +01:00
Joas Schilling db33af0813
Update version on master
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-11-23 17:30:01 +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 886e435523
Merge pull request #218 from aminet/master
Setting uid as primary key for the table user_saml_users
2018-11-21 22:54:30 +01:00
Robin Appelman 57c0a4d474 allow anonymous options request
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-11-20 15:12:51 +01:00
Robin Appelman a7f0e35225 Add sabredav plugin to register environment auth for dav requests
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-11-20 15:12:51 +01:00
Björn Schiessle e653762bb2
only call handleApacheAuth() if we login via environment variables
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-10-29 23:05:34 +01:00
Björn Schiessle 7c526955bd
raise version number
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-10-09 22:09:02 +02:00
Björn Schiessle 5d4b632635
we no longer require mcrypt
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-10-09 22:09:02 +02:00
Björn Schiessle 6d02ab0717
set base url to 'http://domain/nextcloud/index.php/apps/user_saml/saml'
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-10-09 22:08:33 +02:00
Björn Schiessle 425173365e
adjust Nextcloud app to php-saml 3.0
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-10-09 22:08:33 +02:00
Björn Schiessle b80b94e408
we need to store some basic user information, even in the global scale scenario
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-10-09 16:57:03 +02:00
Björn Schiessle 53fe18a99f
allow redirect to the logout if it comes from the same server
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-09-25 15:56:36 +02:00
Björn Schiessle 4cbd3e0fe6
format user data before sending it to the client node
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-09-25 15:51:22 +02:00