Commit graph

5789 commits

Author SHA1 Message Date
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
15a98fac5b Merge branch '1.3-misc' of dev@code.cakephp.org:cakephp into 1.3-misc 2009-10-31 14:17:51 -04:00
mark_story
403bd15cca Removing Validation::file() It was never implemented, and file validation can be a lengthy and complicated process. This is better implemented at the application level. 2009-10-31 14:17:24 -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
predominant
4f4274ad24 Merge branch '1.3-misc' of code.cakephp.org:cakephp into 1.3-misc 2009-10-31 18:32:26 +11:00
predominant
bed9b6e58d Extending TextReporter from SimpleTest to provide memory usage and execution time information for text output test results. 2009-10-31 18:30:59 +11:00
mark_story
6726b76077 Refactoring input() to reduce number of method calls.
Applying patch from 'j3ffy' to allow user defined types to override magic select type.
Test case added.
Fixes #5109
2009-10-31 01:45:17 -04:00
mark_story
ade96b7ea5 Updating doc blocks. 2009-10-31 01:11:02 -04:00
mark_story
83caf50918 Fixing doc blocks and minor refactoring. 2009-10-31 01:04:33 -04:00
mark_story
9ed7a5cd55 Adding new options into doc blocks.
Removing todo as its implemented already.
2009-10-31 00:58:21 -04:00
mark_story
ac302bb6c2 Minor refactoring.
Adding tests for form->create() with file type forms.
2009-10-31 00:08:49 -04:00
mark_story
15da4a7007 Moving tests around to be closer in the file to similar tests.
Reformatting tests.
Adding/updating doc blocks for test methods.
2009-10-30 23:23:33 -04:00
José Lorenzo Rodríguez
adea104edb Allowing output disabling of hidden fields in checkbox and radio input types. closes #6185
Signed-off-by: Mark Story <mark@mark-story.com>
2009-10-30 22:47:31 -04:00
José Lorenzo Rodríguez
1c47b2182e Adding form encoding default in form create options. Default is always taken from Configure::read('App.encoding'). closes #6042 2009-10-30 22:35:21 -04:00
José Lorenzo Rodríguez
dfc1014fba Making current action be the default for new forms. Updating test accordingly. closes #5353
Signed-off-by: Mark Story <mark@mark-story.com>
2009-10-30 22:29:49 -04:00
mark_story
55fc72c533 Moving test method and adding doc block. 2009-10-30 22:25:49 -04:00
José Lorenzo Rodríguez
4752fc04da Adding test case to prove it is possible to escape error messages using form::input options parameter, closes #2920 as invalid
Signed-off-by: Mark Story <mark@mark-story.com>
2009-10-30 22:24:18 -04:00
mark_story
e6c58e8030 Fixing wierd workflows in bake when project baking was aborted, it would ask if you wanted to create a database config file for the aborted app. 2009-10-30 22:08:06 -04:00
mark_story
ad8cba41e6 Merge branch '1.3' into 1.3-misc 2009-10-30 22:04:20 -04:00
mark_story
bc26a6ab67 Updating fixture task to change when CakeSchema is loaded to fix issues with errors being generated when baking new projects.
Fixes #226
2009-10-30 22:03:23 -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
phpnut
7bead5df30 Fixing catalog() to return 3 char matches 2009-10-30 14:43:52 -05:00
mark_story
5f1e6ba6a0 Making DboSource::fetchAll return $this->_result if it is a boolean and $out is empty. Allows for Model::query() to return boolean values for operations that do not return recordsets. Fixes #6404 2009-10-29 20:31:29 -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
renan.saddam
5c4bc35259 Merge branch '1.3-misc' of code.cakephp.org:cakephp into 1.3-misc 2009-10-29 21:27:41 -02:00
renan.saddam
df8895a266 Adding a optinal parameter and question for merge action. Refs #147. 2009-10-29 21:26:59 -02:00
mark_story
8b26d9ceb2 Applying optimization from 'Ceeram' reduces merges in FormHelper.
Fixes #225
2009-10-29 19:10:04 -04:00
mark_story
84ec53a039 Merge branch '1.3-misc' of dev@code.cakephp.org:cakephp into 1.3-misc 2009-10-29 09:51:06 -04:00
mark_story
9446f7dd38 Merge branch 'sqlite-tableparams' into 1.3-misc 2009-10-29 09:50:45 -04:00
mark_story
aa03756238 Updating tests to expand coverage of buildcolumn. 2009-10-29 09:26:23 -04:00
mark_story
23831546b5 Adding valid options for sqlite collation. Tests added. 2009-10-29 02:03:50 -04:00
mark_story
a33457155f Adding valid option checking to fieldParameters.
Test case added.
2009-10-29 02:03:21 -04:00
mark_story
f299283dc4 Refactoring duplicated code into a method. 2009-10-29 01:47:25 -04:00
mark_story
2a8858e928 Adding tests to DboSqlite::buildColumn
Adding collate field parameter to DboSqlite.
Removing duplicated code from DboSource, adding parent call instead.
2009-10-29 01:36:15 -04:00
phpnut
80b1eb4ee2 Merging fix for invalid characters in cookie name.
Fixes
2009-10-28 23:44:30 -05:00
renan.saddam
61845090ed Changing variable name to make consistency between others methods. 2009-10-29 01:31:55 -02:00
renan.saddam
e7074c1e5c Moving parameters to $options on Text::truncate() and Text::highlight(). 2009-10-29 01:23:44 -02:00
mark_story
6c18c0e0c7 Fixing escape parameter usage. 2009-10-28 18:41:29 -04:00
mark_story
4bf807b4be Deprecating String::getInstance() 2009-10-28 18:32:04 -04:00
mark_story
1e7c2bbfde Adding libs dir generation to PluginTask. Baked plugins now come with a libs dir. 2009-10-28 09:21:42 -04:00
SkieDr
a4b60ead36 Merge branch '1.3-misc' of code.cakephp.org:cakephp into 1.3-misc 2009-10-28 16:09:49 +03:00
SkieDr
35d5ffca71 add library fixture for app::import tests 2009-10-28 16:09:17 +03:00
mark_story
3b391e30df Adding help text for new -records flag in the FixtureTask 2009-10-28 08:26:52 -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
102f10365f Implementing -records flag to enable quick access to building fixtures off of live data. Refs #196 2009-10-24 14:32:56 -04:00
mark_story
857b7c2399 Merge branch '1.3' into fixture-task 2009-10-24 14:08:16 -04:00
mark_story
f0fdd257cf Adding tests for -count and -records params 2009-10-24 14:08:08 -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
6847d34d80 Updating fixture test to fix issues caused by refactoring in CakeSchema. 2009-10-22 13:11:30 -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
mark_story
0b232742d9 Adding skip() for CacheHelper test to check if app/tmp/cache/views is writable. 2009-10-22 00:38:37 -04:00
mark_story
dac26d92bc Reformatting tests, and fixing trailing whitespace.
Adding doc comments for new form helper tests.
2009-10-22 00:24:54 -04:00
mark_story
6123ed47c4 Removing empty strings that caused undefined string offset errors.
Trimming trailing spaces.
2009-10-22 00:17:48 -04:00
José Lorenzo Rodríguez
2f0598b5c4 Removing todo message, as it is implemented correctly 2009-10-22 00:17:39 -04:00
José Lorenzo Rodríguez
597643cd0c Fixing small error in last commit 2009-10-22 00:17:31 -04:00
José Lorenzo Rodríguez
ce743c00e8 Expanding Helper an View functionaility to accept deep nested entitities.
This allows the form helper to render inputs with arbitrary number of dot separated parts
2009-10-22 00:17:23 -04:00
José Lorenzo Rodríguez
50ec80ff50 Continuing work on Helper::setEntity and associated methods 2009-10-22 00:17:14 -04:00
José Lorenzo Rodríguez
2941e89da3 Making Helper::viewEntity accept any number of levels 2009-10-22 00:16:37 -04:00
José Lorenzo Rodríguez
31f0cdc214 REfactoring model introspection to gather info form multiple models 2009-10-22 00:16:28 -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
mark_story
1ee9771efb Removing ife() from AclShell. Refs #6562 2009-10-21 13:12:03 -04:00
mark_story
0657afcf30 Removing use of low() from core classes. Refs #6525 2009-10-21 13:03:24 -04:00
mark_story
8b419d2dd8 Removing use of ife() from core classes. 2009-10-21 12:57:15 -04:00
mark_story
0cc1d84737 Removing use of e() from core and test suite. 2009-10-21 12:57:03 -04:00
SkieDr
1454ea54a2 add test for app folder for libraries support 2009-10-21 18:13:14 +04:00
SkieDr
6d4fe6b764 Merge branch '1.3-misc' of code.cakephp.org:cakephp into 1.3-misc 2009-10-21 15:42:00 +04:00
burzum
78e7421834 Changing two deprecated Session::del() calls to Session::delete() in the tests. 2009-10-21 13:00:51 +02:00
SkieDr
fb64d14442 Add support libs folder into app and plugins that will allow to split users and vendors code. Libs files should follow cake naming conventions for files names and classes. 2009-10-21 14:59:12 +04:00
mark_story
0e23fdfbb3 Fixing infinitely nesting stack frames when TreeBehavior::reorder() is called and the models $cacheQueries = true and there are a sizable number of records being manipulated.
Test cases added.
Fixes #188
2009-10-21 00:22:36 -04:00
mark_story
c6f783ebfe Fixing issues with CakeTestCase test case and debug = 3. Fixes #189 2009-10-20 22:19:32 -04:00
mark_story
02df92a3a3 Merge branch 'datasource-enabled' into 1.2 2009-10-20 16:19:45 -04:00
mark_story
6913dd4bae Merge branch '1.2' of dev@code.cakephp.org:cakephp into 1.2 2009-10-20 16:18:15 -04:00
mark_story
072e1efc13 Adding Datasource::enabled()
Allows for checking a datasource's ability to be used before attempting to connect it.
Added enabled() to all the core dbo's.
Fixes whitescreen when trying to use a non installed database driver.
Fixes #131
2009-10-20 16:11:31 -04:00
renan.saddam
a15289fba8 Saving few Router::normalize() calls, will may increase performance. Fixes #179. 2009-10-20 16:16:31 -02:00
mark_story
fa6b1b1a20 Changing FormHelper::button() to actually create <button> elements instead of input elements. Test cases added. 2009-10-19 23:57:23 -04:00
mark_story
08f07a9aa4 Changing FormHelper::submit() to be able to create all types of submit buttons. Use 'type' option to create reset or button type inputs.
Test cases added.
2009-10-19 23:44:50 -04:00
mark_story
b9e28d1908 Updating doc blocks. 2009-10-19 23:34:34 -04:00
mark_story
34fb1cc683 Refactoring out common code blocks into a separate method. 2009-10-19 21:58:37 -04:00
mark_story
0a79822b9d Expanding some doc blocks for DataSource. 2009-10-19 21:09:47 -04:00
mark_story
3922f136da Making DboMysqlTest pass when a connection with a prefix is used. Fixes #185 2009-10-19 20:54:02 -04:00
mark_story
52180d50c5 Merge branch '1.2' of dev@code.cakephp.org:cakephp into 1.2 2009-10-19 16:40:45 -04:00
mark_story
79e96e5aef Updating localePaths path. Fixes #184 2009-10-19 16:36:44 -04:00
jperras
ae342c6f2c Fixing skip in previous commit: if skip condition evaluates to true, to prevent a fatal error from being produced. 2009-10-19 13:22:14 -04:00
jperras
daafac8a64 Merge branch '1.2' of code.cakephp.org:cakephp into 1.2 2009-10-19 12:51:32 -04:00
jperras
7ff3fcc4c4 Adding skip for non-existence of DateTimeZone class in time helper tests. 2009-10-19 12:51:06 -04:00