Commit graph

5996 commits

Author SHA1 Message Date
renan.saddam
91b9e1d50b Updating docblock for FormHelper::dateTime method. 2009-11-02 13:57:05 -02:00
renan.saddam
034b5c435c Allowing FormHelper::month() to use a $monthNames array as values. 2009-11-02 13:51:16 -02:00
ceeram
988ab2d29f fixes Ticket #6300
Signed-off-by: Mark Story <mark@mark-story.com>
2009-11-02 00:19:44 -05:00
ceeram
a3775937a4 Tests updated for new output of FormHelper::input
Signed-off-by: Mark Story <mark@mark-story.com>
2009-11-02 00:19:01 -05:00
mark_story
44d7742b85 Minor refactoring and removal of duplicate test. 2009-10-31 16:28:43 -04:00
tPl0ch
2331cfde60 Added 'before' and 'after' options to FormHelper::submit(). Test cases updated.
Signed-off-by: Mark Story <mark@mark-story.com>
2009-10-31 16:21:53 -04:00
mark_story
a855a6aa41 Renaming variable. 2009-10-31 16:16:58 -04:00
mark_story
cab64b780c Refactoring switch in Scaffold. 2009-10-31 16:16:25 -04:00
mark_story
3a59bf5ed6 Updating Scaffold to work with any single prefix. You can set $scaffold = to any prefix defined in Routing.prefixes.
Tests added.
2009-10-31 16:06:20 -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
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
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
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
mark_story
6f2ec8d8d2 Adding app/libs dir. app/libs is for storing 1st party libraries that are not technically vendor files, as they do not originate from vendor sources. 2009-10-28 09:16:09 -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
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