summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/remove.pm
AgeCommit message (Collapse)Author
2010-02-12add section informationJoey Hess
2010-01-18clarify errorJoey Hess
2009-12-14remove: Fix problem removing pages with utf-8 in the name.Joey Hess
2009-01-26only pass named parameters to the canremove hookintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-26remove unnecessary returnsJoey Hess
check_canremove/canrename is called only for its side effect (of failing if removal is not allowed), its return value is never used and returning something makes that unclear
2009-01-26Merge branch 'master' into poJoey Hess
2009-01-20fix removal form displayJoey Hess
The form was misdisplayed when displayed via comment removal.
2009-01-01remove: implemented a new canremove hook; use it in the po pluginintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-12-23finalise version 3.00 of the plugin apiJoey Hess
2008-12-17Coding style change: Remove explcit vim folding markers.Joey Hess
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