summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/remove.pm
AgeCommit message (Collapse)Author
2008-10-23more work on untrusted committersJoey Hess
Wired up check_canedit and check_canremove, still need to deal with check_canattach, and test.
2008-10-06remove: Avoid $_ breakage. (Stupid, stupid perl.)Joey Hess
This avoids another one of those $_ scoping issues where a deep call to a function that changes $_ clobbers the array that is being looped over.
2008-10-02remove, rename: Allow acting on attachments as a page is being created.Joey Hess
2008-09-27Export pagetitle, titlepage, linkpage.Joey Hess
2008-09-27pagetype is exportedJoey Hess
2008-09-27Merge commit 'smcv/beautify'Joey Hess
Conflicts: IkiWiki/Plugin/recentchanges.pm Note that smcv's approach of using urlto also gets the url right when redirecting to a non-html file, which is a better approach than my recent fix to recentchanges
2008-09-23rename, remove: Don't rely on a form parameter to tell whether the page ↵Joey Hess
should be treated as an attachment.
2008-09-21remove: redirect via urlto(), avoiding mentions of index.htmlSimon McVittie
2008-08-03add plugin safe/rebuild info (part 2 of 3)Joey Hess
(brain.. melting..)
2008-07-23foldageJoey Hess
2008-07-22add rcs_commit_staged and rcs_renameJoey Hess
Implemented for git and svn so far. Note that rcs_commit_staged does assume that the rcs has the ability to "stage" multiple changes for a later commit. Support for this varies, but all we really care about is staging removals and renames, which, AFAIK, all modern rcs's support.
2008-07-22rename checks improvementsJoey Hess
2008-07-22permission checking improvementsJoey Hess
Break out into function so it can be done up-front before confirmation too.
2008-07-21use check_canattachJoey Hess
As noted, this may be overkill..
2008-07-21skeleton rename pluginJoey Hess
2008-07-21error if nothing selectedJoey Hess
2008-07-21probably redundant symlink checkJoey Hess
2008-07-21remove debuggingJoey Hess
2008-07-21typosJoey Hess
2008-07-21typosJoey Hess
2008-07-21need to untaint..Joey Hess
2008-07-21a few bugfixesJoey Hess
Including a check the the file is in the srcdir, as opposed to some other directory.
2008-07-21support for removing attachmentsJoey Hess
2008-07-21simplified confirmation formJoey Hess
also, there's no titlepage conversion issues
2008-07-21touchupsJoey Hess
2008-07-21redirect after removalJoey Hess
2008-07-21basically, removal worksJoey Hess
Still need to consider all the edge cases..
2008-07-21form tweaks; use titleJoey Hess
2008-07-21implemented form state saving and retrievalJoey Hess
This is overkill for delete, since it's only used on Cancel. But it will be crucial for rename, so as to restore any pending edits after renaming a page.
2008-07-21basic removal form skeletonJoey Hess