Ceeram
00dd1ccc96
removing unneeded parameter, describe() only takes one parameter
2011-07-11 21:07:44 +02:00
Majna
cde13daed4
Refactored DatabaseSession to use only 'Session.handler.model' config. Fixed static call on non-static method DatabaseSession::gc(). Fix for SessionFixture -primary key too long (MySQL Error: 1071)
2011-07-11 00:16:41 +02:00
hiromi2424
9e79756b1f
fixed unassigned "show passes" parameter for test
2011-07-09 18:40:22 +09:00
José Lorenzo Rodríguez
a69fccabf6
Merge pull request #144 from majna/2.0
...
Fix for exception messages and typos
2011-07-07 11:26:32 -07:00
ADmad
1bccc7713d
Fixing singularization of "curves"
2011-07-07 23:08:03 +05:30
Majna
742130b540
Fix for wrong Exception messages and typos. Added missing ExceptionRenderer tests for Datasource
2011-07-07 19:36:21 +02:00
José Lorenzo Rodríguez
af12a17b81
Fixing copy paste typos from previous commit
2011-07-07 09:59:02 -07:00
Leonid Mamchenkov
b6ff3a6fdf
Fixed typo in the comment
2011-07-07 15:14:06 +03:00
Jose Lorenzo Rodriguez
feb567d4ee
Adding better help and documentation for loading plugins. The exception renderer will serve a helpful page if a plugin is missing
2011-07-07 02:34:22 -04:30
Jose Lorenzo Rodriguez
eaa80bbced
Completing support for extracting model validation messages from application plugins
2011-07-07 02:11:48 -04:30
Jose Lorenzo Rodriguez
d2519ae0ae
Adding support to the extract task to operate on a single plugin, thus removing the hassle of declaring the plugin path in command line
2011-07-07 01:57:55 -04:30
Jose Lorenzo Rodriguez
765164f33b
Merge branch '2.0-extract-model-validation' into 2.0
2011-07-07 01:05:39 -04:30
mark_story
1d0d3f80fb
Fixing Helper::value() when models exist in ClassRegistry
...
and field values are empty.
Fixes #1817
2011-07-06 21:26:07 -04:00
mark_story
81a2563a05
Merge branch 'auth-logout' into 2.0
2011-07-03 12:53:57 -04:00
mark_story
71933f5cf5
Adding a logout callback to authenticate objects.
...
Adding tests for the callback.
Adding doc blocks for the new callback.
Fixes #1758
2011-07-03 12:53:21 -04:00
José Lorenzo Rodríguez
9ea1a049fe
Fixing typo in UpgradeShell
2011-07-02 14:21:27 -07:00
José Lorenzo Rodríguez
f671be60d1
Merge pull request #141 from luisarmando/componentsUpgrade
...
Update component task, make components extend Component instead of Object
2011-07-02 13:05:43 -07:00
mark_story
be09c67fa6
Fixing failing test that happened between 12:00 & 12:59
2011-07-02 13:01:08 -04:00
mark_story
c2a96267b2
Merge branch 'form-helper' into 2.0
2011-07-02 12:13:41 -04:00
Luís Armando
ae9a3ef479
Update component task, make components extend Component instead of Object.
2011-07-02 17:49:29 +02:00
Mark Story
0366d8f18a
Changing title CSS for web test runner.
...
Fixes #1752
2011-07-01 23:23:22 -04:00
Mark Story
2f24be77e9
Merge pull request #140 from majna/2.0
...
Fix for render element - allow under_scored plugin name.
Fixes #1814
2011-07-01 18:11:57 -07:00
Mark Story
2725718231
Merge pull request #132 from thatcode/2.0
...
Minor comment and path changes.
2011-07-01 18:06:24 -07:00
Majna
71ed244f14
Fix for render element - allow under_scored plugin name. Fixes #1814
2011-07-02 02:17:44 +02:00
mark_story
bef2e75bdf
Fixing failing debugger test.
...
Adding doc blocks for helper properties.
2011-07-01 07:56:48 -04:00
mark_story
c9acb6b587
Moving FormHelper specifics into that class.
2011-07-01 07:39:03 -04:00
Jose Lorenzo Rodriguez
ee2930d3d0
Removing magic variable in DboSource to bypass the adding of fields to association queries, instead adding the ability to declare 'fields' => false in the association array. This opens the possibility of having joins for filtering purposes.
2011-06-28 11:45:37 -04:30
ADmad
b22e30c5a3
Removing unneeded magic methods. Closes #1802
2011-06-28 17:28:36 +05:30
Mark Story
89258327c6
Moving entity() and its related attributes to Helper
...
Removing entity() and its attributes from View.
Having that information on View allowed for unwanted side effects,
and seemed like a break of encapsulation.
2011-06-25 20:02:34 -04:00
Mark Story
e4d701021e
Fixing failing tests caused by merge with 1.3
2011-06-25 20:00:39 -04:00
Mark Story
1ffa7366a5
Removing now dead code.
2011-06-25 19:31:20 -04:00
Mark Story
4073584eef
Fixing more failing tests.
...
Fixing use of properties that are going away.
2011-06-25 19:31:20 -04:00
Mark Story
87fe66353f
Removing pointless test that was in the middle of an unrelated test.
2011-06-25 19:31:20 -04:00
Mark Story
f5b3549018
Fixing issue where _method would be remembered as a field.
2011-06-25 19:31:20 -04:00
Mark Story
25870441bc
Fixing '2.name' style fields when creating multiple record forms.
2011-06-25 19:31:20 -04:00
Mark Story
96cc1b98b4
Making a test more specific.
2011-06-25 19:31:19 -04:00
Mark Story
b7e554fcd7
Starting to update FormHelper's internals to work with changes in
...
Helper.
2011-06-25 19:31:19 -04:00
Mark Story
3a847ae28f
Updating more tests for change in Helper setEntity().
2011-06-25 19:31:19 -04:00
Mark Story
8a8336c1b0
Starting to convert Helper::setEntity() and View::entity()
...
to not be nearly as complex and magic. This also
helps reduce coupling between the helpers and Models.
2011-06-25 19:31:19 -04:00
Mark Story
ffe575bb7d
Removing expectation that was not being fulfilled.
2011-06-25 19:30:56 -04:00
Robert Sworder
fb3a1928d3
Minor comment and path changes.
2011-06-25 15:08:41 +01:00
AD7six
fcd0505d42
Hide db credentials
...
To protect users who have publically accessible installs with debug
turned on - *** out db login credentials
2011-06-24 10:25:20 +02:00
Mark Story
08f1afe328
Updating varchar, text columns to use nvarchar.
...
This storage type stores unicode properly, and is the
saner default datatype for most applications.
Fixes #1321
2011-06-23 23:01:17 -07:00
Mark Story
6bcfd19ea7
Fixing tests that shouldn't have been changed.
2011-06-23 16:27:59 -07:00
Mark Story
3169c5a1e7
Fixing issues with unicode quoting.
2011-06-23 16:13:35 -07:00
Mark Story
9ab2ec7d49
Adding support for Unicode characters. Refs #1321
2011-06-23 15:46:03 -07:00
Mark Story
623466dcf8
Removing duplicated code.
2011-06-23 14:34:45 -07:00
Mark Story
d6e262da2d
Fixing form action attributes being double encoded with
...
querystring attributes.
Fixes #1748
2011-06-23 14:32:53 -07:00
Mark Story
68378f2d06
Adding a test for double escaped form urls.
...
Refs #1748
2011-06-23 14:32:53 -07:00
Jose Lorenzo Rodriguez
55387ef77f
Removing a apparently bad hack in the FolderTest case
2011-06-23 13:53:19 -07:00
Jose Lorenzo Rodriguez
d86dcd6d3b
Fixing test broken in Mysql driver
2011-06-23 13:47:11 -07:00
Jose Lorenzo Rodriguez
1814b06695
Fixing a couple of recently broken tests
2011-06-23 13:41:10 -07:00
Mark Story
5035bb99f8
Renaming FileLog test case.
2011-06-23 13:24:26 -07:00
Mark Story
3e4388d7d7
Fixing failures from merging.
2011-06-23 13:22:08 -07:00
Mark Story
91a1cf81f3
Merge branch '1.3' into merger
...
Conflicts:
app/Config/acl.ini.php
app/config/database.php.default
app/webroot/css.php
app/webroot/css/cake.generic.css
cake/basics.php
cake/bootstrap.php
cake/config/paths.php
cake/console/cake.php
cake/console/error.php
cake/console/libs/acl.php
cake/console/libs/bake.php
cake/console/libs/i18n.php
cake/console/libs/shell.php
cake/console/libs/tasks/extract.php
cake/console/libs/tasks/plugin.php
cake/console/libs/tasks/project.php
cake/console/libs/testsuite.php
cake/console/templates/default/classes/test.ctp
cake/console/templates/default/views/home.ctp
cake/console/templates/default/views/view.ctp
cake/console/templates/skel/config/database.php.default
cake/console/templates/skel/views/elements/email/text/default.ctp
cake/console/templates/skel/webroot/css.php
cake/dispatcher.php
cake/libs/cache.php
cake/libs/cake_session.php
cake/libs/configure.php
cake/libs/controller/component.php
cake/libs/controller/components/auth.php
cake/libs/controller/components/email.php
cake/libs/controller/components/request_handler.php
cake/libs/controller/components/security.php
cake/libs/controller/controller.php
cake/libs/controller/scaffold.php
cake/libs/error.php
cake/libs/magic_db.php
cake/libs/model/behaviors/acl.php
cake/libs/model/connection_manager.php
cake/libs/model/datasources/dbo/dbo_mysqli.php
cake/libs/model/model_behavior.php
cake/libs/overloadable.php
cake/libs/overloadable_php4.php
cake/libs/overloadable_php5.php
cake/libs/router.php
cake/libs/view/errors/missing_action.ctp
cake/libs/view/errors/missing_behavior_class.ctp
cake/libs/view/errors/missing_behavior_file.ctp
cake/libs/view/errors/missing_component_class.ctp
cake/libs/view/errors/missing_component_file.ctp
cake/libs/view/errors/missing_connection.ctp
cake/libs/view/errors/missing_controller.ctp
cake/libs/view/errors/missing_helper_class.ctp
cake/libs/view/errors/missing_helper_file.ctp
cake/libs/view/errors/missing_layout.ctp
cake/libs/view/errors/missing_model.ctp
cake/libs/view/errors/missing_scaffolddb.ctp
cake/libs/view/errors/missing_table.ctp
cake/libs/view/errors/missing_view.ctp
cake/libs/view/errors/private_action.ctp
cake/libs/view/errors/scaffold_error.ctp
cake/libs/view/helpers/ajax.php
cake/libs/view/helpers/javascript.php
cake/libs/view/helpers/js.php
cake/libs/view/helpers/session.php
cake/libs/view/helpers/xml.php
cake/libs/view/media.php
cake/libs/view/pages/home.ctp
cake/libs/view/scaffolds/edit.ctp
cake/libs/view/scaffolds/index.ctp
cake/libs/view/scaffolds/view.ctp
cake/libs/view/view.php
cake/libs/xml.php
cake/tests/cases/console/cake.test.php
cake/tests/cases/console/libs/acl.test.php
cake/tests/cases/console/libs/api.test.php
cake/tests/cases/console/libs/bake.test.php
cake/tests/cases/console/libs/shell.test.php
cake/tests/cases/console/libs/tasks/controller.test.php
cake/tests/cases/console/libs/tasks/db_config.test.php
cake/tests/cases/console/libs/tasks/fixture.test.php
cake/tests/cases/console/libs/tasks/model.test.php
cake/tests/cases/console/libs/tasks/plugin.test.php
cake/tests/cases/console/libs/tasks/project.test.php
cake/tests/cases/console/libs/tasks/test.test.php
cake/tests/cases/console/libs/tasks/view.test.php
cake/tests/cases/dispatcher.test.php
cake/tests/cases/libs/cache/apc.test.php
cake/tests/cases/libs/cake_session.test.php
cake/tests/cases/libs/cake_test_case.test.php
cake/tests/cases/libs/code_coverage_manager.test.php
cake/tests/cases/libs/configure.test.php
cake/tests/cases/libs/controller/component.test.php
cake/tests/cases/libs/controller/components/auth.test.php
cake/tests/cases/libs/controller/components/cookie.test.php
cake/tests/cases/libs/controller/components/request_handler.test.php
cake/tests/cases/libs/controller/components/session.test.php
cake/tests/cases/libs/controller/controller.test.php
cake/tests/cases/libs/controller/pages_controller.test.php
cake/tests/cases/libs/error.test.php
cake/tests/cases/libs/http_socket.test.php
cake/tests/cases/libs/magic_db.test.php
cake/tests/cases/libs/model/datasources/dbo/dbo_mssql.test.php
cake/tests/cases/libs/model/datasources/dbo/dbo_mysql.test.php
cake/tests/cases/libs/model/datasources/dbo/dbo_mysqli.test.php
cake/tests/cases/libs/model/datasources/dbo_source.test.php
cake/tests/cases/libs/model/models.php
cake/tests/cases/libs/overloadable.test.php
cake/tests/cases/libs/test_manager.test.php
cake/tests/cases/libs/view/helpers/ajax.test.php
cake/tests/cases/libs/view/helpers/javascript.test.php
cake/tests/cases/libs/view/helpers/session.test.php
cake/tests/cases/libs/view/helpers/xml.test.php
cake/tests/cases/libs/view/media.test.php
cake/tests/cases/libs/view/theme.test.php
cake/tests/cases/libs/xml.test.php
cake/tests/fixtures/aco_fixture.php
cake/tests/fixtures/translate_fixture.php
cake/tests/groups/acl.group.php
cake/tests/groups/bake.group.php
cake/tests/groups/behaviors.group.php
cake/tests/groups/cache.group.php
cake/tests/groups/components.group.php
cake/tests/groups/configure.group.php
cake/tests/groups/console.group.php
cake/tests/groups/controller.group.php
cake/tests/groups/database.group.php
cake/tests/groups/helpers.group.php
cake/tests/groups/i18n.group.php
cake/tests/groups/javascript.group.php
cake/tests/groups/lib.group.php
cake/tests/groups/model.group.php
cake/tests/groups/no_cross_contamination.group.php
cake/tests/groups/routing_system.group.php
cake/tests/groups/socket.group.php
cake/tests/groups/test_suite.group.php
cake/tests/groups/view.group.php
cake/tests/groups/xml.group.php
cake/tests/lib/cake_test_case.php
cake/tests/lib/cake_test_model.php
cake/tests/lib/cake_test_suite_dispatcher.php
cake/tests/lib/cake_web_test_case.php
cake/tests/lib/code_coverage_manager.php
cake/tests/lib/reporter/cake_base_reporter.php
cake/tests/lib/reporter/cake_cli_reporter.php
cake/tests/lib/reporter/cake_text_reporter.php
cake/tests/lib/templates/menu.php
cake/tests/lib/templates/simpletest.php
cake/tests/lib/test_manager.php
cake/tests/test_app/controllers/tests_apps_controller.php
cake/tests/test_app/libs/cache/test_app_cache.php
cake/tests/test_app/libs/library.php
cake/tests/test_app/libs/log/test_app_log.php
cake/tests/test_app/plugins/test_plugin/config/load.php
cake/tests/test_app/plugins/test_plugin/config/more.load.php
cake/tests/test_app/plugins/test_plugin/controllers/components/other_component.php
cake/tests/test_app/plugins/test_plugin/controllers/components/plugins_component.php
cake/tests/test_app/plugins/test_plugin/controllers/components/test_plugin_component.php
cake/tests/test_app/plugins/test_plugin/controllers/components/test_plugin_other_component.php
cake/tests/test_app/plugins/test_plugin/controllers/test_plugin_controller.php
cake/tests/test_app/plugins/test_plugin/controllers/tests_controller.php
cake/tests/test_app/plugins/test_plugin/libs/cache/test_plugin_cache.php
cake/tests/test_app/plugins/test_plugin/libs/log/test_plugin_log.php
cake/tests/test_app/plugins/test_plugin/libs/test_plugin_library.php
cake/tests/test_app/plugins/test_plugin/test_plugin_app_controller.php
cake/tests/test_app/plugins/test_plugin/test_plugin_app_model.php
cake/tests/test_app/plugins/test_plugin/vendors/sample/sample_plugin.php
cake/tests/test_app/plugins/test_plugin/vendors/welcome.php
cake/tests/test_app/plugins/test_plugin/views/helpers/other_helper.php
cake/tests/test_app/plugins/test_plugin/views/helpers/plugged_helper.php
cake/tests/test_app/vendors/Test/MyTest.php
cake/tests/test_app/vendors/Test/hello.php
cake/tests/test_app/vendors/sample/configure_test_vendor_sample.php
cake/tests/test_app/vendors/shells/sample.php
cake/tests/test_app/vendors/somename/some.name.php
cake/tests/test_app/vendors/welcome.php
cake/tests/test_app/views/elements/email/text/default.ctp
cake/tests/test_app/views/layouts/default.ctp
cake/tests/test_app/views/posts/test_nocache_tags.ctp
lib/Cake/Cache/Engine/MemcacheEngine.php
lib/Cake/Config/config.php
lib/Cake/Console/Command/Task/ModelTask.php
lib/Cake/Console/Templates/skel/webroot/css/cake.generic.css
lib/Cake/Console/Templates/skel/webroot/test.php
lib/Cake/Console/cake.bat
lib/Cake/Controller/Component/CookieComponent.php
lib/Cake/Log/CakeLog.php
lib/Cake/Model/CakeSchema.php
lib/Cake/Test/Case/Log/Engine/FileLog.php
lib/Cake/Test/Case/View/Helper/FormHelperTest.php
lib/Cake/Test/test_app/View/Emails/html/custom.ctp
lib/Cake/Test/test_app/View/Emails/text/custom.ctp
lib/Cake/TestSuite/templates/header.php
lib/Cake/Utility/Sanitize.php
lib/Cake/Utility/Validation.php
lib/Cake/VERSION.txt
lib/Cake/View/Helper/FormHelper.php
2011-06-23 12:48:06 -07:00
Mark Story
e33a9a7846
Adding new limit/offset pagination for SQLServer 11.
2011-06-22 17:01:36 -07:00
Mark Story
0e09f75a66
Updating table styles.
2011-06-22 13:53:38 -07:00
Mark Story
7392902abd
Syncing skel CSS with app/webroot css.
2011-06-22 13:17:38 -07:00
Mark Story
f547032f6f
Removing altrow from the bake default templates.
...
Refs #306
2011-06-22 13:14:31 -07:00
Mark Story
edda41e23b
Removing 'altclass' from scaffold templates.
...
Refs #306
2011-06-22 13:08:17 -07:00
Mark Story
1a155c80c0
Fixing support for nchar and nvarchar fields in SQL server.
...
These fields report their length as double of what its defined.
2011-06-22 11:39:06 -07:00
Mark Story
1df0801c33
Updating SQLServer test to pass when the app has a model.
2011-06-22 11:08:14 -07:00
Mark Story
3bc6195967
Merge branch '2.0' of github.com:cakephp/cakephp into 2.0
2011-06-22 10:56:18 -07:00
Mark Story
a825d8280f
Adding support for SQLServer's datetime2 column,
...
as that is the preferred datetime format in SQLServer.
2011-06-22 10:24:45 -07:00
Mark Story
d45b7fa174
Fixing identity check.
2011-06-22 10:15:15 -07:00
Graham Weldon
876a047a76
Change type check to loose type checking for Sqlserver limit -1
2011-06-22 09:54:35 -07:00
Mark Story
853c0bdd48
Removing var_dump() because I'm dumb.
2011-06-22 09:07:48 -07:00
Mark Story
0c1472ee44
Adding better support for nvarchar(MAX) in SQLServer
...
Newer versions of SQLServer perfer to use nvarchar(max) for
text columns.
2011-06-22 09:05:06 -07:00
Mark Story
936d068eec
Reformating SQLServer 'describe' query.
2011-06-22 09:05:06 -07:00
José Lorenzo Rodríguez
92bbf1131b
Merge pull request #127 from mamchenkov/2.0
...
Fix for custom authentication objects (ticket #1757 )
2011-06-22 08:30:47 -07:00
AD7six
26aeb11550
remove needless line of code
...
as pointed out by maurymmarques, in pull request 126
2011-06-22 15:39:33 +02:00
Leonid Mamchenkov
a1f47a803a
Added paths for Controller/Component/Auth (ticket #1757 )
2011-06-22 16:28:39 +03:00
Jose Lorenzo Rodriguez
ff34137d38
Merge branch '2.0' of github.com:cakephp/cakephp into 2.0
2011-06-21 18:59:18 -04:30
Jose Lorenzo Rodriguez
d0ef655601
Using the field name for aliasing for Sqlsrv as in Postgres, removing dead code
2011-06-21 18:58:33 -04:30
Mark Story
9e4c367688
Adding Wincache support. Wincache is a fast shared memory
...
cache that performs very well on windows platforms.
2011-06-21 16:02:25 -07:00
Jose Lorenzo Rodriguez
97e51f1d94
Removing Sqlserver::value() as it is already abstracted in DboSource
2011-06-21 18:07:05 -04:30
Jose Lorenzo Rodriguez
f79fc74aad
Merge branch '2.0' of github.com:cakephp/cakephp into 2.0
2011-06-21 17:09:53 -04:30
Jose Lorenzo Rodriguez
9aa2a4227f
Fixing offsetting in paginated queries in SqlSrv
2011-06-21 17:09:12 -04:30
Mark Story
734495d0c7
Removing bogus code that doesn't work when tests fail.
2011-06-21 14:20:20 -07:00
Mark Story
f353eb733f
Fixing incorrect default value.
2011-06-21 14:20:20 -07:00
Jose Lorenzo Rodriguez
2e5bdd862b
Adding a new change to the AuthComponent test to make it pass with Sqlsrv
2011-06-21 16:32:12 -04:30
Mark Story
4deedf6da2
Removing extra paging result that ends up because of SQLserver 10 workarounds.
2011-06-21 13:17:49 -07:00
Jose Lorenzo Rodriguez
3d2a732cd3
Reverting testing changes pushed in past commit
2011-06-21 15:30:17 -04:30
Jose Lorenzo Rodriguez
e14c4412fd
Fixing more AuthComponent tests for Sqlsrv
2011-06-21 15:08:27 -04:30
Jose Lorenzo Rodriguez
9f1242492d
Merge branch '2.0' of github.com:cakephp/cakephp into 2.0
2011-06-21 14:33:05 -04:30
Jose Lorenzo Rodriguez
a34358faa4
Fixing FormAuthenticateTest for Sqlsrv
2011-06-21 14:29:18 -04:30
Graham Weldon
3474837492
Fix error message for database configuration missing.
2011-06-21 11:42:35 -07:00
Graham Weldon
f1108b2ef1
Fixed pagination for SqlServer
2011-06-21 11:38:09 -07:00
Mark Story
c1e674f9c1
Actually checking that files exist before saying they do.
2011-06-21 10:45:01 -07:00
Jose Lorenzo Rodriguez
b722693102
Fixing all console tests on windows
2011-06-21 12:38:25 -04:30
Jose Lorenzo Rodriguez
552bd82b5b
Fixing tests from CommandListShell when run on windows
2011-06-21 12:14:36 -04:30
Jose Lorenzo Rodriguez
d54f8dc07a
Fixing some shell tests when that fail when they are run in window
2011-06-21 11:24:59 -04:30
Jose Lorenzo Rodriguez
f4aeb514e3
Fiing CakeSchema so it runs without errors on Sqlsrv
2011-06-21 11:13:33 -04:30
Jose Lorenzo Rodriguez
cdc81333e8
Adding support in SqlSrv for drop table if exists
2011-06-20 19:49:06 -04:30
Jose Lorenzo Rodriguez
cf49d51e75
Fixing the binary type for SqlSrv
2011-06-20 19:14:21 -04:30
Jose Lorenzo Rodriguez
41603cacb7
Fixing Fixture generation task to be more compatible with SqlSrv
2011-06-20 19:03:00 -04:30
Jose Lorenzo Rodriguez
9f85e24413
Adding float precision support to CakeSchema when using Sqlsrv
2011-06-20 18:43:26 -04:30
unknown
0cc76b3a88
Fixing some tests on ShellDispatcher to make them run on windows
2011-06-20 17:58:51 -04:30
Jose Lorenzo Rodriguez
e758b272bd
Fixing problems when running the AllTests testsuite
2011-06-20 01:34:25 -04:30
Mark Story
ce7ec44298
Importing Multibyte.
...
Fixes fatal errors when mbstring is not installed.
2011-06-19 22:42:56 -07:00
Mark Story
72ca89412a
Fixing failing test, because I forgot to update it earlier.
2011-06-19 22:42:25 -07:00
Mark Story
ed8ccc2903
Remove persistModel.
...
The benefits of persistModel are no longer needed. Because of lazy model associations,
the performance benefits persistModel are no longer realized.
Fixes #1782
2011-06-19 22:08:03 -07:00
Jose Lorenzo Rodriguez
33c74b6062
Implementing validation domain extraction in the ExtractionTask
2011-06-20 00:36:31 -04:30
Juan Basso
1c7d54eacc
Updated the paths from comments.
2011-06-19 20:28:40 -04:00
Juan Basso
d220ee5578
Implemented the support to use helpers in CakeEmail. Fixes #1754
2011-06-19 18:43:17 -04:00
Mark Story
b4a780332f
Add the 'model' key to PaginatorHelper::counter()
...
Its available as both '%model%' and '{:model}'
Fixes #1773
2011-06-19 14:05:28 -07:00
Jose Lorenzo Rodriguez
28ba1c9fd9
Removing unneeded line in test case
2011-06-17 18:12:01 -04:30
Jose Lorenzo Rodriguez
2a39e6869c
Merge branch '2.0' into 2.0-merge
...
Conflicts:
lib/Cake/Test/Case/Controller/ScaffoldTest.php
lib/Cake/Test/Case/Model/ConnectionManagerTest.php
lib/Cake/Test/Case/TestSuite/CakeTestFixtureTest.php
lib/Cake/Test/Case/Utility/SanitizeTest.php
2011-06-17 18:04:03 -04:30
Jose Lorenzo Rodriguez
6637d2544c
Adding a Debug transport class to help users test their apps when sending emails
2011-06-17 17:55:36 -04:30
Jose Lorenzo Rodriguez
8a98ee2486
Adding a Debug transport class to help users test their apps when sending emails
2011-06-17 17:51:31 -04:30
José Lorenzo Rodríguez
a32506593c
Merge pull request #121 from burzum/98e29b7246ff490ff2af
...
Fixing the DatabaseSession to work with models that use a different primary key field than id.
2011-06-15 14:04:43 -07:00
Florian Krmer
98e29b7246
Fixing the DatabaseSession to work with models that use a different primary key field than id.
2011-06-15 22:56:55 +02:00
Renan Gonçalves
f4e598f920
Merge branch '2.0' of github.com:cakephp/cakephp into 2.0
2011-06-15 21:01:17 +02:00
Renan Gonçalves
98f2684c66
Assigning the viewVars to $this too. It was empty before, the result was no variables.
2011-06-15 21:01:08 +02:00
mark_story
87d3a2ef19
Fix failing tests caused by path changes.
2011-06-14 22:47:43 -04:00
mark_story
613410f985
Making submit() and button() create unlocked fields by default.
...
This fixes issues where buttons would cause post validation checks to
fail.
Fixes #1746
2011-06-14 22:37:02 -04:00
mark_story
878b854be0
More updates for disabledFields -> unlockedFields.
2011-06-14 22:18:05 -04:00
mark_story
c136349919
Updating SecurityComponent to use unlocked instead of disabled.
2011-06-14 22:01:59 -04:00
mark_story
f3f475f502
Updating method name, variables, and properties to be unlocked.
...
This better reflects what is actually going to happen, as fields that are
unlocked are not checked. It also works better with the idea that secure = false
means unlocked or unsecured.
2011-06-14 21:50:45 -04:00
mark_story
338957936b
Adding test cases for disableFields being part of the POST data.
2011-06-14 21:50:45 -04:00
mark_story
046ddceb9a
Updating SecurityComponent tests to include the disabled field.
2011-06-14 21:50:45 -04:00
mark_story
be6a2e096f
Starting to update SecurityComponent.
2011-06-14 21:50:45 -04:00
mark_story
0c3c6e5e21
Adding a new hidden field for the disabled fields.
...
Updating the FormHelper tests for the new field.
2011-06-14 21:50:45 -04:00
mark_story
83184c99da
Adding disableField() to start allowing disabled fields to be manipulated
...
from the view/helper.
2011-06-14 21:50:45 -04:00
mark_story
2a15e630ef
Starting to refactor field securing, so disabledFields can be controlled
...
from the Helper.
2011-06-14 21:50:44 -04:00
Leonid Mamchenkov
01b2e7eea0
Removed unnecessary Inflector::camelize() calls
2011-06-15 00:36:14 +03:00
Leonid Mamchenkov
ffab73442a
Camelize file names in Errors
2011-06-15 00:27:44 +03:00
Leonid Mamchenkov
aeb510e521
Camelized controller file names in Errors
2011-06-15 00:14:38 +03:00
Leonid Mamchenkov
4c02fa75eb
Updated paths in all Errrors
2011-06-14 21:57:42 +03:00
Mark Story
aee5ee5fe5
Merge pull request #119 from neterslandreau/2.0
...
Merging changes for skel files.
2011-06-13 17:53:17 -07:00
Niles
d5012f0e33
add required uses to template.
2011-06-13 10:18:59 -04:00
Renan Gonçalves
dfe58d7851
Merge branch '2.0' of github.com:cakephp/cakephp into 2.0
2011-06-12 23:25:01 +02:00
Renan Gonçalves
2e3f828098
Updating the home.ctp file to include last changes made on directories name and i18n usage.
2011-06-12 23:24:42 +02:00
Renan Gonçalves
564bf87764
Using exit instead of die, as did in 2e8bbd5e
.
...
Fixing an typo.
Using i18n on test.php file and pointing it to right directory.
2011-06-12 23:12:22 +02:00
Renan Gonçalves
2a3f49bf00
Updating the cake.generic.css from skeleton template to match the changes made on commit cb946bbc
.
2011-06-12 22:42:22 +02:00
Niles
1079889d9f
fix missing uses command in bake template. fixes #1770 .
2011-06-12 11:54:47 -04:00
mark_story
182a89b0a0
Fixing default/fallback url when no referrer is set.
...
Fixes #1761
2011-06-09 20:34:17 -04:00
mark_story
71e2c8e734
Changing how 'id' attribute is treated for multiple checkboxes.
...
Setting the id option, will now also override the generated id's for
checkboxes.
Fixes #1691
2011-06-06 22:32:55 -04:00
Maggion Emmanuel
21ba5a856f
Fixing documentation
2011-06-05 02:59:54 -07:00
Mark Beukers
487c4d2a98
Fixed spelling mistake
2011-06-04 19:23:55 -07:00
ADmad
cb946bbcf3
Added warning message on homepage for misconfigured URL rewriting. Removed dead link for cakeforge.org
2011-06-05 03:34:28 +05:30
ADmad
ccc3b9dbb4
Updating docblock for Sanitize::stripScripts()
2011-06-05 03:19:12 +05:30
ADmad
6c8b7fd878
Fixing locales lookup folder name. Closes #1744
2011-06-05 02:46:02 +05:30
Vitor Pacheco
bfa7c12866
printing the legend of the forms in the templates
2011-06-04 14:42:22 -03:00
José Lorenzo Rodríguez
1b97846ad9
Merge pull request #112 from hiromi2424/2.0_html_coverage_reporter_javascript_error
...
2.0 html coverage reporter javascript error
2011-06-02 19:18:51 -07:00
mark_story
cbc7e82bd2
Fixing issue where Aro nodes would be incorrectly formatted for use
...
with the AclComponent. Fixes #1749
2011-06-02 21:53:56 -04:00
hiromi2424
1e9af715cc
removed invalid access modifier from javascript in HtmlCoverageReport
2011-06-03 10:52:43 +09:00
mark_story
2650bd4639
Adding missing import that causes a fatal error when a deep
...
value is written to Configure early on.
Fixes #1753
2011-06-02 21:05:10 -04:00
hiromi2424
dcbf36c10a
fixed underscored plugin name for coverage, now it must be camel-cased.
2011-06-03 07:47:38 +09:00
Leonid Mamchenkov
8271970639
Fix for PHP notice ( Fixes #1424 )
2011-06-02 01:12:25 +03:00
Juan Basso
cb88b952f4
Supporting template/layout in plugins for CakeEmail. Fixes #1743 .
2011-05-31 22:57:08 -04:00
mark_story
282196a7cd
Fixing doc block for CakeRequest::$data. Refs #1746
2011-05-31 21:48:41 -04:00
Neil Crookes
ea82261ad8
Removing call to RssHelper::header() as method does not exit
2011-05-31 22:50:47 +01:00
Juan Basso
6f821e0d4d
Changes relatives to templates from last commit.
2011-05-30 23:11:09 -04:00
Juan Basso
21348169fa
Camelized templates folder.
2011-05-30 23:02:39 -04:00
Juan Basso
192812ee7f
Updating the copyright to 2011.
2011-05-30 22:32:43 -04:00
mark_story
69c43a5762
Fixing issue where SecurityComponent::csrfUseOnce = false
...
caused forms that weren't the first to fail.
Fixes #1745
2011-05-30 21:49:18 -04:00
Juan Basso
aacb921695
Pattern to use skipIf in tests.
2011-05-30 20:51:36 -04:00
Renan Gonçalves
ed96936ea7
According to CakePHP conding styles, methods prefixed by _ are protected. Changing where it makes sense and don't break anything.
2011-05-30 22:26:42 +02:00
Renan Gonçalves
438050dcaa
Adding 'public' visibility to all public methods.
2011-05-30 22:02:32 +02:00
Renan Gonçalves
9f9b36830a
Fixing the bake_test_app path, so any remaining file will be removed at the end of the test.
2011-05-30 21:14:21 +02:00
Renan Gonçalves
d0af5c78d5
Fixing the path used to create fixtures.
2011-05-30 21:04:38 +02:00
Renan Gonçalves
f55fa4d026
Removing the specific getPath() method, it was giving the same result as the parent one.
2011-05-30 20:52:58 +02:00
Renan Gonçalves
88db6f328b
Fixing tests to reflect last changes made on TestTask.
2011-05-29 19:42:13 +02:00
Thomas Ploch
3c996bb96a
Addition to commit a80d82e4a0
. Adding unloading of TestPlugin in ShellTest.
2011-05-29 16:43:07 +02:00
ADmad
c5a2efc5dd
Merge pull request #103 from tPl0ch/2.0-bake-controller
...
2.0 Shell - Wrong underscore naming of Shells and Tasks
2011-05-29 04:56:40 -07:00
Thomas Ploch
a80d82e4a0
Fixed Shell naming from using Inflector::underscore() to Inflector::camelize(). Added small test case for Shell naming. Fixed missing CakePlugin::load() call in ShellTest.
2011-05-29 12:32:30 +02:00
ADmad
4c042ae133
Adding proper visibility keywords for class functions
2011-05-29 03:31:34 +05:30
ADmad
e5f2f6a236
Fixing test cases
2011-05-29 02:50:09 +05:30
Mark Story
80b70c100e
Merge pull request #100 from kamui545/2.0
...
Fixed 'require' error in ACLBehavior in CakePHP2.0
2011-05-28 08:49:09 -07:00
mark_story
f905237303
Adding missing import. Fixes #1736
2011-05-28 11:42:20 -04:00
Maggion Emmanuel
8a701f3ac9
Fixed this following error: failed to open stream: No such file or directory [CORE\Cake\Model\Behavior\AclBehavior.php, line 52]
2011-05-28 06:45:06 -07:00
Jose Lorenzo Rodriguez
93ac47fa60
Adding ability to ExtractTask to inspect models and extract the validation messages from them
2011-05-27 22:18:56 -04:30
ADmad
40c397b003
Merge pull request #98 from majna/2.0
...
Fix for wrong callback in $callbacks array: renamed afterError to onError
2011-05-27 15:02:48 -07:00
Majna
17384f3cf4
Fix for wrong callback in $callbacks array: renamed afterError to onError
2011-05-27 23:23:11 +02:00
Ceeram
2d78d59a7b
Small optimization, remove unneeded else
2011-05-27 23:13:57 +02:00
Jose Lorenzo Rodriguez
991501d489
Implementing a new option 'exclude-plugins' from the ExtractTask
2011-05-27 15:55:50 -04:30
Jose Lorenzo Rodriguez
e669a81e0a
Reverting change in ConnectionManager, sourceList() will only return the instantiated datasources
...
Fixing remaining tests failing due to contamination of loaded plugin is app
2011-05-27 02:28:38 -04:30
Jose Lorenzo Rodriguez
aca592ad93
Avoiding the use of default connection in schema shell tests
2011-05-27 02:18:36 -04:30
Jose Lorenzo Rodriguez
b320e4323f
Improving ConnectionManager tests
2011-05-27 02:13:35 -04:30
Jose Lorenzo Rodriguez
2c32d34faf
Removing more dead code
2011-05-27 01:48:28 -04:30
Jose Lorenzo Rodriguez
1f6c5fbc87
Removing dead code
2011-05-27 01:47:22 -04:30
Jose Lorenzo Rodriguez
ad456bd479
Removing code that should not have existed in the first place
2011-05-27 01:42:03 -04:30
Jose Lorenzo Rodriguez
faa8b3d324
Avoiding the load of default connection in Sanitize test
2011-05-27 01:40:25 -04:30
Jose Lorenzo Rodriguez
01f6744e35
Removing unneeded line in ConnectionManager
2011-05-27 01:31:50 -04:30
Ceeram
005c690d94
Fixing incorrect filename for FormAuthenticateTest
2011-05-26 21:44:45 +02:00
Ceeram
266058e67a
Moving the sort to also sort plugin objects, sorting in test removed
2011-05-26 19:33:36 +02:00
Ceeram
cea4e4e98e
Sort objects before storing
2011-05-26 19:16:17 +02:00
Ceeram
964ff45a41
Fixing assumptions parameter order
2011-05-26 16:54:31 +02:00
Ceeram
26588827dc
Fix incorrect exceptions message for missing plugins
2011-05-26 16:24:54 +02:00
Ceeram
5f97292648
Change case of Controller::$plugin, fixing missing plugin exceptions, tests updated. Also removing no longer needed camelize() calls
2011-05-26 15:31:40 +02:00
Renan Gonçalves
3f72c92226
Removing the unset(->db); since it trigger errors by the Fixture Manager when it tries to drop the created tables.
2011-05-24 19:56:45 +02:00
Renan Gonçalves
2ca849a068
Tests no longer have access to ->_fixtures, refactoring it to use Fixture Manager instead.
2011-05-24 19:56:04 +02:00
Renan Gonçalves
33d00380ed
Fixing cross database tests by making sure the fixture was created for the right database.
2011-05-24 19:32:38 +02:00
Renan Gonçalves
423fa8127e
Skipping Oracle tests if not using Oracle configuration.
2011-05-24 18:45:10 +02:00
Renan Gonçalves
a6ed66892e
Including SqlServer and Oracle tests to the AllDatabase tests.
2011-05-24 18:41:51 +02:00
Ceeram
aac8f6880f
load the TestPlugin to avoid missing plugin exception in testInitialize()
2011-05-24 17:10:00 +02:00
Ceeram
76b3f5a21c
removing unneeded App::build() calls in the tests, tearDown() already does this, also always build with App::RESET
2011-05-24 17:01:21 +02:00
Ceeram
14b065e229
changing AppImportTest classname to AppTest
2011-05-24 09:05:23 +02:00
Juan Basso
acc0660989
Changed the emails folder in layouts to CamelCased. Fixes #1730 .
2011-05-24 01:05:29 -04:00
Juan Basso
3812ac70cb
Fixed the default name of email transport. Fixes #1728 .
2011-05-24 01:01:58 -04:00
Juan Basso
2ea5be5de2
Merge branch '2.0-mssql' into 2.0
2011-05-24 00:07:56 -04:00
Juan Basso
dee3efab49
Renaming the index name to be compatible with SQL Server.
2011-05-24 00:07:38 -04:00
Juan Basso
02d4188a29
Skipping tests that is not compatible with SQL Server.
2011-05-23 23:16:13 -04:00
Juan Basso
a744a74f1e
Not changing to NULL strings.
2011-05-23 23:10:44 -04:00
Jose Lorenzo Rodriguez
a05607856a
Merge branch '2.0' of github.com:cakephp/cakephp into 2.0
2011-05-23 11:05:33 -04:30
Jose Lorenzo Rodriguez
1e7bf963c3
Removing unused function App::setObjects()
2011-05-23 11:03:11 -04:30
Ceeram
37fcfb9c86
reset objects when using App::build() with App::RESET
2011-05-23 11:34:13 +02:00
Juan Basso
0ae9974b3f
Updating the test to be compatible with others dbo drivers.
2011-05-23 00:31:21 -04:00
Juan Basso
7bae41c461
Fixed the error check in queries and storing the right value to last affected in non-select queries.
2011-05-23 00:22:08 -04:00
Jose Lorenzo Rodriguez
a2f725ff76
Fixing loading list of tests cases for plugins broken in recent commits
2011-05-22 22:58:52 -04:30
Juan Basso
39320ef352
Renamed the Mssql driver to Sqlserver.
2011-05-22 23:19:13 -04:00
Juan Basso
846634d729
Changed the test to be compatible with all tests.
2011-05-22 22:50:29 -04:00
Jose Lorenzo Rodriguez
8d52907be7
Merge remote-tracking branch 'origin/2.0' into 2.0
2011-05-22 21:55:07 -04:30
Juan Basso
76831863e3
Skipping tests that is not compatible with SQL Server.
2011-05-22 22:21:01 -04:00
Jose Lorenzo Rodriguez
5b8865a3a7
Making plugin routes load after app routes, closes #1722
2011-05-22 21:50:56 -04:30
Juan Basso
e049e35b5d
Catching the error in execute for SQL Server to have the same behavior from the others drivers.
2011-05-22 22:16:22 -04:00
mark_story
87bccdafe6
Updating PluginTask to filter out paths that don't exist, and not offer
...
them as options for baking plugins into. Fixes #1723
2011-05-22 22:04:08 -04:00
mark_story
68482be3f1
Updating path to match the one found in the repository.
2011-05-22 22:04:08 -04:00
mark_story
85752e21c1
Removing undefined variable use.
...
Making the plugin path match the old plugins directory.
2011-05-22 22:04:08 -04:00
Ceeram
95a5b99b0e
Merge branch '2.0' of github.com:cakephp/cakephp into 2.0
2011-05-22 23:36:48 +02:00
Ceeram
661a0cca23
removing DS, App::core('Console') already ends with DS
2011-05-22 23:29:17 +02:00
mark_story
1d687214e9
Fixing ViewTask so it creates properly cased directories for 2.0.
...
Fixes #1725
2011-05-22 14:42:43 -04:00
mark_story
4d76840d44
Fixing 'no' option when baking projects. Replying no, will enter
...
iteractive mode now. Fixes #1721
2011-05-22 08:56:19 -04:00
mark_story
2b20eb8999
Fixing issues with ProjectTask and absolute paths.
...
Fixes #1720
2011-05-22 08:49:51 -04:00
Juan Basso
195653bdfc
Updated the Mssql tests with fixes of insertMulti.
2011-05-22 01:11:57 -04:00
Juan Basso
f0db55de6f
Using dbo methods to manage the transaction.
2011-05-22 01:07:58 -04:00
Juan Basso
82e2d9e271
Updating model tests to support Mssql driver.
2011-05-22 00:59:15 -04:00
Juan Basso
ad67f3e1bc
SQL Server PDO support prepare only to SELECT statements, others commands need to use exec method.
2011-05-22 00:49:49 -04:00
Juan Basso
968fa1d5ef
Included an option to configure the prepate statement. SQL Server requires the cursor option to return the affected rows.
2011-05-21 22:40:30 -04:00
Juan Basso
11d249e43b
Updating PHPDoc and method visibility.
2011-05-21 22:18:57 -04:00
Juan Basso
3e4cd4fdbb
Removed the simulate flag that is not used.
2011-05-21 22:10:05 -04:00
Juan Basso
375f86d2a6
Changed the default empty value when create columns.
2011-05-21 21:50:25 -04:00
mark_story
3dcee7136d
Bumping version number. Fixes #1724
2011-05-21 20:57:03 -04:00
mark_story
42b93dc29f
Adding assert left out of previos commit.
2011-05-21 20:21:15 -04:00
mark_story
438734c202
Improving code coverage in Configure.
2011-05-21 15:49:28 -04:00
mark_story
ed68368201
Fixing HtmlCoverageReport so it properly enables the test subject class as best it can.
2011-05-21 13:34:24 -04:00
Jose Lorenzo Rodriguez
bfcfa4c06e
Marking 2.0.0-alpha
2011-05-20 22:18:14 -04:30
Jose Lorenzo Rodriguez
85c505fd4f
Fixing recently broken tests
2011-05-19 21:35:51 -04:30
Jose Lorenzo Rodriguez
38ad1bfc62
Revert "Update App::objects() cache after App::build()."
...
This reverts commit f9b02dde44
.
2011-05-19 21:31:02 -04:30
José Lorenzo Rodríguez
a718b1d91c
Merge pull request #89 from sitedyno/2.0-cakeplugin-tests
...
2.0 cakeplugin tests
2011-05-19 14:05:18 -07:00
Heath Nail
f9b02dde44
Update App::objects() cache after App::build().
...
Prevents console from crashing because it would try to load test plugins
(from object cache) that it didn't know how to find.
2011-05-19 16:55:01 -04:00
Heath Nail
4ccf5c0885
Clear application plugins before running the first test.
2011-05-19 16:26:49 -04:00
Heath Nail
a7ec73b523
Update the object cache.
...
Keep application plugins out of core tests, otherwise tests will fail.
2011-05-19 16:25:25 -04:00
Florian Krmer
585160300a
Fixing loading of plugin tests by adding Inflector::camelize()
2011-05-19 22:12:15 +02:00
Heath Nail
e645fa7340
Make baked plugin directories consistent with 2.0 conventions.
2011-05-19 13:06:12 -04:00
José Lorenzo Rodríguez
4d35d634c8
Merge pull request #85 from sitedyno/2.0-appshell
...
2.0 appshell
2011-05-19 08:08:57 -07:00
Heath Nail
eecd91e99f
Load AppShell class.
2011-05-18 21:05:21 -04:00
Renan Gonçalves
c602fc845b
Reverting the change to insertMulti, worked to solve the cache issue when trying to get the model schema.
2011-05-18 20:59:17 +02:00
Renan Gonçalves
37b9bd59bc
Trying to fix the Mssql as much as possible.
...
Adding parameter to the insertMulti() method because Mssql tries to get the table schema and it fails most of the time.
2011-05-18 20:12:36 +02:00
Renan Gonçalves
d1a984cde9
Resolving merge conflict.
2011-05-18 19:58:12 +02:00
Thomas Ploch
35a014045b
Moved check for CakePlugin::loaded() out of if statement in CakeTestLoader::_basePath(). Plugin will only be loaded when the plugin tests are requested.
2011-05-18 17:15:39 +02:00
Thomas Ploch
2b17988cb7
Fixed small typo in CakeTestLoader.php.
2011-05-18 16:14:36 +02:00
Mark Story
c30ba40bd5
Merge pull request #79 from tPl0ch/2.0-errorhandler-rewrite
...
Rewrite of Fix for Ticket #1707 .
2011-05-17 17:34:21 -07:00
José Lorenzo Rodríguez
b22c29cabe
Merge pull request #82 from sitedyno/2.0-pages-dir
...
2.0 pages dir
2011-05-17 16:25:34 -07:00
AD7six
245d678eda
Merge branch '2.0' of github.com:cakephp/cakephp into 2.0
...
Conflicts:
lib/Cake/TestSuite/Fixture/CakeFixtureManager.php
2011-05-18 01:01:31 +02:00
AD7six
b1d891bb49
path correction
2011-05-18 01:00:00 +02:00
Heath Nail
930ef89f8c
Pages directory should be capitalized.
2011-05-17 18:37:12 -04:00
Jose Lorenzo Rodriguez
27463da5ef
Fixing fixture loading in plugins
2011-05-17 17:11:34 -04:30
AD7six
6e29bb4d94
fix ModelIntegrationTest part 1
2011-05-17 21:48:16 +02:00
Heath Nail
dc85d21f05
Dots appear in the text searched for, added to search pattern.
...
The define statement in skel/webroot/index.php contains dots. Added \.
to the search pattern so that bake will update the core path in
webroot/index.php
2011-05-17 14:34:10 -04:00
Jose Lorenzo Rodriguez
f645db61fb
Merge branch '2.0' of github.com:cakephp/cakephp into 2.0
2011-05-17 12:45:45 -04:30
Jose Lorenzo Rodriguez
12e7347272
Fixing Scaffold tests
2011-05-17 12:44:38 -04:30
AD7six
83e7028ecd
fix multibyte test case
...
put the mb_internal_encoding call in a file which is _always_ loaded
2011-05-17 18:41:35 +02:00
Thomas Ploch
d8a614e112
Added usage of configured error handler instead of hard coded. Moved try/catch block to where its nessecary. Set Configure::write('Error.trace', false) since its useless with internals. Addition to #1707 .
2011-05-17 08:44:55 +02:00
Jose Lorenzo Rodriguez
1b14887e3a
Fixing all helpers tests after massing search and replace that broke parameter order on assertTags()
2011-05-17 00:06:22 -04:30
Jose Lorenzo Rodriguez
217e9e0330
Fixing test in I18n due to case sensitivity problems
2011-05-16 23:58:18 -04:30
Jose Lorenzo Rodriguez
ef663f7d3f
Fixing more tests after the massive search and replace
2011-05-16 23:53:30 -04:30
Jose Lorenzo Rodriguez
7ef1a2995a
Fixing failing tests due to massive search and replace
2011-05-16 23:45:35 -04:30
mark_story
cd13e37609
Adding tests for previous commit.
...
Refs #1678
2011-05-16 21:12:28 -04:00
mark_story
2bc58a5abd
Added check if Router::getRequest(false) is returning a CakeRequest or null in ExceptionRenderer::_getController(). Fixes 'call to undefined method here()' when having Exceptions raised without valid request set to the Router in testsuite (i.e. undefined database config 'test'). Fixes #1678 .
...
Conflicts:
lib/Cake/Error/ExceptionRenderer.php
2011-05-16 21:11:33 -04:00
Thomas Ploch
085c621c0e
Added try/catch block into ErrorHandler::handleException() to gracefully show Exceptions raised during exception handling. Fixes #1707
2011-05-16 20:53:38 -04:00
mark_story
6289f20b83
Fixing Router::reverse() serializing all of _Token.
...
Removing CSRF tokens from the parameters SecurityComponent exports.
Updating tests for both Router and SecurityComponent.
Fixes #1697
2011-05-16 20:35:27 -04:00
AD7six
f2e953d892
Correct bad comparision
...
I can't be sure the result is correct - but the existing expected result
is identical to the input string. Which cannot be correct
test now passes
2011-05-17 00:54:13 +02:00
AD7six
0a53242e3e
correcting all the inverted assertEqual tests
...
$expected is the first argument. Now certain test results start to make
sense:
1) MultibyteTest::testUsingMbStrtolower
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-ႠႡႢႣႤႥႦႧႨႩႪႫႬႭႮႯႰႱႲႳႴႵႶႷႸႹႺႻႼႽႾႿჀჁჂჃჄჅ
+ⴀⴁⴂⴃⴄⴅⴆⴇⴈⴉⴊⴋⴌⴍⴎⴏⴐⴑⴒⴓⴔⴕⴖⴗⴘⴙⴚⴛⴜⴝⴞⴟⴠⴡⴢⴣⴤⴥ
2011-05-17 00:49:00 +02:00
AD7six
e24ef781e5
one less scaffold fail..
2011-05-17 00:31:59 +02:00
AD7six
48ce54afec
case fixes
2011-05-17 00:25:16 +02:00
AD7six
6695994cc2
case fixes
2011-05-17 00:23:58 +02:00
AD7six
e7c8dd1616
$expected is the first arg for assertEqual
2011-05-17 00:23:09 +02:00
AD7six
1e6acec2ab
case correction
2011-05-17 00:22:19 +02:00
AD7six
6b77e73c49
$expected is the first arg for assertEqual
...
having it the wrong way round makes the error messages quite confusing
2011-05-17 00:20:59 +02:00
AD7six
e95d6a3b10
case correction, fixes ExceptionRenderer test
2011-05-17 00:08:51 +02:00
AD7six
d63b4df10c
ensure consistent order for loaded function
...
Fixes the test case
2011-05-17 00:01:20 +02:00
AD7six
20f541108e
partial fix for the scaffold test
2011-05-16 23:50:42 +02:00
AD7six
eafc8259e5
case correction
2011-05-16 23:38:28 +02:00
AD7six
40b29855a5
case corrections
2011-05-16 23:36:55 +02:00
AD7six
3fc785d823
fix case for viewPath.
2011-05-16 23:32:59 +02:00
AD7six
183b2ea9fc
correct for case fixes the ProjectTask test case
2011-05-16 23:29:59 +02:00
AD7six
245c207096
case fix for SchemaShell test
2011-05-16 23:17:29 +02:00
AD7six
fe2ec74b0e
correct paths to Config dir
2011-05-16 21:52:25 +02:00
Renan Gonçalves
f3bd0faa94
Fixing typo on the documentation. Patch by mamchenkov.
2011-05-16 21:14:46 +02:00
Graham Weldon
21f35345fa
Merge remote-tracking branch 'burzum/2.0' into 2.0
2011-05-17 01:51:42 +10:00
AD7six
7a430a921e
Merge branch 'feature/faster-tests' into 2.0
2011-05-16 16:41:12 +02:00
Thomas Ploch
785c80ba88
Added missing string concatenator to lib/Cake/Views/pages/home.ctp.
2011-05-16 08:41:25 +02:00
Jose Lorenzo Rodriguez
4ee4e426f4
Fixing more tests failing in case sensitive systems
2011-05-15 20:38:56 -04:30
Jose Lorenzo Rodriguez
ceb671db42
Fixing viewPath in Dispatcher test case
2011-05-15 20:09:38 -04:30
Jose Lorenzo Rodriguez
11f9a2756a
Moving more folders missed in previous commits
2011-05-15 20:01:45 -04:30
Florian Krmer
93a8209b43
Fixing a syntax error in lib/Cake/View/Pages/home.ctp
2011-05-16 00:18:21 +02:00
Florian Krmer
8aa3159037
Fixing Fatal error: Class 'CakePlugin' not found in \lib\Cake\I18n\I18n.php on line 267
2011-05-15 23:53:55 +02:00
AD7six
805cc944da
correct for case sensitivity
2011-05-15 19:41:34 +02:00
AD7six
a199e72610
the correct argument for plugins is infact "plugins"
2011-05-15 19:28:17 +02:00
AD7six
56c6e35437
adding an upgrade option to correct constants
2011-05-15 19:10:53 +02:00
AD7six
3175de7b3d
remove another oversight
2011-05-15 18:53:53 +02:00
AD7six
8e27cf992f
correct a few missing constant replacements
2011-05-15 18:49:38 +02:00
AD7six
ef684c3d94
a couple of find/replace oversights
2011-05-15 18:40:48 +02:00
AD7six
42c5c6e7fe
when using App::path but expecting 1 result - use the first
2011-05-15 18:39:38 +02:00
AD7six
8f071e297c
remove CAKE_TESTS constant
2011-05-15 18:37:45 +02:00
AD7six
0cb70ae3bb
remove CONFIGS constant
2011-05-15 18:34:52 +02:00
AD7six
9e0e19c5ac
correct greedy replace
2011-05-15 18:30:48 +02:00
AD7six
afa8f6b441
remove LIBS constant
...
libs always means the Cake lib - so use the CAKE constant
2011-05-15 18:29:52 +02:00
AD7six
ff2d9e244a
remove LIB_TESTS constant
2011-05-15 17:36:39 +02:00
AD7six
e3244432d5
remove MODEL_TESTS
2011-05-15 17:36:39 +02:00
AD7six
90a6bcb9d5
remove HELPER_TESTS constant
2011-05-15 17:36:39 +02:00
AD7six
19da0f9101
remove COMPONENT_TESTS constant
2011-05-15 17:36:39 +02:00
AD7six
6be91010ca
remove CONTROLLER_TESTS constant
2011-05-15 17:36:39 +02:00
AD7six
0508055ee9
remove CAKE_TEST_LIB constant
2011-05-15 17:36:39 +02:00
AD7six
998cba0759
remove CONSOLE_LIBS constnat
2011-05-15 17:36:39 +02:00
AD7six
08316c5292
remove ELEMENTS constant
2011-05-15 17:36:39 +02:00
AD7six
c33fc1e003
remove LAYOUTS constant
2011-05-15 17:36:15 +02:00
AD7six
e63f0aa28f
remove HELPERS constant
2011-05-15 17:35:01 +02:00
AD7six
e313448998
remove VIEWS constant
2011-05-15 17:35:01 +02:00
AD7six
66ae239629
remove BEHAVIORS contant
2011-05-15 17:35:01 +02:00
AD7six
62d66bc3ad
remove MODELS constant
2011-05-15 17:35:00 +02:00
AD7six
af505df885
remove COMPONENTS constant
2011-05-15 17:35:00 +02:00
AD7six
80e68763a3
remove CONTROLLERS constant
2011-05-15 17:35:00 +02:00
AD7six
95da598d99
also check for "binary"
2011-05-15 11:29:12 +02:00
AD7six
13488fe373
using memory db tables makes tests which use a db a lot faster.
...
a *lot* faster
2011-05-15 11:29:12 +02:00
AD7six
bd0a303c09
Merge branch '2.0' of github.com:cakephp/cakephp into 2.0
2011-05-15 11:28:47 +02:00
Jose Lorenzo Rodriguez
29298d746e
Fixing App tests
2011-05-15 00:56:33 -04:30
Jose Lorenzo Rodriguez
a6fb16beef
Moving tests cases to their new location
2011-05-15 00:42:10 -04:30
Jose Lorenzo Rodriguez
91bce16e9d
Merge remote-tracking branch 'origin/2.0' into 2.0-merge
...
Conflicts:
lib/Cake/Test/Case/Console/Command/Task/TemplateTaskTest.php
lib/Cake/Test/Case/Controller/Component/Auth/FormAuthenticate.php
lib/Cake/Test/Case/Log/Engine/FileLog.php
lib/Cake/Test/test_app/Plugin/TestPlugin/View/Helper/plugged_helper.php
lib/Cake/Test/test_app/Plugin/TestPlugin/View/Helper/test_plugin_app.php
lib/Cake/tests/Case/Controller/Component/Auth/FormAuthenticate.php
lib/Cake/tests/Case/Controller/Component/Auth/FormAuthenticateTest.php
lib/Cake/tests/Case/Log/Engine/FileLog.php
lib/Cake/tests/Case/Log/Engine/FileLogTest.php
lib/Cake/tests/test_app/plugins/test_plugin/View/Helper/PluggedHelper.php
lib/Cake/tests/test_app/plugins/test_plugin/View/Helper/TestPluginAppHelper.php
lib/Cake/tests/test_app/plugins/test_plugin/View/Helper/plugged_helper.php
lib/Cake/tests/test_app/plugins/test_plugin/View/Helper/test_plugin_app.php
2011-05-15 00:40:54 -04:30
Jose Lorenzo Rodriguez
082a5e1607
Fixing ControllerTestCase test
2011-05-15 00:26:23 -04:30
Jose Lorenzo Rodriguez
cee46f5ee3
Fixing debug tests
2011-05-15 00:22:39 -04:30
Jose Lorenzo Rodriguez
5e635c74e2
Fixing components tests
2011-05-15 00:16:42 -04:30
Jose Lorenzo Rodriguez
e09f825f8b
Fixing controller tests
2011-05-15 00:14:41 -04:30
Jose Lorenzo Rodriguez
6713bb154e
Making themes also CamelCased
2011-05-15 00:09:32 -04:30
Jose Lorenzo Rodriguez
1930452da0
Fixing Folder test case after recent updates in folder casing
2011-05-14 23:43:11 -04:30
Jose Lorenzo Rodriguez
5f56642e0e
Updating tests and classes in Console package after most recent updates in folder casing
2011-05-14 23:40:09 -04:30
AD7six
a206e42fb4
make it at least run
2011-05-14 19:17:14 +02:00
AD7six
5e9323a71f
make the mssql test at least runnable
2011-05-14 18:20:27 +02:00
AD7six
9f374363b5
splitting the tree behavior test into 4 tests and suite
2011-05-14 17:28:58 +02:00
mark_story
23d9e5d769
Merge remote-tracking branch 'tploch/2.0-memcache' into 2.0
2011-05-13 21:48:41 -04:00
Thomas Ploch
4aa9254316
Updated Memcache settings docblock in core.php (skel and config). Removed probably misleading comment about FCGI. Fixes #1705
2011-05-14 00:55:28 +02:00
Thomas Ploch
402c4a7a6f
Added 'persistent' setting to MemcacheEngine.
...
Fixes #1705 when connections are not closed when using i.e. FCGI.
2011-05-13 23:44:59 +02:00
Jose Lorenzo Rodriguez
eea981940e
Replacing config string in favor of Config
2011-05-13 03:36:45 -04:30
Jose Lorenzo Rodriguez
d24aca34f1
Replacing more string to match new paths
2011-05-13 03:31:12 -04:30
Jose Lorenzo Rodriguez
2a54f0923d
More string replacing for new paths
2011-05-13 03:23:53 -04:30
Jose Lorenzo Rodriguez
649b863fc5
Changing more strings after renaming folders
2011-05-13 03:19:00 -04:30
Jose Lorenzo Rodriguez
7ba60ff424
Changing more paths
2011-05-13 03:15:04 -04:30
Jose Lorenzo Rodriguez
8746a485bd
Search and replace for changed paths
2011-05-13 02:53:35 -04:30