mark_story
|
404e49b37d
|
Adding tests for writing falsey values.
|
2010-09-12 14:08:17 -04:00 |
|
mark_story
|
6519de3a2e
|
Adding CakeRequest::data() to make reading/writing data similar to CakeSession.
Tests added.
|
2010-09-12 14:05:57 -04:00 |
|
mark_story
|
730e373afe
|
Merge branch '1.3' into 2.0
Conflicts:
cake/libs/cake_session.php
cake/libs/view/pages/home.ctp
cake/tests/cases/libs/cache/memcache.test.php
cake/tests/cases/libs/cake_session.test.php
cake/tests/cases/libs/model/datasources/dbo_source.test.php
cake/tests/fixtures/data_test_fixture.php
|
2010-09-12 13:35:46 -04:00 |
|
mark_story
|
85ccd1f096
|
Fixing skipIf calls so email test runs in a reasonable time frame when there is no local smtp server.
|
2010-09-12 13:06:49 -04:00 |
|
mark_story
|
e9d194822d
|
Adding more tests for SMTP address formatting. Fixes #1100
|
2010-09-12 11:48:09 -04:00 |
|
mark_story
|
55ecfe0292
|
Fixing stupid typo.
|
2010-09-11 15:48:48 -04:00 |
|
mark_story
|
7c79583caa
|
Updating expiry time to be within tolerances of memcached.
|
2010-09-11 15:44:52 -04:00 |
|
mark_story
|
e4d34b640b
|
Merge branch '2.0-exceptions' into 2.0
Conflicts:
cake/libs/error.php
cake/tests/cases/libs/controller/scaffold.test.php
cake/tests/cases/libs/error.test.php
|
2010-09-10 20:31:16 -04:00 |
|
mark_story
|
8625d7b374
|
Making debugger test case pass.
|
2010-09-09 22:58:34 -04:00 |
|
mark_story
|
fbd0741a83
|
Making a test more resilient when additional fixtures are loaded.
|
2010-09-09 22:54:22 -04:00 |
|
mark_story
|
4a0e34a0d6
|
Applying patch from 'jeremyharris' to make RequestHandler::renderAs() accept an array of options that can be used to send a file as a download. Fixes #950
|
2010-09-09 21:31:34 -04:00 |
|
mark_story
|
bdb3feb7fd
|
Adding stack trace to the console error handler. Updating tests.
Changing require to require_once so the test case for ConsoleErrorHandler doesn't blow up in cli.
|
2010-09-08 23:38:51 -04:00 |
|
mark_story
|
d5bde3fe7a
|
Adding a call to session_destroy() to remove the session data. This fixes the issue where data would not be totally destroyed. Fixes #1089
|
2010-09-08 22:05:53 -04:00 |
|
mark_story
|
5d703c4f50
|
Fixing + adding imports for Scaffold.
|
2010-09-08 00:11:37 -04:00 |
|
mark_story
|
58d62cb369
|
Fixing issues with tests failing because exception messages changed.
|
2010-09-08 00:11:11 -04:00 |
|
mark_story
|
2d86c1248f
|
Adding view import to fix xml suite from not running.
|
2010-09-07 23:53:12 -04:00 |
|
mark_story
|
f677c4ab44
|
Fixing bake task tests and adding ConsoleErrorHandler to the AllShells suite.
|
2010-09-07 23:51:39 -04:00 |
|
mark_story
|
f94fcfb749
|
Updating Api shell test case to account for changes in controller api.
|
2010-09-07 23:42:18 -04:00 |
|
mark_story
|
b02d961d82
|
Adding ConsoleErrorHandler to the shell group.
|
2010-09-07 23:40:31 -04:00 |
|
mark_story
|
6e5e32bef5
|
Updating AclShell test to use AclComponent correctly.
|
2010-09-07 23:40:07 -04:00 |
|
Mark Story
|
aad72871a0
|
Adding more tests for virtualFields and complex expressions. Closes #1079
|
2010-09-07 00:32:44 -04:00 |
|
Mark Story
|
e15069769d
|
Adding tests for #1079 and fixing some formatting.
|
2010-09-07 00:09:06 -04:00 |
|
Mark Story
|
45dab88180
|
Adding a cast to fix a failing test from the merge.
|
2010-09-06 16:54:32 -04:00 |
|
Mark Story
|
d88da3d579
|
Merge branch '1.3' into 2.0
Conflicts:
cake/libs/configure.php
cake/libs/model/connection_manager.php
cake/libs/model/model.php
cake/tests/cases/libs/model/datasources/dbo/dbo_postgres.test.php
cake/tests/cases/libs/view/helpers/text.test.php
|
2010-09-06 16:53:04 -04:00 |
|
Mark Story
|
c60edfae6d
|
Fixing issue where errors containing code = 500, were not actually converted to error500 when debug = 0. Making missingConnection, and missingTable into error500 errors.
|
2010-09-06 16:46:41 -04:00 |
|
Mark Story
|
464d2217e6
|
Renaming model_behavior test to behavior_collection test as that's the class that contains the tested methods.
|
2010-09-06 13:51:42 -04:00 |
|
Mark Story
|
5789aaf24d
|
Applying patch from 'tkykmw'. Behavior mapped methods are no longer run through strtolower(). Mapped methods are now case sensitive. Fixes #318
|
2010-09-06 13:38:01 -04:00 |
|
Mark Story
|
fd50c2ae2a
|
Adding some tests for the constructor.
|
2010-09-06 01:21:58 -04:00 |
|
Mark Story
|
c8ad4f11eb
|
Updating test session classes to not use static methods.
|
2010-09-06 01:11:54 -04:00 |
|
Mark Story
|
27ae7f1f44
|
Making session storage classes not static, there was no real reason they were static before, and removing the static methods allows them to have constructors. This will allow moving database specific features from CakeSession to DatabaseSession.
|
2010-09-06 00:43:58 -04:00 |
|
Mark Story
|
8bd0f18a53
|
Adding a new line to the ConsoleErrorHandler
Refactoring ConsoleErrorHandler test to use dynamic mocks.
|
2010-09-05 11:22:39 -04:00 |
|
Mark Story
|
9fee81cda0
|
Updating ConsoleErrorHandler to use new exception names and method renames.
|
2010-09-05 11:10:48 -04:00 |
|
Mark Story
|
e5b4dd94d7
|
Renaming exceptions to not use Error400, Error500. Instead HTTP status words are used.
Adding more common HTTP status errors.
Updating tests for ErrorHandler.
|
2010-09-05 02:05:31 -04:00 |
|
Mark Story
|
82fffe6914
|
Fixing issue where FormHelper::select() with multiple = checkbox and a custom name attribute would not work correctly. Fixes #1078
|
2010-09-05 01:28:13 -04:00 |
|
Mark Story
|
d198230e61
|
Fixing issue where errors that did not have a 500+ code would use the incorrect status code.
|
2010-09-04 19:06:10 -04:00 |
|
Mark Story
|
4d863618f5
|
Refactoring exception handling so codes are much more flexible and easy to change.
Made error404 and error500 more generic.
Removed error() as it didn't really make that much sense.
|
2010-09-04 15:38:10 -04:00 |
|
Mark Story
|
dbd34c75c7
|
Removing newlines and trailing space.
|
2010-09-04 15:36:57 -04:00 |
|
Mark Story
|
42d998ca3b
|
Fixing up the include for the console error handler, and adding a test for stderr handle.
|
2010-09-04 10:46:04 -04:00 |
|
Mark Story
|
af87e5d5bc
|
Adding a skip when AppError is present, as its behaviour is unknown.
|
2010-09-03 15:35:11 -04:00 |
|
Mark Story
|
5c0fe1b16e
|
Applying patch from 'majna'. Adding plugin to the list of template variables exposed in the controller task. Test added Fixes #1077
|
2010-09-03 12:33:59 -04:00 |
|
Mark Story
|
2c7ef67e97
|
Fixing stupid output buffering error.
|
2010-09-03 10:22:58 -04:00 |
|
Mark Story
|
29ade860b1
|
Adding cases for Error404 and Error500 exceptions.
|
2010-09-02 18:04:50 -04:00 |
|
Mark Story
|
a1e01e414b
|
Adding a tests for CakeExceptions and non CakeExceptions
|
2010-09-02 18:02:58 -04:00 |
|
Mark Story
|
dbdd17f51a
|
Adding test cases from 'euromark' and updating how email addresses are parsed so they are slightly more conformant to RFC 5322. Fixes #1066
|
2010-09-02 11:16:10 -04:00 |
|
Mark Story
|
063fcf557d
|
Moving error handler inclusion to before Configure::bootstrap() so app error handlers can be created.
Fixing issue where unknown exception types would not be handled spewing out errors. Unknown exception types are interpreted as 500 errors.
|
2010-09-01 20:29:55 -04:00 |
|
mark_story
|
08d6c19ab6
|
Adding test for themes in app/webroot dir. Closes #1061
|
2010-08-31 21:21:05 -04:00 |
|
mark_story
|
a8d4015f47
|
Updating bootstrap process in CLI to match the one in web.
Updating all_libs to use new file.
Updating error_handler test to run in cli.
Updating Controller so it imports required classes.
|
2010-08-30 22:59:10 -04:00 |
|
mark_story
|
1f30c06695
|
Fixing method coercion in error404 so it only coerces CakeExceptions.
Test Added.
|
2010-08-29 23:39:28 -04:00 |
|
mark_story
|
78ac5bd20f
|
Removing sprintf() placeholders that don't work.
|
2010-08-29 23:28:54 -04:00 |
|
mark_story
|
efaa2e1177
|
Refactoring test case to use a dataprovider for the uniform/copy paste test cases.
|
2010-08-29 21:53:44 -04:00 |
|