-
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
Migrate to ZendFramework to Symfony #66
Draft
adamfranco
wants to merge
174
commits into
master
Choose a base branch
from
symfony-47
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Generated with composer create-project symfony/skeleton:"6.4.*" catalog-symfony then manually merged into the application directory.
For now we can skip any reorganization, addition of namespaces, and other refactoring of the main data model while getting controllers and views ported over to Symfony.
The use of '/' as a separator in subcomponents turned out to be a bad idea because these slashes need to be escaped as %2F, but these escaped slashes can interfere with some webserver configuration. For example Apache redirects require the NE "No Escape" option to preserve %2F slashes without double-escaping: # Redirect all traffic to https # # We're using mod_rewrite here rather than mod_alias's `Redirect` # because mod_alias doesn't allow the "NE" == "noescape" parameter # that allows URLs includinging encoded slashes (%2F) to be returned # without double-escaping. RewriteRule .* https://<%= node["app_domain"] %>$0 [L,R=301,NE] Similarly, Symfony refuses to allow slashes in parameters passed as tokens in routes. To address this problematic choice, use '.' as a separator of sub-components in identifiers. Periods don't require special escaping in URLs or database queries, though they do in regular expressions.
Other actions are still a work in progress.
This uses an encoded JSON array to pass from shell, to YAML.
In the old version of the catalog we had a list of adminstrator ids in a configuration file to provide access to management features. Instead, shift that assignment off to Azure AD to make it easier to review and modify via the AzureAD admin tools.
…oads. Much more to do still.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #47.