Commit graph

3932 commits

Author SHA1 Message Date
mark_story
893ced5c30 Removing reference operators from function signatures. Fixes #1223 2011-03-26 00:04:25 -04:00
Ceeram
d0e574cbba added extra tests for changed view file extension 2011-03-25 23:27:42 -04:00
mark_story
0bab8f8e14 Removing deprecated parameter from Inflector::slug(), use Inflector::rules() instead. 2011-03-23 22:31:27 -04:00
Ceeram
9f223f9ebc fixed failing testcase for Auth component, closes #1607 2011-03-23 23:48:22 +01:00
mark_story
f33329ae43 Merge branch 'acl-behavior' into 2.0
Conflicts:
	cake/libs/model/behaviors/acl.php
	cake/tests/cases/libs/model/behaviors/acl.test.php
2011-03-19 10:14:10 -04:00
mark_story
4118477c0a Merge branch '1.3' into merger
Conflicts:
	cake/console/templates/default/views/index.ctp
	cake/libs/cache.php
	cake/libs/cake_log.php
	cake/libs/cake_socket.php
	cake/libs/view/helpers/form.php
	cake/libs/view/helpers/js.php
	cake/tests/cases/libs/view/helpers/js.test.php
	cake/tests/lib/reporter/cake_cli_reporter.php
2011-03-19 09:08:28 -04:00
mark_story
6d2b31d4d1 Fixing issues with plugin models used in habtm 'with' keys. Fixes #1548 2011-03-19 08:45:10 -04:00
hiromi2424
38e85ebd6e Supported default ion for FormHelper::checkbox(). Test added fixes #805
Signed-off-by: mark_story <mark@mark-story.com>
2011-03-15 22:03:04 -04:00
mark_story
357588c60e Updating and reorganizing tests. Removing totally redundant tests. 2011-03-15 21:39:37 -04:00
mark_story
c6b7482308 Making sure forms always have a generated id attribute. Updating tests. 2011-03-15 21:19:15 -04:00
ADmad
4e046c8cd0 Fixing a test case for Model::saveAll() 2011-03-16 00:56:31 +05:30
mark_story
6fd5ff34a0 Fixing incorrect test case. Thanks to hiromi2424 for pointing out the mistake. 2011-03-14 21:13:24 -04:00
mark_story
b9ec7da21d Applying patch from 'NaMB' to add disabled support to FormHelper::radio(). Test cases added as well. Fixes #1459 2011-03-13 19:35:37 -04:00
mark_story
20299c9138 Removing duplicate package string.
Updating FileEngine tests to use file_test config instead of inheriting 'default' as default could be an APC config now.
Removing tests that were testing clearCache(), as that is not part of FileEngine's features.
2011-03-12 12:06:10 -05:00
ADmad
0f341c7114 Fixed bug where default class name 'checkbox' was dropped in case of validation error for div wrapping checkbox for multiple checkboxes 2011-03-11 20:20:55 +05:30
mark_story
7f18f05de4 Moving appending of prefix to action into the Router. This makes Router::parse() always return what you get in the controller.
Updating Dispatcher to not hold a reference to the current request, as its not used.
Updating private action detection so its simpler.
Fixes issues with prefix actions not getting the correct default view.  Fixes #1580
2011-03-10 22:04:46 -05:00
mark_story
b292f4ffaa Fixing tests that were failing due to missing methods, and changes in CakeRoute.
Making ExceptionRenderer pass in the current request to the controller
constructor.  This fixes fatal errors on PrivateActionExceptions.
2011-03-10 22:01:56 -05:00
mark_story
0cc55d8f45 Removing calls to Dispatcher::_stop(). Updating tests. Fixes #1578 2011-03-09 22:27:19 -05:00
mark_story
c8f33b77a1 Fixing failing tests, and issues around Controller::$view not getting
set properly.
2011-03-09 07:31:11 -05:00
mark_story
7853189328 Adding 'style' as a known html attribute. Fixes #1573 2011-03-07 21:58:11 -05:00
mark_story
de57802f05 Fixing left over action from previos refactoring of viewClass/view. 2011-03-07 21:50:53 -05:00
mark_story
9cf940853b Updating router tests to use/expect greedyNamed.
Removing code that has been moved to CakeRoute or is no longer needed.
2011-03-03 07:32:06 -05:00
mark_story
217938a970 Moving pass key restructuring into CakeRoute.
Adding tests for that and http header matching.
2011-03-03 07:30:22 -05:00
mark_story
15275eddac Moving matchNamed() into CakeRoute. This will allow its removal from Router. 2011-03-03 06:54:46 -05:00
mark_story
97175aac90 Making greedy -> greedyNamed its clearer and doesn't consume a possibly easy to use named parameter key.
Expanding tests for named parameter rules/conditions.
2011-03-03 06:49:11 -05:00
mark_story
3eef281e1c Adding tests for named parameter rules on the route level. 2011-03-03 06:36:02 -05:00
mark_story
636188efeb Adding tests for array named params from router test to cakeroute test. 2011-03-03 06:22:59 -05:00
mark_story
cf26a8e430 Initial port of Router::getArgs() to CakeRoute. 2011-03-03 06:11:41 -05:00
mark_story
b70a512470 Moving Router::$named to be protected, and adding an accessor method. This will help with later refactoring. 2011-03-02 22:08:30 -05:00
mark_story
a6abd61f3f Removing Dispatcher::$here, it wasn't really used outside of a cached() which had a param that it just ignored. Making Dispatcher::cached() pay attention to its parameter.
Updating tests.
2011-03-02 21:52:25 -05:00
mark_story
af16b13e5f Fixing issues with double base dir in FormHelper::create(). Fixes #1568 2011-03-02 21:47:11 -05:00
mark_story
2145fd8078 Adding CakeRequest::here() for getting complete 'here' values including query string parameters. $request->here does not include query string params.
Adding test cases.
2011-03-02 21:46:28 -05:00
mark_story
197c9bf912 Making empty string create empty submit buttons. This applies to both Form->submit() and Form->end(). Tests added. Fixes #1569 2011-03-02 20:27:57 -05:00
mark_story
e3841955dc Merge branch '2.0' of github.com:cakephp/cakephp into 2.0 2011-03-01 22:23:57 -05:00
mark_story
3ea8c2246a Merge branch '1.3' into merger
Conflicts:
	cake/console/cake.php
	cake/dispatcher.php
	cake/libs/controller/components/cookie.php
	cake/libs/view/helper.php
	cake/libs/view/helpers/ajax.php
	cake/tests/cases/dispatcher.test.php
	cake/tests/cases/libs/model/model_validation.test.php
	cake/tests/cases/libs/view/helpers/ajax.test.php
	cake/tests/lib/cake_test_fixture.php
