Commit Graph

1215 Commits

Author SHA1 Message Date
blizzz 312f67cee0
Merge pull request #524 from nextcloud/dependabot/add-v2-config-file
Upgrade to GitHub-native Dependabot
2022-04-11 14:33:58 +02:00
Arthur Schiwon b0619ffe1a
use default allow rules
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-04-11 13:00:27 +02:00
Arthur Schiwon e11f9b1f38
add composer in root
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-04-11 12:56:29 +02:00
Arthur Schiwon bd6b4f5b21 we do not want to ignore dep updates
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-04-11 10:45:41 +00:00
dependabot-preview[bot] 2765e4fba8 Upgrade to GitHub-native Dependabot 2022-04-11 10:45:41 +00:00
blizzz 3884edd12e
Merge pull request #586 from nextcloud/add-readme
Create Readme
2022-04-11 12:32:42 +02:00
blizzz 3f1c676345
Merge pull request #571 from nextcloud/import-jstimezonedetect
Import jstz.min.js from jstimezonedetect 1.0.7
2022-04-11 12:25:39 +02:00
blizzz 8cc470e182
Merge pull request #588 from nextcloud/bugfix/noid/relaystate
Set proper relaystate url
2022-04-11 12:24:45 +02:00
Daniel Calviño Sánchez 7e2bcefac5 Import jstz.min.js from jstimezonedetect 1.0.7
In Nextcloud 22 jstimezonedetect was removed from the server bundle
(https://github.com/nextcloud/server/pull/25850), so now each app that
uses it needs to ship its own copy. For simplicity, as the app does not
currently use webpack or NPM, the minified file was just added to
"js/vendor".

"jstz.min.js" was copied from
ddc9e04034/dist/jstz.min.js
(which is the same as the one included in
https://registry.npmjs.org/jstimezonedetect/-/jstimezonedetect-1.0.7.tgz).

jstimezonedetect is licenced under the MIT licence.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-04-11 10:20:50 +00:00
blizzz 18fa8a11f2
Merge pull request #582 from nextcloud/event_dispatcher
change displayName with IEventDispatcher + fixed tests
2022-04-11 12:17:42 +02: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
Sebastian Biller b08656ef6c displayname switch to eventdispatcher
Signed-off-by: Sebastian Biller <s.biller@tu-braunschweig.de>
2022-04-11 10:14:20 +00:00
Nextcloud bot ad6e688a31
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-11 03:28:49 +00:00
Nextcloud bot 1fa3cd0dd6
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-10 03:37:16 +00:00
Nextcloud bot ac02811b6a
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-09 03:28:43 +00:00
blizzz ccef31ec81
Merge pull request #591 from nextcloud/Valdnet-patch-1
l10n: Change place of dot
2022-04-08 20:20:04 +02:00
Valdnet f016e9c88f Fix test
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-04-08 16:59:45 +00:00
Valdnet 02e8d0375e l10n: Change place of dot
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
Julius Härtl b91b85f417
Set proper relaystate url
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-04-08 07:45:59 +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
Vincent Petry d47892d0b3
Merge pull request #558 from nextcloud/enh/noid/settings-table
Move SAML configurations to a table of their own
2022-04-07 23:16:55 +02:00
Arthur Schiwon e514fed6b2 do not sort sorted provider ids
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-04-07 20:29:04 +00: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
Arthur Schiwon 97c0594ab0 code style
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-04-07 20:29:04 +00:00
Arthur Schiwon 4c97efc51b fix reading and updated name-id-format selection
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-04-07 20:29:04 +00:00
Arthur Schiwon ee8845252a also migrate sp-x509cert, sp-name-id-format, sp-privateKey
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-04-07 20:29:04 +00:00
Arthur Schiwon 6548abb0f9 makes sloWebServerDecode IdP-sensitive as it should be
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-04-07 20:29:04 +00:00
Arthur Schiwon 7f0986c387 fix settings of first provider are not present on initial load
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-04-07 20:29:04 +00:00
Arthur Schiwon 0000691857 do not evaluate SAML cfg every time app is loaded
- it tests only the first configuration, others were not taken into
  account
- the configuration check is also only needed when SAML auth is actually
  happening

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-04-07 20:29:03 +00:00
Carl Schwan c51048b566 Minor fixes
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-07 20:29:03 +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 66759ce3eb add info to changelog
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
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
blizzz 2d56627076
Merge pull request #583 from nextcloud/enh/noid/inttests80
use PHP 8.0 image for master integration tests
2022-04-07 22:25:31 +02:00
Arthur Schiwon 3ecd49e459
wait for services on older images, too
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-04-07 17:00:48 +02: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 9d28b8db4e
attempt to make start jetty reliably
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
Arthur Schiwon 8f212c50e0
use PHP 8.0 image for master integration tests
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
Nextcloud bot 68fc1fd228
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-06 03:30:10 +00:00
Nextcloud bot 303a4e9ffe
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-05 03:32:00 +00:00
blizzz 88358744ad
Merge pull request #592 from nextcloud/update-master-php-testing-versions
Update master php testing versions
2022-04-04 19:16:36 +02:00
Arthur Schiwon 2d837d9f86
bump setup to v2
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-04-04 11:58:14 +02:00
Joas Schilling 15be0c93fe
Update master php testing versions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-04 10:04:21 +02:00
Nextcloud bot 8760f8472c
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-01 03:30:09 +00:00