Simon Sessingø
6c7ac2b250
[TASK] Added ip method to Response class.
2015-10-22 21:01:26 +02:00
Simon Sessingø
252fb16326
Merge branch 'development' of https://github.com/skipperbent/simple-php-router into development
2015-10-22 19:34:32 +02:00
Simon Sessingø
63dfbb24af
[BUGFIX] Bugfix
...
- Fixed csrf-token cookie not being set on some paths.
- Changed RouterException in BaseCsrfVerifier to TokenMismatchException.
2015-10-22 19:33:20 +02:00
Simon Sessingø
3ccfac9422
Update README.md
2015-10-22 09:57:31 +02:00
Simon Sessingø
bdb5b2dead
[BUGFIX] Fixed missing / in beginning of url in getRoute when route does not exist.
2015-10-22 00:17:49 +02:00
Simon Sessingø
5d643d842a
Merge pull request #8 from skipperbent/feature-csrf
...
Custom CSRF middleware support
1.2.1
2015-10-21 19:15:22 +02:00
Simon Sessingø
d6cf5c9b68
[TASK] Updated documentation
2015-10-21 19:14:37 +02:00
Simon Sessingø
03cac14e8e
[FEATURE] Support for custom csrf verifier
...
- Added support for custom csrf verifier.
- Updated documentation.
2015-10-21 19:07:45 +02:00
Simon Sessingø
f49fa5dca2
Merge pull request #7 from skipperbent/feature-csrf
...
CSRF support
1.2
2015-10-21 18:30:10 +02:00
Simon Sessingø
9d6a3c328f
[TASK] Updated documentation.
2015-10-21 18:30:03 +02:00
Simon Sessingø
1ba05b923c
[FEATURE] Csrf token
...
- Added functionality to CsrfToken class.
- Added header support to Request class.
- Added option to set BaseCsrfVerifier class in RouterBase and
SimpleRouter.
2015-10-21 18:12:53 +02:00
Simon Sessingø
c221381c02
[FEATURE] csrf token
...
- Removed request-type prefix when loading methods.
- Optimised csrf token class.
2015-10-21 17:09:31 +02:00
Simon Sessingø
b173659657
Merge pull request #6 from skipperbent/development
...
Development
1.1.2
2015-10-21 15:23:19 +02:00
Simon Sessingø
961d73a13f
Merge branch 'master' of https://github.com/skipperbent/simple-php-router into development
2015-10-21 15:22:56 +02:00
Simon Sessingø
54ae628f4e
[BUGFIX] Fixed middleware not loading and giving "class must be instance of Middleware" exception.
2015-10-21 15:22:09 +02:00
Simon Sessingø
7a23ac0b2e
Merge pull request #5 from skipperbent/development
...
Development
1.1.1
2015-10-21 15:12:00 +02:00
Simon Sessingø
b555eb07a6
Merge branch 'master' of https://github.com/skipperbent/simple-php-router into development
2015-10-21 15:10:43 +02:00
Simon Sessingø
8959a237f9
[FEATURE] Minor features
...
- Added basic auth to Response class.
- Added getPassword() method for basic auth password in Response class.
2015-10-21 15:09:32 +02:00
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