22876 Commits

Author SHA1 Message Date
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
Lonnie Ezell
2bbeadf4da Removing a completed todo comment. 2015-10-06 22:43:53 -05:00
Lonnie Ezell
f95564afe1 Added basic auto-escaping of data to Views. 2015-10-06 22:42:36 -05:00
Lonnie Ezell
205a424cd6 Convert logo to SVG 2015-10-06 22:23:00 -05:00
Lonnie Ezell
559941078d Buffer output and replace elapsed time in views. 2015-10-06 09:41:48 -05:00
Lonnie Ezell
24a472f451 Tasty new welcome message. 2015-10-06 09:39:28 -05:00
Lonnie Ezell
b009432026 Allow data passed to render() method for experience more consistent with what we currently have. 2015-10-06 00:37:24 -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
Lonnie Ezell
4255dbb31c Adding the LoggerAware trait and interface for framework-agnostic logger use. 2015-10-05 08:51:58 -05:00
Lonnie Ezell
908fbe8fe5 Moving Log interfaces to PSR namespace for framework-agnostic code. Adding LogLevel class for same. 2015-10-05 08:41:09 -05:00
Lonnie Ezell
11c47250b5 Adding the log_message convenience method. 2015-10-04 23:13:05 -05:00
Lonnie Ezell
070074d32a initial Logger docs 2015-10-04 23:12:29 -05:00
Lonnie Ezell
38a8268eb5 Create alias of LoggerInterface in the PSR namespace for third-party code compatibility. 2015-10-04 22:25:15 -05:00
Lonnie Ezell
2113db48fa Add the logger class to services 2015-10-04 22:21:42 -05:00
Lonnie Ezell
b429f7d368 Provide a convenience factor to the DI() method to allow you to retrieve a single instance of a class. 2015-10-04 22:18:04 -05:00
Lonnie Ezell
369eb88329 Remove the unused get_config method. 2015-10-04 22:15:13 -05:00
Lonnie Ezell
cd3e822cc1 Logging exceptions should now work. 2015-10-04 22:05:48 -05:00