Commit graph

9465 commits

Author SHA1 Message Date
mark_story
f08fa52a60 Syncing skel/config/core.php 2010-11-27 14:36:34 -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
José Lorenzo Rodríguez
492bcea85f mproving decribing process of tables in sqlite 2010-11-27 00:37:13 -04:30
José Lorenzo Rodríguez
0ff01330c4 Making dates deconstruction in model more consistent for different datasources 2010-11-27 00:13:04 -04:30
José Lorenzo Rodríguez
41ee035d28 Starting to bring sqlite dbo up to date 2010-11-26 23:46:34 -04:30
Juan Basso
547f48fb03 Changing to be compatible with PHP 5.2+ 2010-11-26 23:00:26 -02:00
José Lorenzo Rodríguez
b6731dd9ad Merge remote branch 'origin/2.0' into feature/2.0/pdo
Conflicts:
	cake/tests/cases/libs/model/datasources/dbo/dbo_mysql.test.php
	cake/tests/cases/libs/model/datasources/dbo/dbo_mysqli.test.php
2010-11-26 20:26:41 -04:30
ADmad
1186bc56f1 Adding EmailCompnent::lineFeed property toallow overriding the default line feed string when using mail() function to send mail. Closes #1320 2010-11-27 02:11:43 +05:30
ADmad
70ae66edf7 Fixing test cases for EmailComponent 2010-11-27 01:21:19 +05:30
mark_story
c717ff2e72 Adding logging of errors when debug = 0 for console applications. Fixes #1311 2010-11-25 23:16:27 -05:00
mark_story
0d5ed014d1 Removing constants and configuration settings that don't are repeated or deprecated/not used. 2010-11-25 23:16:03 -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
74bf455c49 Updating ConsoleErrorHandler to match ErrorHandler.
Updating test cases for ConsoleErrorHandler.
2010-11-25 22:51:30 -05:00
mark_story
3bc708ba19 Adding the new group to AllTests.
Removing ErrorHandler test from AllLibs.
2010-11-25 22:51:30 -05:00
mark_story
fac222e2cd Removing classes that were not used in the ErrorHandler test case. Adding a new test suite for error classes. 2010-11-25 22:51:29 -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
6c2c4f91df Removing dead tests and updating ones to reflect changes in how Configure works. 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
561fe7b91f Adding basic configuration for Error and Exception handling. 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
mark_story
15ca2400bc Fixing issue in DboSource::name() where special characters in column names would not be correctly quoted.
Tests added.
Fixes #1264
2010-11-25 06:52:23 -05:00
mark_story
7d158e8d1f Fixing Set::sort() for arrays with out of sequence, or missing keys.
Tests added.
Fixes #1312
2010-11-25 06:39:08 -05:00
mark_story
4214242efd Adding test for correct merge order for $uses.
Fixing incorrect merge ordering for $uses, so it matches historical behaviour.
Fixes #1309
2010-11-24 22:44:12 -05:00
mark_story
0e29567f8d Adding an array cast to fix issues where users could modify cookie
values causing iteration errors.  Fixes #1309
2010-11-24 22:09:08 -05:00
Juan Basso
af06b8f179 Added test to a request that server dont response WWW-Authenticate. 2010-11-24 21:14:52 -02:00
ADmad
b567de977e Fixed bug where Dispatcher::getUrl() returned incorrect URL if $base appeared in a $uri besides at start of $uri. 2010-11-24 02:15:44 +05:30
mark_story
d5fb0b25cb Fixing issue where Date header would be missing from Emails sent by
EmailComponent.
Adding user configurable field for date.
Test cases added.  Fixes #1304
2010-11-22 22:08:46 -05:00
mark_story
d9484c109f Merge branch '1.3' of github.com:cakephp/cakephp into 1.3 2010-11-22 21:29:33 -05:00
mark_story
d0d16a7eda Fixing i18n extraction errors in Scaffold. Fixes #1305 2010-11-22 21:29:11 -05:00
mark_story
bf10723f89 Applying patch from 'michealc' to fix duplicated comments. Fixes #1306 2010-11-22 21:21:55 -05:00
mark_story
f48811a2ff Moving include up so its not buried deep inside the class. 2010-11-22 21:15:02 -05:00
mark_story
7013a8f1e0 Fixing typo. Should be AppShell, not AppModel. 2010-11-22 21:07:21 -05:00