Simon Sessingø
2952f6a3b6
Added \JsonSerializable interface to Response->json (issue: #284 ).
2017-08-31 11:59:58 +01:00
Simon Sessingø
16e326ad9f
Development
...
- all() in Input class now returns correct array.
- all() now supports json data.
- Minor bugfixes.
2016-11-08 18:16:17 +02:00
Simon Sessingø
d9b2328e82
Fixed RouterGroup not pushing multiple middlewares properly
2016-11-07 04:56:47 +01:00
Simon Sessingø
4a03005c68
Merge pull request #122 from skipperbent/development
...
Fixed urls in groups not working
1.8.0.6
2016-11-06 09:04:56 +01:00
Simon Sessingø
2d57b45c7b
Fixed urls not being visible
2016-11-06 09:04:05 +01:00
Simon Sessingø
52034411cf
Merge pull request #121 from skipperbent/development
...
Development
1.8.0.5
2016-11-06 08:14:36 +01:00
Simon Sessingø
98cc8504d4
Development
...
- Group only loads if prefix matches (if any).
2016-11-06 08:13:47 +01:00
Simon Sessingø
4c8ed5bb3d
Merge pull request #120 from skipperbent/development
...
Development
1.8.0.4
2016-11-05 23:09:19 +01:00
Simon Sessingø
035a5b1629
Development
...
- Added support for cloudflare when using getIp method in Request.
- Fixed undefined variable notice in RouterBase class.
2016-11-05 23:07:14 +01:00
Simon Sessingø
9fed6ffb3f
Merge pull request #119 from skipperbent/development
...
Optimised for cli-usage
1.8.0.3
2016-10-28 07:41:21 +02:00
Simon Sessingø
832aff0358
Optimised for cli-usage
2016-10-28 07:40:51 +02:00
Simon Sessingø
15da599e82
Merge pull request #118 from skipperbent/development
...
Minor optimisations
1.8.0.2
2016-10-27 19:15:59 +02:00
Simon Sessingø
43e05ad821
Minor optimisations
2016-10-27 19:15:38 +02:00
Simon Sessingø
9274acb591
Merge pull request #117 from skipperbent/development
...
Optimisations and bugfixes
1.8.0.1
2016-10-27 17:06:24 +02:00
Simon Sessingø
2fd32868c2
Optimisations and bugfixes
2016-10-27 17:06:05 +02:00
Simon Sessingø
5c7759ab72
Merge pull request #116 from skipperbent/development
...
Development
2016-10-27 16:45:29 +02:00
Simon Sessingø
e51b72f0e0
Development
...
- Changed from http_build_query to custom solution as it doesn't support querystrings with "%" on some php versions.
2016-10-27 16:44:35 +02:00
Simon Sessingø
c7b8593185
Merge pull request #114 from skipperbent/development
...
Development
1.8.0.0
2016-10-20 08:38:23 +02:00
Simon Sessingø
3b5e2aee9d
Added credits
2016-10-20 08:37:39 +02:00
Simon Sessingø
27ba532b2d
Updated documentation
2016-10-20 08:36:50 +02:00
Simon Sessingø
fb478f475c
Merge pull request #113 from skipperbent/development
...
Development
2016-10-20 08:35:20 +02:00
Simon Sessingø
a8620cbc70
Updates
...
- Simplified exception-handling (see demo project for examples).
- Optimised sample-project.
- Optimised and added further unit-tests.
- Optimised and bugfixes.
2016-10-20 08:31:21 +02:00
Simon Sessingø
4e054dccf5
Updated documentation
2016-10-04 02:51:37 +02:00
Simon Sessingø
e7dfbb159c
Updated documentation
2016-10-04 02:50:36 +02:00
Simon Sessingø
8c5a5327d1
Update documentation
2016-10-04 02:47:28 +02:00
Simon Sessingø
1142d9d4ce
Merge pull request #112 from skipperbent/development
...
Optimised middleware load order
1.7.5.1
2016-09-28 12:30:06 +02:00
Simon Sessingø
3c9a675f25
Optimised middleware load order
2016-09-28 12:29:30 +02:00
Simon Sessingø
5d5c96e802
Merge pull request #111 from skipperbent/development
...
Automatically push middlewares if multiple in nested group.
1.7.5.0
2016-09-28 12:24:38 +02:00
Simon Sessingø
dfccd99f2f
Automatically push middlewares if multiple in nested group.
2016-09-28 12:21:23 +02:00
Simon Sessingø
bfdaf8ac52
Merge pull request #110 from skipperbent/development
...
Updated documentation and added demo-project.
1.7.4.4
2016-09-26 14:39:50 +02:00
Simon Sessingø
980a4e9b6a
Updated documentation and added demo-project.
2016-09-26 14:37:54 +02:00
Simon Sessingø
71dc6e172f
Merge pull request #108 from skipperbent/development
...
Allow for default parameters (including A-Z, a-z, 0-9 and "-") when p…
1.7.4.3
2016-06-14 22:21:20 +02:00
Simon Sessingø
fab0d0641c
Allow for default parameters (including A-Z, a-z, 0-9 and "-") when parsing parameters in RouterResource.
2016-06-14 22:20:05 +02:00
Simon Sessingø
6ee172927f
Merge pull request #107 from skipperbent/development
...
Bugfix
1.7.4.2
2016-06-04 18:44:59 +02:00
Simon Sessingø
4169716f87
Bugfix
...
- Fixed some routes with ending slash not matching on when using Ressource.
2016-06-04 18:44:33 +02:00
Simon Sessingø
bb5e629199
Merge pull request #106 from skipperbent/development
...
Development
1.7.4.1
2016-06-04 18:21:16 +02:00
Simon Sessingø
53e5b5362f
Development
...
- Enhanced regular expression used for matching parameters.
- Added basic unit-tests for parameters.
- Fixed typos in PHP-docs and other minor optimizations.
2016-06-04 18:20:46 +02:00
Simon Sessingø
0cc0a59fd5
Merge pull request #105 from skipperbent/development
...
Development
1.7.4.0
2016-06-04 15:13:47 +02:00
Simon Sessingø
6780b24e59
Development
...
- Optimized the way parameters are parsed as a result, simple-router now supports routes like `/{param1}-{param2}.json`.
- Replaced reg-ex for parameter-matching with `\w` which means that default parameter matching on routes now include `_` (underscore) per default.
- Simplified `MiddlewareTest` class.
2016-06-04 15:12:04 +02:00
Simon Sessingø
b540c01650
Update README.md
2016-06-03 00:02:45 +02:00
Simon Sessingø
498fd6b07d
Merge pull request #103 from skipperbent/development
...
Added setValue method to InputItem class.
1.7.3.10
2016-05-04 13:41:36 +02:00
Simon Sessingø
eb8832beec
Added setValue method to InputItem class.
2016-05-04 13:35:23 +02:00
Simon Sessingø
96ab22a4f8
Merge pull request #102 from skipperbent/development
...
Added exist method to Input class.
1.7.3.9
2016-05-03 07:21:16 +02:00
Simon Sessingø
eeafcb7862
Added exist method to Input class.
2016-05-03 07:20:52 +02:00
Simon Sessingø
7f528c133b
Merge pull request #101 from skipperbent/development
...
Development
1.7.3.8
2016-05-01 02:01:47 +02:00
Simon Sessingø
1a9351c690
- Fixed notifications if included in projects running in command-line where certain variables aren't available.
2016-05-01 00:02:42 +02:00
Simon Sessingø
5a50190293
Merge pull request #100 from skipperbent/development
...
Development
1.7.3.7
2016-04-25 00:41:50 +02:00
Simon Sessingø
f98e5ac59d
- Optimized handleException method in RouterBase.
2016-04-23 10:52:51 +02:00
Simon Sessingø
a2dbf4149b
- Added route to ExceptionHandler so Middlewares can be loaded.
2016-04-23 10:50:56 +02:00
Simon Sessingø
355ef01d63
Merge pull request #99 from skipperbent/development
...
Development
1.7.3.6
2016-04-22 15:38:02 +02:00