Change provider plugins registration and enablement
authorSimo Sorce <simo@redhat.com>
Mon, 7 Apr 2014 20:49:06 +0000 (16:49 -0400)
committerSimo Sorce <simo@redhat.com>
Fri, 11 Apr 2014 21:25:54 +0000 (17:25 -0400)
commit0464f1403990d3bfd85cd471f6676e70b1e81648
treec8c87d56d7b26a7f02bb63a308ba4b884fe4f842
parente8c8dce4043fa4fb3bb636cab21be77978642002
Change provider plugins registration and enablement

When plugins are not enabled at startup the admin page is not available
as it is created only on enablement.

Split enablement and registration, so plugins can be registered even
when actually disabled.

Also rework the way enablement is tracked and make sure enablement status
is saved back to the database when it changes so it is kept on restarts.

Signed-off-by: Simo Sorce <simo@redhat.com>
ipsilon/admin/providers.py
ipsilon/providers/common.py
templates/admin/providers.html