Commit Graph

170 Commits

Author SHA1 Message Date
Simon Sessingø c1a6c63dc7 [FEATURE/BUGFIX] Improvements
- Added match method to match specific regular expression.
- GetRoute now returns provided controller and method if no match is found.
- Bugfixes and other minor improvements.
2015-10-18 23:18:58 +02:00
Simon Sessingø b3b362a9e6 [BUGFIX] Improvements
- Fixed errors with getRoute method.
- Added Response and Request classes.
- Added CSRF stuff.
- Cleanup and bugfixes.
2015-10-18 17:36:06 +02:00
Simon Sessingø b6f0f6899a [TASK] Moved parameter stuff to RouterEntry class. 2015-10-14 20:48:17 +02:00
Simon Sessingø 93d8c26416 [BUGFIX] Fixed router for controller and ressources not matching /something? 2015-10-14 19:55:05 +02:00
Simon Sessingø aec1f5f10c [FEATURE] Features and optimisations
- Added where method to RouterRoute to support custom regular expression matches on routes.
- Moved parameters property to RouterRoute class.
- Added IRouteEntry class.
2015-10-14 13:54:53 +02:00
Simon Sessingø 5c81da7b77 [BUGFIX] Bugfixes
- Made sure that urls are always presented in the correct order
- Ignored RouterGroup in controllerUrlMap
2015-10-11 11:35:56 +02:00
Simon Sessingø 3c3dcdf8df [FEATURE] Added getIdentifier method to RouterBase
- Fixed getter for getLoadedRoute
2015-10-11 10:43:35 +02:00
Simon Sessingø a1271f1c89 [BUGFIX] Fixed router not loading show method 2015-10-07 13:26:41 +02:00
Simon Sessingø 2ff88f9ed4 [BUGFIX] Bugfixes 2015-10-07 00:14:59 +02:00
Simon Sessingø 02a874d01c [TASK] More fixes to the RouterRessource router. 2015-10-06 20:36:24 +02:00
Simon Sessingø cbe1af0ab9 [FEATURE] Added ressource controller type 2015-10-06 19:46:07 +02:00
Simon Sessingø 6354c3c766 [TASK] Bugfixes and improvements
- Most routes now works along with getRoute() method.
2015-10-06 16:08:42 +02:00
Simon Sessingø 1c765476b5 [BUGFIXES] Bugfixes 2015-09-25 00:00:29 +02:00
Simon Sessingø 67c3479a3e [FEATURE]
- Added RouterController class.
- Added Router::controller functionality to SimpleRouter class.
- Bugfixes and optimisations.
2015-09-22 13:39:17 +02:00
Simon Sessingø 85470bbbd7 [TASK] Updated 2015-09-21 19:40:14 +02:00
Simon Sessingø 266ebdf7d7 [TASK] Updated 2015-09-18 20:31:48 +02:00
Simon Sessingø c9f3cc9329 [TASK]
- Renamed to avoid conflicts with other routers.
- Updated documentation.
2015-09-18 20:16:59 +02:00
Simon Sessingø 05a89c368d [TASK] Updates 2015-09-18 19:55:17 +02:00
Simon Sessingø 1b6eef6d29 [TASK] Removed unused file 2015-09-18 18:44:47 +02:00
Simon Sessingø 55acac68fa [TASK] Initial release 2015-09-18 18:38:59 +02:00