]> sipb.mit.edu Git - ikiwiki.git/blob - doc/todo/attachments.mdwn
8c5c286158863c8fcb774c9302e296133ac8abf0
[ikiwiki.git] / doc / todo / attachments.mdwn
1 Stuff the [[plugins/attachment]] plugin is currently missing, that might be
2 nice to add:
3
4 * Virus scanning.
5 * Add a progress bar for attachment uploads (needs AJAX stuff..)
6 * Maybe optimise the "Insert Links" button with javascript, so, if
7   javascript is available, the link is inserted at the current cursor
8   position in the page edit form, without actually reposting the form.
9   (Falling back to the current reposting of the form if javascript is not
10   available of course.)
11 * Set `$CGI::POST_MAX` to some sane value (ie, larger than the largest
12   configured `maxsize()` in the pagespec, or if none is configured,
13   something reasonable. Just as a belt-and-suspenders DOS prevention.
14 * Only allow attachments to be added to a given list of pages.
15   Maybe a pagespec like `parent(patches/*)`