2011-03-01 22:21:44 -05:00
Jeremy Harris
b138c84df3 Merge remote branch 'upstream/2.0' into 2.0 2011-03-01 19:02:34 -08:00
Jeremy Harris
06f9fc0fc9 Made form post to the current location by default. Fixes #1418 2011-03-01 17:31:02 -08:00
Jeremy Harris
2977448891 Added more options to NumberHelper::currency() to allow for better flexibility in defining formats. Fixes #1267 2011-03-01 17:14:15 -08:00
Ceeram
f1f586480c Implementing Aclbehavior to be set as both requester as controlled, tests updated, fixes #346 2011-02-27 16:08:52 +01:00
ADmad
d999650d5e MediaView now forces download of unknown file types. Closes #140 2011-02-27 06:31:15 +05:30
Juan Basso
2414ad8c8f Merge branch '2.0-models' into 2.0 2011-02-26 19:10:07 -03:00
mark_story
a52756d550 Fixing issue with empty delimeter notice error when installed at the webroot using url rewriting. 2011-02-26 15:37:28 -05:00
Juan Basso
4828e16762 Updating tests to use new find notation. 2011-02-25 22:04:48 -03:00
Juan Basso
a091302c92 Removed the isInterfaceSupported method. It not make sense in PHP5. 2011-02-25 12:54:57 -03:00
mark_story
e05c6cd83f Fixing issue where actions starting with a prefix but not followed by an _ would get mangled when going through router::url().
Fixes #1556
2011-02-24 16:43:13 -05:00
José Lorenzo Rodríguez
19bcec599b Merge branch '2.0' of github.com:cakephp/cakephp into 2.0
Conflicts:
	cake/tests/cases/libs/model/datasources/dbo/dbo_mysql.test.php
2011-02-24 01:38:11 -04:30
José Lorenzo Rodríguez
69b70249da Fixing more issues with database prefixes 2011-02-24 01:31:03 -04:30
José Lorenzo Rodríguez
ea7f0bf900 Fixing some tests to make them run with table prefixes 2011-02-23 23:44:48 -04:30
mark_story
9367a10522 Merge branch '1.3' of github.com:cakephp/cakephp into 1.3 2011-02-23 21:07:10 -05:00
mark_story
98df3e331f Fixing DboMysql not quoting database names in listSources.
Updated tests.
Fixes #1552
2011-02-23 11:36:41 -05:00