summaryrefslogtreecommitdiffstats
path: root/ipalib/cli.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix bug in print_attribute.Pavel Zuna2009-10-231-1/+1
| | | | | When the attribute had no values an exception was generated while trying to word-wrap it.
* Removed util.add_global_options() and frontend.ApplicationJason Gerard DeRose2009-10-141-2/+2
|
* Giant webui patch take 2Jason Gerard DeRose2009-10-131-1/+1
|
* Fix unit tests for plugins using baseldap classes.Pavel Zuna2009-10-051-1/+4
|
* Improve attribute printing in the CLI.Pavel Zuna2009-09-081-5/+28
| | | | | - allow choice between single/multiple value per line - word wrapping
* Removed PluginProxy and all its usesJason Gerard DeRose2009-08-051-6/+9
|
* Fix three broken unit testsJason Gerard DeRose2009-08-041-2/+1
|
* Enable attribute re-mapping and ordering when printing entries.Pavel Zuna2009-08-031-10/+22
| | | | Also print multiple values on one line separated by commas.
* Require a password only once when it is passed in via a pipeRob Crittenden2009-07-101-21/+13
|
* Add a one-character option for parametersRob Crittenden2009-07-101-1/+4
|
* Add a return value to exceptions.Rob Crittenden2009-07-101-4/+11
| | | | | | | | Returning the exception value doesn't work because a shell return value is in the range of 0-255. The default return value is 1 which means "something went wrong." The only specific return value implemented so far is 2 which is "not found".
* Add textui function to display and prompt user for selection for *-find.Rob Crittenden2009-07-101-7/+63
| | | | | Since we may end up executing a *-show when an entry is selected we need to defer destroying the connection context.
* Two new arguments for the help built-in command: topics and commandsRob Crittenden2009-06-151-2/+7
| | | | | ipa help topics will show all topics (equivalent to ipa help) ipa help commands will show list of all available commands
* Fix a few issues introduced by the new Param.use_in_context() patchRob Crittenden2009-05-211-1/+1
|
* Re-enable doctest, fix broken docstringsJason Gerard DeRose2009-05-131-3/+3
|
* When reading a password, if there is no tty, read from stdin instead.Rob Crittenden2009-05-041-2/+14
| | | | | | This will allow one to pipe a password in: echo -e "secret123\secret123\n" | ipa password someuser
* Change help interface to display builtin commands and a list of topics based ↵Pavel Zuna2009-04-301-20/+77
| | | | on plugin modules.
* Fixed cli.run() catching SystemExit exception under Python2.4Jason Gerard DeRose2009-04-281-1/+1
| | | | Resolves BZ #498088
* Rename errors2.py to errors.py. Modify all affected files.Pavel Zuna2009-04-231-1/+1
|
* Make LDAP entry output slightly nicer, don't print u's in front of unicode ↵Pavel Zuna2009-04-231-7/+23
| | | | strings etc.
* Finish work replacing the errors module with errors2Rob Crittenden2009-04-201-5/+3
| | | | | | Once this is committed we can start the process of renaming errors2 as errors. I thought that combinig this into one commit would be more difficult to review.
* Implement an installer for the Dogtag certificate system.Rob Crittenden2009-04-031-0/+1
| | | | | | | | | | | | | | | The CA is currently not automatically installed. You have to pass in the --ca flag to install it. What works: - installation - unistallation - cert/ra plugins can issue and retrieve server certs What doesn't work: - self-signed CA is still created and issues Apache and DS certs - dogtag and python-nss not in rpm requires - requires that CS be in the "pre" install state from pkicreate
* Always print the dn first when printing an entryRob Crittenden2009-03-251-0/+3
|
* Fixed broken autfill logic in cli.prompt_interactively()Jason Gerard DeRose2009-02-271-20/+22
|
* Print out multi-valued values one per-line instead of comman-delimitedRob Crittenden2009-02-191-3/+3
|
* Got new ldap connection working using Connectible.connect()Jason Gerard DeRose2009-02-031-10/+7
|
* Finished reworked cli.CLI class into cli.cli pluginJason Gerard DeRose2009-02-031-354/+50
|
* Started reworking CLI class into cli pluginJason Gerard DeRose2009-02-031-31/+181
|
* CLI now logs trace if it catches a non-public error and then exists with an ↵Jason Gerard DeRose2009-02-031-53/+20
| | | | InternalError; other CLI cleanup
* Fixed another small CLI decoding problem (multivalue args in a tuple now work)Jason Gerard DeRose2009-02-031-6/+6
|
* Fixed a few problems in the CLI interactive prompting (wont prompt for Flag now)Jason Gerard DeRose2009-02-031-10/+6
|
* More work on xmlrpc stuff, started migrated more code to use errors2 instead ↵Jason Gerard DeRose2009-02-031-2/+2
| | | | of errors
* More xmlrpc tweaks: xmlserver.execute() now logs non-public exceptions; ↵Jason Gerard DeRose2009-02-031-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 DeRose2009-02-031-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 DeRose2009-02-031-11/+5
| | | | to get filled in
* Removed depreciated Command.args_to_kw() method; updated CLI to use ↵Jason Gerard DeRose2009-02-031-6/+3
| | | | Command.args_options_2_params() instead
* New Param: fixed metavar bug in cli.pyJason Gerard DeRose2009-01-161-1/+1
|
* Small change in ipalib.cli to check if param is a Password instance instead ↵Jason Gerard DeRose2009-01-141-1/+2
| | | | of calling depreciated ispasswd() method
* New Param: removed more depreciated 'import ipa_types'Jason Gerard DeRose2009-01-141-2/+1
|
* Renamed all references to 'ipa_server' to 'ipaserver'Jason Gerard DeRose2009-01-041-2/+2
|
* Removed depreciated code from config.py; removed corresponding unit testsJason Gerard DeRose2008-12-221-1/+0
|
* Merge branch 'master' of ↵Jason Gerard DeRose2008-12-201-1/+12
|\ | | | | | | git://git.engineering.redhat.com/users/rcritten/freeipa2
| * Set defaults even for optional arguments.Rob Crittenden2008-12-101-0/+8
| |
| * Port plugins to use the new output_for_cli() argument listRob Crittenden2008-12-101-1/+4
| | | | | | | | Fix some errors uncovered by the nosetests
* | Fix show_api commandJakub Hrozek2008-12-171-3/+3
| |
* | Jakub Hrozek's patch to make textui.get_tty_width() actually workJakub Hrozek2008-12-161-1/+11
|/
* Fixed some unicode encoded/decode issues in textui.prompt_password() and ↵Jason Gerard DeRose2008-11-191-4/+31
| | | | textui.prompt()
* Calling 'passwd' command now prompts for password using textui.prompt_password()Jason Gerard DeRose2008-11-181-7/+20
|
* Added textui.prompt_password() method; added logic in cli for dealing with ↵Jason Gerard DeRose2008-11-181-11/+34
| | | | 'password' flag in param.flags
* Added some experimental textui methodsJason Gerard DeRose2008-11-171-5/+35
|