Commit graph

7458 commits

Author SHA1 Message Date
Ceeram
5329c188d6 adding help info for bake connection parameter, closes #1679 2011-05-06 17:13:15 +02:00
mark_story
d9c7f4df66 Fixing import of MediaView in dispatcher so Media models used in Routing don't interfere with asset delivery.
Fixes #1670
2011-04-30 12:42:08 -04:00
Mariano Iglesias
cc5670a33f Fixing issue with wrong internationalization of time ago expressions in TimeHelper. Fixes #1663 2011-04-29 15:48:00 -03:00
mark_story
5273080962 Merge branch 'torifat-set' into 1.3 2011-04-27 22:42:02 -04:00
Rifat Nabi
03ffa3d152 ticket #989 test case added 2011-04-27 16:01:08 +06:00
Rifat Nabi
7812223eb5 fixed! ticket #989, Set::extract replacing first index with an index of same key [0] one step lower 2011-04-27 15:21:25 +06:00
José Lorenzo Rodríguez
169c330086 Merged pull request #61 from sime/master.
Documentation for schema update missing -f param
2011-04-26 08:13:04 -07:00
Simon Males
7feaa0f5a2 schema update documentation lacked -f param usage. 2011-04-26 07:15:32 -07:00
Simon Males
f3ff494196 Fixed documentation typo: 'received'
Signed-off-by: mark_story <mark@mark-story.com>
2011-04-21 23:51:21 -04:00
mark_story
9914258807 Applying patch from 'Stefano Rosanelli' which fixes Xml::toArray() greatly improving
its ability to convert xml documents.  Fixes #1667
2011-04-21 22:38:41 -04:00
Simon Males
5687483d5c Fixed documentation typo: 'received' 2011-04-20 17:25:25 -07:00
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
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
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
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
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
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
e9011badb5 Ensure both node() and afterSave() use ->name
Fixes #1564
2011-02-28 21:43:33 -05: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
mark_story
9367a10522 Merge branch '1.3' of github.com:cakephp/cakephp into 1.3 2011-02-23 21:07:10 -05:00
Juan Basso
52163b4b05 Allowing strings in cc and bcc. Fixes #1553. 2011-02-22 21:23:15 -03:00
Juan Basso
21a9904a71 Adding a protection to cake console be executed in driver root (windows). Fixes #1408. 2011-02-21 17:55:15 -03:00
mark_story
1f9bbbce53 Pulling windows specific tests into a separate test method. 2011-02-21 10:48:34 -05:00
Victor Widell
d0b7d3355d $this->data[$habtmKey] could be a string, meaning $this->data[$habtmKey][$habtmKey] would be the first character of that string. Probably not what you want.
Fixes #1549

Signed-off-by: mark_story <mark@mark-story.com>
2011-02-21 10:39:55 -05:00
0x20h
0e7f2efdb1 Fixing notice errors caused by accessing headers in po files that
don't exist. Fixes #1515

Signed-off-by: mark_story <mark@mark-story.com>
2011-02-16 22:13:51 -05:00
mark_story
ca3e606ec8 Fixing failing tests caused by me forgetting to run tests in [7032729651] 2011-02-16 22:08:20 -05:00
mark_story
a95d4acf09 Removing unused code, and adding a realpath() to document_root, so symlinks work a bit better. 2011-02-16 21:14:32 -05:00
mark_story
63caf566fb Adding some tests around invalidFields() and fieldList options.
Closes #1534
2011-02-13 12:22:29 -05:00
mark_story
42c2f3011b Applying fix from 'Mark Mitchell' to expose PeriodicalExecuter in the callback. Fixes #1529 2011-02-11 21:49:00 -05:00
mark_story
71f76080a2 Fixing issue where creating cookies in the beforeFilter would result in
cookies with the wrong expiry time. Thanks 'RabidFire' for the patch. Fixes #1523
2011-02-09 21:19:15 -05:00
mark_story
a5fb2cf8a7 Fixing issue where fixtures without field definitions would drop tables,
even though they had no way to re-create them. Fixes #1519
2011-02-08 21:53:12 -05:00
mark_story
9a940709ab Removing unsupported options from PrototypeEngine. Fixes #1516 2011-02-07 20:59:01 -05:00
mark_story
584116524b Fixing range option for prototype engine. Fixes #1509 2011-02-07 19:19:50 -05:00
Juan Basso
f2a4b1e959 Supporting %e in windows. Fixes #1510. 2011-02-06 15:51:28 -02:00
mark_story
8d5e68d582 Fixing issue where habtm tables would not have the connection prefix removed when generating schema. Fixes #1180 2011-02-05 11:19:05 -05:00
mark_story
cf50cbdd9d Fixing issue in FormHelper where CURRENT_TIMESTAMP or other invalid data could cause a notice error. Fixes #1508 2011-02-05 06:43:00 -05:00
Phally
f3812342c2 Minor optimization for email linefeeds. 2011-01-31 00:15:56 +01:00
Phally
9402f0ab79 Added missing skipIf when no SMTP server is running. 2011-01-31 00:06:11 +01:00
mark_story
6db8515e60 Fixing incorrectly nested sprintf + __ call. Refs #1305 2011-01-30 12:25:40 -05:00
mark_story
b30f40582e Making SchemaShell disable the cache when reading table information for schema generation. Fixes #1490 2011-01-29 09:24:28 -05:00
Juan Basso
bbf6aedd9c Fixed wrong viewVars store when have objects in view caching. Fixes #1486. 2011-01-28 00:31:18 -02:00
mark_story
5464ed8455 Fixing blackholes caused by using custom name attributes with inputs. Fixes #1489 2011-01-27 21:05:30 -05:00
mark_story
38e286e978 Fixing order of paths so core paths are last in the search array. Fixes #1488 2011-01-27 19:30:21 -05:00
mark_story
71d8e744f1 Fixing case-sensitivity of AS in fields. Tests added. Fixes #1474 2011-01-26 20:58:16 -05:00
mark_story
d192ed32f0 Adding a socket key to DboMysqli::$baseConfig. Fixes notice errors when socket is undefined. Fixes #1482 2011-01-26 20:54:14 -05:00
mark_story
32f0b20a33 Removing wonky and most likely incorrect manipulation of socket and port
setting mangling in DboMysqli.  Fixes #1478
2011-01-24 22:05:16 -05:00
mark_story
7032729651 Fixing how webroot is calculated for installs not using url rewriting. Also fixes using the top level index.php file.
Test cases added for using both index.php files.
Cleaned up existing tests for environment detection.
Fixes #1261, Fixes #1432
2011-01-23 17:08:09 -05:00
mark_story
3747e395f1 Fixing notice errors caused by garbage urls being fed into Dispatcher.
Added a test.
Fixes #1463
2011-01-21 16:02:33 -05:00
Joe Beeson
e58e3f3132 Fix to resolve 'assign by reference' errors when using a '__get' magic method.
Fixes #1476

