72 Commits

Author SHA1 Message Date
Lonnie Ezell
f60bcc085c Specifying the default route is faster than scanning folders. 2015-11-27 23:30:57 -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
05d536cc75 Getting a start on making the CURLRequest class functional. 2015-11-13 22:01:49 -06:00
Lonnie Ezell
f3eb3b1d97 Small refactoring of constructors throughout the HTTP classes. 2015-11-12 22:48:34 -06:00
Lonnie Ezell
bc8c0654f4 Forgot to make the logger property static. 2015-11-10 21:40:28 -06:00
Lonnie Ezell
efb0b258b8 Only allow a single instance of the logger class. 2015-11-10 14:38:08 -06:00
Lonnie Ezell
976c215b95 Refactoring to NOT use the DI container and use a very simple factory class in its place. 2015-11-10 14:16:26 -06:00
Lonnie Ezell
1fb4e23d23 Finishing refactoring messages out of requests. 2015-10-27 21:41:02 -05:00
Lonnie Ezell
3a718944db Rnaming our HTTPLite classes to HTTP namespace. 2015-10-27 09:12:00 -05:00
Lonnie Ezell
6af6d9bf11 Tidying up the autoloaders classmap. 2015-10-26 23:20:25 -05:00
Lonnie Ezell
54c752eefd We now have a base controller which simply provides the Request and Response objects as part of it. 2015-10-26 23:16:56 -05:00
Lonnie Ezell
493bf34cc2 Created RequestInterface and implemented through the chain. 2015-10-26 23:16:26 -05:00
Lonnie Ezell
417139d606 Allow CLI requests to be called. This may not survive long but we will see... 2015-10-26 22:53:08 -05:00
Lonnie Ezell
7fb5c0079b Early tests for Request class. 2015-10-25 23:30:37 -05:00
Lonnie Ezell
fcd83c7014 Refactor cookie settings to NOT use the CI3 config_item method. 2015-10-25 22:41:05 -05:00
Lonnie Ezell
d0c35d680a Get our URI request filled out for IncomingRequests. 2015-10-23 14:44:35 -05:00
Lonnie Ezell
1d95a359f8 Rearranging URI creation in Incoming Request and fixing some instatiation errors. 2015-10-23 14:04:42 -05:00
Lonnie Ezell
a8c5ac5df0 HTTPLite IncomingRequest now determines the URI and creates a URI object for later use. 2015-10-21 00:03:03 -05:00
Lonnie Ezell
9e760cb5cc Refactor requests to get the proper methods in the IncomingRequest class. 2015-10-19 22:25:05 -05:00
Lonnie Ezell
e91b5a97f9 Load the main app config to get permittedURIChars and uriProtocol. 2015-10-18 23:07:03 -05:00
Lonnie Ezell
e99b8d7e06 Getting a start on the URI class. 2015-10-18 00:01:52 -05:00
Lonnie Ezell
8bfe02680c Trying a simpler HTTP solution based on existing CI3 code with mods. 2015-10-15 23:37:35 -05:00
Lonnie Ezell
9883ea7051 Brought over the CLI exception view. 2015-10-13 22:09:22 -05:00
Lonnie Ezell
d9b04ec8bd Display the arguments of functions/methods in the exceptions page. 2015-10-12 23:55:08 -05:00
Lonnie Ezell
5a1f4b40f0 Show the function called when just function, no class. 2015-10-12 23:20:03 -05:00
Lonnie Ezell
af9860a159 Added generic error screen for production environments. 2015-10-12 23:03:48 -05:00
Lonnie Ezell
67b9d55da7 Fix width issue with pre elements in exceptions table 2015-10-12 22:49:16 -05:00
Lonnie Ezell
19eb2ba681 Move Exceptions class to Debug namespace 2015-10-12 22:15:17 -05:00
Lonnie Ezell
f6158e61f8 Add some basic info in exception footer. 2015-10-12 22:07:04 -05:00
Lonnie Ezell
19d15e6292 Cleanup exception stuff a little 2015-10-12 09:01:16 -05:00
Lonnie Ezell
2365f98b98 Moved Cookies info to the Request tab on environment page. 2015-10-12 08:47:28 -05:00
Lonnie Ezell
b70efdf101 Show user defined constants on exception page. 2015-10-12 08:37:20 -05:00
Lonnie Ezell
3a149f575e Show files in backtrace have been required, included, etc. 2015-10-12 08:30:43 -05:00
Lonnie Ezell
425c8941a4 Show basic memory usage stats during exception. 2015-10-12 08:24:43 -05:00
Lonnie Ezell
2c6ce3633f Get basic response info into the exceptions page. 2015-10-12 08:00:00 -05:00
Lonnie Ezell
da835b083a Get some plain javascript tabs working for the exceptions page. 2015-10-11 23:56:40 -05:00
Lonnie Ezell
52b631c381 Show loaded files on exceptions 2015-10-11 23:06:03 -05:00
Lonnie Ezell
f0e1df30f7 Show server and request information. 2015-10-11 23:00:58 -05:00
Lonnie Ezell
79aaa3b9ca The beginnings of a nice backtrace on exceptions. 2015-10-11 22:41:51 -05:00
Lonnie Ezell
a8921ee9e1 Rename a debugPath for clarity. 2015-10-09 10:07:02 -05:00
Lonnie Ezell
b5ff586f18 The beginnings of an exception handler and nice exception page. 2015-10-09 09:55:32 -05:00
Lonnie Ezell
0bed5d8f61 Refactor View lib to not have a hard-coded view path for easier reuse outside of CI. 2015-10-06 22:52:09 -05:00
Lonnie Ezell
205a424cd6 Convert logo to SVG 2015-10-06 22:23:00 -05:00
Lonnie Ezell
24a472f451 Tasty new welcome message. 2015-10-06 09:39:28 -05:00
Lonnie Ezell
7c74b0cd0f Very simple Views solution implemented. Needs more work for things like filtering of data and Loading outside of application/views. 2015-10-06 00:22:08 -05:00