summaryrefslogtreecommitdiffstats
path: root/ipalib/plugable.py
Commit message (Collapse)AuthorAgeFilesLines
* Change FreeIPA license to GPLv3+Jakub Hrozek2010-12-201-5/+5
| | | | | | | | | | The changes include: * Change license blobs in source files to mention GPLv3+ not GPLv2 only * Add GPLv3+ license text * Package COPYING not LICENSE as the license blobs (even the old ones) mention COPYING specifically, it is also more common, I think https://fedorahosted.org/freeipa/ticket/239
* Add support for client failover to the ipa command-line.Rob Crittenden2010-08-161-1/+6
| | | | | | | | | | | | This adds a new global option to the ipa command, -f/--no-fallback. If this is included then just the server configured in /etc/ipa/default.conf is used. Otherwise that is tried first then all servers in DNS with the ldap SRV record are tried. Create a new Local() Command class for local-only commands. The help command is one of these. It shouldn't need a remote connection to execute. ticket #15
* Handle errors raised by plugins more gracefully in mod_wsgi.Rob Crittenden2010-07-121-2/+3
| | | | | | | | | | | | This started as an effort to display a more useful error message in the Apache error log if retrieving the schema failed. I broadened the scope a little to include limiting the output in the Apache error log so errors are easier to find. This adds a new configuration option, startup_traceback. Outside of lite-server.py it is False by default so does not display the traceback that lead to the StandardError being raised. This makes the mod_wsgi error much easier to follow.
* Connect the -v cli argument to the verbose flag in xmlrpclibRob Crittenden2010-06-031-3/+3
| | | | | | If you pass two -v to the ipa command you'll get the XML-RPC data in the output. This can be handy so you know exactly what went out over the wire.
* Add Object.label class attribute, enable in webUIJason Gerard DeRose2010-02-121-0/+17
|
* Fix logging in CLI and server (take 2)Jason Gerard DeRose2010-02-091-5/+10
|
* Only change the log level if it isn't already setRob Crittenden2010-02-031-4/+5
| | | | | | This primarily affects the installer. We want to log to the install/ uninstall file in DEBUG. This was getting reset to INFO causing lots of details to not show in the logs.
* Remove __public__ and __proxy__ hold-overs from Plugin classJason Gerard DeRose2010-01-281-72/+1
|
* Enabled CRUDS in webUI using wehjit 0.2.0Jason Gerard DeRose2010-01-261-0/+2
|
* If plugin fails to load log the tracebackJohn Dennis2009-11-231-1/+2
| | | | | | | | | | Signed-off-by: John Dennis <jdennis@redhat.com> If plugin fails to load log the traceback If a plugin fails to load due to some kind of error it would be nice if the error log contained the traceback so you can examine what went wrong rather than being left blind as to why it failed to load.
* Provide additional help to --help optionRob Crittenden2009-11-191-0/+7
|
* Make plugin browser show plugin parent classJason Gerard DeRose2009-10-141-0/+3
|
* Giant webui patch take 2Jason Gerard DeRose2009-10-131-1/+1
|
* Removed PluginProxy and all its usesJason Gerard DeRose2009-08-051-116/+1
|
* Modify PluginProxy to use __public__ defined in derived classes instead of ↵Pavel Zuna2009-06-101-1/+4
| | | | base classes.
* Rename errors2.py to errors.py. Modify all affected files.Pavel Zuna2009-04-231-10/+10
|
* Implemented more elegant way for entire plugin module to be conditionally ↵Jason Gerard DeRose2009-02-171-2/+36
| | | | skipped; updated cert.py and ra.py modules to use this
* Started cleanup work on ra plugin; fixed problem in api.bootstrap() when ↵Jason Gerard DeRose2009-02-171-2/+6
| | | | process does not have permision to open log file
* Started work on a much simplified mod_python serverJason Gerard DeRose2009-02-031-0/+2
|
* Finished reworked cli.CLI class into cli.cli pluginJason Gerard DeRose2009-02-031-5/+6
|
* Started reworking CLI class into cli pluginJason Gerard DeRose2009-02-031-5/+33
|
* Removed the depreciated Context and LazyContext classesJason Gerard DeRose2009-02-031-23/+0
|
* Added Object.params_minus() method; various small tweaksJason Gerard DeRose2009-02-031-7/+5
|
* Renamed all references to 'ipa_server' to 'ipaserver'Jason Gerard DeRose2009-01-041-1/+1
|
* Removed unneeded import of errors from plugable.pyJason Gerard DeRose2009-01-031-5/+4
|
* Plugin.call() now uses errors2 version of SubprocessErrorJason Gerard DeRose2009-01-031-3/+3
|
* Ported plugin registration errors into errors2.py; plugable.Registrar now ↵Jason Gerard DeRose2009-01-031-5/+16
| | | | raises new errors2 exceptions
* Removed unneeded import of check_type, check_instance in plugable.pyJason Gerard DeRose2009-01-021-1/+0
|
* Removed depreciated code in ipalib.plugable that has been moving into ↵Jason Gerard DeRose2009-01-021-249/+2
| | | | ipalib.base
* Removed depreciated code from config.py; removed corresponding unit testsJason Gerard DeRose2008-12-221-1/+1
|
* Added note in Plugin.set_api() about Plugin.log attribute being depreciatedJason Gerard DeRose2008-12-211-0/+1
|
* Plugin.__init__() now checks that subclass hasn't defined attributes that ↵Jason Gerard DeRose2008-12-211-2/+7
| | | | conflict with the logger methods; added corresponding unit test
* Improved Plugin.call() method and added its unit testJason Gerard DeRose2008-12-211-6/+13
|
* Plugin.doc instance attribute is now parsed out using inspect.getdoc(); ↵Jason Gerard DeRose2008-12-171-1/+5
| | | | added Plugin.summary instance attribute, created in Plugin.__init__()
* Removed Plugin.doc property and replaced with instance attribute created in ↵Jason Gerard DeRose2008-12-171-7/+1
| | | | Plugin.__init__()
* Removed Plugin.name property and replaced with instance attribute created in ↵Jason Gerard DeRose2008-12-171-7/+4
| | | | Plugin.__init__()
* Some changes to make reading dubugging output easierJason Gerard DeRose2008-11-241-0/+5
|
* Finished fist draft of plugin tutorial in ipalib/__init__.py docstringJason Gerard DeRose2008-11-071-2/+2
|
* Added Plugin.call() method that calls an external executable via ↵Jason Gerard DeRose2008-11-061-0/+11
| | | | subprocess.call()
* Added custom log formatter util.LogFormatter that makes the human-readable ↵Jason Gerard DeRose2008-10-311-2/+2
| | | | time stamp in UTC
* 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()