Signed-off-by: mark_story <mark@mark-story.com>
2011-01-21 15:52:03 -05:00
mark_story
ed7f8d1906 Fixing issue where DboPostgres used the wrong type for boolean columns with a default of false or true.
Added a test case.
Changing Model::create() so it doesn't wipe out default values === false.
Fixes #1460
2011-01-21 13:31:33 -05:00
mark_story
9f583097f0 Updating version numbers for 1.3.7 2011-01-19 15:10:53 -05:00
mark_story
a0a87ade5a Adding non-zero exit codes to ErrorHandler in the console. Fixes #1468 2011-01-18 19:40:31 -05:00
mark_story
ab337e2e8a Adding tests for TextHelper::autolinkurl(). Closes #1466 2011-01-18 18:56:35 -05:00
Miah Gregory
6071788478 Updated documentation for Router::connect.
Fixed a few spelling issues as well.

Signed-off-by: mark_story <mark@mark-story.com>
2011-01-18 17:54:19 -05:00
ADmad
d4e4957563 Adding test case for FormHelper::input() for generation multiple checkboxes with space in option values. Refs #1465 2011-01-19 02:25:39 +05:30
mark_story
932533c5c8 Fixing incorrect content type headers from being set, when an action contains a requestAction to an action with a different Content-Type. Also populating RequestHandler->params as it was always empty.
Fixes #1445
2011-01-18 08:28:16 -05:00
mark_story
cfce0e45d3 Fixing issue where empty session id's would cause duplicate key errors. Empty session id sessions are no longer saved. Fixes #1450 2011-01-18 08:14:47 -05:00
mark_story
b0d4951184 Fixing TextHelper::autoLinkEmails() not linking email addresses that contain '.
Test added.
Fixes #1457
2011-01-17 11:11:30 -05:00
mark_story
ca299a097c Fixing issue where get forms created with model = false would create inputs with name = ''. Tests added. Fixes #1455 2011-01-15 14:39:24 -05:00
mark_story
b8780586ec Fixing issue where FormHelper::checkbox() would ignore an explicit checked = false, and use the post data instead. Test case added. Fixes #1437 2011-01-14 21:48:23 -05:00
mark_story
75483791f4 Small refactor for how HTTP_BASE is generated. Removing non-obvious regular expression. Fixes #1436 2011-01-14 17:14:22 -05:00
mark_story
459e2ef1b0 Merge remote branch 'bar/envfix' into 1.3 2011-01-13 20:29:20 -05:00
mark_story
5f612b7833 Making memcache cache adapter, set the expiry time of any value greater than 30 days to never expire. This works around the 30 day limitation of the PHP extension. Test case added. Fixes #1451 2011-01-13 20:27:10 -05:00
mark_story
0f4c90588d Fixing issue where elements did not get .ctp as a fallback extension unlike view and layout files.
Adding a protected method to get extensions, as it would be in 3 places now.
Added tests.
Fixes #1438
2011-01-12 20:43:41 -05:00
mark_story
f893e3b63b Applying patch from 'ryandesign' fixing incorrect datetime formats. Fixes #1441 2011-01-11 20:16:42 -05:00
mark_story
4f94b715ec Revert "Fixing Set::filter() not predictably filtering in a recursive
fashion.  While a minor change in behavior, more predictable and uniform
behavior is worth it." Refs #1431

This reverts commit 6e2ffafe54.
2011-01-09 22:29:10 -05:00