-
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
Serve static files #346
base: master
Are you sure you want to change the base?
Serve static files #346
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 -
Configuration menu - View commit details
-
Copy full SHA for 9cfc9eb - Browse repository at this point
Copy the full SHA 9cfc9ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2aecc32 - Browse repository at this point
Copy the full SHA 2aecc32View commit details -
Configuration menu - View commit details
-
Copy full SHA for 690e7e3 - Browse repository at this point
Copy the full SHA 690e7e3View commit details -
#345 - Implement specialised file route
A file route is absolute if the path of the route is a fully qualified file path
Configuration menu - View commit details
-
Copy full SHA for 8b0d487 - Browse repository at this point
Copy the full SHA 8b0d487View commit details -
#345 - Add support for force downloading files
Add support for the 'force-download' query parameter. If specified the file will be downloaded instead of allowing the browser to preview the file if it can do so. For example: 'files/[:name]' => '/files/documents/[:name].pdf?force-download'
Configuration menu - View commit details
-
Copy full SHA for 10514ab - Browse repository at this point
Copy the full SHA 10514abView commit details
Commits on May 17, 2020
-
#345 - Add a transport query parameter
The `transport`query parameter allows to define which transport. At the moment two additional transports are supported: `stream` and `sendfile
Configuration menu - View commit details
-
Copy full SHA for e64cdfd - Browse repository at this point
Copy the full SHA e64cdfdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e6d33e - Browse repository at this point
Copy the full SHA 7e6d33eView commit details
Commits on May 18, 2020
-
#345 - Rename downloader to filedownloader and add support for
cache query parameter The cache query parameter allows to define the max-age in seconds.
Configuration menu - View commit details
-
Copy full SHA for 9fbf354 - Browse repository at this point
Copy the full SHA 9fbf354View commit details -
Configuration menu - View commit details
-
Copy full SHA for 471b82a - Browse repository at this point
Copy the full SHA 471b82aView commit details