Commit graph

1268 commits

Author SHA1 Message Date
evilbloodydemon
a7d69701ba upgrade shell - option to specify extensions 2011-05-01 23:29:54 +02:00
evilbloodydemon
3dddcf8757 upgrade shell - refactoring 2011-05-01 23:29:54 +02:00
evilbloodydemon
5c6415d182 upgrade shell - helpers subcommand 2011-05-01 23:29:54 +02:00
evilbloodydemon
65ec52f116 upgrade shell - added ability to upgrade app separately from plugins 2011-05-01 23:29:54 +02:00
mark_story
0b42761b13 Adding a ghetto start to what will be the 2.0 upgrade shell. i18n updating mostly works. 2011-05-01 23:29:54 +02:00
José Lorenzo Rodríguez
1c0a4c9e0a Starting to move console classes 2010-12-07 00:47:53 -04:30
José Lorenzo Rodríguez
5dddb362ec Merge remote branch 'origin/2.0' into 2.0-class-loading
Conflicts:
	lib/Cake/config/ini_file.php
2010-12-06 09:42:52 -04:30
mark_story
c096eea664 Fixing failing tests caused by constants changing. 2010-12-05 23:32:34 -05:00
José Lorenzo Rodríguez
3f64844de9 Merge remote branch 'origin/2.0' into 2.0-class-loading
Conflicts:
	lib/Cake/Model/ConnectionManager.php
	lib/Cake/basics.php
2010-12-05 23:43:58 -04:30
José Lorenzo Rodríguez
c559b9c22d Merge remote branch 'origin/2.0' into 2.0
Conflicts:
	cake/console/templates/skel/config/database.php.default
	cake/libs/model/datasources/dbo/dbo_sqlite.php
2010-12-05 20:51:37 -04:30
mark_story
ad80609841 Merge branch '2.0' of github.com:cakephp/cakephp into 2.0 2010-12-04 23:55:49 -05:00
Juan Basso
c52d5320c8 Replaced the *printf with i18n aliases by i18n aliases with params. 2010-12-04 23:37:13 -02:00
mark_story
af768c0b6f Removing non-existant databases from comments. 2010-12-04 15:04:21 -05:00
mark_story
0cf02ec2f9 Fixing issues caused by CORE_PATH not being reliable. 2010-12-04 15:00:48 -05:00
mark_story
843f5c6190 Fixing E_STRICT error in ConsoleErrorHandler. 2010-12-04 14:20:50 -05:00
José Lorenzo Rodríguez
8678661b9c Merge branch 'feature/2.0/pdo' into 2.0-class-loading 2010-12-04 11:21:54 -04:30
José Lorenzo Rodríguez
b1ec3043bc Replacing App::import in favor of App::uses where possible 2010-12-03 18:37:21 -04:30
José Lorenzo Rodríguez
7c4ab886e6 Merge remote branch 'origin/2.0' into feature/2.0/pdo 2010-12-03 14:08:03 -04:30
José Lorenzo Rodríguez
2e04c5260e Fixing some tests to make them run on sqlite 2010-12-02 00:19:43 -04:30
Juan Basso
aa0bad9247 Ignore errorHandler if warning suppressor (@command()) is used. 2010-12-02 01:44:31 -02:00
Mark Story
43c184b2d2 Fixing issues with CLI test runner where the error handler would continue to be cakephp's instead of PHPUnit's. 2010-11-28 21:05:12 -05:00
Mark Story
91b5a5265e Making ConsoleErrorHandler be invoked with the correct error reporting level. 2010-11-28 20:44:28 -05:00
mark_story
7bfdbff377 Adding more documentation to core.php. 2010-11-27 19:39:55 -05:00
mark_story
f08fa52a60 Syncing skel/config/core.php 2010-11-27 14:36:34 -05:00
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
c717ff2e72 Adding logging of errors when debug = 0 for console applications. Fixes #1311 2010-11-25 23:16:27 -05:00
mark_story
0d5ed014d1 Removing constants and configuration settings that don't are repeated or deprecated/not used. 2010-11-25 23:16:03 -05:00
mark_story
14a6368b39 Adding missed isset() check
Making ConsoleErrorHandler handle both errors, and exceptions in CLI.
2010-11-25 22:51:30 -05:00
mark_story
74bf455c49 Updating ConsoleErrorHandler to match ErrorHandler.
Updating test cases for ConsoleErrorHandler.
2010-11-25 22:51:30 -05:00
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