12954 Commits

Author SHA1 Message Date
Lonnie Ezell
4a09269189 Patching up some Request object issues and more tests on it. 2015-10-26 22:01:53 -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
70fdb57b62 Remove earlier URI work so that REQUEST_URI-based resolution returns just the path. 2015-10-23 14:46:54 -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
d764bcccc2 Move userAgent method from Request to IncomingRequest since that's browser-specific. 2015-10-23 13:03:52 -05:00
Lonnie Ezell
2fa5d5812e Remove typo keeping from being correctly assigned in certain cases. 2015-10-23 12:58:30 -05:00
Lonnie Ezell
088b975b0d Rearranging methods for more logical organization. 2015-10-23 12:57:37 -05:00
Lonnie Ezell
9c4bd86fd3 Remove references to auto-escaping in view docs. Will need to update contexts descriptions once Zend is in place. 2015-10-23 11:28:15 -05:00
Lonnie Ezell
c67d5e1053 Do not do any escaping of data by default. 2015-10-23 11:25:10 -05:00
Lonnie Ezell
fc9f3ec477 Better filtering on paths, including removing dot segments. 2015-10-23 11:03:02 -05:00
Lonnie Ezell
2a8ca0ad94 Appropriate password security for URI class. 2015-10-23 10:22:33 -05:00
Lonnie Ezell
9f8b17994e URI can now work with queries, and filters them. Quite a few more URI tests. 2015-10-23 00:05:14 -05:00
Lonnie Ezell
5d20990f40 Fixing the createURISTring method of URI to build a correct URI string. 2015-10-22 22:29:17 -05:00
Lonnie Ezell
9c3ba25b1c Refactoring the DI tests for the new config style. 2015-10-22 08:55:31 -05:00
Lonnie Ezell
728ea5c052 Update phpunit 2015-10-22 00:34:32 -05:00
Lonnie Ezell
db3fe51727 Fix up our Autoloader tests with the revised config methods. 2015-10-22 00:34:12 -05:00
Lonnie Ezell
d9a65e58e2 Adding setters to URI class. 2015-10-21 23:49:38 -05:00
Lonnie Ezell
03c67c50f2 Get the input stream in place for IncomingRequests. 2015-10-21 23:31:10 -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
9fd8994a73 Fleshing out an OutgoingRequest skeleton class. Details to be added in later. 2015-10-19 22:55:57 -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
09b8e8be84 Get some basic URI stuff working and tested. 2015-10-18 22:49:38 -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
6970182afe Added Request class. 2015-10-14 00:17:03 -05:00
Lonnie Ezell
ffcab8da59 Added RequestInterface 2015-10-14 00:01:08 -05:00
Lonnie Ezell
0b1949d91c Added MessageTrait. 2015-10-13 23:35:01 -05:00
Lonnie Ezell
e569f34c64 Porting Narf's HTTP code over, one file at a time. This is the Message Interface. 2015-10-13 23:09:46 -05:00
Lonnie Ezell
5b0c485e38 CLI should always use the exception view even in production. 2015-10-13 22:10:30 -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
c1b4e0bdfc Don't prettify exception class for better searches. 2015-10-09 10:07:52 -05:00