Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Renamed API.bootstrap_from_options() to bootstrap_with_global_options() | Jason Gerard DeRose | 2008-10-31 | 1 | -1/+1 | |
| | ||||||
* | Logging formats are now env variables; added log_format_stderr_debug format ↵ | Jason Gerard DeRose | 2008-10-31 | 1 | -10/+10 | |
| | | | | used when env.debug is True | |||||
* | Reoganized global option functionality to it is easy for any script to use ↵ | Jason Gerard DeRose | 2008-10-31 | 1 | -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 DeRose | 2008-10-31 | 1 | -9/+43 | |
| | | | | util.configure_logging() function | |||||
* | API.finalize() now cascades call to API.load_plugins() | Jason Gerard DeRose | 2008-10-31 | 1 | -1/+1 | |
| | ||||||
* | Plugin.set_api() now sets convience instance attributes from api for env, ↵ | Jason Gerard DeRose | 2008-10-30 | 1 | -1/+10 | |
| | | | | context, log, and all NameSpace | |||||
* | Added ipalib.plugins.f_misc with new 'context' Command; moved 'env' Command ↵ | Jason Gerard DeRose | 2008-10-30 | 1 | -0/+3 | |
| | | | | from cli to f_misc | |||||
* | Did some initial work for Context plugins | Jason Gerard DeRose | 2008-10-30 | 1 | -0/+21 | |
| | ||||||
* | lite-xmlrpc.py now uses api.bootstrap() property, logs to api.logger | Jason Gerard DeRose | 2008-10-28 | 1 | -1/+1 | |
| | ||||||
* | Added util.configure_logging() function; API.bootstrap() now calls ↵ | Jason Gerard DeRose | 2008-10-28 | 1 | -0/+7 | |
| | | | | util.configure_logging() | |||||
* | API.load_plugins() no longer takes dry_run=False kwarg and instead checks in ↵ | Jason Gerard DeRose | 2008-10-27 | 1 | -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 tests | Jason Gerard DeRose | 2008-10-27 | 1 | -0/+1 | |
| | ||||||
* | Implemented basic CLI.bootstrap(); added corresponding unit tests | Jason Gerard DeRose | 2008-10-27 | 1 | -1/+2 | |
| | ||||||
* | API.env is now an Env instance rather than an Environment instance | Jason Gerard DeRose | 2008-10-27 | 1 | -2/+3 | |
| | ||||||
* | Copied plugin loading function from load_plugins.py to util.py; ↵ | Jason Gerard DeRose | 2008-10-27 | 1 | -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 DeRose | 2008-10-26 | 1 | -0/+13 | |
| | ||||||
* | Implemented placeholder API.bootstrap() method; added API __doing(), ↵ | Jason Gerard DeRose | 2008-10-26 | 1 | -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 DeRose | 2008-10-21 | 1 | -4/+4 | |
| | | | | to make the example clearer | |||||
* | Some PEP-257 and reStructuredText cleanup in plugable.py | Jason Gerard DeRose | 2008-10-18 | 1 | -37/+52 | |
| | ||||||
* | make-test now runs doctests also; fixed several broken doctests | Jason Gerard DeRose | 2008-10-17 | 1 | -36/+31 | |
| | ||||||
* | Reworking Environment, moved it to config.py | Martin Nagy | 2008-10-17 | 1 | -71/+1 | |
| | ||||||
* | Some small cleanup on Environment, filled in docstrings | Jason Gerard DeRose | 2008-10-14 | 1 | -10/+32 | |
| | ||||||
* | Enable the verbose flag to pass thru xmlrpc | Rob Crittenden | 2008-10-10 | 1 | -0/+2 | |
| | ||||||
* | Environment is now subclassed from object, rather then dict. Added tests for ↵ | Martin Nagy | 2008-10-02 | 1 | -18/+36 | |
| | | | | Environment and config.py | |||||
* | Add support for environment variables, change tests accordingly | Martin Nagy | 2008-09-29 | 1 | -6/+31 | |
| | ||||||
* | 361: Implemented crud.Add.get_options() method; added corresponding unit tests | Jason Gerard DeRose | 2008-09-25 | 1 | -2/+2 | |
| | ||||||
* | 354: Added NameSpace.__todict__() method that returns copy of ↵ | Jason Gerard DeRose | 2008-09-24 | 1 | -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 DeRose | 2008-09-24 | 1 | -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 DeRose | 2008-09-24 | 1 | -2/+6 | |
| | | | | added corresponding unit tests | |||||
* | 320: plugable.API now respects the Plugin.__proxy__ flag; added test for ↵ | Jason Gerard DeRose | 2008-09-24 | 1 | -1/+5 | |
| | | | | plugins without proxy to unit tests for API | |||||
* | 314: Completed some missing features in Command.__call__(); removed ↵ | Jason Gerard DeRose | 2008-09-22 | 1 | -0/+1 | |
| | | | | depreciated Command.print_call() method | |||||
* | 307: Split Plugin.finalize() into two steps 1) Plugin.set_api() and 2) ↵ | Jason Gerard DeRose | 2008-09-21 | 1 | -11/+6 | |
| | | | | Plugin.finalize(); updated unit tests | |||||
* | 306: Added Plugin.set_api() method; added corresponding unit tests | Jason Gerard DeRose | 2008-09-21 | 1 | -0/+8 | |
| | ||||||
* | 299: Cleaned up unit tests for ReadOnly class | Jason Gerard DeRose | 2008-09-18 | 1 | -1/+1 | |
| | ||||||
* | 298: Cleaned up docstrings in ReadOnly methods | Jason Gerard DeRose | 2008-09-18 | 1 | -7/+11 | |
| | ||||||
* | 297: Added a better example in docstring for ReadOnly | Jason Gerard DeRose | 2008-09-18 | 1 | -19/+18 | |
| | ||||||
* | 296: Added more to docstrings for NameSpace.__iter_() and NameSpace.__call__() | Jason Gerard DeRose | 2008-09-18 | 1 | -0/+4 | |
| | ||||||
* | 294: NameSpace no longer subclasses from DictProxy; NameSpace.__getitem__() ↵ | Jason Gerard DeRose | 2008-09-18 | 1 | -16/+49 | |
| | | | | now works with int and slice objects | |||||
* | 274: NameSpace.__init__() now takes sort=True keyword arument to allow for ↵ | Jason Gerard DeRose | 2008-09-09 | 1 | -9/+27 | |
| | | | | non-sorted NameSpaces; updated and improved NameSpace unit tests | |||||
* | 271: Improved __repr__ methods for better output from the show-plugins command | Jason Gerard DeRose | 2008-09-08 | 1 | -1/+1 | |
| | ||||||
* | 267: Finished builtin CLI api command | Jason Gerard DeRose | 2008-09-08 | 1 | -3/+2 | |
| | ||||||
* | 228: plugable.check_name() now uses errors.check_type() | Jason Gerard DeRose | 2008-09-02 | 1 | -1/+2 | |
| | ||||||
* | 179: DictProxy now has __call__() method that iterates through the values; ↵ | Jason Gerard DeRose | 2008-08-15 | 1 | -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 DeRose | 2008-08-15 | 1 | -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 DeRose | 2008-08-15 | 1 | -1/+2 | |
| | ||||||
* | 176: PluginProxy now subclasses from SetProxy | Jason Gerard DeRose | 2008-08-15 | 1 | -15/+7 | |
| | ||||||
* | 175: Renamed Proxy to PluginProxy | Jason Gerard DeRose | 2008-08-15 | 1 | -2/+2 | |
| | ||||||
* | 174: Fleshed out docstrings for SetProxy, DictProxy, and MagicDict | Jason Gerard DeRose | 2008-08-15 | 1 | -10/+49 | |
| | ||||||
* | 173: NameSpace now subclasses from DictProxy | Jason Gerard DeRose | 2008-08-15 | 1 | -53/+9 | |
| | ||||||
* | 172: API now subclasses from DictProxy | Jason Gerard DeRose | 2008-08-15 | 1 | -29/+2 | |
| |