aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/remove.pm
Commit message (Collapse)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}Joey Hess2010-08-30
| | | | These return codes are not currently used, but might be later.
* factor out check_canedit calls from check_canremoveJoey Hess2010-08-30
|
* rcs_commit and rcs_commit_staged api changesJoey Hess2010-06-23
| | | | | | | | | | | 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.
* stop using REMOTE_ADDRJoey Hess2010-06-23
| | | | | | | | | | | 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.
* remove, rename: Add guards against XSRF attacks.Joey Hess2010-05-14
|
* simplify formbuilder stylesheet specificationJoey Hess2010-05-06
| | | | | | 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.
* 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 hookintrigeri2009-01-26
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* remove unnecessary returnsJoey Hess2009-01-26
| | | | | | 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
* Merge branch 'master' into poJoey Hess2009-01-26
|\
| * fix removal form displayJoey Hess2009-01-20
| | | | | | | | The form was misdisplayed when displayed via comment removal.
* | remove: implemented a new canremove hook; use it in the po pluginintrigeri2009-01-01
|/ | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* 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 committersJoey Hess2008-10-23
| | | | | Wired up check_canedit and check_canremove, still need to deal with check_canattach, and test.
* remove: Avoid $_ breakage. (Stupid, stupid perl.)Joey Hess2008-10-06
| | | | | 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.
* 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'Joey Hess2008-09-27
|\ | | | | | | | | | | | | | | | | | | 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
| * 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 ↵Joey Hess2008-09-23
|/ | | | should be treated as an attachment.
* add plugin safe/rebuild info (part 2 of 3)Joey Hess2008-08-03
| | | | (brain.. melting..)
* foldageJoey Hess2008-07-23
|
* add rcs_commit_staged and rcs_renameJoey Hess2008-07-22
| | | | | | | | | 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.
* rename checks improvementsJoey Hess2008-07-22
|
* permission checking improvementsJoey Hess2008-07-22
| | | | Break out into function so it can be done up-front before confirmation too.
* use check_canattachJoey Hess2008-07-21
| | | | As noted, this may be overkill..
* 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 bugfixesJoey Hess2008-07-21
| | | | | Including a check the the file is in the srcdir, as opposed to some other directory.
* support for removing attachmentsJoey Hess2008-07-21
|
* simplified confirmation formJoey Hess2008-07-21
| | | | also, there's no titlepage conversion issues
* touchupsJoey Hess2008-07-21
|
* redirect after removalJoey Hess2008-07-21
|
* basically, removal worksJoey Hess2008-07-21
| | | | Still need to consider all the edge cases..
* form tweaks; use titleJoey Hess2008-07-21
|
* implemented form state saving and retrievalJoey Hess2008-07-21
| | | | | | 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.
* basic removal form skeletonJoey Hess2008-07-21