Simon Sessingø
c1aa5782a1
Merge pull request #271 from skipperbent/v3-feature-uri
...
Added Uri class which can be used to parse urls.
2017-08-23 22:17:04 +02:00
Simon Sessingø
387d9710d8
Merge pull request #272 from jatubio/patch-1
...
Add IIS web.config file example
2017-08-23 22:16:53 +02:00
Simon Sessingø
fd098266f7
Merge pull request #266 from zaingithub/patch-1
...
Update README.md
2017-08-23 22:16:24 +02:00
Simon Sessingø
c7473938c5
Changed xxx to web.config
2017-08-23 22:09:55 +02:00
Simon Sessingø
65c811356d
Fixed url parsing for unicode characters.
2017-08-23 21:04:11 +01:00
Simon Sessingø
ea255baec3
Merge branch 'v3-fix-url-encoding' into v3-feature-uri
2017-08-23 20:44:57 +01:00
Simon Sessingø
acf37c4023
Updated Uri class.
2017-08-23 20:41:49 +01:00
Juan Antonio Tubio
6fb92d7cae
Add IIS web.config file example
2017-08-23 17:28:14 +02:00
Simon Sessingø
e84c8c2f02
Uri is now always urldecoded in Request class to ensure compability with
...
most webservers (issue: #268 ).
2017-08-23 16:13:44 +01:00
Simon Sessingø
7c970c442c
Added Uri class which can be used to parse urls.
2017-08-23 16:10:15 +01:00
zaingithub
8720e732e1
Update README.md
...
Update section : ## Handling 404, 403 and other errors
$exception->getCode to $exception->getCode()
2017-08-20 12:47:27 +07:00
Simon Sessingø
7e8cb91f68
Updated documentation
2017-08-19 16:21:55 +01:00
Simon Sessingø
bc67038e11
Added helpers.php file
...
- Added updated helpers.php file
- Updated helpers section in documentation.
2017-08-19 13:48:47 +01:00
Simon Sessingø
e31d8af2f7
Merge pull request #264 from skipperbent/v3
...
V3
2017-08-18 20:32:33 +02:00
Simon Sessingø
9f285fd0ce
Merge pull request #263 from skipperbent/v3-development
...
V3 development
3.3.6
2017-08-18 20:32:21 +02:00
Simon Sessingø
b7f5d31544
Fixed double / when calling findUrl on routes with the first
...
parameter optional.
2017-08-17 23:31:27 +01:00
Simon Sessingø
5086347802
Bugfix: fixed using empty value in url still parsing current
...
parameters.
2017-08-13 18:01:48 +01:00
Simon Sessingø
26f89213a2
Merge pull request #260 from skipperbent/v3
...
V3
2017-08-13 04:14:17 +02:00
Simon Sessingø
bb7991afdc
Merge pull request #259 from skipperbent/v3-development
...
Version 3.3.5
3.3.5
2017-08-13 04:14:04 +02:00
Simon Sessingø
796d01bc25
Merge pull request #258 from skipperbent/v3-fixes
...
Fixes and development
2017-08-13 04:13:40 +02:00
Simon Sessingø
74187ee326
Fixes and development
...
- `$parameter` argument in `findUrl` method now supports both string,
array and null value to avoid confusion.
- Using return value in callbacks now displays value (issue: #257 )
2017-08-13 03:06:27 +01:00
Simon Sessingø
f090d6c038
Merge pull request #256 from skipperbent/v3
...
V3
2017-08-07 22:23:03 +02:00
Simon Sessingø
6e859e11ab
Merge pull request #255 from skipperbent/v3-development
...
V3 development
3.3.4
2017-08-07 22:22:34 +02:00
Simon Sessingø
6aa38cfa4c
Merge pull request #254 from skipperbent/v3-url-match-fix
...
Fixed wrong url matching on some paths (issue: #253 - thanks @alejoloe007jb)
2017-08-07 22:20:32 +02:00
Simon Sessingø
62f0075cf3
Fixed wrong url matching on some paths (issue: #253 - thanks @alejoloe007jb)
2017-08-07 22:18:36 +02:00
Simon Sessingø
6890b60737
Merge pull request #252 from skipperbent/v3
...
V3
2017-08-01 21:30:52 +02:00
Simon Sessingø
a40f81d5fc
Merge pull request #251 from skipperbent/v3-development
...
V3 development
3.3.3
2017-08-01 21:30:42 +02:00
Simon Sessingø
a5527a0e8c
Merge pull request #250 from skipperbent/bugfix-urlmatch
...
Bugfix urlmatch
2017-08-01 21:30:13 +02:00
Simon Sessingø
3c73de866e
Added code-comments.
2017-08-01 21:25:44 +02:00
Simon Sessingø
883d8a6b0e
Fixes for issue #248
2017-08-01 21:09:18 +02:00
Simon Sessingø
3a7b27796a
Url matching fixes
2017-08-01 18:29:47 +02:00
Simon Sessingø
1e07140865
Merge pull request #247 from skipperbent/v3
...
V3
2017-07-18 11:28:33 +02:00
Simon Sessingø
4cca5186f3
Merge pull request #246 from skipperbent/v3-development
...
V3 development
3.3.2
2017-07-18 11:28:19 +02:00
Simon Sessingø
5437420175
Merge pull request #245 from skipperbent/php5-5-compatibility
...
Fixed PHP 5.5 compatibility (issue: #244 - thanks @thexeos)
2017-07-18 11:27:59 +02:00
Simon Sessingø
410fa3c9f5
Fixed PHP 5.5 compatibility (issue: #244 - thanks @thexeos)
2017-07-18 11:26:45 +02:00
Simon Sessingø
be20fe4dd1
Updated composer.json tags.
2017-07-08 12:20:49 +02:00
Simon Sessingø
bc03490100
Merge pull request #243 from skipperbent/v3
...
V3
2017-07-08 12:03:42 +02:00
Simon Sessingø
0947f6746e
Merge pull request #242 from skipperbent/v3-development
...
V3 development
3.3.1
2017-07-08 12:03:05 +02:00
Simon Sessingø
31c8710ce7
Merge pull request #241 from skipperbent/v-3-3-1
...
Version 3.3.1
2017-07-08 12:02:41 +02:00
Simon Sessingø
1ac7761d35
Development
...
- Optimized `.gitignore`.
- Renamed `XSRF-TOKEN` constant to `CSRF-TOKEN` in `CsrfToken`.
2017-07-08 11:56:57 +02:00
Simon Sessingø
9eb7c5c13c
Removed 'name' as it's set as the default value when calling the $getItem function.
2017-07-08 11:49:05 +02:00
Simon Sessingø
5151461a02
Added setMiddleware deprecated method in Route class.
2017-07-08 11:42:27 +02:00
Simon Sessingø
b07348a3df
Development
...
- Removed temporary `RouterException` class.
- Added object-types to parameters in `CallbackExceptionHandler` and `SimpleRouter` classes.
- Router now renders groups even if callback is null.
- Renamed `setMiddleware` to `addMiddleware` in `Route` class and `IRoute` interface.
- `addMiddleware` now accept both object and class strings in `Route` class.
- `addExceptionHandler` now accept both object and class strings in `RouteGroup` class.
- Added unit-test for rewrite-exception message change: `testRewriteExceptionMessage` in `RouterRewriteTest`.
- Fixed typo: renamed `testSimularUrls` to `testSimilarUrls` in `RouterUrlTest`.
2017-07-08 11:21:18 +02:00
Simon Sessingø
d411b31cc2
Changed message-text thrown in NotFoundHttpException to show redirected routes (issue: #240 )
2017-07-06 15:46:09 +02:00
Simon Sessingø
ca381d445f
Development
...
- Changed router so it supports both string and object as exception handlers.
- Added `Router::error($callback)` method to `Router` class (issue #238 ).
- Fixed issues calling `getController` and `getMethod` when callback is an object (issue #239 ).
- Updated documentation to reflect new changes.
- Added `addExceptionHandler` to `IGroupRoute` interface and `RouteGroup` class.
- Other minor bugfixes and optimisations.
2017-07-06 15:25:04 +02:00
Simon Sessingø
2c61cef7ad
Merge pull request #237 from skipperbent/v3
...
V3
2017-05-09 07:06:33 +02:00
Simon Sessingø
98ee60859f
Merge pull request #236 from skipperbent/v3-development
...
Development
3.3.0
2017-05-09 07:06:18 +02:00
Simon Sessingø
9dd80dd1d9
Development
...
- Fixed global regex match not working properly.
- Feature: added option to change regular expression used for parameters on routes.
- Added unit-tests for custom parameter regular expression.
- Updated documentation to reflect new features.
2017-05-09 06:43:26 +02:00
Simon Sessingø
3f9ab73f7f
Merge pull request #235 from skipperbent/v3
...
V3
2017-05-09 02:52:06 +02:00
Simon Sessingø
fef997422e
Merge pull request #234 from skipperbent/v3-development
...
V3 development
3.2.3
2017-05-09 02:51:58 +02:00