aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/remove.pm
Commit message (Expand)AuthorAge
* use one-parameter form of urltoJoey Hess2010-11-29
* Use local paths for the CGI URLSimon McVittie2010-11-23
* Use local paths for redirection where possibleSimon McVittie2010-11-23
* saner return codes for check_can{remove,rename}•••These return codes are not currently used, but might be later. Joey Hess2010-08-30
* factor out check_canedit calls from check_canremoveJoey Hess2010-08-30
* rcs_commit and rcs_commit_staged api changes•••Using named parameters for these is overdue. Passing the session in a parameter instead of passing username and IP separately will later allow storing other session info, like username or part of the email. Note that these functions are not part of the exported API, and the prototype change will catch (most) skew, so I am not changing API versions. Any third-party plugins that call them will need updated though. Joey Hess2010-06-23
* stop using REMOTE_ADDR•••Everywhere that REMOTE_ADDR was used, a session object is available, so instead use its remote_addr method. In IkiWiki::Receive, stop setting a dummy REMOTE_ADDR. Note that it's possible for a session cookie to be obtained using one IP address, and then used from another IP. In this case, the first IP will now be used. I think that should be ok. Joey Hess2010-06-23
* remove, rename: Add guards against XSRF attacks.Joey Hess2010-05-14
* simplify formbuilder stylesheet specification•••Since all forms are wrapped in a template that defines the actual stylesheets, formbuilder just has to be told to turn on stylesheet mode, not what file is the style sheet. Joey Hess2010-05-06
* fix the other half of the filecheck filename bugJoey Hess2010-03-26
* add section informationJoey Hess2010-02-12
* clarify errorJoey Hess2010-01-18
* remove: Fix problem removing pages with utf-8 in the name.Joey Hess2009-12-14
* only pass named parameters to the canremove hook•••Signed-off-by: intrigeri <intrigeri@boum.org> intrigeri2009-01-26
* remove unnecessary returns•••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 Joey Hess2009-01-26
* Merge branch 'master' into poJoey Hess2009-01-26
|\
| * fix removal form display•••The form was misdisplayed when displayed via comment removal. Joey Hess2009-01-20
* | remove: implemented a new canremove hook; use it in the po plugin•••Signed-off-by: intrigeri <intrigeri@boum.org> intrigeri2009-01-01
|/
* finalise version 3.00 of the plugin apiJoey Hess2008-12-23
* Coding style change: Remove explcit vim folding markers.Joey Hess2008-12-17
* more work on untrusted committers•••Wired up check_canedit and check_canremove, still need to deal with check_canattach, and test. Joey Hess2008-10-23
* remove: Avoid $_ breakage. (Stupid, stupid perl.)•••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. Joey Hess2008-10-06
* remove, rename: Allow acting on attachments as a page is being created.Joey Hess2008-10-02
* Export pagetitle, titlepage, linkpage.Joey Hess2008-09-27
* pagetype is exportedJoey Hess2008-09-27
* Merge commit 'smcv/beautify'•••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 Joey Hess2008-09-27
|\
| * remove: redirect via urlto(), avoiding mentions of index.htmlSimon McVittie2008-09-21
* | rename, remove: Don't rely on a form parameter to tell whether the page shoul...Joey Hess2008-09-23
|/
* add plugin safe/rebuild info (part 2 of 3)•••(brain.. melting..) Joey Hess2008-08-03
* foldageJoey Hess2008-07-23
* add rcs_commit_staged and rcs_rename•••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. Joey Hess2008-07-22
* rename checks improvementsJoey Hess2008-07-22
* permission checking improvements•••Break out into function so it can be done up-front before confirmation too. Joey Hess2008-07-22
* use check_canattach•••As noted, this may be overkill.. Joey Hess2008-07-21
* skeleton rename pluginJoey Hess2008-07-21
* error if nothing selectedJoey Hess2008-07-21
* probably redundant symlink checkJoey Hess2008-07-21
* remove debuggingJoey Hess2008-07-21
* typosJoey Hess2008-07-21
* typosJoey Hess2008-07-21
* need to untaint..Joey Hess2008-07-21
* a few bugfixes•••Including a check the the file is in the srcdir, as opposed to some other directory. Joey Hess2008-07-21
* support for removing attachmentsJoey Hess2008-07-21
* simplified confirmation form•••also, there's no titlepage conversion issues Joey Hess2008-07-21
* touchupsJoey Hess2008-07-21
* redirect after removalJoey Hess2008-07-21
* basically, removal works•••Still need to consider all the edge cases.. Joey Hess2008-07-21
* form tweaks; use titleJoey Hess2008-07-21
* implemented form state saving and retrieval•••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. Joey Hess2008-07-21
* basic removal form skeletonJoey Hess2008-07-21