Commit Graph

253 Commits

Author SHA1 Message Date
Simon Sessingø 0a70a1aa1a Merge pull request #4 from skipperbent/development
Development
1.1
2015-10-21 12:09:21 +02:00
Simon Sessingø 58e4eb85bb [BUGFIX] Fixed method not allowed exception.
- Method request type are now checked on all classes in the RouterBase class.
2015-10-21 10:14:21 +02:00
Simon Sessingø a497c36ea4 Merge branch 'master' of https://github.com/skipperbent/simple-php-router into development
Conflicts:
	README.md
2015-10-21 00:34:19 +02:00
Simon Sessingø 8db60f85a1 [TASK] Updated documentation. 2015-10-21 00:30:00 +02:00
Simon Sessingø 626a3b2f6a [TASK] Changes
- Added support for alias on RouterRoute.
- Added typo in resource (renamed class from Ressource to Resource).
- Added optional settings parameter in most of the methods in the
  SimpleRouter class.
2015-10-21 00:27:47 +02:00
Simon Sessingø 7863df6325 [TASK] Updated readme 2015-10-20 23:59:35 +02:00
Simon Sessingø 2524428926 [BUGFIX] Bugfixing
- Urls now always returns ending slash when using getRoute().
- Fixed common errors with routing.
- Simplified getRoute method.
2015-10-20 23:54:05 +02:00
Simon Sessingø 06202612d4 Update README.md 2015-10-19 00:44:28 +02:00
Simon Sessingø ed66bc919b Update README.md 2015-10-19 00:43:54 +02:00
Simon Sessingø 3e175d234d Update README.md 2015-10-19 00:41:09 +02:00
Simon Sessingø 37b8090dac Merge pull request #3 from skipperbent/development
[FEATURE/BUGFIX] Improvements
1.0.3.1
2015-10-18 23:20:14 +02:00
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.
1.0.3
2015-10-18 17:36:06 +02:00
Simon Sessingø 0650e5ba93 Update README.md 2015-10-17 21:59:53 +02:00
Simon Sessingø ff8f94ff08 Merge pull request #2 from skipperbent/development
Merge pull request #1 from skipperbent/master
2015-10-17 21:54:16 +02:00
Simon Sessingø aa73f887b1 Merge pull request #1 from skipperbent/master
Latest version
2015-10-17 21:53:54 +02:00
Simon Sessingø 4edf6aaa6e Update README.md 2015-10-17 21:53:20 +02:00
Simon Sessingø b6f0f6899a [TASK] Moved parameter stuff to RouterEntry class. 1.0.2.1 2015-10-14 20:48:17 +02:00
Simon Sessingø 93d8c26416 [BUGFIX] Fixed router for controller and ressources not matching /something? 1.0.2 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ø 8064b5f536 Merge branch 'master' of https://github.com/skipperbent/simple-php-router 1.0.1 2015-10-11 11:36:39 +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ø 8d4e765556 Update README.md 1.0 2015-10-11 10:45:46 +02:00
Simon Sessingø 624df047e7 Update README.md 2015-10-11 10:44:46 +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ø 2a97e01390 Update README.md 2015-10-11 10:42:13 +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ø e414303aff Merge branch 'master' of https://github.com/skipperbent/simple-php-router 2015-09-22 13:40:02 +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ø a3c21d8995 Update README.md 2015-09-22 11:30:56 +02:00
Simon Sessingø 6b8ab11f28 Merge branch 'master' of https://github.com/skipperbent/simple-php-router
Conflicts:
	README.md
2015-09-21 19:41:29 +02:00
Simon Sessingø 46af0947e8 Update README.md 2015-09-21 19:40:58 +02:00
Simon Sessingø 85470bbbd7 [TASK] Updated 2015-09-21 19:40:14 +02:00
Simon Sessingø 4cc306a2cc Update README.md 2015-09-20 12:26:16 +02:00
Simon Sessingø 61857726dd ...
...
2015-09-19 23:21:03 +02:00
Simon Sessingø 45779913ab Update README.md 2015-09-18 21:54:24 +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ø d4f0046283 [TASK] Updated composer.json, added .gitignore 2015-09-18 19:41:55 +02:00
Simon Sessingø 291f7117d6 [TASK] Updated composer.json 2015-09-18 19:20:05 +02:00
Simon Sessingø a0e05782e2 [TASK] Updated composer.json 2015-09-18 19:08:44 +02:00
Simon Sessingø f528ec05d2 [TASK] Added composer.json 2015-09-18 18:51:47 +02:00
Simon Sessingø 1b6eef6d29 [TASK] Removed unused file 2015-09-18 18:44:47 +02:00
Simon Sessingø b4fa76a74d Update README.md 2015-09-18 18:41:46 +02:00