262 Commits

Author SHA1 Message Date
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
Lonnie Ezell
8a25d2164d Reminder to implement logging of exceptions. 2015-10-03 00:10:20 -05:00
Lonnie Ezell
41313d6c5e Initial pass at a PSR3-ish logger based on our previous log writing code. 2015-10-03 00:05:04 -05:00
Lonnie Ezell
85c21f1bba Adding interfaces and new logger classes to the autoload classmap. 2015-10-02 23:22:39 -05:00
Lonnie Ezell
8d17a09a0d Updating config docs about .env file location. 2015-10-02 22:43:45 -05:00
Lonnie Ezell
b15e99e68e Incorporate our .env loader into the bootstrap. 2015-10-02 22:41:26 -05:00
Lonnie Ezell
1bba6abf5c Initial class for loading and reading .env files. 2015-10-02 22:36:37 -05:00
Lonnie Ezell
4e8c45a92a Initial docs for working with Config files. References dotenv files that are not working yet. 2015-10-02 21:43:24 -05:00
Lonnie Ezell
e71e0f3283 New BaseConfig class that populates class properties based on env vars. 2015-10-02 19:57:40 -05:00
Lonnie Ezell
18ec5e00eb Namespacing our config files. 2015-10-02 14:38:49 -05:00
Lonnie Ezell
36806a7c1a Refactor autoload config to match our new config methodology. 2015-09-30 23:32:37 -05:00
Lonnie Ezell
6628a70958 Fixing our DI tests to work with new config methodology. 2015-09-30 23:26:44 -05:00
Lonnie Ezell
6b3425fa6b Refactor DI config to be a simple object to match our new config methodology. 2015-09-30 23:20:19 -05:00
Lonnie Ezell
8aa52012a7 Adding reference link to Autoloader sanitize method. 2015-09-30 23:11:41 -05:00
Lonnie Ezell
0e8ec77798 Change the sanitization to a whitelist instead of a blacklist. Typically safer. 2015-09-30 23:10:18 -05:00