]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/todo/done/underlay.mdwn
Implemented --underlaydir, and moved files provided by underlay out of doc
[ikiwiki.git] / doc / todo / done / underlay.mdwn
similarity index 53%
rename from doc/todo/underlay.mdwn
rename to doc/todo/done/underlay.mdwn
index 20266260fd53eb23ecae8f804c02b555654426f4..48e79498d3e8516997548983aac8a2f7c1548fa6 100644 (file)
@@ -2,14 +2,10 @@ 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.
 
-Impementaion will be slightly tricky since currently ikiwiki is hardcoded
+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.
-
-There are also difficulties related to removing files from the srcdir, and
-exposing ones from the underlaydir. Will need to make sure that the mtime
-for the source file is zeroed when the page is removed, and that it then
-finds the underlay file and treats it as newer.
-
+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.