Commit Graph

12 Commits (b976dbeae34cfe566317bdfb36db021fd12c124d)

Author SHA1 Message Date
Abel Hoogeveen b976dbeae3
Implemented HTTP->HTTPS redirect and fixed a bug with Output where a 500 is raised when no output is created. 2019-12-20 11:11:22 +01:00
Abel Hoogeveen 1180445dcc
Changed output cache to include GET parameters as cache key.
This allows more dynamic pages to cache pages based on the exact request.
2019-11-16 11:41:44 +01:00
Abel Hoogeveen 74cb630d80
Fixed bug causing a header warning.
By default, FuzeWorks\Layout doesn't redirect it's display output to FuzeWorks\Output. If this is desired behaviour the layoutDisplayEvent needs to be interrupted. This eventListener was not implemented, resulting in FuzeWorks\Layout::display output not being redirected.

This patch fixes that.
2019-11-06 00:19:33 +01:00
Abel Hoogeveen 35df988200
Release 1.2.0-RC5 2019-09-18 00:21:03 +02:00
Abel Hoogeveen a04293d8b4
Fixed bug resulting in exception on every request. 2019-09-17 22:13:56 +02:00
Abel Hoogeveen 7c77c339cf Implemented Resources.
Resources are static files which have to be served by FuzeWorks. The developer can register a directory in which static files can be found, which shall be loaded if the folder is requested.
This system should be avoided for high-performance applications. It is recommended to make special configurations in the web server in those kinds of cases.
2019-07-22 19:53:18 +02:00
Abel Hoogeveen 612ab3abca Implemented the RouteWebRequestEvent and sessions.
- Developers can now use the RouteWebRequestEvent to cancel the loading of web requests
- FuzeWorks\Input now starts the PHP session, which is required for some dependencies
2019-07-22 11:48:45 +02:00
Abel Hoogeveen 208d2783c7
Release 1.2.0-RC3 2019-03-05 11:23:52 +01:00
Abel Hoogeveen 416d3895d0
Implemented changes requested by FuzeWorks\Application
- CSRF Verification is now functional again
- CSRF throws CSRFException
- XSS clean can now be disabled in the config globally. Once disabled, this can't be overridden
- X-Powered-By header is now always suppressed
- WebComponent now assigns global variables to the LayoutEngine.
- CSRF Exceptions can be handled by a view, if this one implements the securityExceptionHandler() method
- Error403 page added
2019-03-01 11:25:18 +01:00
Abel Hoogeveen fb733077ee
Updated minor changes. Creates version 1.2.0-RC1 2019-02-15 19:30:11 +01:00
Abel Hoogeveen eda14348b0
Implemented all basic features of WebComponent. Not release ready 2019-02-09 20:22:49 +01:00
Abel Hoogeveen e276a7ca29
Initial commit 2019-02-04 00:10:18 +01:00