Commit graph

5151 commits

Author SHA1 Message Date
ADmad
862ff82ad4 Updating Configure::store to fix escaping issues
Signed-off-by: Mark Story <mark@mark-story.com>
2009-11-14 19:38:53 -05:00
mark_story
06d4e5e553 Reformatting code in memcache.
Adding unset() to test case to remove unnecessary keys that can cause test failure.
2009-11-14 18:50:23 -05:00
mark_story
8b1a2b1f72 Applying optimization in Router::__parseExtension from 'robustsolution'. Fixes #301 2009-11-14 16:29:33 -05:00
mark_story
9376826aa4 Fixing HttpSocket::buildUri when host key is empty.
Tests added
Fixes #271
2009-11-13 14:42:40 -05:00
mark_story
8d407ac915 Adding test to form helper to increase code coverage. 2009-11-13 09:45:25 -05:00
mark_story
d302ed1bfa Fixing comment block formatting. 2009-11-13 09:44:51 -05:00
ceeram
a67a97722a refs #291
Signed-off-by: Mark Story <mark@mark-story.com>
2009-11-13 09:25:47 -05:00
ceeram
ea482442ff test to prove ticket #291
Signed-off-by: Mark Story <mark@mark-story.com>
2009-11-13 09:22:05 -05:00
nate
1c8a2f232b Changes Model::find() to allow modification of DataSource connection during callbacks. 2009-11-12 14:48:03 -05:00
mark_story
38f578199d Changing new Model() for ClassRegistry::init(). Fixes issues when baking admin and non-admin methods for a controller that uses bound translations + TranslateBehavior. Fixes #245 2009-11-12 09:32:45 -05:00
mark_story
a7a6dc8c43 Fixing issue where SecurityComponent::_validatePost could generate notices if elements were removed from _Token array.
Tests Added
Fixed #228
2009-11-08 14:12:18 -05:00
mark_story
82a2b1a019 Changing import of Dispatcher to direct require.
Modifying order of operations in Configure::__loadBootstrap()
moving inclusion of app/config/bootstrap.php after the creation of core cache configs.  This allows App::import() to be used in the bootstrap file with cached paths.
2009-11-07 17:53:14 -05:00
mark_story
6db91b0f49 Fixing issues in ContainableBehavior that could leave models unbound when 'fields' was used as part of containment conditions. Fixes #253 2009-11-07 17:43:18 -05:00
ceeram
dd0c4a64c5 Test to prove ticket #253 2009-11-07 11:02:43 -05:00
mark_story
30dc0cfe56 Removing unused $view property from CacheHelper.
Fixes #272
2009-11-07 10:44:14 -05:00
mark_story
4bbfcbff7e Fixing limit:0 and controller::paginate. Removes possibilty to generate sql errors by inputting invalid limit options. Tests updated. Refs #264 2009-11-06 00:44:21 -05:00
Ernst Mayerhofer
0327f15395 paginator works with limit 0 now too 2009-11-05 23:44:02 -05:00
mark_story
b4f6dd9c6e Adding tests and support for binary columns in model task. Fixes #241 2009-11-04 22:57:43 -05:00
mark_story
e609875754 Updating Model::invalidFields, so returning false from beforeValidate() will abort both the validation and saving() of the record.
Tests added to check beforeSave, beforeValidate, and beforeDelete return values.
Fixes #257
2009-11-04 12:36:17 -05:00
mark_story
8c46cc49fb Fixing issue in Dispatcher::cached() where plugins ending in asset extensions would be incorrectly handled.
Test added
Fixes #237
2009-11-03 13:14:38 -05:00
mark_story
74edb052f3 Merge branch '1.2' of dev@code.cakephp.org:cakephp into 1.2 2009-11-03 09:58:58 -05:00
mark_story
d63218c0a0 Fixing error in previous commit. 2009-11-03 09:52:59 -05:00
mark_story
133299c653 Removing duplicate constructor from ShellDispatcher.
Fixes warnings under PHP5.3.
Fixes #132
2009-11-03 09:02:17 -05:00
mark_story
6b043c6c57 Updating doc blocks for paginator helper. 2009-11-02 21:37:20 -05:00
mark_story
9d2628f699 Removing tab 2009-11-02 00:07:16 -05:00
mark_story
a87d31cc7f Fixing $cacheAction requiring the inclusion of the controller name for view cache files to be generated. This behavior makes the cache helper behave as documented.
Test cases added.  Fixes #232
2009-11-02 00:07:02 -05:00
mark_story
873760aae4 Merge branch '1.2' of dev@code.cakephp.org:cakephp into 1.2 2009-10-31 15:05:51 -04:00
mark_story
51244907d1 Updating merge vars test to skip itself if run in a group context.
Updating controller group.
2009-10-31 14:55:04 -04:00
mark_story
6b616b7171 Adding skip for validation test, for DNS servers that reply for non-existant domains. 2009-10-31 14:48:37 -04:00
mark_story
76019513e1 Updating lib group to run non-mvc libs.
Removing no_database group.  It was redundant.
2009-10-31 14:33:53 -04:00
mark_story
24a75a27bf Updating Javacsript helper to use a real skipIf 2009-10-31 14:25:52 -04:00
mark_story
0637272bd2 Updating doc block on Controller to include more information about $uses. 2009-10-31 14:25:33 -04:00
mark_story
59566d4587 Updating component test case to no fail in group test.
Updating controller group to only run controller classes.
2009-10-31 14:08:56 -04:00
mark_story
a91970b7b2 Fixing security component test failures when run as part of a group. 2009-10-31 13:41:16 -04:00
renan.saddam
84a10904fb Fixing typo on variable name. 2009-10-30 18:42:04 -02:00
Gordon Pettey
2e3bbe363d Array coding convention and extraneous punctuation
Signed-off-by: Mark Story <mark@mark-story.com>
2009-10-30 16:38:27 -04:00
mark_story
17edec8460 Changin how HttpSocket parses query string parameters. Makes HttpSocket querystring parameter parsing more congruent with how PHP handles query string parameters in that it doesn't require urlencoded characters.
Tests added.
Fixes #156
2009-10-29 20:14:36 -04:00
mark_story
a31a2d264c Fixing Debugger::log() . The method used protected properties only available in test cases. No stack trace was being logged when called either. Method has been updated to match its doc block better.
Fixes #222
2009-10-29 19:47:29 -04:00
mark_story
ad305a890a Applying optimization from 'ermayer' Reduces functions called from Folder::addPathElement() Fixes #178 2009-10-27 21:06:58 -04:00
mark_story
23ab84596a Adding discrete tests to Folder::addPathElement 2009-10-27 21:04:14 -04:00
mark_story
00d7c655ce Improving documentation for PaginatorHelper::sort() Fixes #210 2009-10-27 13:28:43 -04:00
mark_story
5a093e5627 Fixing issues in postgres with time columns and '' values.
Tests added.
Fixes #213
2009-10-27 13:22:34 -04:00
mark_story
79fdd8b341 Adding test to ensure blob integrity. Disproves #199 2009-10-24 12:53:22 -04:00
mark_story
72830cb125 Adding test case for model task
Fixing missing case for float datatypes when generating fixtures.
Fixes #204
2009-10-24 11:26:06 -04:00
mark_story
14bd47842c Removing length() from DboMysqli, fixes incorrect float length parsing.
Test case added.
2009-10-24 11:06:27 -04:00
mark_story
c6999aea7f Moving DboMysqli::describe() and DboMysql::describe() into DboMysqlBase. Removes duplicated method code. 2009-10-24 10:46:28 -04:00
mark_story
d25497c527 Adding Skip to mb_strrpos test case. Skips the test if mbstring is installed and php version is 5.1.x. mb_strrpos had an incompatible function signature in these versions. 2009-10-22 13:51:55 -04:00
mark_story
61c1c47c93 Merge branch '1.2' of dev@code.cakephp.org:cakephp into 1.2 2009-10-22 09:34:45 -04:00
ceeram
3dbae37aad fixing failing i18n testcase, caused by setting $category parameter for __c(), __dc() and __dcn() as LC_MONETARY instead of numeric value 2009-10-22 09:33:48 -04:00
renan.saddam
4e8c268536 Making the test more clear by avoind +-2 days thing. Fixes #186. 2009-10-21 19:19:21 -02:00