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