Commit Graph

109 Commits

Author SHA1 Message Date
dependabot[bot] 7afb0b227c
Bump guzzlehttp/guzzle from 7.4.5 to 7.5.0 in /tests/integration
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 7.4.5 to 7.5.0.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/master/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/7.4.5...7.5.0)

---
updated-dependencies:
- dependency-name: guzzlehttp/guzzle
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-13 09:37:50 +00:00
dependabot[bot] 4ba1040503
Bump behat/behat from 3.10.0 to 3.11.0 in /tests/integration
Bumps [behat/behat](https://github.com/Behat/Behat) from 3.10.0 to 3.11.0.
- [Release notes](https://github.com/Behat/Behat/releases)
- [Changelog](https://github.com/Behat/Behat/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Behat/Behat/compare/v3.10.0...v3.11.0)

---
updated-dependencies:
- dependency-name: behat/behat
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-09 02:50:25 +00:00
dependabot[bot] b205231748
Bump guzzlehttp/guzzle from 7.4.4 to 7.4.5 in /tests/integration
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 7.4.4 to 7.4.5.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/master/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/7.4.4...7.4.5)

---
updated-dependencies:
- dependency-name: guzzlehttp/guzzle
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-21 20:59:52 +00:00
dependabot[bot] 5588999e25
Bump guzzlehttp/guzzle from 7.4.3 to 7.4.4 in /tests/integration
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 7.4.3 to 7.4.4.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/master/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/7.4.3...7.4.4)

---
updated-dependencies:
- dependency-name: guzzlehttp/guzzle
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-10 06:53:19 +00:00
dependabot[bot] 6e70109536
Bump guzzlehttp/guzzle from 7.4.2 to 7.4.3 in /tests/integration
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 7.4.2 to 7.4.3.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/master/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/7.4.2...7.4.3)

---
updated-dependencies:
- dependency-name: guzzlehttp/guzzle
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-25 22:30:35 +00:00
Arthur Schiwon 68f9c58314
adjust test
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-05-24 13:09:27 +02:00
dependabot[bot] 20b6e35ecf
Bump guzzlehttp/guzzle from 7.4.1 to 7.4.2 in /tests/integration
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 7.4.1 to 7.4.2.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/master/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/7.4.1...7.4.2)

---
updated-dependencies:
- dependency-name: guzzlehttp/guzzle
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 12:34:23 +00:00
Julius Härtl df218717c7 Cover UserChangedEvent in unit tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-04-11 10:14:20 +00:00
Valdnet f016e9c88f Fix test
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-04-08 16:59:45 +00:00
Joas Schilling dea8deab2a
Merge pull request #593 from nextcloud/update-master-phpunit-config
Update master php testing versions
2022-04-08 08:01:30 +02:00
blizzz 6b546d077d
Merge pull request #590 from nextcloud/dependabot/composer/tests/integration/guzzlehttp/psr7-2.2.1
Bump guzzlehttp/psr7 from 1.8.1 to 2.2.1 in /tests/integration
2022-04-08 00:00:49 +02:00
Arthur Schiwon 77b14b6c6f fix old settings present when switching providers
- wrongly used way to set value attribute

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-04-07 20:29:04 +00:00
John Molakvoæ 24a632588c Add regex routes requirement to providerId
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-07 20:29:03 +00:00
Arthur Schiwon 7bdad55dc9 add occ commands for config manipulation
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-04-07 20:29:03 +00:00
Arthur Schiwon be6a8e97fe Move SAML configurations to a table of their own
- adds user_saml_configurations table and migrates existing configuration
- Controller methods are added since appconfig endpoints cannot be used
  anymore. THIS IS A BREAKING CHANGE.
- Frontend code is adjusted to use new endpoints.
- security-sloWebServerDecode was changed from global to provider specific
  setting. It being global seemed to be unintended. A migration path is yet
  missing.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-04-07 20:29:03 +00:00
