Commit graph

1241 commits

Author SHA1 Message Date
José Lorenzo Rodríguez
2e04c5260e Fixing some tests to make them run on sqlite 2010-12-02 00:19:43 -04:30
José Lorenzo Rodríguez
b6731dd9ad Merge remote branch 'origin/2.0' into feature/2.0/pdo
Conflicts:
	cake/tests/cases/libs/model/datasources/dbo/dbo_mysql.test.php
	cake/tests/cases/libs/model/datasources/dbo/dbo_mysqli.test.php
2010-11-26 20:26:41 -04:30
mark_story
fdcfd03340 Fixing typo that prevented html coverage reports from being generated. 2010-11-21 23:02:28 -05:00
mark_story
d7b1f70680 Adding some additional output to bake tasks to make them more consistent. Adding flags for Quiet output so the shells give minimal output. 2010-11-21 12:55:01 -05:00
mark_story
d373dde2ef Fixing notice errors in bake all.
Moving some message printing around.
2010-11-21 12:22:44 -05:00
mark_story
8a129ec3a0 Adding a normalize parameter to Object::_mergeVars(). This allows existing behavior to be maintained.
Updating Controller and Shell usage to match new parameters.
2010-11-21 00:47:42 -05:00
mark_story
8821bec049 Moving _mergeVars() into Object as its common to Controller, Model and Shell. 2010-11-21 00:14:29 -05:00
mark_story
b80535573e Adding _mergeVars to Shell. This allows $tasks and $uses to work much
like $uses in Controllers, and provides consistency in the framework.
Adding tests for merging vars.
2010-11-21 00:12:07 -05:00
mark_story
a8554df077 Fixing call to a help method that doesn't exist. 2010-11-21 00:12:07 -05:00
mark_story
a2bc369935 Fixing missing include in HelpFormatter. 2010-11-21 00:12:06 -05:00
mark_story
0d7ecea6cb Adding AppShell to the ignored shell list in CommandListShell. 2010-11-21 00:12:06 -05:00
mark_story
b914709f32 Moving AppShell to where the other shells live. 2010-11-21 00:12:06 -05:00
mark_story
b0ddfa0755 Added the placeholder class for an 'AppShell'.
Conflicts:

	cake/console/cake.php
2010-11-21 00:12:06 -05:00
José Lorenzo Rodríguez
f2b707ac0b Merge remote branch 'origin/2.0' into feature/2.0/pdo
Conflicts:
	cake/tests/cases/libs/model/datasources/dbo/dbo_mysql.test.php
	cake/tests/cases/libs/model/datasources/dbo/dbo_mysqli.test.php
	cake/tests/cases/libs/model/datasources/dbo_source.test.php
2010-11-16 21:54:42 -04:30
mark_story
66e6ec763e Merge branch 'dispatcher-request' into 2.0
Conflicts:
	cake/libs/configure.php
	cake/tests/cases/libs/all_routing.test.php
	cake/tests/cases/libs/controller/controller.test.php
2010-11-15 22:42:54 -05:00
mark_story
b91566d35f Removing ini_set() in project root.
Fixing notice errors that would happen when mod_rewrite wasn't enabled.
2010-11-14 14:45:09 -05:00
mark_story
8e29595b63 Updating test.php to bootstrap like index.php
Updating skel file to match app one.
2010-11-14 12:50:28 -05:00
mark_story
9b08b725fe Merge branch '2.0' into 2.0-view
Conflicts:
	cake/libs/controller/controller.php
	cake/libs/view/helpers/cache.php
2010-11-13 21:03:54 -05:00
mark_story
6c8c7ca4a5 Turning __get() back into methods. There were so few properties being accessed that it didn't make sense to have __get(), over a handful of methods.
Tests updated.
2010-11-12 23:57:55 -05:00
mark_story
f9b7cbcb96 Making ConsoleOptionParser allow subclasses of the option, argument and subcommand classes to be supplied as arguments to the builder methods. Adding tests. 2010-11-12 23:52:33 -05:00
mark_story
8e1dd9e892 Adding __get() to access protected properties of ConsoleOptionParser components for upcoming changes. 2010-11-12 23:34:52 -05:00
mark_story
18bb5f6b8b Removing =& operators for construction of objects. 2010-11-12 23:05:44 -05:00
José Lorenzo Rodríguez
f93a759220 Merge remote branch 'origin/2.0' into feature/2.0/pdo 2010-11-08 21:30:38 -04:30
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
a39adf213e Adding missign option to testsuite shell 2010-11-03 19:40:48 -04:30
José Lorenzo Rodríguez
3b133a4142 Merge remote branch 'origin/2.0' into feature/2.0/pdo 2010-11-03 19:02:28 -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
José Lorenzo Rodríguez
eedd823fd8 Merge remote branch 'origin/2.0' into feature/2.0/pdo 2010-11-03 00:23:18 -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
José Lorenzo Rodríguez
34813ab35c Merge remote branch 'origin/2.0' into feature/2.0/pdo 2010-10-24 19:55:02 -04:30
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