259 Commits

Author SHA1 Message Date
Lonnie Ezell
42fc1e4dd9 Revert phpUnit whitelist to default values to allow the code coverage report to run correctly. 2015-11-28 22:47:30 -06:00
Lonnie Ezell
c573af6f85 Added the route_to common function to easily work with reverse routing. 2015-11-28 01:06:31 -06:00
Lonnie Ezell
d90af18810 Added simple reverse routing method. Fixes #3 2015-11-28 00:36:24 -06:00
Lonnie Ezell
f60bcc085c Specifying the default route is faster than scanning folders. 2015-11-27 23:30:57 -06:00
Lonnie Ezell
def2ec6498 Don't set controller if an empty segments array. 2015-11-27 23:27:49 -06:00
Lonnie Ezell
5b62fad76c Get routing working in sub-directories. 2015-11-27 23:25:41 -06:00
Lonnie Ezell
1f275847dd Finish the router so that it actually responds to found controllers via autoRouting. 2015-11-27 23:20:37 -06:00
Lonnie Ezell
ad216ed9a7 Updating RouteCollectionInterface to match current needs. 2015-11-27 22:40:05 -06:00
Lonnie Ezell
3ab46df877 Should be able to get the directory from the Router. 2015-11-27 22:34:09 -06:00
Lonnie Ezell
a34451f01d Add note about setAutoRoute to the routes config file. 2015-11-27 22:30:18 -06:00
Lonnie Ezell
e16f3b3174 Get magic routing working, I think. Feels incomplete but out of time for today. 2015-11-23 15:50:46 -06:00
Lonnie Ezell
02b7aded4c Getting route matching working better. 2015-11-22 23:57:24 -06:00
Lonnie Ezell
bb9aa6cae6 Get closure routes working as expected. 2015-11-22 23:42:52 -06:00
Lonnie Ezell
d32bb3ad16 Starting to integrate the router properly. This currently shows the 404 page when appropriate, though we'll probably need to update how that works. 2015-11-22 23:29:46 -06:00
Lonnie Ezell
96c1d6aa81 Modify services to actually accept the specified routes from the config file. 2015-11-22 23:03:01 -06:00
Lonnie Ezell
da265593a0 Can now send multipart form data and files with CURLRequest. 2015-11-22 22:13:15 -06:00
Lonnie Ezell
7ee0579632 Can now set HTTP version in CURLRequest. 2015-11-22 21:51:09 -06:00
Lonnie Ezell
562891dea3 Removed the ssl_key option since I was using it wrong. Added verify option. 2015-11-22 21:45:02 -06:00
Lonnie Ezell
e1cd67d06d Added SSL Key option to CURLRequest. 2015-11-22 21:35:45 -06:00
Lonnie Ezell
94d5ab1596 CURLRequest now handles query option. 2015-11-22 21:28:59 -06:00
Lonnie Ezell
ac46ed84d7 Added the json option to the CURLRequest 2015-11-20 23:52:24 -06:00
Lonnie Ezell
efe584e2fb Added the http_errors option to CURLRequest 2015-11-20 23:39:51 -06:00
Lonnie Ezell
5c5b60a2f4 Added form_params option to CURLRequest. 2015-11-20 23:31:10 -06:00
Lonnie Ezell
8ba805550e Add delay option to CURLRequest 2015-11-20 23:06:54 -06:00
Lonnie Ezell
2da75b5654 Don't refuse HTTP/2 connections. 2015-11-20 22:50:26 -06:00
Lonnie Ezell
869fb76dbc Added the allow_redirects option to CURLRequest. 2015-11-19 23:55:52 -06:00
Lonnie Ezell
1bb77d51ba BAsic CURLRequest Tests in place. 2015-11-18 23:29:50 -06:00
Lonnie Ezell
fd484ffa16 Basic testing class in place. 2015-11-18 22:28:56 -06:00
Lonnie Ezell
181a65d334 Refactoring the actual sending of the request out of send method for testability without sending anything. 2015-11-18 22:11:44 -06:00
Lonnie Ezell
fbda1d5b30 Missed a couple places during refactoring. 2015-11-18 22:06:49 -06:00
Lonnie Ezell
dfb719b1e1 Refactor CURLRequest calss to allow for easier testing. 2015-11-18 22:01:19 -06:00
Lonnie Ezell
ba2ab15f02 Adding some options and standard abilities to CURLRequest. More to come... 2015-11-16 00:15:23 -06:00
Lonnie Ezell
efda966e14 Starting the CURLRequest docs. 2015-11-13 23:46:10 -06:00
Lonnie Ezell
05d536cc75 Getting a start on making the CURLRequest class functional. 2015-11-13 22:01:49 -06:00
Lonnie Ezell
5fa6238e2e Get merging relative URL into a base URI working in the URI class. 2015-11-13 14:25:35 -06:00
Lonnie Ezell
a40317fb9c Tweak URI to be able to set Authority also. 2015-11-13 00:13:45 -06:00
Lonnie Ezell
28f04c4b34 Helps to actually specify that we're implementing an interface. 2015-11-12 22:51:40 -06:00
Lonnie Ezell
f3eb3b1d97 Small refactoring of constructors throughout the HTTP classes. 2015-11-12 22:48:34 -06:00
Lonnie Ezell
1495fac9ad Tweaking docs to show parent class methods. 2015-11-12 22:03:33 -06:00
Lonnie Ezell
eefaa3a98d Last docs for Response 2015-11-12 21:44:47 -06:00
Lonnie Ezell
874e6a6ce9 Initial response docs. 2015-11-12 15:04:32 -06:00
Lonnie Ezell
0387f26b46 Small doc tweak. 2015-11-12 13:51:42 -06:00
Lonnie Ezell
5de286a741 Adding rest of HTTP/Message library docs. 2015-11-12 13:43:58 -06:00
Lonnie Ezell
b43aefa2e7 docs updates 2015-11-10 22:20:35 -06:00
Lonnie Ezell
9f05bc2b4d Docs for the new services methodology. 2015-11-10 21:59:17 -06:00
Lonnie Ezell
bc8c0654f4 Forgot to make the logger property static. 2015-11-10 21:40:28 -06:00
Lonnie Ezell
b6ffa8755f Removing DI docs. Still need to remove references to it throughout other locations. 2015-11-10 15:00:30 -06:00
Lonnie Ezell
efb0b258b8 Only allow a single instance of the logger class. 2015-11-10 14:38:08 -06:00
Lonnie Ezell
f4488658e5 Removing DI from our bootstrap. 2015-11-10 14:27:31 -06:00
Lonnie Ezell
405053d48d Removing traces of our dead DI container. 2015-11-10 14:23:08 -06:00