mark_story
|
b94edefb2c
|
Removing the last vestiges of the enable parameter.
Fixing issue where isset() stupidly plods along when doing a string index of a string.
Updating DbAcl to use proper settings array.
Fixes #1467
|
2011-01-18 19:33:57 -05:00 |
|
mark_story
|
4009b6b2c7
|
Fixing more @package tags, and removing duplicate tags in classes.
|
2010-12-24 14:33:41 -05:00 |
|
mark_story
|
2385d9c79a
|
Updating console class @package tags.
|
2010-12-24 14:26:26 -05:00 |
|
mark_story
|
ef77e60cb0
|
Removing @subpackage tags, moving contents of @subpackage into @package.
Removing duplicate cake.cake in @package tags.
Renaming cake.app -> app
|
2010-12-24 14:09:57 -05:00 |
|
mark_story
|
1c6b261ff1
|
Correcting and expanding documentation on console classes.
|
2010-12-21 23:11:23 -05:00 |
|
mark_story
|
44c080d5ad
|
Making all core classes throw CakeException subclasses, this allows developers to catch framework exceptions with one catch.
Adding package specific exceptions.
Replacing generic exceptions in the codebase with CakeException + package exceptions.
|
2010-12-11 19:26:10 -05:00 |
|
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 |
|
Juan Basso
|
c52d5320c8
|
Replaced the *printf with i18n aliases by i18n aliases with params.
|
2010-12-04 23:37:13 -02:00 |
|
mark_story
|
843f5c6190
|
Fixing E_STRICT error in ConsoleErrorHandler.
|
2010-12-04 14:20:50 -05:00 |
|
Juan Basso
|
aa0bad9247
|
Ignore errorHandler if warning suppressor (@command()) is used.
|
2010-12-02 01:44:31 -02:00 |
|
Mark Story
|
91b5a5265e
|
Making ConsoleErrorHandler be invoked with the correct error reporting level.
|
2010-11-28 20:44:28 -05:00 |
|
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
|
74bf455c49
|
Updating ConsoleErrorHandler to match ErrorHandler.
Updating test cases for ConsoleErrorHandler.
|
2010-11-25 22:51:30 -05:00 |
|
mark_story
|
a2bc369935
|
Fixing missing include in HelpFormatter.
|
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 |
|
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
|
138482741f
|
Adding question style to ConsoleOutput.
Made Shell::in() draw as magenta text.
|
2010-10-24 17:58:44 -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
|
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
|
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
|
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
|
5eb8c8fbcf
|
Adding a test and trimming whitespace.
|
2010-10-17 23:35:45 -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 |
|
mark_story
|
8476edd3d1
|
Moving console lib classes into a new directory.
|
2010-10-17 17:39:05 -04:00 |
|
mark_story
|
5737cf7877
|
Making TaskCollection use App::import instead of goofy shell paths.
Moving files in the testsuite around to reflect changed paths.
|
2010-10-17 15:58:44 -04:00 |
|
mark_story
|
8c63f155ba
|
Renaming + moving test and task files around. Updating tests to use import for tasks.
|
2010-10-17 15:43:20 -04:00 |
|
mark_story
|
a76ce4af3d
|
Renaming console/libs to console/shells so its more consistent with app directories.
|
2010-10-17 15:07:00 -04:00 |
|
mark_story
|
09ee1b7dce
|
Fixing issue where schema create would always dry run.
|
2010-10-16 01:46:47 -04:00 |
|
mark_story
|
cf98942c72
|
Updating Acl and i18n shells to use dispatchShell.
|
2010-10-16 01:38:11 -04:00 |
|
mark_story
|
abea7294e6
|
Adding some documentation for Shell::dispatchShell()
Fixing string dispatching.
|
2010-10-16 01:37:43 -04:00 |
|
mark_story
|
28fc07c055
|
Adding Shell::dispatchShell() will replace $this->Dispatch->dispatch use in Shells.
|
2010-10-16 01:28:59 -04:00 |
|
mark_story
|
e85482f702
|
Making a missing method generate help, when a shell lacks a main() method.
|
2010-10-16 01:24:23 -04:00 |
|
mark_story
|
134f4835ab
|
Adding some colours to project task, and fixing verbose output question.
|
2010-10-16 01:02:15 -04:00 |
|
mark_story
|
4627cc01cf
|
Updating SchemaShell to use optionparser and removing old help.
Updating test case to use new param names.
|
2010-10-16 00:43:03 -04:00 |
|
mark_story
|
46dcf8b036
|
Fixing formatting on generated help in ConsoleOptionParser.
Updating tests.
Making Shell::wrapText a simple wrapper for String::wrap()
|
2010-10-15 23:09:28 -04:00 |
|
mark_story
|
0492a188ed
|
Adding Shell::wrapText() to extend String methods, with indenting which can be useful in shell output.
|
2010-10-14 22:58:23 -04:00 |
|
mark_story
|
0428320c78
|
Adding verbose/quiet flags back to testsuite shell.
|
2010-10-14 22:15:01 -04:00 |
|
mark_story
|
124a910830
|
Adding documentation for output levels.
|
2010-10-13 23:44:50 -04:00 |
|
mark_story
|
4be57a2ea5
|
Adding output levels to Shell
Adding tests for output levels.
|
2010-10-13 23:40:45 -04:00 |
|