summaryrefslogtreecommitdiffstats
path: root/ipalib/plugable.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Renamed API.bootstrap_from_options() to bootstrap_with_global_options()Jason Gerard DeRose2008-10-311-1/+1
|
* Logging formats are now env variables; added log_format_stderr_debug format ↵Jason Gerard DeRose2008-10-311-10/+10
| | | | used when env.debug is True
* Reoganized global option functionality to it is easy for any script to use ↵Jason Gerard DeRose2008-10-311-0/+27
| | | | 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-311-9/+43
| | | | util.configure_logging() function
* API.finalize() now cascades call to API.load_plugins()Jason Gerard DeRose2008-10-311-1/+1
|
* 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-301-0/+3
| | | | from cli to f_misc
* Did some initial work for Context pluginsJason Gerard DeRose2008-10-301-0/+21
|
* lite-xmlrpc.py now uses api.bootstrap() property, logs to api.loggerJason Gerard DeRose2008-10-281-1/+1
|
* Added util.configure_logging() function; API.bootstrap() now calls ↵Jason Gerard DeRose2008-10-281-0/+7
| | | | util.configure_logging()
* API.load_plugins() no longer takes dry_run=False kwarg and instead checks in ↵Jason Gerard DeRose2008-10-271-3/+4
| | | | env.mode == 'unit_test' to decide whether to load the plugins; it also only loads ipa_server.plugins in env.in_server is True
* API.bootstrap() now calls Env._finalize_core(); updated unit testsJason Gerard DeRose2008-10-271-0/+1
|
* Implemented basic CLI.bootstrap(); added corresponding unit testsJason Gerard DeRose2008-10-271-1/+2
|
* API.env is now an Env instance rather than an Environment instanceJason Gerard DeRose2008-10-271-2/+3
|
* Copied plugin loading function from load_plugins.py to util.py; ↵Jason Gerard DeRose2008-10-271-0/+5
| | | | API.load_plugins() method now calls functions in util
* Added API.load_plugins() place-holder, which cascades call to API.bootstrap()Jason Gerard DeRose2008-10-261-0/+13
|
* Implemented placeholder API.bootstrap() method; added API __doing(), ↵Jason Gerard DeRose2008-10-261-2/+23
| | | | __do_if_not_done(), isdone() methods borrowed from Env; API.finalize() now cascades call to API.bootstrap()
* In second example in NameSpace docstring, renamed 'member' class to 'Member' ↵Jason Gerard DeRose2008-10-211-4/+4
| | | | to make the example clearer
* Some PEP-257 and reStructuredText cleanup in plugable.pyJason Gerard DeRose2008-10-181-37/+52
|
* make-test now runs doctests also; fixed several broken doctestsJason Gerard DeRose2008-10-171-36/+31
|
* Reworking Environment, moved it to config.pyMartin Nagy2008-10-171-71/+1
|
* Some small cleanup on Environment, filled in docstringsJason Gerard DeRose2008-10-141-10/+32
|
* Enable the verbose flag to pass thru xmlrpcRob Crittenden2008-10-101-0/+2
|
* Environment is now subclassed from object, rather then dict. Added tests for ↵Martin Nagy2008-10-021-18/+36
| | | | Environment and config.py
* Add support for environment variables, change tests accordinglyMartin Nagy2008-09-291-6/+31
|
* 361: Implemented crud.Add.get_options() method; added corresponding unit testsJason Gerard DeRose2008-09-251-2/+2
|
* 354: Added NameSpace.__todict__() method that returns copy of ↵Jason Gerard DeRose2008-09-241-6/+12
| | | | NameSpace.__map; updated NameSpace unit test to also test __todict__()
* 325: API.finalize() now creates instance attribtue 'plugins', which is a ↵Jason Gerard DeRose2008-09-241-13/+48
| | | | tuple of PluginInfo objects; renamed show_plugins cli command to namespaces; added new cli command plugins
* 323: Added Command.run() method that dispatches to execute() or forward(); ↵Jason Gerard DeRose2008-09-241-2/+6
| | | | added corresponding unit tests
* 320: plugable.API now respects the Plugin.__proxy__ flag; added test for ↵Jason Gerard DeRose2008-09-241-1/+5
| | | | plugins without proxy to unit tests for API
* 314: Completed some missing features in Command.__call__(); removed ↵Jason Gerard DeRose2008-09-221-0/+1
| | | | depreciated Command.print_call() method
* 307: Split Plugin.finalize() into two steps 1) Plugin.set_api() and 2) ↵Jason Gerard DeRose2008-09-211-11/+6
| | | | Plugin.finalize(); updated unit tests
* 306: Added Plugin.set_api() method; added corresponding unit testsJason Gerard DeRose2008-09-211-0/+8
|
* 299: Cleaned up unit tests for ReadOnly classJason Gerard DeRose2008-09-181-1/+1
|
* 298: Cleaned up docstrings in ReadOnly methodsJason Gerard DeRose2008-09-181-7/+11
|
* 297: Added a better example in docstring for ReadOnlyJason Gerard DeRose2008-09-181-19/+18
|
* 296: Added more to docstrings for NameSpace.__iter_() and NameSpace.__call__()Jason Gerard DeRose2008-09-181-0/+4
|
* 294: NameSpace no longer subclasses from DictProxy; NameSpace.__getitem__() ↵Jason Gerard DeRose2008-09-181-16/+49
| | | | now works with int and slice objects
* 274: NameSpace.__init__() now takes sort=True keyword arument to allow for ↵Jason Gerard DeRose2008-09-091-9/+27
| | | | non-sorted NameSpaces; updated and improved NameSpace unit tests
* 271: Improved __repr__ methods for better output from the show-plugins commandJason Gerard DeRose2008-09-081-1/+1
|
* 267: Finished builtin CLI api commandJason Gerard DeRose2008-09-081-3/+2
|
* 228: plugable.check_name() now uses errors.check_type()Jason Gerard DeRose2008-09-021-1/+2
|
* 179: DictProxy now has __call__() method that iterates through the values; ↵Jason Gerard DeRose2008-08-151-8/+8
| | | | removed __call__() method from NameSpace as it subclasses from DictProxys; DictProxy unit tests now test __call__()
* 178: Registrar now subclasses from DictProxy; made Registrar.__iter__ behave ↵Jason Gerard DeRose2008-08-151-59/+26
| | | | same as the other container emulation in plugable.py, and made the dictorary interface return the base and the attribute interface return the MagicDict; updated API class and unit tests
* 177: Docstring cleanup in NameSpace.__call__()Jason Gerard DeRose2008-08-151-1/+2
|
* 176: PluginProxy now subclasses from SetProxyJason Gerard DeRose2008-08-151-15/+7
|
* 175: Renamed Proxy to PluginProxyJason Gerard DeRose2008-08-151-2/+2
|
* 174: Fleshed out docstrings for SetProxy, DictProxy, and MagicDictJason Gerard DeRose2008-08-151-10/+49
|
* 173: NameSpace now subclasses from DictProxyJason Gerard DeRose2008-08-151-53/+9
|
* 172: API now subclasses from DictProxyJason Gerard DeRose2008-08-151-29/+2
|