PJ Dietz
|
84044d5057
|
Re-add converting HttpExceptions to responses in Handler
|
2015-01-21 11:03:01 -05:00 |
PJ Dietz
|
1a88e0273d
|
Use registered 404 error handler when no route matches in Router::respond
|
2015-01-21 09:51:14 -05:00 |
PJ Dietz
|
ca2c8625ec
|
Store PrefixRoutes to a separate array.
Prioritize routes in the order static, prefix, everything else.
|
2015-01-02 13:13:08 -05:00 |
PJ Dietz
|
caef817535
|
Do not allow routing to continue after a dispatched StaticRoute returns null
|
2015-01-02 12:31:02 -05:00 |
PJ Dietz
|
78fe57d736
|
Store StaticRoutes to separate hash array in Router
Add StaticRouteInterface
|
2015-01-02 12:00:30 -05:00 |
PJ Dietz
|
666f45977e
|
Merge branch 'eatonphil-master' into prefix
|
2015-01-01 12:43:41 -05:00 |
PJ Dietz
|
9eec436ad4
|
Add error handlers to Router
Move catching HttpExceptions and translating into responses from Handler to Router
|
2015-01-01 12:41:53 -05:00 |
PJ Dietz
|
6d499a6643
|
Add PrefixRoute
|
2014-12-29 13:09:51 -05:00 |
PJ Dietz
|
8b5f9e40a6
|
Update phpunit. Allow setting port for ClientTest as an environment variable.
|
2014-12-29 12:49:38 -05:00 |
PJ Dietz
|
75088499b8
|
Ensure $args propagate from Router to Handlers
|
2014-08-02 17:42:16 -04:00 |
PJ Dietz
|
512897effd
|
Prefer apache_request_headers when reading request headers.
Apache does not pass the Authorization header through to PHP as
$_SERVER["HTTP_AUTHORIZATION"], so reading from $_SERVER is not viable
with Apache.
|
2014-07-28 12:43:29 -04:00 |
PJ Dietz
|
d1a77c5454
|
Allow * wildcard at end of URI template
|
2014-07-27 16:37:24 -04:00 |
PJ Dietz
|
1c5d95e727
|
Router::getResponse() now returns null to allow better nesting
Runs tests that output responses in process isolation
|
2014-07-26 19:05:38 -04:00 |
PJ Dietz
|
c8a65f4248
|
Test captures groups in RegexRouteTest
|
2014-07-26 14:57:31 -04:00 |
PJ Dietz
|
4db7c8da7d
|
Add Request::getFormFields. Add Test for sending form-encoded request
|
2014-07-26 11:49:15 -04:00 |
PJ Dietz
|
297c4aa2e8
|
Update tests for Routes
|
2014-07-26 06:15:17 -04:00 |
PJ Dietz
|
ea05633dfb
|
Update RouterTest
|
2014-07-26 05:48:54 -04:00 |
PJ Dietz
|
4d31e2e977
|
Update ResponseBuilder tests. Fix name of ResponseTest
|
2014-07-26 05:36:42 -04:00 |
PJ Dietz
|
1222e61ebb
|
Update Handler tests
|
2014-07-26 05:20:22 -04:00 |
PJ Dietz
|
4ae6e5f2e4
|
Fix issue in Response when setting headers in constructor
Update tests for Response
|
2014-07-26 01:47:05 -04:00 |
PJ Dietz
|
69b9bb51aa
|
Rewrite RequestTest
|
2014-07-26 01:21:09 -04:00 |
PJ Dietz
|
2d9373e287
|
Test cURL errors in Client
|
2014-07-25 23:35:17 -04:00 |
PJ Dietz
|
c9c21fd22e
|
Test custom cURL options in Client
|
2014-07-25 23:27:24 -04:00 |
PJ Dietz
|
3d44d1a3f5
|
Test sending body with Client
|
2014-07-25 23:08:27 -04:00 |
PJ Dietz
|
832e849875
|
Test Client headers
|
2014-07-25 22:39:32 -04:00 |
PJ Dietz
|
5e9980f864
|
Write test to check if Client send method properly
|
2014-07-25 22:25:59 -04:00 |
PJ Dietz
|
1a21b2b7d0
|
Add Client class
Move Request::request() to Client::request()
|
2014-07-24 20:41:32 -04:00 |
PJ Dietz
|
ad1e5a1782
|
Add tests for Handler
|
2014-07-14 01:01:51 -04:00 |
PJ Dietz
|
ecb58c11b8
|
Clean up unused imports
|
2014-07-14 01:00:38 -04:00 |
PJ Dietz
|
b601c38d36
|
Add tests for Router
|
2014-07-14 00:19:04 -04:00 |
PJ Dietz
|
efd1843603
|
Remove output buffering functions from setup() and tearDown()
|
2014-07-14 00:18:54 -04:00 |
PJ Dietz
|
794d0901b9
|
Fix documentation and add tests for Response
|
2014-07-13 23:56:19 -04:00 |
PJ Dietz
|
581c3d1351
|
Update documentation and add tests for Request
|
2014-07-13 21:39:01 -04:00 |
PJ Dietz
|
6a642dfed2
|
Fix documentation and add tests for BaseRoute
|
2014-07-13 17:18:08 -04:00 |
PJ Dietz
|
e597926634
|
Fix documentation and add tests for TemplateRoute
|
2014-07-13 17:08:15 -04:00 |
PJ Dietz
|
f11c13c1b3
|
Fix documentation and add tests for RegexRoute
|
2014-07-13 16:27:09 -04:00 |
PJ Dietz
|
921d84cf8b
|
Update StaticRoute documentation and add tests
|
2014-07-13 15:50:30 -04:00 |
PJ Dietz
|
97836e7fa0
|
100% on RouteBuilder
|
2014-07-13 14:50:23 -04:00 |
PJ Dietz
|
18d3d6c9db
|
Update RouteBuilder docs and add test
- Remove RouteBuilder::buildRoutesFromJson()
- Allow RouteBuilder::buildRoutes() to parse JSON
- Add PHPUnit
- Add tests for RouteBuidler
- Update docs for RouteBuilder
- Update README RouteBuilder example
- Rename constant in BaseRoute
|
2014-07-13 14:29:37 -04:00 |