Commit graph

7890 commits

Author SHA1 Message Date
mark_story
3a7f44e04c Updating the doc blocks for TreeBehavior::moveup/movedown to indicate that
number can be either an integer or a boolean.
Fixes #1655
2011-04-19 21:02:33 -04:00
mark_story
12c245609e Fixing XmlHelper overwriting its Xml property when creating an open element with elem()
Fixes #1642
2011-04-16 16:56:32 -04:00
mark_story
4395e8acc1 Fixing formatting, and updating test to better reflect what would normally happen. 2011-04-16 15:56:40 -04:00
tylerseymour
13c64f1707 Fix issue where values are not recursively deleted. ie:
$this->Cookie->write('User.email', 'test@example.com');
$this->Cookie->delete('User');
The cookie for User.email would not be removed (despite being removed from the __values array.
Fixes #1651

Signed-off-by: mark_story <mark@mark-story.com>
2011-04-16 15:16:34 -04:00
mark_story
bc5edebee6 Adding a test case for #1651 2011-04-16 15:15:53 -04:00
mark_story
9f51c4ccfc Updating API docs for FormHelper::input() fixes #1649 2011-04-13 18:48:29 -04:00
Juan Basso
2c4ed9bfc2 Fixed the input name when multiple is setted to false. 2011-04-13 00:32:15 -04:00
Mariano Iglesias
54a4d24a03 Fixes issue with fixture records defining fields in wrong order, or adding fields in some records that are not defined in others
Fixes #1559
2011-04-09 10:40:08 -04:00
mark_story
7d15c9d93a Fixing CakeSocket::write() to better work with fwrite() oddities
where fwrite() won't actually write all the content, instead only part
of the content would be written. All content should be written now.
Fixes #1616
2011-04-07 20:07:36 -04:00
ADmad
548a64e63b Fixed test case for Cache class which failed if default cache config in app used engine other than File 2011-04-06 18:41:59 +05:30
Ceeram
5e275611eb Merge branch '1.3' of git://github.com/cakephp/cakephp into 1.3 2011-04-06 09:06:19 +02:00
mark_story
32a2075449 Removing dead links from the README file and adding tv.cakephp.org as it
was missing and is useful.
2011-04-04 21:18:09 -04:00
Joey Trapp
6a8322a272 Added a flag to Router::reverse that is passed on to the Router::url call 2011-04-04 15:11:47 -05:00
Ceeram
d296fd1c00 Merge branch '1.3' of git://github.com/cakephp/cakephp into 1.3 2011-04-04 21:51:41 +02:00
Mark Story
27952ebc9a Fixing missing array cast that could result in warnings from array_merge
if a model or behavior returned false from a beforeValidate callback.
Fixes #1629
2011-04-03 11:01:55 -04:00
Mark Story
a0321a723b Updating documentation for ClassRegistry::init() to not imply that it
can be used to construct non model objects.  Fixes #1633
2011-04-03 10:50:05 -04:00
mark_story
0d7672476f Removing accidental error. 2011-04-02 15:10:21 -04:00
mark_story
5a58d38a80 Removing the ?> from files generated by bake. Fixes #1631 2011-04-02 09:17:14 -04:00
mark_story
fbab7bd9c3 Fixing linking of emails that are missing tld's. They should not be turned into links. Test added. Fixes #1622 2011-03-27 19:09:46 -04:00
mark_story
249607654b Updating doc blocks to match method names. 2011-03-27 18:00:37 -04:00
Ceeram
72f4ce8dd9 Merge branch '1.3' of git://github.com/cakephp/cakephp into 1.3 2011-03-26 20:23:29 +01:00
mark_story
95d298bf28 Fixing test method names.
Adding a test for updateAll with empty values.
2011-03-26 11:10:43 -04:00
mark_story
6cc1688d4e Fixing issue where DboMysql would perform joins on delete queries even if the conditions did not require joins. Added a more intelligent join detector, that removes joins if all the conditions are simple. This will only be able to optimize array conditions.
Test cases added.  Fixes #1571
2011-03-24 23:25:56 -04:00
mark_story
532555b94b Fixing order condition quoting to allow fields with - in them. Fixes #1599 2011-03-24 22:28:11 -04:00
mark_story
b8e560b8b4 Merge remote branch 'ceeram/1.3-authuser' into 1.3 2011-03-23 21:31:13 -04:00
Ceeram
d3ff625409 Merge branch '1.3' of git://github.com/cakephp/cakephp into 1.3 2011-03-23 15:36:16 +01:00
Ceeram
c902d4c060 Auth enhancement, less calls to user() 2011-03-23 15:34:02 +01:00
ADmad
69e5854f0a Applying patch from 'Eärendil' to add option 'hiddenField' for FormHelper::select() for use with 'multiple'=>'checkbox'. Test cases added. Closes #1161 2011-03-21 19:18:53 +05:30
mark_story
e2773242f7 Adding a test case for the issue fixed in #1408.
Fixing issue where -app command did not work as expected.
Fixes #1601
2011-03-20 22:19:22 -04:00
mark_story
33afe21aa7 Updating version numbers to 1.3.8 2011-03-20 16:10:00 -04:00
mark_story
dd9ebd8a60 Fixing a failing test caused by changes in fixture schema. 2011-03-20 16:06:44 -04:00
mark_story
da84f04bb0 Fixing typo in doc block. 2011-03-19 11:55:53 -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
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
ADmad
4e046c8cd0 Fixing a test case for Model::saveAll() 2011-03-16 00:56:31 +05:30
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
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
2e76d32cf9 Fixing transposition of parameters to setLastError. Fixes #1570 2011-03-03 20:46:43 -05:00
Ceeram
87c659d653 Merge branch '1.3' of git://github.com/cakephp/cakephp into 1.3 2011-03-03 17:22:58 +01: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
Ceeram
2e55b8570a Merge branch '1.3' of git://github.com/cakephp/cakephp into 1.3 2011-03-02 11:48:55 +01:00
Ceeram
e9011badb5 Ensure both node() and afterSave() use ->name
Fixes #1564
2011-02-28 21:43:33 -05:00
Ceeram
8c277b5612 ensure both node() and afterSave() use ->name 2011-02-28 21:16:17 +01:00
mark_story
b80955c9fe Adding newlines to the builtin email template. Fixes issues with long lines. Refs #857 2011-02-25 18:50:50 -05: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
mark_story
139d6b3133 Changing the checks surrounding dataExpression to use empty() instead of isset() so unexpected things don't happen if you ever use dataExpression = false. Fixes #1521 2011-02-23 21:15:39 -05:00