Commit graph

8972 commits

Author SHA1 Message Date
mark_story
b22da5a3d1 Fixing missing parameter. 2010-10-23 00:36:40 -04:00
mark_story
e6ab0e22c7 Making schema shell work with app/console. No app prefix is needed. 2010-10-23 00:36:24 -04:00
mark_story
c8b0267588 Making project task and bake play nice with creating a new project. 2010-10-23 00:35:53 -04:00
mark_story
1b5cc91262 Reformatting default values.
Fixing issue with undefined variables caused by missing extract().
2010-10-23 00:35:30 -04:00
mark_story
a081188aab Fixing file permissions errors that occurred when creating a new project. 2010-10-23 00:34:44 -04:00
mark_story
cf9166a689 Starting to remove Dispatch->params in favor of the constants ShellDispatcher makes, this will make removing the dependency from Shell much easier. 2010-10-23 00:11:31 -04:00
mark_story
68e176b515 Adding tests for plain output. 2010-10-22 23:32:01 -04:00
mark_story
a5dd06b54c Adding raw output to xml help generation. 2010-10-22 23:30:35 -04:00
mark_story
0be2208429 Adding a few new constants and a new method to control colouring of output. Added raw mode for outputting things like XML. 2010-10-22 23:30:08 -04:00
Juan Basso
deb20d4cf2 Fixed the PHPDoc. 2010-10-21 14:56:05 -02:00
Toni Uebernickel
b04f87f62d fixed E_NOTICE undefined variable in CakeCliReporter::paintException 2010-10-21 14:56:04 -02:00
mark_story
c3b70dccb3 Fixing issue where a missing style would consume a tag on the xml output. 2010-10-20 23:40:05 -04:00
mark_story
1d5f730a10 Removing unused variable from Shell.
Making subcommand parsers correctly output XML help.
2010-10-20 23:35:30 -04:00
mark_story
7c296211ef Making generating schema for connections with prefixes work correctly. The prefix needs to be removed so that when tables are created or updated they do not get the prefix added twice.
Moving tests around. Fixes #1180
2010-10-20 23:17:04 -04:00
mark_story
498417203b Making DboSource::fields() use cacheMethod() so it respects $cacheMethods.
Test added.
Fixes #1211
2010-10-20 22:28:31 -04:00
mark_story
077d1c5ad5 Applying patch from 'hashmich' to fix issues with slideUp and slideDown effects in prototype engine.
Tests updated.
Fixes #1213
2010-10-20 22:07:53 -04:00
mark_story
a6a627bd92 Making xml help work.
Need to update tests.
2010-10-19 23:35:58 -04:00
mark_story
65686a0648 Fixing doc string. 2010-10-19 23:25:42 -04:00
mark_story
a866d62190 Adding startup override for xml output. 2010-10-19 23:25:23 -04:00
mark_story
d126f27278 Doing a bunch of refactoring to the CommandList shell.
Adding XML output to the command list shell.
2010-10-19 23:21:24 -04:00
mark_story
8f9adc7b15 Adding return of xml object to xml() method. 2010-10-19 22:47:07 -04:00
mark_story
ad62e0e3af Adding xml output to HelpFormatter. 2010-10-19 22:44:46 -04:00
mark_story
52a494402b Moving tests over to the HelpFormatter. 2010-10-19 21:40:27 -04:00
mark_story
78e76a2f9e Removing unused methods. 2010-10-19 21:31:55 -04:00
mark_story
4e44ff97b3 Moving code into HelpFormatter to help separate the help generation from the option parser. 2010-10-19 21:31:16 -04:00
ADmad
ffc77aa588 Adding "function_exists" check before using "ini_set" in Debugger::__construct(). Fixes #1209 2010-10-20 02:16:17 +05:30
mark_story
1954c7c350 Moving tests around and starting to build out HelpFormatter for generating both text and xml help.
Xml help in consoles is great for IDE consumption.
2010-10-18 23:38:14 -04:00
mark_story
6291f1b1d1 Fixing issues with schema shell test when run in certain group combinations. 2010-10-18 23:26:50 -04:00
mark_story
6900f470ad Moving code from BakeShell to BakeTask.
Adding a base execute method to contain common code shared amongst all the bake tasks.
Updating test cases as $name attributes value has changed.
2010-10-18 23:09:23 -04:00
mark_story
bd156bb601 Adding a connection object for use with bake all. 2010-10-18 22:38:56 -04:00
mark_story
de615967fc Removing dead code from the PluginTask. 2010-10-18 22:38:17 -04:00
mark_story
6f29441ff9 Adding a blank line after the epilog on generated help. Makes for slightly more readable output. 2010-10-18 22:37:57 -04:00
mark_story
1c25e627ad Applying patch from 'Mark Mitchell' fixes issues with sending Email via smtp. Which were incorrect based on previous patches given for ticket #1100.
Fixes #1205, Fixes #1204
2010-10-18 22:06:12 -04:00
Juan Basso
373fa780f7 Created the method FormHelper::postLink() to create a link with form to send data via POST. This feature require javascript. 2010-10-18 21:51:17 -02:00
Juan Basso
4c106490ef Created the method FormHelper::postButton() to create a button with form to send data via POST. 2010-10-18 17:53:27 -02:00
mark_story
df55c08133 Fixing typo.
Fixing bad import which caused fails when running tests from the webrunner.
2010-10-17 23:43:12 -04:00
mark_story
01a20f61f1 Adding omitted test. 2010-10-17 23:40:15 -04:00
mark_story
5eb8c8fbcf Adding a test and trimming whitespace. 2010-10-17 23:35:45 -04:00
mark_story
84a8dbd85a Merge branch '2.0' into 2.0-console 2010-10-17 23:32:38 -04:00
mark_story
01b1fb8638 Removing the old help method. 2010-10-17 23:31:58 -04:00
mark_story
529527a722 Removing ability of plugin task to pass through to a few but not all parts of bake.
Adding OptionParser definition.
2010-10-17 23:09:30 -04:00
mark_story
1d974f5a48 Fixing issue that caused db config generation to fail. 2010-10-17 22:54:07 -04:00
mark_story
6a9ca7f54a Adding a test to DbConfigTask. 2010-10-17 22:48:24 -04:00
mark_story
9ebd015739 Adding omitted return statements. 2010-10-17 22:43:06 -04:00
mark_story
ae9403601e Making the project task correctly replace the __CAKE_PATH__ constant when creating new projects. 2010-10-17 22:38:32 -04:00
mark_story
8f0a96d4bb Adding Shel::$command back in as it was still being used, oops.
Updating Bakeshell to do its tricks at the correct time.
2010-10-17 22:37:57 -04:00
mark_story
561067e797 Making the skel tmp dirs world writable. 2010-10-17 22:36:59 -04:00
mark_story
ae6846277e Updating text that doesn't make sense as Cake uses PHPunit now. 2010-10-17 21:29:30 -04:00
mark_story
e807cc0eca Removing a bunch of dead properties from ShellDispatcher and Shell.
They are no longer needed/used.
Moving Shell back to console/shells so App::import() can easily find it.
2010-10-17 21:04:14 -04:00
Juan Basso
d771239104 Fixed support to save XML data in Models. 2010-10-17 22:47:43 -02:00