[PATCH] Properly register all configuration options so IniAdmin can edit them
|Reported by:||Matthijs Kooijman||Owned by:||obs|
The plugin currently only registers a few options through the Option class. Others are requested using
self.config.get directly, since these have dynamic names, based on the value of the
tweaks configuration value.
The attached patch fixes this by registering all options, even those with dynamic names. The motivation to do this, is so that the IniAdminPlugin can then find the options and allows you to change them through the web interface.
Furthermore, I've changed the default values of most options to
'' instead of
None, since the Option class didn't seem to work with None. However, looking at #7124 suggests that it didn't work before either, so this patch probably fixes #7124 as well.
I've also documented all registered options, including the existing ones.