-
Notifications
You must be signed in to change notification settings - Fork 9
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
Url rewrites #373
base: master
Are you sure you want to change the base?
Url rewrites #373
Commits on May 15, 2020
-
#343 - Move redirect handling to new redirector event subscriber
This allows pages to be to redirect any url, anywhere, even when not in a page context.
Configuration menu - View commit details
-
Copy full SHA for 3a07312 - Browse repository at this point
Copy the full SHA 3a07312View commit details -
Configuration menu - View commit details
-
Copy full SHA for b7548b8 - Browse repository at this point
Copy the full SHA b7548b8View commit details -
#343 - Add a new 'routers' config option to allow to register routers
identifiers by a custom scheme and rename 'pages' scheme to 'page'
Configuration menu - View commit details
-
Copy full SHA for 93a1074 - Browse repository at this point
Copy the full SHA 93a1074View commit details -
#343 - Add support for callback route targets
The callback is defined is as follows: 'function($route, $generate = false)' - $route: a ComPagesDispatcherRouteRouteInterface object - $generate: are we generating a url or resolving (default false) Callbacks are both supported for static and dynamic routes, in case of a dynamic route the callback is called only if the route could be succesfully resolved.
Configuration menu - View commit details
-
Copy full SHA for 13e4f5f - Browse repository at this point
Copy the full SHA 13e4f5fView commit details
Commits on May 16, 2020
-
#343 - Implement separate named callbacks for 'resolve' and 'generate'
Example: '/path/to/page' => [ 'generate' => function($route) { return true; }, 'resolve' => function($route) { return true; } ],
Configuration menu - View commit details
-
Copy full SHA for e637b59 - Browse repository at this point
Copy the full SHA e637b59View commit details
Commits on May 18, 2020
-
#347 - Add support for route target cache parameter and use dispatche…
…r redirect method
Configuration menu - View commit details
-
Copy full SHA for 0848293 - Browse repository at this point
Copy the full SHA 0848293View commit details
Commits on Jun 17, 2020
-
#372 - Route segment filtering
- Add 'slug' expression constraint - If the target contains a contraint the target segment will be filtered acoordingly
Configuration menu - View commit details
-
Copy full SHA for 3598b6e - Browse repository at this point
Copy the full SHA 3598b6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f873bcf - Browse repository at this point
Copy the full SHA f873bcfView commit details -
Configuration menu - View commit details
-
Copy full SHA for ccffcc6 - Browse repository at this point
Copy the full SHA ccffcc6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ecb898 - Browse repository at this point
Copy the full SHA 4ecb898View commit details -
Configuration menu - View commit details
-
Copy full SHA for 50a41c6 - Browse repository at this point
Copy the full SHA 50a41c6View commit details
Commits on Jun 18, 2020
-
- Add 'id' type - Do not use a match group for 'slug' type
Configuration menu - View commit details
-
Copy full SHA for 01b7f8d - Browse repository at this point
Copy the full SHA 01b7f8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c79c0e5 - Browse repository at this point
Copy the full SHA c79c0e5View commit details -
Merge branch 'master' into feature/372-rewrite
# Conflicts: # code/site/components/com_pages/dispatcher/http.php # code/site/components/com_pages/resources/config/site.php
Configuration menu - View commit details
-
Copy full SHA for 1da63a1 - Browse repository at this point
Copy the full SHA 1da63a1View commit details
Commits on Jun 19, 2020
-
Configuration menu - View commit details
-
Copy full SHA for f1fab39 - Browse repository at this point
Copy the full SHA f1fab39View commit details
Commits on Jun 20, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 63d55e8 - Browse repository at this point
Copy the full SHA 63d55e8View commit details