aboutsummaryrefslogtreecommitdiff
path: root/doc/todo/online_configuration.mdwn
blob: 3e18bbf4337dac26228a3e870488d261bd9591cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
It should be possible to configure ikiwiki online, in the wiki admin's
preferences form. Rather than the current situation where most settings are
in ikiwiki.setup, and one or two (like locked pages and upload limits) in
the admin preferences.

In theory, every setting could be configured there. In practice, some
settings, like `srcdir` and `destdir` are ones you want to keep far away
from editing via the web.

The underlying work has been done to privide metadata about all options via
getsetup hooks, so it's just a matter of writing a web interface plugin.

The plugin could have these config options:

	# list of options to include in web setup (safe = all things with safe = 1)
	websetup_include => [qw{safe}],
	# list of options to exclude from web setup
	websetup_exclude => [qw{option_baz}],
	# list of plugins that cannot be enabled/disabled via the web
	# interface
	websetup_unconfigurable_plugins => [qw{git svn bzr mercurial monotone tla}]

Leaning toward just making it write out to the same setup file, rather than
writing to a subsidiary setup file. However, this would mean that any
comments in the file would be lost, and that it couldn't be used if the
setup file had weird stuff (perl code, etc).

[[!tag wishlist]]