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
|
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
|
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
|
2d86c1248f
|
Adding view import to fix xml suite from not running.
|
2010-09-07 23:53:12 -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
|
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
|
af87e5d5bc
|
Adding a skip when AppError is present, as its behaviour is unknown.
|
2010-09-03 15:35:11 -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 |
|
mark_story
|
f1164c93d6
|
Updating the various CakeExceptions to take arrays in their constructors. This allows for the existing templates to continue working, as well as generalize the way in which errors are handled. This change also makes the messages coming out of exceptions more readable and removes string hackery.
|
2010-08-29 21:37:25 -04:00 |
|
mark_story
|
99cde14432
|
No more skipped tests for ErrorHandler.
Removing missing_model as it was never called.
|
2010-08-29 13:49:10 -04:00 |
|
mark_story
|
7fb62e9b7e
|
Updating more error messages to use exceptions.
|
2010-08-29 01:26:21 -04:00 |
|
mark_story
|
041aeecce4
|
Renaming test case file to match class file.
Updating tests and methods for missing_action, missing_view, private_action.
|
2010-08-29 01:01:36 -04:00 |
|
mark_story
|
756baeafdb
|
Making CakeErrorController get the most recent request, this will help when using requestAction.
Updating test cases for error404.
Updating ErrorHandler
|
2010-08-28 23:32:14 -04:00 |
|
mark_story
|
8712a90c8b
|
Adding some tests for construction.
|
2010-08-28 22:50:29 -04:00 |
|
mark_story
|
5d942ee609
|
Extracting a few methods to make testing easier, and subclasses easier to create.
|
2010-08-28 19:53:21 -04:00 |
|
mark_story
|
26f4ad4da1
|
Modifying bootstrap so it sets a default exception handler.
Making a ghetto implementation of exception handling.
Adding a crude test case, adding incomplete markers to all other tests.
|
2010-08-28 01:39:02 -04:00 |
|
predominant
|
c1209a1a7a
|
Added RequestObject output in place of Controller:$output whicch no longer exists.
|
2010-08-28 15:15:23 +10:00 |
|
predominant
|
93b80042f8
|
Fix failing scaffold tests.
|
2010-08-28 15:01:43 +10:00 |
|
mark_story
|
d8b2bcdf06
|
Making view + helpers groups pass.
|
2010-08-28 00:40:12 -04:00 |
|
mark_story
|
dcb7a167b4
|
Fixing controller test cases.
|
2010-08-28 00:29:50 -04:00 |
|
mark_story
|
9485f0a993
|
Merge branch 'request-response' into 2.0
Conflicts:
cake/tests/cases/libs/controller/controller.test.php
|
2010-08-28 00:24:07 -04:00 |
|
mark_story
|
2cdb10812d
|
Merge branch '2.0-exceptions' into 2.0
Conflicts:
cake/dispatcher.php
cake/libs/controller/scaffold.php
cake/tests/cases/dispatcher.test.php
|
2010-08-28 00:14:34 -04:00 |
|