Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'master' of ↵ | Jason Gerard DeRose | 2008-12-20 | 1 | -1/+12 |
|\ | | | | | | | git://git.engineering.redhat.com/users/rcritten/freeipa2 | ||||
| * | Set defaults even for optional arguments. | Rob Crittenden | 2008-12-10 | 1 | -0/+8 |
| | | |||||
| * | Port plugins to use the new output_for_cli() argument list | Rob Crittenden | 2008-12-10 | 1 | -1/+4 |
| | | | | | | | | Fix some errors uncovered by the nosetests | ||||
* | | Fix show_api command | Jakub Hrozek | 2008-12-17 | 1 | -3/+3 |
| | | |||||
* | | Jakub Hrozek's patch to make textui.get_tty_width() actually work | Jakub Hrozek | 2008-12-16 | 1 | -1/+11 |
|/ | |||||
* | Fixed some unicode encoded/decode issues in textui.prompt_password() and ↵ | Jason Gerard DeRose | 2008-11-19 | 1 | -4/+31 |
| | | | | textui.prompt() | ||||
* | Calling 'passwd' command now prompts for password using textui.prompt_password() | Jason Gerard DeRose | 2008-11-18 | 1 | -7/+20 |
| | |||||
* | Added textui.prompt_password() method; added logic in cli for dealing with ↵ | Jason Gerard DeRose | 2008-11-18 | 1 | -11/+34 |
| | | | | 'password' flag in param.flags | ||||
* | Added some experimental textui methods | Jason Gerard DeRose | 2008-11-17 | 1 | -5/+35 |
| | |||||
* | Command.get_defaults() now returns param.default if param.type is a Bool | Jason Gerard DeRose | 2008-11-17 | 1 | -2/+4 |
| | |||||
* | Started updated user_* commands to use textui | Jason Gerard DeRose | 2008-11-17 | 1 | -0/+22 |
| | |||||
* | Moved plugins command from ipalib.cli to ipalib.plugins.f_misc | Jason Gerard DeRose | 2008-11-16 | 1 | -19/+0 |
| | |||||
* | Fixed textui.print_keyval for cases when the row is a list instead of a tuple | Jason Gerard DeRose | 2008-11-14 | 1 | -2/+2 |
| | |||||
* | Added print_plain() and print_paragraph() methods to textui plugin and ↵ | Jason Gerard DeRose | 2008-11-14 | 1 | -42/+77 |
| | | | | cleaned up the order of its methods | ||||
* | Added textui.prompt() method, which CLI.prompt_interactively() uses | Jason Gerard DeRose | 2008-11-13 | 1 | -5/+12 |
| | |||||
* | Started work on cleaning up how exceptions are caught and sys.exit() is ↵ | Jason Gerard DeRose | 2008-11-13 | 1 | -43/+54 |
| | | | | called in ipalib.cli.CLI | ||||
* | Calling ./ipa with no command now calls Command.help() | Jason Gerard DeRose | 2008-11-12 | 1 | -24/+27 |
| | |||||
* | output_for_cli signature is now output_for_cli(textui, result, *args, **options) | Jason Gerard DeRose | 2008-11-12 | 1 | -1/+2 |
| | |||||
* | Changed calling signature of output_for_cli(); started work on 'textui' ↵ | Jason Gerard DeRose | 2008-11-12 | 1 | -30/+189 |
| | | | | backend plugin | ||||
* | Move socket errors from the XML-RPC plugin to the client | Rob Crittenden | 2008-11-03 | 1 | -0/+4 |
| | |||||
* | Handle exceptions in the command-line instead of in the XMLRPC client plugin | Rob Crittenden | 2008-11-03 | 1 | -0/+10 |
| | |||||
* | Renamed API.bootstrap_from_options() to bootstrap_with_global_options() | Jason Gerard DeRose | 2008-10-31 | 1 | -7/+4 |
| | |||||
* | Reoganized global option functionality to it is easy for any script to use ↵ | Jason Gerard DeRose | 2008-10-31 | 1 | -20/+9 |
| | | | | the environment-related global options; lite-xmlrpc.py now uses same global options | ||||
* | Added ipalib.plugins.f_misc with new 'context' Command; moved 'env' Command ↵ | Jason Gerard DeRose | 2008-10-30 | 1 | -18/+0 |
| | | | | from cli to f_misc | ||||
* | Did some initial work for Context plugins | Jason Gerard DeRose | 2008-10-30 | 1 | -1/+1 |
| | |||||
* | Added an example CLI-specific env command | Jason Gerard DeRose | 2008-10-28 | 1 | -0/+16 |
| | |||||
* | Added util.configure_logging() function; API.bootstrap() now calls ↵ | Jason Gerard DeRose | 2008-10-28 | 1 | -1/+1 |
| | | | | util.configure_logging() | ||||
* | API.load_plugins() no longer takes dry_run=False kwarg and instead checks in ↵ | Jason Gerard DeRose | 2008-10-27 | 1 | -1/+1 |
| | | | | env.mode == 'unit_test' to decide whether to load the plugins; it also only loads ipa_server.plugins in env.in_server is True | ||||
* | More CLI cleanup, got all basics working again | Jason Gerard DeRose | 2008-10-27 | 1 | -70/+70 |
| | |||||
* | More docstrings, functionality, and unit tests for improved CLI class | Jason Gerard DeRose | 2008-10-27 | 1 | -80/+166 |
| | |||||
* | Implemented basic CLI.bootstrap(); added corresponding unit tests | Jason Gerard DeRose | 2008-10-27 | 1 | -22/+13 |
| | |||||
* | Started cleanup work on CLI class, added unit tests for CLI.parse_globals() | Jason Gerard DeRose | 2008-10-27 | 1 | -1/+2 |
| | |||||
* | Started cleanup work on CLI class, added unit tests for CLI.parse_globals() | Jason Gerard DeRose | 2008-10-27 | 1 | -48/+69 |
| | |||||
* | Fix ipa command running in server_context=True | Rob Crittenden | 2008-10-23 | 1 | -1/+17 |
| | | | | | | Make the LDAP host and port environment variables More changes so that commands have a shell return value lite-xmlrpc no longer hardcodes the kerberos credentials cache location | ||||
* | Return a value to the shell that called ipa | Rob Crittenden | 2008-10-22 | 1 | -2/+6 |
| | |||||
* | Gracefully handle keyboard interrupts (^C) | Rob Crittenden | 2008-10-21 | 1 | -1/+4 |
| | |||||
* | Make boolean options work like standard OptionParser booleans | Rob Crittenden | 2008-10-21 | 1 | -1/+6 |
| | |||||
* | Reworked 'plugins' command to use output_for_cli() | Jason Gerard DeRose | 2008-10-20 | 1 | -8/+11 |
| | |||||
* | Removed generic Command.output_for_cli() method; CLI.run_interactive() now ↵ | Jason Gerard DeRose | 2008-10-17 | 1 | -1/+3 |
| | | | | only calls output_for_cli() if it has been implemented | ||||
* | Reworking Environment, moved it to config.py | Martin Nagy | 2008-10-17 | 1 | -12/+13 |
| | |||||
* | Started roughing out user_add() using api.Backend.ldap; added ↵ | Jason Gerard DeRose | 2008-10-14 | 1 | -1/+1 |
| | | | | Command.output_for_cli() to take care of formatting print output | ||||
* | CLI.run_interactive() now uses Param.cli_name instead of Param.name for ↵ | Jason Gerard DeRose | 2008-10-13 | 1 | -3/+3 |
| | | | | prompts and errors | ||||
* | CLI now maps Param.cli_name to Param.name | Jason Gerard DeRose | 2008-10-13 | 1 | -2/+3 |
| | |||||
* | Implement argument parsing for the CLI | Martin Nagy | 2008-10-08 | 1 | -8/+51 |
| | |||||
* | Implement config file reading | Martin Nagy | 2008-10-08 | 1 | -1/+2 |
| | |||||
* | Environment is now subclassed from object, rather then dict. Added tests for ↵ | Martin Nagy | 2008-10-02 | 1 | -5/+2 |
| | | | | Environment and config.py | ||||
* | Add support for environment variables, change tests accordingly | Martin Nagy | 2008-09-29 | 1 | -0/+4 |
| | |||||
* | 327: Improved formatting on show-api cli command | Jason Gerard DeRose | 2008-09-24 | 1 | -9/+31 |
| | |||||
* | 326: Made output of plugins cli command nicer | Jason Gerard DeRose | 2008-09-24 | 1 | -5/+27 |
| | |||||
* | 325: API.finalize() now creates instance attribtue 'plugins', which is a ↵ | Jason Gerard DeRose | 2008-09-24 | 1 | -5/+31 |
| | | | | tuple of PluginInfo objects; renamed show_plugins cli command to namespaces; added new cli command plugins |