Refactor plugin configuration
authorSimo Sorce <simo@redhat.com>
Thu, 23 Oct 2014 15:45:32 +0000 (11:45 -0400)
committerPatrick Uiterwijk <puiterwijk@redhat.com>
Wed, 12 Nov 2014 22:47:15 +0000 (23:47 +0100)
commit83da2bf3963db3e4427bced3b4c0681e751e54da
tree53f03ce8e60d2c68453cdb5fe6be9aad7ce2c362
parent0c14f7600de70baf5b3ee609288207dcdb65e1ae
Refactor plugin configuration

Fork a PluginConfig class out of PluginObject, the base object now supports
a simple dictionary config, while using PluginConfig provide access to
structured util.config based configuration.

Change UI code that deal with plugins configuration to properly use the new
structured config objects in order to represent data in appropriate format
based on the data type.

Use the new util.config objects to represent plugins configuration.

Signed-off-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
22 files changed:
ipsilon/admin/common.py
ipsilon/info/common.py
ipsilon/info/infoldap.py
ipsilon/info/nss.py
ipsilon/login/authfas.py
ipsilon/login/authform.py
ipsilon/login/authkrb.py
ipsilon/login/authldap.py
ipsilon/login/authpam.py
ipsilon/login/authtest.py
ipsilon/login/common.py
ipsilon/providers/common.py
ipsilon/providers/openid/auth.py
ipsilon/providers/openid/extensions/common.py
ipsilon/providers/openid/meta.py
ipsilon/providers/openidp.py
ipsilon/providers/saml2idp.py
ipsilon/util/config.py
ipsilon/util/plugin.py
templates/admin/plugin_config.html
templates/admin/plugins.html
templates/admin/providers.html