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

Url rewrites #373

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open

Url rewrites #373

wants to merge 16 commits into from

Commits on May 15, 2020

  1. #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.
    johanjanssens committed May 15, 2020
    Configuration menu
    Copy the full SHA
    3a07312 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b7548b8 View commit details
    Browse the repository at this point in the history
  3. #343 - Add a new 'routers' config option to allow to register routers

    identifiers by a custom scheme and rename 'pages' scheme to 'page'
    johanjanssens committed May 15, 2020
    Configuration menu
    Copy the full SHA
    93a1074 View commit details
    Browse the repository at this point in the history
  4. #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.
    johanjanssens committed May 15, 2020
    Configuration menu
    Copy the full SHA
    13e4f5f View commit details
    Browse the repository at this point in the history

Commits on May 16, 2020

  1. #343 - Implement separate named callbacks for 'resolve' and 'generate'

    Example:
    
    '/path/to/page' => [
    	'generate' => function($route)
    	{
    		return true;
    	},
    	'resolve' => function($route)
    	{
    		return true;
    	}
    ],
    johanjanssens committed May 16, 2020
    Configuration menu
    Copy the full SHA
    e637b59 View commit details
    Browse the repository at this point in the history

Commits on May 18, 2020

  1. Configuration menu
    Copy the full SHA
    0848293 View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2020

  1. #372 - Route segment filtering

    - Add 'slug' expression constraint
    - If the target contains a contraint the target segment will be filtered acoordingly
    johanjanssens committed Jun 17, 2020
    Configuration menu
    Copy the full SHA
    3598b6e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f873bcf View commit details
    Browse the repository at this point in the history
  3. #372 - Add url router

    johanjanssens committed Jun 17, 2020
    Configuration menu
    Copy the full SHA
    ccffcc6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4ecb898 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    50a41c6 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2020

  1. #372 - Regex improvements

    - Add 'id' type
    - Do not use a match group for 'slug' type
    johanjanssens committed Jun 18, 2020
    Configuration menu
    Copy the full SHA
    01b7f8d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c79c0e5 View commit details
    Browse the repository at this point in the history
  3. 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
    johanjanssens committed Jun 18, 2020
    Configuration menu
    Copy the full SHA
    1da63a1 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2020

  1. Configuration menu
    Copy the full SHA
    f1fab39 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2020

  1. Configuration menu
    Copy the full SHA
    63d55e8 View commit details
    Browse the repository at this point in the history