summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/bugs/removal_of_transient_pages.mdwn17
-rw-r--r--doc/todo/autoindex_should_use_add__95__autofile.mdwn2
-rw-r--r--doc/todo/transient_pages.mdwn15
3 files changed, 34 insertions, 0 deletions
diff --git a/doc/bugs/removal_of_transient_pages.mdwn b/doc/bugs/removal_of_transient_pages.mdwn
new file mode 100644
index 000000000..ef7607c3a
--- /dev/null
+++ b/doc/bugs/removal_of_transient_pages.mdwn
@@ -0,0 +1,17 @@
+The remove plugin cannot remove [[todo/transient_pages]].
+
+> this turns out to be harder than
+> I'd hoped, because I don't want to introduce a vulnerability in the
+> non-regular-file detection, so I'd rather defer that. --[[smcv]]
+
+This is particularly a problem for tag pages, and autoindex
+created pages. So both plugins default to not creating transient
+pages, until this is fixed. --[[Joey]]
+
+> I'll try to work out which of the checks are required for security
+> and which are just nice-to-have, but I'd appreciate any pointers
+> you could give. --[[smcv]]
+
+>> I assume by "non-regular file", you are referring to the check
+>> in remove that the file "Must exist on disk, and be a regular file" ?
+>> --[[Joey]]
diff --git a/doc/todo/autoindex_should_use_add__95__autofile.mdwn b/doc/todo/autoindex_should_use_add__95__autofile.mdwn
index 908c85cb4..f3fb24c16 100644
--- a/doc/todo/autoindex_should_use_add__95__autofile.mdwn
+++ b/doc/todo/autoindex_should_use_add__95__autofile.mdwn
@@ -1,6 +1,8 @@
`add_autofile` is a generic version of [[plugins/autoindex]]'s code,
so the latter should probably use the former. --[[smcv]]
+> [[merged|done]] --[[Joey]]
+
----
[[!template id=gitbranch branch=smcv/ready/autoindex-autofile author="[[smcv]]"]]
diff --git a/doc/todo/transient_pages.mdwn b/doc/todo/transient_pages.mdwn
index c08d54228..fe2259b40 100644
--- a/doc/todo/transient_pages.mdwn
+++ b/doc/todo/transient_pages.mdwn
@@ -19,6 +19,8 @@ It could also be used for an [[todo/alias_directive]].
--[[smcv]]
+> All [[merged|done]] --[[Joey]]
+
--------------------------
[[!template id=gitbranch branch=smcv/ready/transient author="[[smcv]]"]]
@@ -27,14 +29,24 @@ It could also be used for an [[todo/alias_directive]].
Related branches:
* `ready/tag-test`: an extra regression test for tags
+ > merged --[[Joey]]
* either `transient-relative` or `transient-relative-api`: avoid using `Cwd`
on initialization
+ > merged the latter --[[Joey]]
* `ready/transient-aggregate`: use for aggregate
+ > merged --[[Joey]]
* `ready/transient-autoindex`: optionally use for autoindex,
which is [[!debbug 544322]] (includes autoindex-autofile from
[[todo/autoindex should use add__95__autofile]])
+ > merged. I do note that this interacts badly with ikiwiki-hosting's
+ > backup/restore/branch handling, since that does not back up the
+ > transientdir by default, and so autoindex will not recreate the
+ > "deleted" pages. I'll probably have to make it back up the transientdir
+ > too. --[[Joey]]
* `ready/transient-recentchanges`: use for recentchanges
+ > merged --[[Joey]]
* `ready/transient-tag`: optionally use for tag (includes tag-test)
+ > merged --[[Joey]]
I think this branch is now enough to be useful. It adds the following:
@@ -146,6 +158,9 @@ Not done yet (in that branch, at least):
>> you could give. Note that my branch wasn't meant to enable either
>> by default, and now hopefully doesn't. --[[smcv]]
+ >>> Opened a new bug for this, [[bugs/removal_of_transient_pages]]
+ >>> --[[Joey]]
+
* Transient tags that don't match any pages aren't deleted: I'm not sure
that that's a good idea anyway, though. Similarly, transient autoindexes
of directories that become empty aren't deleted.