From 975ae0944cdd18a510d803da7a499c2247ac855e Mon Sep 17 00:00:00 2001 From: joey Date: Wed, 29 Mar 2006 18:21:01 +0000 Subject: Implemented --underlaydir, and moved files provided by underlay out of doc so I don't need to maintain two copies anymore. You might also want to remove the files provided in the basewiki underlay from your wiki, if you have not created custom local versions of them, so that these pages will be automatically updated in future ikiwiki upgrades. --- doc/todo/done/underlay.mdwn | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 doc/todo/done/underlay.mdwn (limited to 'doc/todo/done') diff --git a/doc/todo/done/underlay.mdwn b/doc/todo/done/underlay.mdwn new file mode 100644 index 000000000..48e79498d --- /dev/null +++ b/doc/todo/done/underlay.mdwn @@ -0,0 +1,11 @@ +Rather than copy the basewiki around everywhere, it should be configured to +underlay the main srcdir, and pages be rendered from there if not in the +srcdir. This would allow upgrades to add/edit pages in the basewiki. + +Implementaion will be slightly tricky since currently ikiwiki is hardcoded +in many places to look in srcdir for pages. Also, there are possible +security attacks in the vein of providing a file ikiwiki would normally +skip in the srcdir, and tricking it to processing this file instead of the +one from the underlaydir. -- Fixed by scanning srcdir first, then +underlaydir, and refusing to add any files from underlaydir if they also +exist in the srcdir. However, see [[security]] for caveats. -- cgit v1.2.3