142 Commits

Author SHA1 Message Date
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
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
f537cdd92e Removing auto-escaping from view() method. Adding missing 'raw' flag to turn off escaping for setVar and setData. 2015-10-08 09:02:32 -05:00
Lonnie Ezell
a0b99cb1ab Noting the DI single method's convenience syntax. 2015-10-08 00:05:35 -05:00
Lonnie Ezell
50a134201d Updated view docs to latest changes. 2015-10-08 00:03:05 -05:00
Lonnie Ezell
bb2e5d0c0b You should be able to specify escape context with setVar and setData 2015-10-07 23:58:18 -05:00
Lonnie Ezell
5dd10ba0e7 Refactor escaping to allow it usable in views. Also modified the way that render() method works for more flexbility with addons and overrides. 2015-10-07 23:32:30 -05:00
Lonnie Ezell
2ebd5ab454 Moved the escape View function to a separate file/function so it can be used on arbitrary data in views. 2015-10-07 22:30:05 -05:00
Lonnie Ezell
78c2b2962b Adding basic views documentation. 2015-10-06 23:36:50 -05:00
Lonnie Ezell
4783f5c13f Add escaping flag to view Common function. 2015-10-06 23:15:45 -05:00
Lonnie Ezell
e5b575fa80 Do object type checking before running through htmlspecialchars. 2015-10-06 23:13:59 -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