Juan Basso
|
071ff04556
|
Xml::fromArray now receives a list of options unless simple format.
|
2010-09-08 19:40:33 -03: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 |
|
Juan Basso
|
c1a75cbc47
|
Support to namespaces in Xml::toArray().
|
2010-09-07 00:31:50 -03:00 |
|
Juan Basso
|
5f902d42e0
|
Changing the default format of fromArray from attributes to tags.
|
2010-09-06 23:11:45 -03:00 |
|
Juan Basso
|
87604f92c7
|
Adding a missing assert to tests.
|
2010-09-06 20:17:30 -03: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 |
|
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
|
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 |
|
Juan Basso
|
9239caa589
|
Added tests to use Xml with SOAP.
|
2010-09-01 21:37:32 -03: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 |
|
Juan Basso
|
a1eeb03e36
|
Added tests to use Xml with XML-RPC.
|
2010-09-01 21:14:21 -03:00 |
|
Juan Basso
|
ff29897bad
|
Moving the rss content to a file.
|
2010-09-01 20:22:39 -03:00 |
|
Juan Basso
|
26b514e2cd
|
Chaning tests of Xml to public.
|
2010-09-01 20:09:03 -03:00 |
|
Juan Basso
|
edcb5e4370
|
Added tests to use Xml with RSS.
|
2010-09-01 20:06:56 -03: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 |
|