dependabot[bot] 6ccaebe2d5
Bump guzzlehttp/psr7 from 1.8.1 to 2.2.1 in /tests/integration
Bumps [guzzlehttp/psr7](https://github.com/guzzle/psr7) from 1.8.1 to 2.2.1.
- [Release notes](https://github.com/guzzle/psr7/releases)
- [Changelog](https://github.com/guzzle/psr7/blob/master/CHANGELOG.md)
- [Commits](https://github.com/guzzle/psr7/compare/1.8.1...2.2.1)

---
updated-dependencies:
- dependency-name: guzzlehttp/psr7
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-07 20:26:14 +00:00
Arthur Schiwon 8e91cf211f
psr/container >= 1.1 breaks Symfony on PHP 7.3
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-04-07 17:00:48 +02:00
Arthur Schiwon 98c817613f
add missing integration test vendor files
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-04-07 17:00:47 +02:00
Arthur Schiwon 3435d5093a
update behat and deps
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-04-07 17:00:47 +02:00
Joas Schilling e4b3f3aef4
Update master php testing versions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-07 12:07:05 +02:00
John Molakvoæ 4510f70ff7
cs:fix
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-12-10 09:28:16 +01:00
blizzz d0e2667e20
Merge pull request #554 from nextcloud/bugfix/noid/autoprovision-decoded
Use effective uid for autoprovisioning new users
2021-10-27 23:24:11 +02:00
Julius Härtl fe2c286a3b
Fix tests after merge of multiple email addresses on server
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-10-27 14:58:44 +02:00
Julius Härtl 7930503cc3
Adapt user data mocks
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-10-21 13:13:01 +02:00
Arthur Schiwon 098a96ded5
fix deprecated usage of phpunit annotations
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-30 12:27:58 +02:00
Lukas Reschke ba7326b4ce Add new checkbox to AdminTest
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-05-04 17:36:32 +02:00
dependabot-preview[bot] d1579bcaad
Bump guzzlehttp/guzzle from 7.0.1 to 7.3.0 in /tests/integration
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 7.0.1 to 7.3.0.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/master/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/7.0.1...7.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-27 02:13:18 +00:00
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
Arthur Schiwon 9672ed6ca5
make testEncodedObjectGUID more robust against false positives
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-01-20 17:05:17 +01:00
dependabot-preview[bot] 08dc406a13
Bump behat/behat from 3.8.0 to 3.8.1 in /tests/integration
Bumps [behat/behat](https://github.com/Behat/Behat) from 3.8.0 to 3.8.1.
- [Release notes](https://github.com/Behat/Behat/releases)
- [Changelog](https://github.com/Behat/Behat/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Behat/Behat/compare/v3.8.0...v3.8.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-14 02:13:10 +00:00
dependabot-preview[bot] 50a53b1b78
Bump behat/behat from 3.7.0 to 3.8.0 in /tests/integration
Bumps [behat/behat](https://github.com/Behat/Behat) from 3.7.0 to 3.8.0.
- [Release notes](https://github.com/Behat/Behat/releases)
- [Changelog](https://github.com/Behat/Behat/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Behat/Behat/compare/v3.7.0...v3.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-07 02:40:56 +00:00
Arthur Schiwon 31bc57a4e9
redirects to homepage instead showing error on blank page
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-11-02 17:05:18 +01:00
Arthur Schiwon ebd86d974e
adjust default redirect target to 20's
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-09-07 23:34:18 +02:00
dependabot-preview[bot] 3697ef108a
Bump guzzlehttp/guzzle from 6.5.5 to 7.0.1 in /tests/integration
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 6.5.5 to 7.0.1.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/master/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/6.5.5...7.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-04 10:43:07 +00: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 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
dependabot-preview[bot] feedd41158
Merge pull request #429 from nextcloud/dependabot/composer/tests/integration/behat/behat-3.7.0 2020-06-22 11:16:38 +00:00
dependabot-preview[bot] 659b3cc96d
Bump guzzlehttp/guzzle from 6.5.4 to 6.5.5 in /tests/integration
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 6.5.4 to 6.5.5.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/6.5.5/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/6.5.4...6.5.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-21 01:19:08 +00:00
dependabot-preview[bot] 393ee1fe26
Bump behat/behat from 3.6.1 to 3.7.0 in /tests/integration
Bumps [behat/behat](https://github.com/Behat/Behat) from 3.6.1 to 3.7.0.
- [Release notes](https://github.com/Behat/Behat/releases)
- [Changelog](https://github.com/Behat/Behat/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Behat/Behat/compare/v3.6.1...v3.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-08 11:48:58 +00:00
dependabot-preview[bot] 41f95fd92a
Bump guzzlehttp/guzzle from 6.5.3 to 6.5.4 in /tests/integration
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/6.5.4/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/6.5.3...6.5.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-31 01:23:09 +00:00
dependabot-preview[bot] 6c46e1789f
Bump guzzlehttp/guzzle from 6.5.2 to 6.5.3 in /tests/integration
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/6.5.3/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/6.5.2...6.5.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-19 01:21:27 +00:00
Julius Härtl e75809a5f7
Add setting to specify a different signature algorithm
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-02-13 16:01:03 +01:00
dependabot-preview[bot] a8e02d00eb
Bump behat/behat from 3.5.0 to 3.6.1 in /tests/integration
Bumps [behat/behat](https://github.com/Behat/Behat) from 3.5.0 to 3.6.1.
- [Release notes](https://github.com/Behat/Behat/releases)
- [Changelog](https://github.com/Behat/Behat/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Behat/Behat/compare/v3.5.0...v3.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-10 13:03:18 +00:00
dependabot-preview[bot] 95744f1dee
Bump guzzlehttp/guzzle from 6.4.1 to 6.5.2 in /tests/integration
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 6.4.1 to 6.5.2.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/master/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/6.4.1...6.5.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-16 10:30:09 +00: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
dependabot-preview[bot] 3fbf9d32c5
Bump guzzlehttp/guzzle from 6.3.3 to 6.4.1 in /tests/integration
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 6.3.3 to 6.4.1.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/master/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/6.3.3...6.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-21 23:04:34 +00:00
dependabot-preview[bot] 535e00dc85
Bump behat/behat from 3.3.0 to 3.5.0 in /tests/integration
Bumps [behat/behat](https://github.com/Behat/Behat) from 3.3.0 to 3.5.0.
- [Release notes](https://github.com/Behat/Behat/releases)
- [Changelog](https://github.com/Behat/Behat/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Behat/Behat/compare/v3.3.0...v3.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-18 17:52:34 +00:00
Arthur Schiwon 89da6ce72d
add unit tests
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-19 15:16:46 +02:00