Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 10.0.0-alpha.4 -- update to SimpleSAMLphp 2.2.2, now functional in IdP mode #243

Merged
merged 113 commits into from
Jul 8, 2024

Conversation

briskt
Copy link
Contributor

@briskt briskt commented Jul 1, 2024

Changed (breaking)

  • Updated SimpleSAMLphp to 2.2.2 along with all required dependencies
  • Rename all lib directories to src
  • Rename all www directories to public
  • Added PHP type-hinting in module code
  • Updated dockerbuild/config/config.php using the latest SimpleSAMLphp example file (config/config.php.dist).
  • Use the config.php file in the ssp-base image for local development and for automated tests, lightly modified.
  • Changed NameIDPolicy because it must now be an array. Reference IDP-1115
  • The SimpleSAML\Utils classes now require instantiation to call member functions because the methods are no longer static. IDP-1103
  • Converted material module templates to use Twig IDP-898
  • (Temporary) Disabled sildisco IdP discovery and reverted to standard SimpleSAMLphp IdP discovery.

Changed

  • Reformatted PHP code to PSR-12 standard

Added

  • Create a cache directory in the Docker image (required by SimpleSAMLphp 2).

Removed

  • Removed Vagrantfile
  • Removed core:StatisticsWithAttribute authproc as it was moved to another module that is not enabled by default.

Reference

https://itse.youtrack.cloud/issue/IDP-869
https://itse.youtrack.cloud/issue/IDP-900

briskt added 30 commits June 14, 2024 14:10
(replaced by yidas/yii2-composer-bower-skip)
updated SimpleSAMLphp to 2.2 along with required dependencies
add correct types for classes inherited from SimpleSAMLphp
Since the `admin.protectindexpage` (`ADMIN_PROTECT_INDEX_PAGE`) is no longer supported in SSP 2, it may be easiest to just leave the test SPs on version 1.19. This is fine because we don't use ssp-base in non-Hub SP implementations.
update config.php using the SSP 2.2 config.php.dist
SimpleSAML Utils now requires instantiation
Copy link

sonarqubecloud bot commented Jul 2, 2024

Copy link
Contributor

@hobbitronics hobbitronics left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a lot of work, good job.

@briskt briskt merged commit 8915092 into main Jul 8, 2024
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants