summaryrefslogtreecommitdiffstats
path: root/ipalib
Commit message (Collapse)AuthorAgeFilesLines
...
* Tutorial: command in output_for_cli() example now also takes an argumentJason Gerard DeRose2008-11-141-31/+47
|
* Added print_plain() and print_paragraph() methods to textui plugin and ↵Jason Gerard DeRose2008-11-141-42/+77
| | | | cleaned up the order of its methods
* Tutorial: small improvements to section on using output_for_cli()Jason Gerard DeRose2008-11-141-5/+10
|
* Tutorial: added section on implementing an output_for_cli() methodJason Gerard DeRose2008-11-141-4/+105
|
* Tutorial: added section on allowed return values from a command's execute() ↵Jason Gerard DeRose2008-11-141-0/+42
| | | | method
* Added textui.prompt() method, which CLI.prompt_interactively() usesJason Gerard DeRose2008-11-131-5/+12
|
* Started work on cleaning up how exceptions are caught and sys.exit() is ↵Jason Gerard DeRose2008-11-132-43/+65
| | | | called in ipalib.cli.CLI
* Change Param.__repr__() so it returns the exact expression that could create ↵Jason Gerard DeRose2008-11-132-15/+19
| | | | it; added unit test for Param.__repre__()
* Param.__repr__() now uses util.make_repr()Jason Gerard DeRose2008-11-131-5/+5
|
* Added util.make_repr() function; added corresponding unit testsJason Gerard DeRose2008-11-132-0/+10
|
* Calling ./ipa with no command now calls Command.help()Jason Gerard DeRose2008-11-121-24/+27
|
* output_for_cli signature is now output_for_cli(textui, result, *args, **options)Jason Gerard DeRose2008-11-123-10/+15
|
* Command.get_default() will now fill-in None for all missing non-required paramsJason Gerard DeRose2008-11-124-11/+35
|
* Changed calling signature of output_for_cli(); started work on 'textui' ↵Jason Gerard DeRose2008-11-123-63/+206
| | | | backend plugin
* Renamed ipalib.get_standard_api() to create_api()Jason Gerard DeRose2008-11-111-16/+16
|
* Tutorial: improved clarity of 'How this tutorial is written' sectionJason Gerard DeRose2008-11-111-7/+6
|
* Tutorial: fixed typoJason Gerard DeRose2008-11-101-3/+3
|
* Tutorial: added intro section about Python interactive intepreterJason Gerard DeRose2008-11-101-9/+57
|
* More tutorial work: made introduction more concise; moved note on markup to ↵Jason Gerard DeRose2008-11-101-38/+64
| | | | end; added note about Bazaar
* Added 'conf_dir' env variable, which is directory containing config filesJason Gerard DeRose2008-11-103-1/+4
|
* Fixed typo and made sentance clearer in tutorialJason Gerard DeRose2008-11-071-1/+1
|
* Finished fist draft of plugin tutorial in ipalib/__init__.py docstringJason Gerard DeRose2008-11-073-14/+648
|
* Added Plugin.call() method that calls an external executable via ↵Jason Gerard DeRose2008-11-061-0/+11
| | | | subprocess.call()
* Fix some problems uncovered during automation test workRob Crittenden2008-11-041-6/+17
|
* Revive the hostgroup_container and include add/remove hosts in hostgroups pluginRob Crittenden2008-11-042-2/+27
|
* Add 'all' option to host-find and pull attributes into a global listRob Crittenden2008-11-041-1/+9
|
* Move socket errors from the XML-RPC plugin to the clientRob Crittenden2008-11-032-1/+5
|
* Handle exceptions in the command-line instead of in the XMLRPC client pluginRob Crittenden2008-11-032-8/+11
|
* Uncomment some logging statements ported over from v1.Rob Crittenden2008-11-033-4/+4
|
* Partially revert back change. Del shouldn't provide default options.Rob Crittenden2008-11-031-2/+0
| | | | It can provide custom ones though, if defined with takes_params() in the class.
* Added custom log formatter util.LogFormatter that makes the human-readable ↵Jason Gerard DeRose2008-10-313-4/+13
| | | | time stamp in UTC
* Renamed API.bootstrap_from_options() to bootstrap_with_global_options()Jason Gerard DeRose2008-10-312-8/+5
|
* Logging formats are now env variables; added log_format_stderr_debug format ↵Jason Gerard DeRose2008-10-313-28/+43
| | | | used when env.debug is True
* Reoganized global option functionality to it is easy for any script to use ↵Jason Gerard DeRose2008-10-313-20/+58
| | | | the environment-related global options; lite-xmlrpc.py now uses same global options
* Logging is now configured in API.bootstrap(); removed depreciated ↵Jason Gerard DeRose2008-10-312-42/+43
| | | | util.configure_logging() function
* API.finalize() now cascades call to API.load_plugins()Jason Gerard DeRose2008-10-311-1/+1
|
* Merge branch 'master' of ↵Jason Gerard DeRose2008-10-302-0/+479
|\ | | | | | | git://git.engineering.redhat.com/users/rcritten/freeipa2
| * Initial implementation of automount supportRob Crittenden2008-10-302-0/+479
| | | | | | | | | | Add argument handling to crud.Del Make get_list handle LDAP scope
* | Plugin.set_api() now sets convience instance attributes from api for env, ↵Jason Gerard DeRose2008-10-301-1/+10
|/ | | | context, log, and all NameSpace
* Added ipalib.plugins.f_misc with new 'context' Command; moved 'env' Command ↵Jason Gerard DeRose2008-10-303-18/+76
| | | | from cli to f_misc
* Added tests.util.get_api() function to create a standard (api, home) tuple ↵Jason Gerard DeRose2008-10-301-5/+3
| | | | for unit testing
* Did some initial work for Context pluginsJason Gerard DeRose2008-10-304-13/+51
|
* Merge branch 'master' of ↵Jason Gerard DeRose2008-10-295-1/+337
|\ | | | | | | git://git.engineering.redhat.com/users/rcritten/freeipa2
| * Implement host groupsRob Crittenden2008-10-272-0/+329
| |
| * Fix commentRob Crittenden2008-10-271-1/+1
| |
| * Don't allow service-add to create host/ principalsRob Crittenden2008-10-242-0/+7
| |
* | Added an example CLI-specific env commandJason Gerard DeRose2008-10-281-0/+16
| |
* | lite-xmlrpc.py now uses api.bootstrap() property, logs to api.loggerJason Gerard DeRose2008-10-283-4/+4
| |
* | util.configure_logging() now only configures file logging if it can create ↵Jason Gerard DeRose2008-10-281-5/+7
| | | | | | | | the log_dir
* | Added util.configure_logging() function; API.bootstrap() now calls ↵Jason Gerard DeRose2008-10-284-2/+59
| | | | | | | | util.configure_logging()