mark_story
|
f34cfd1f1e
|
Updating EmailComponent to use new methods on the ComponentCollection to ensure it always has a controller reference.
Removing triggerDisabled key as its no longer needed or wanted.
|
2010-09-14 23:02:38 -04:00 |
|
mark_story
|
0ef76eb69a
|
Adding a reference of the controller to the component collection, so components can easily access the controller in their constructor.
|
2010-09-14 22:52:51 -04:00 |
|
mark_story
|
7a14d3a8f2
|
Fixing issue where mockObject expectations were not counted hiding fails. Fixing all objects not actually being iterated.
|
2010-09-14 22:40:46 -04:00 |
|
mark_story
|
5d697b9d6e
|
Fixing tests where objects were not added to the mockObjects lists, making their expects() not count.
|
2010-09-14 22:39:05 -04:00 |
|
mark_story
|
8e97a5ee2d
|
Fixing failing tests caused by missing index in Security component testcase.
|
2010-09-14 22:20:30 -04:00 |
|
mark_story
|
0baaf6801b
|
Removing call to RequestHandler as its just a pass through to the request object which is available in that scope. Updating the test cases to not use deprecated and non-existent things.
|
2010-09-14 22:12:14 -04:00 |
|
mark_story
|
97dd7c7644
|
Adding support to ObjectCollection and its subclasses to trigger callbacks on all objects instead of just the enabled ones. Fixes issues where inner components would not get access to the controller as the initialize callback wasn't fired. This fixes some backwards compatibility issues. Tests updated.
|
2010-09-14 21:57:40 -04:00 |
|
mark_story
|
2906927a16
|
Adding BC wrappers for helpers.
Updating paginator test case to use non deprecated properties.
|
2010-09-13 23:12:00 -04:00 |
|
mark_story
|
003d02d8d9
|
Making view test pass by moving property assignment on mock.
|
2010-09-13 23:11:59 -04:00 |
|
mark_story
|
e4b2fb173b
|
Removing the deprecated properties.
Removing property copying to helpers.
Making the view test cases pass again.
|
2010-09-13 23:11:59 -04:00 |
|
mark_story
|
a521291afd
|
Adding a __set() method to make some tests pass.
Updating internal usage to not use deprecated attributes.
Updating test cases to not use deprecated attributes.
|
2010-09-13 23:11:59 -04:00 |
|
mark_story
|
84565151de
|
Removing all the deprecated properties from Controller.
Adding a __get() method to provide the properties that were moved to CakeRequest.
Tests added.
|
2010-09-13 23:11:59 -04:00 |
|
mark_story
|
578674f0e1
|
Reformatting some code in Set::classicExtract test case.
|
2010-09-12 14:19:36 -04:00 |
|
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
|
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 |
|