mark_story
|
539f2cd785
|
Removing a cakeError that slipped through the cracks.
|
2010-12-04 16:34:20 -05:00 |
|
mark_story
|
94258e14d7
|
Doing some reformatting and removing calls to read() since we are already in Configure.
|
2010-12-04 16:29:34 -05:00 |
|
mark_story
|
ae814db2dd
|
Changing IniAcl to use IniReader.
|
2010-12-04 14:47:47 -05:00 |
|
mark_story
|
98704d3ecd
|
Adding nested value support to IniReader.
Adding boolean conversions.
Adding test cases.
|
2010-12-04 12:56:37 -05:00 |
|
mark_story
|
1e569f509a
|
Changing IniFile to be a ConfigReader for use with Configure. Test case updated.
|
2010-12-04 12:15:47 -05:00 |
|
mark_story
|
9e32c13cac
|
Updating doc blocks.
|
2010-12-04 10:41:23 -05:00 |
|
mark_story
|
7eab3b2850
|
Moving load() logic out of Configure, and putting it into PhpReader.
Updating test cases. store() still needs to be properly implemented.
|
2010-12-04 01:05:12 -05:00 |
|
mark_story
|
6618178e1b
|
Adding more checks into PhpReader that currently exist in Configure.
|
2010-12-04 00:58:02 -05:00 |
|
mark_story
|
9b55487d4e
|
Removing a dead isset() and collapsing an if.
|
2010-12-04 00:24:09 -05:00 |
|
mark_story
|
aef53cd23a
|
Adding some more basic methods.
|
2010-12-04 00:14:55 -05:00 |
|
mark_story
|
da632fe191
|
Renaming method to match other core classes with similar features.
|
2010-12-04 00:10:42 -05:00 |
|
mark_story
|
9b8456ce6f
|
Adding an interface to define the necessary public methods.
Adding insertion of configure readers.
Adding tests.
|
2010-12-04 00:09:11 -05:00 |
|
mark_story
|
bbb15c24a1
|
Adding more tests and better errors for PhpReader.
|
2010-12-02 23:30:28 -05:00 |
|
mark_story
|
ae328ffb3a
|
Adding plugin support for PhpReader.
Tests added.
|
2010-12-02 23:14:26 -05:00 |
|
mark_story
|
fdb5955d6c
|
Adding PhpReader to implement php file reading as per #1334
|
2010-12-02 23:06:08 -05:00 |
|
Juan Basso
|
aa0bad9247
|
Ignore errorHandler if warning suppressor (@command()) is used.
|
2010-12-02 01:44:31 -02:00 |
|
Juan Basso
|
ffaec10a7c
|
Fixing the result of App::import() when name of class have slash.
|
2010-11-29 22:37:08 -02:00 |
|
Mark Story
|
40585a34e8
|
Adding support for userPath in IniAcl.
Test case added.
Fixes #1291
|
2010-11-28 21:22:10 -05:00 |
|
Mark Story
|
2495b3cd4c
|
Trimming whitespace and adding a file header.
|
2010-11-28 21:11:18 -05:00 |
|
Mark Story
|
3ddff879b1
|
Converting IniAcl to use IniFile, this removes one of the classes responsibilities.
|
2010-11-28 21:06:22 -05:00 |
|
Mark Story
|
35611d50c3
|
Fleshing out IniFile a bit more.
|
2010-11-28 21:05:32 -05:00 |
|
Mark Story
|
071cd9b477
|
Adding very naive implementation of an ini file parser.
|
2010-11-28 21:05:32 -05:00 |
|
mark_story
|
9d3b3a72ce
|
Starting to extract Ini file parsing out of IniAcl as it breaks single responsibility, and ini file parsing should be generic enough to be reused.
Adding a test case.
|
2010-11-28 21:05:32 -05:00 |
|
mark_story
|
cc18c15e61
|
Fixing coding standards.
|
2010-11-28 21:05:32 -05:00 |
|
mark_story
|
284a8db3f4
|
Moving error handling classes into a separate directory.
Moving error handling test cases into a directory that matches the one in libs.
Updating imports.
|
2010-11-28 12:27:51 -05:00 |
|
mark_story
|
e40ee2576b
|
Minor optimization in h()
Minor optimizations in FormHelper, as calls to ArrayAccess methods are avoided now.
|
2010-11-28 00:33:01 -05:00 |
|
mark_story
|
da98791e14
|
Adding some more documentation about precedence of configuration.
|
2010-11-27 19:37:25 -05:00 |
|
mark_story
|
345779772d
|
Fixing issue where an AppController::appError would cause errors as $method was not a real method.
|
2010-11-27 14:35:36 -05:00 |
|
mark_story
|
d3f0d25c03
|
Removing error masking in ErrorHandler, instead correctly calling set_error_handler() works better.
|
2010-11-27 14:32:43 -05:00 |
|
mark_story
|
9b4f7a1a15
|
More documentation.
|
2010-11-25 22:51:31 -05:00 |
|
mark_story
|
f3feb1575c
|
Removing support for AppError. It doesn't make sense to have hardcoded class references when there is better configuration available.
Updating doc blocks for exceptions.
Updating core.php file.
|
2010-11-25 22:51:30 -05:00 |
|
mark_story
|
1cffea379f
|
More documentation.
|
2010-11-25 22:51:30 -05:00 |
|
mark_story
|
04d3feb6c0
|
Unknown errors cannot be mapped as they generate another error. Having a default case doesn't make much sense here.
Adding additional coverage to ErrorHandler.
|
2010-11-25 22:51:30 -05:00 |
|
mark_story
|
845edf38e1
|
Removing core classes using App::import() with an array(). This usage incurs an additional call to App::import().
Removing Set from core class imports, as Set is required as part of the framework bootstrapping.
|
2010-11-25 22:51:30 -05:00 |
|
mark_story
|
e88cdc8a01
|
Adding more documentation.
|
2010-11-25 22:51:30 -05:00 |
|
mark_story
|
55623ace92
|
Adding deprecated error level to the map switch.
|
2010-11-25 22:51:30 -05:00 |
|
mark_story
|
f2f3f13c75
|
Adding exception logging configuration setting. Allows uncaught exceptions to be logged.
Implementing logging, and adding a test case.
|
2010-11-25 22:51:30 -05:00 |
|
mark_story
|
af4447d55d
|
Removing Configure::write('log'). This feature is now part of Error configuration.
Removing log check from Debugger::showError(). This method only show's errors, it shouldn't be logging them as well.
|
2010-11-25 22:51:30 -05:00 |
|
mark_story
|
14a6368b39
|
Adding missed isset() check
Making ConsoleErrorHandler handle both errors, and exceptions in CLI.
|
2010-11-25 22:51:30 -05:00 |
|
mark_story
|
e2c8e20afa
|
Pulling exception page rendering out into a separate class, ErrorHandler felt very large and confusing, as it had a few too many jobs.
|
2010-11-25 22:51:29 -05:00 |
|
mark_story
|
8a35b76cc2
|
Fixing error caused by removed method.
|
2010-11-25 22:51:29 -05:00 |
|
mark_story
|
722b1a02ba
|
Adding Debugger output to ErrorHandler::handleError, and adding tracing for log writes.
Renaming Debugger::_output() -> Debugger::outputError() and making it public instead of protected.
|
2010-11-25 22:51:29 -05:00 |
|
mark_story
|
f373fc19d1
|
Removing logError from CakeLog, it will be moved into ErrorHandler::handleError()
|
2010-11-25 22:51:29 -05:00 |
|
mark_story
|
a621ac1ba3
|
Adding level to the core.php file, this lets you choose which error levels you are interested in for your application.
Removing hardcoded error_reporting levels in Configure.
|
2010-11-25 22:51:29 -05:00 |
|
mark_story
|
a8ba73da62
|
Removing wrapper method that didn't contribute anything.
Adding doc blocks for the sequence bootstrapping takes.
|
2010-11-25 22:51:29 -05:00 |
|
mark_story
|
b371de8cf4
|
Moving error handler configuration setting after application bootstrap is done, this will allow classes to be imported using the cache.
|
2010-11-25 22:51:29 -05:00 |
|
mark_story
|
e68a1a094e
|
Moving error and exception handler configuration into Configure, as settings. You can use Error.handler and Exception.handler to define the error and exception handlers for your application.
|
2010-11-25 22:51:28 -05:00 |
|
mark_story
|
4960b6e7bf
|
Changing method names on CakeLog and Debugger to better reflect what they do. Updating test cases.
|
2010-11-25 22:51:28 -05:00 |
|
mark_story
|
da3bf1c747
|
Adding ErrorHandler::handleError for consolidating core error handling out of CakeLog and Debugger.
|
2010-11-25 22:51:28 -05:00 |
|
mark_story
|
6d5cf96d1c
|
Making instance method use the instance, and not call itself statically.
|
2010-11-25 22:51:28 -05:00 |
|