Commit graph

1213 commits

Author SHA1 Message Date
mark_story
23c69b2bfb Adding an import, as I hit an error when trying to bake tests for models. 2010-11-07 13:23:43 -05:00
mark_story
af303f01c7 Fixing baked actions to use request object.
Fixes #1091
2010-11-07 01:08:58 -04:00
José Lorenzo Rodríguez
1c37751038 Adding missign option to testsuite shell 2010-11-03 19:41:17 -04:30
José Lorenzo Rodríguez
224f65af05 Preventing bug in testsuite shell 2010-11-03 18:56:06 -04:30
José Lorenzo Rodríguez
557c5274e8 Making file argument optional in console testsuite in order to show complete list of test cases for a category 2010-11-03 01:27:37 -04:30
José Lorenzo Rodríguez
9afd4d7875 Fixing option parsing and help for testsuite after new console libraries merge 2010-11-03 01:25:27 -04:30
mark_story
bff711e2dc Merge branch '2.0-console' into 2.0
Conflicts:
	cake/console/shells/acl.php
	cake/tests/cases/console/libs/tasks/plugin.test.php
2010-11-02 23:49:19 -04:00
Juan Basso
b0a600f925 Merge branch '2.0-post-method' into 2.0 2010-11-03 01:42:06 -02:00
mark_story
c9ca3c3785 Fixing path constants in DbConfig and FixtureTask to be more consistent between web and cli. 2010-11-02 23:25:36 -04:00
Mark Story
08e7bcb7ab Merge branch '1.3' into integration
Conflicts:
	app/config/core.php
	cake/console/libs/acl.php
	cake/console/templates/skel/config/core.php
	cake/console/templates/skel/webroot/test.php
	cake/dispatcher.php
	cake/libs/view/errors/missing_action.ctp
	cake/libs/view/helpers/form.php
	cake/tests/cases/libs/cache/memcache.test.php
	cake/tests/cases/libs/controller/controller.test.php
	cake/tests/cases/libs/log/file_log.test.php
	cake/tests/cases/libs/model/cake_schema.test.php
	cake/tests/cases/libs/router.test.php
	cake/tests/cases/libs/view/helpers/ajax.test.php
	cake/tests/groups/bake.group.php
	cake/tests/groups/behaviors.group.php
	cake/tests/groups/i18n.group.php
	cake/tests/groups/javascript.group.php
	cake/tests/lib/reporter/cake_cli_reporter.php
2010-10-31 21:56:59 -04:00
Juan Basso
e380b76e16 Created an exception to error 405 (Method Not Allowed) and changed the delete action in bake to use it. 2010-10-30 23:13:54 -02:00
Juan Basso
a040c9a218 Changed the cake bake to use postLink for delete actions. 2010-10-30 21:58:42 -02:00
Juan Basso
5674ac4cf8 Added the require to dispatcher in skel to cake bake. 2010-10-30 01:29:26 -02:00
Juan Basso
2d9d4547f4 Importing File class, used by some methods. 2010-10-30 01:26:18 -02:00
mark_story
fff8279c2b Using patch from 'wals' to add generic exclude option to the ExtractTask. Allows you to exclude path segments from the generated PO files.
Fixes #1138
2010-10-29 00:40:04 -04:00
mark_story
18bffe8600 Applying doc block changes from 'teknoid'. Fixes #1239 2010-10-29 00:15:48 -04:00
mark_story
efac10d3de Making the cake --help shortcut pass along the other options. 2010-10-26 22:40:11 -04:00
mark_story
558bd7e3c2 Adding a --sort param to view the command_list sorted in a different way.
Test cases added.
Fixes #574
2010-10-26 22:34:27 -04:00
mark_story
c6c3295c5c Making default bake templates escape HTML. Fixes #1186 2010-10-24 19:34:57 -04:00
mark_story
138482741f Adding question style to ConsoleOutput.
Made Shell::in() draw as magenta text.
2010-10-24 17:58:44 -04:00
Graham Weldon
d3e0ddbb0e Update copyright years. 2010-10-25 07:58:22 +11:00
Victor Castell
141b05e588 Updated copyright years in skel aplication template 2010-10-25 07:57:15 +11:00
mark_story
6f29519f73 Making shells attach args and params by reference.
Adding test.
2010-10-24 15:47:07 -04:00
mark_story
0a022f1d81 Updating tasks to not rely on the dispatcher being available. 2010-10-24 15:27:44 -04:00
mark_story
5edb277111 Updating shells and shell tests for changes in __construct. 2010-10-24 15:11:30 -04:00
mark_story
ba17e2c9a0 Removing ShellDispatcher as a constructor argument for Shell.
Updating the AclShell test case.
2010-10-24 14:55:16 -04:00
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
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
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
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
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
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