Commit graph

9526 commits

Author SHA1 Message Date
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
e0be31093f renamed missing_conenction.php to missing_connection.php 2011-03-23 21:47:50 -04:00
mark_story
b1318f8ab8 Merge remote branch 'ceeram/2.0-1607' into 2.0 2011-03-23 21:43:36 -04:00
Ceeram
9f223f9ebc fixed failing testcase for Auth component, closes #1607 2011-03-23 23:48:22 +01:00
Ceeram
0acbba8faa Auth enhancement, less calls to user() 2011-03-23 15:39:12 +01:00
mark_story
9dd39bb32c Fixing some typos and adding some missing information. 2011-03-20 21:44:15 -04: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
9c860d2ce8 Changing how CakeLog registers itself as the error handler, this fixes issues with e-accelerator on some platforms. Fixes #1597, fixes #1087 2011-03-19 08:54:07 -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
Jamie Mill
cf0e9c0a31 Fixing undefined var and docblock error in CakeCliReporter->paintException(). 2011-03-17 19:15:08 +00:00
mark_story
e15a373995 Merge remote branch 'rchavik/misc' into 1.3 2011-03-16 06:39:41 -04:00
Rachman Chavik
60db93a914 removing extra space in default bake template 2011-03-16 13:50:56 +07:00
mark_story
9ae8dcafdc Updating documentation to include new option. 2011-03-15 22:05:14 -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
4537499ea9 Updating doc block. 2011-03-15 21:39:15 -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
30a9543a65 Syncing skel folder with app folder. 2011-03-12 12:19:06 -05:00
mark_story
31e82b08df More documentation for Cache. 2011-03-12 12:14:43 -05: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
mark_story
70d334f7eb Moving core cache configuration out of Configure and into core.php.
This makes the cache configurations cake uses internally more
transparent, and easier for the end developer to configure. Fixes #1586
2011-03-12 11:24:59 -05:00
mark_story
d0dfd7f18c Removing more calls to strtolower(). Instead type the method names with the correct casing. 2011-03-12 11:10:31 -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
ab4ce97cad Fixin CakeErrorController's constructor, so it matches the parent class. Removing duplicated code. 2011-03-10 22:00:08 -05:00
mark_story
0cc55d8f45 Removing calls to Dispatcher::_stop(). Updating tests. Fixes #1578 2011-03-09 22:27:19 -05:00
ADmad
95d44c3694 Updating example code in comment to reflect renaming of Controller::$view to Controller::$viewClass. Closes #1579 2011-03-10 04:00:14 +05:30
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
5bb173013e Adding doc block info for Cache::config. 2011-03-07 22:17:52 -05:00
Clément Hallet
e2b37d8ec9 Allow to disable cache gc. By using a falsey value for probability
you can disable cache gc calls.
2011-03-07 22:06:46 -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
0d3288bab0 Refactoring protected methods. 2011-03-03 21:34:54 -05:00
mark_story
b8aa78ce9f Making a method protected, it doesn't need to public really. 2011-03-03 21:16:43 -05:00
mark_story
2e76d32cf9 Fixing transposition of parameters to setLastError. Fixes #1570 2011-03-03 20:46:43 -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
171830df33 Minor cleanup and reformattting.
Changing greedy -> greedyNamed for clarity and consistency.
2011-03-03 07:11:32 -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
155db76825 Removing junk. 2011-03-03 05:50:58 -05:00