Commit Graph

16 Commits

Author SHA1 Message Date
Simon Sessingø
eb160ff7bb Added default null parameter value to RouterController and RouterResource 2016-11-17 15:03:18 +01:00
Simon Sessingø
73ee4521bc Bugfixes
- Array arguments are now longer automaticially merged.
- Added domain-route parameter unit-test.
2016-11-17 03:50:33 +01:00
Simon Sessingø
b5f8d9410f Bugfixes 2016-11-17 03:17:11 +01:00
Simon Sessingø
d5e7a13d89 Development + bugfixes 2016-11-15 03:43:26 +01:00
Simon Sessingø
2f2c3ca3ca [OPTIMISATIONS] Optimised code and removed unused references 2016-04-09 05:58:18 +02:00
Simon Sessingø
1bafbab56b [TASK] Moved RouterException. Readded lost stuff from Request. 2016-03-19 16:27:25 +01:00
Simon Sessingø
115c8e510a [BUGFIX] Added urldecode to RouterRessource, RouterRoute and
RouterController class to ensure that urls with special letters can be
picked up by a custom regular expression (read documentation: match).
2016-03-01 22:50:26 +01:00
Simon Sessingø
0bec524606 [OPTIMISATION] Optimisations + bugfixes.
- Fixed references to Pecee framework.
- Fixed variables not being initialised before usage.
- Cleaned up duplicate checks.
- Other small optimisations and bugfixes.
2015-12-11 18:06:52 +01:00
Simon Sessingø
e1c549bfdb [OPTIMISATION] Added missing return statement 2015-12-10 19:55:48 +01:00
Simon Sessingø
8557741083 [FEATURE] Bugfixes and optimisations
- Changed Middleware to interface - as it's easier to inherit and use in
  other frameworks/projects.

- RouterController now loads method based on request-method.

- Changed references to old Middleware abstract class.

- Middleware must now be instance of IMiddleware instead of Middleware
  class.
2015-11-01 08:23:46 +01: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ø
93d8c26416 [BUGFIX] Fixed router for controller and ressources not matching /something? 2015-10-14 19:55:05 +02:00
Simon Sessingø
2ff88f9ed4 [BUGFIX] Bugfixes 2015-10-07 00:14:59 +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ø
67c3479a3e [FEATURE]
- Added RouterController class.
- Added Router::controller functionality to SimpleRouter class.
- Bugfixes and optimisations.
2015-09-22 13:39:17 +02:00