Commit Graph

28 Commits (master)
 

Author SHA1 Message Date
Abel Hoogeveen 58e885e35f Added the setLocation() method for Output.
Useful for redirecting the user to a different page and automatically setting the correct status header.
2 months ago
Abel Hoogeveen d6863d3f51 Merge pull request 'Fixed bug #3 which caused xss_clean() to fail when calling input variables from arrays.' (#5) from fix/3 into master
Reviewed-on: #5
4 months ago
Abel Hoogeveen 22e3ec2fd0 Fixed bug #3 which caused xss_clean() to fail when calling input variables from arrays.
Closes #3.
4 months ago
Abel Hoogeveen d66c244931
Merge branch 'master' of ssh://gitea.i15.nl:7070/FuzeWorks/WebComponent 1 year ago
Abel Hoogeveen 0e2eb5ef72
`config.web.php` already provides a prefix, so `config.security` should not provide one.
Can be merged later whenever necessary.

Also verifies if the protection is enabled or not.
1 year ago
Abel Hoogeveen 3c7011eddb
`config.web.php` already provides a prefix, so `config.security` should not provide one.
Can be merged later whenever necessary.
1 year ago
Abel Hoogeveen cd331dc39d
Stop lowering cache permissions.
- Temporary solution until ObjectStorage is implemented here.
1 year ago
Abel Hoogeveen 444f614c48
Updated compatibility of WebComponent.
- Now uses latest libraries of FuzeWorks.
1 year ago
Abel Hoogeveen af25072b24
Upgraded dependencies and upped the LICENSE. 2 years ago
Abel Hoogeveen d7b2c40c57
Fixed Resources being unable to serve static files when using more complicated URI's. 3 years ago
Abel Hoogeveen e3485fa256 Separated events into methods so they can be properly logged by Core. 3 years ago
Abel Hoogeveen c09d1a35d5 Fixed CSRF-null bug
A bug caused FuzeWorks instances to crash when CSRF protection was disabled.

This was fixed by allowing the method to return null as well.
3 years ago
Abel Hoogeveen b976dbeae3
Implemented HTTP->HTTPS redirect and fixed a bug with Output where a 500 is raised when no output is created. 3 years ago
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.
3 years ago
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.
3 years ago
Abel Hoogeveen 0ba98f8130 Merge branch 'development' into 'master'
Release 1.2.0

See merge request fuzeworks/webcomponent!2
4 years ago
Abel Hoogeveen ddbc787c45
Release 1.2.0 4 years ago
Abel Hoogeveen 35df988200
Release 1.2.0-RC5 4 years ago
Abel Hoogeveen a04293d8b4
Fixed bug resulting in exception on every request. 4 years ago
Abel Hoogeveen cf8315e06b Merge branch 'holiday-branch' into 'development'
Release 1.2.0-RC4

See merge request fuzeworks/webcomponent!1
4 years ago
Abel Hoogeveen fd531b53e2
Released 1.2.0-RC4 4 years ago
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.
4 years ago
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
4 years ago
Abel Hoogeveen 208d2783c7
Release 1.2.0-RC3 4 years ago
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
4 years ago
Abel Hoogeveen fb733077ee
Updated minor changes. Creates version 1.2.0-RC1 4 years ago
Abel Hoogeveen eda14348b0
Implemented all basic features of WebComponent. Not release ready 4 years ago
Abel Hoogeveen e276a7ca29
Initial commit 4 years ago