Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | More xmlrpc tweaks: xmlserver.execute() now logs non-public exceptions; ↵ | Jason Gerard DeRose | 2009-02-03 | 1 | -9/+19 |
| | | | | xmlclient.forward() now handles socket error; fixed some Python 2.4 problems in lite-xmlrpc2.py | ||||
* | Further migration toward new xmlrcp code; fixed problem with unicode ↵ | Jason Gerard DeRose | 2009-02-03 | 1 | -3/+6 |
| | | | | Fault.faultString; fixed problem where ServerProxy method was not called correctly | ||||
* | Removed bogus CLI.set_defaults() method that was causing non-required values ↵ | Jason Gerard DeRose | 2009-02-03 | 1 | -11/+5 |
| | | | | to get filled in | ||||
* | Removed depreciated Command.args_to_kw() method; updated CLI to use ↵ | Jason Gerard DeRose | 2009-02-03 | 1 | -6/+3 |
| | | | | Command.args_options_2_params() instead | ||||
* | New Param: fixed metavar bug in cli.py | Jason Gerard DeRose | 2009-01-16 | 1 | -1/+1 |
| | |||||
* | Small change in ipalib.cli to check if param is a Password instance instead ↵ | Jason Gerard DeRose | 2009-01-14 | 1 | -1/+2 |
| | | | | of calling depreciated ispasswd() method | ||||
* | New Param: removed more depreciated 'import ipa_types' | Jason Gerard DeRose | 2009-01-14 | 1 | -2/+1 |
| | |||||
* | Renamed all references to 'ipa_server' to 'ipaserver' | Jason Gerard DeRose | 2009-01-04 | 1 | -2/+2 |
| | |||||
* | Removed depreciated code from config.py; removed corresponding unit tests | Jason Gerard DeRose | 2008-12-22 | 1 | -1/+0 |
| | |||||
* | 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 |