-
Notifications
You must be signed in to change notification settings - Fork 2
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
Symfony 5 upgrade #565
Symfony 5 upgrade #565
Conversation
42b6639
to
84023f9
Compare
3a2b53f
to
859978a
Compare
84023f9
to
53845dc
Compare
53845dc
to
a152117
Compare
5abd989
to
03f7d96
Compare
a4adf2c
to
9c7ab01
Compare
8f62fc1
to
4e01151
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What an effort! Hats off to you @Shaky212
See some feedback that you might need to do something with, but at the other hand. Might also want to fix in a successive PR. You be the judge.
For now, we should first get a 4.4 release before merging this to develop
.
4d5a356
to
63891df
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I only reviewed the newly added commits and found some merge issues in the composer.json
.
composer.json
Outdated
"assets:install %PUBLIC_DIR%": "symfony-cmd" | ||
}, | ||
"symfony-scripts": [ | ||
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This Symfony script will not work anymore as we removed the parameters handler dependency.
composer.json
Outdated
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache", | ||
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets", | ||
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same for the DistributionBundle scripts. Output of composer install
Class Incenteev\ParameterHandler\ScriptHandler is not autoloadable, can not call symfony-scripts script
Class Sensio\Bundle\DistributionBundle\Composer\ScriptHandler is not autoloadable, can not call symfony-scripts script
Class Sensio\Bundle\DistributionBundle\Composer\ScriptHandler is not autoloadable, can not call symfony-scripts script
Class Sensio\Bundle\DistributionBundle\Composer\ScriptHandler is not autoloadable, can not call symfony-scripts script
composer.json
Outdated
"symfony-app-dir": "app", | ||
"symfony-bin-dir": "bin", | ||
"symfony-var-dir": "var", | ||
"symfony-web-dir": "web", | ||
"symfony-tests-dir": "tests", | ||
"symfony-assets-install": "relative", | ||
"branch-alias": null |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is SF3 stuff..
Upgrade Symfony 4 Upgrade Symfony 4
Different situations are covered when creating and changing entities. These include creating an entity, whether or not based on a copy, or editing an existing entity. In addition, the environment is decisive: test, production or otherwise In case of a new (copy) entity, a connection request must also be submitted. These situations and error handling are now a bit more streamlined.
The SAML bundle is now capable of running and evaluating SAML authentication requests (and SAML responses). This commit removes the old logic that was hard coded into the SP Dashboard, and integrates the new authentication system from the Stepup saml bundle.
The previous lifetime guard solution was dropped in favor of using the SF built in session lifetime features.
This is now (as of SF5) managed using .env vars that determine the env + debug mode from the .env vars.
Some of the code using the code needed some changes as some of the methods where changed slightly
9975792
to
c0acecd
Compare
79deccc
to
e799cda
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What a pickle, thanks for persevering on this one!
A mighty PR where multiple disciplines entailing the Symfony upgrade come together.
Among them:
#562 Upgrade to Symfony 4 (in preparation to this SF5 upgrade)
#571 Move to Github actions for test integrations
At first these tasks where created separate. But to keep things more tight, I chose to merge/rebase them into this branch.