aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/poll.pm
Commit message (Collapse)AuthorAge
* poll: Fix behavior of poll buttons when inlined.Joey Hess2013-11-13
|
* poll: Add expandable option to allow users to easily add new choices to a poll.Joey Hess2013-01-10
|
* 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
|
* 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.
* setup file orderingJoey Hess2010-02-12
|
* finalise version 3.00 of the plugin apiJoey Hess2008-12-23
|
* Coding style change: Remove explcit vim folding markers.Joey Hess2008-12-17
|
* typoJoey Hess2008-09-27
|
* poll: Use urlto to produce redirection URLs, avoiding mentions of index.htmlSimon McVittie2008-09-21
|
* fix a common case typoJoey Hess2008-08-12
|
* add plugin safe/rebuild info (part 2 of 3)Joey Hess2008-08-03
| | | | (brain.. melting..)
* Move yesno function out of inline and into IkiWiki core, not exported.Joey Hess2008-07-12
|
* Fixes for behavior changes in perl 5.10's CGIJoey Hess2008-05-12
| | | | | | | | | | | | | | | | | | | | | | | | | | Something has changed in CGI.pm in perl 5.10. It used to not care if STDIN was opened using :utf8, but now it'll mis-encode utf-8 values when used that way by ikiwiki. Now I have to binmode(STDIN) before instantiating the CGI object. In 57bba4dac132a06729eeec809f5e1a5adf829806, I changed from decoding CGI::Formbuilder fields to utf-8, to decoding cgi parameters before setting up the form object. As of perl 5.10, that approach no longer has any effect (reason unknown). To get correctly encoded values in FormBuilder forms, they must once again be decoded after the form is set up. As noted in 57bba4da, this can cause one set of problems for formbuilder_setup hooks if decode_form_utf8 is called before the hooks, and a different set if it's called after. To avoid both sets of problems, call it both before and after. (Only remaining problem is the sheer ugliness and inefficiency of that..) I think that these changes will also work with older perl versions, but I haven't checked. Also, in the case of the poll plugin, the cgi parameter needs to be explcitly decoded before it is used to handle utf-8 values. (This may have always been broken, not sure if it's related to perl 5.10 or not.)
* add support for prefix_directivesJoey Hess2008-02-05
|
* prototype fixJoey Hess2008-02-03
|
* * poll: This plugin turns out to have edited pages w/o doing any locking.Joey Hess2008-02-03
| | | | | Oops. Convert it from a cgi to a sessioncgi hook, which will work much better.
* * pagespec_match() has changed to take named parameters, to better allowjoey2007-04-27
| | | | | | | | | for extended pagespecs. The old calling convention will still work for back-compat for now. * The calling convention for functions in the IkiWiki::PageSpec namespace has changed so they are passed named parameters. * Plugin interface version increased to 2.00 since I don't anticipate any more interface changes before 2.0.
* fix breakagejoey2007-02-21
|
* * Since the CGI had to drop the wiki lock to avoid deadlocking thejoey2007-02-21
| | | | | | | | commit hook, it was possible for one CGI to race another one and "win" the commit of both their files. This race has been fixed by adding a new commitlock, which when locked by the CGI, disables the commit hook (except for commit mails). The CGI then takes care of the updates the commit hook would have done.
* * Initial work on internationalization of the program code. po/ikiwiki.potjoey2006-12-29
| | | | | is available for translation. * Export gettext() from IkiWiki module.
* use POSTjoey2006-12-18
|
* include choice in commit msgjoey2006-12-14
|
* * Use POST for poll to avoid some robots.joey2006-12-14
|
* bugjoey2006-11-26
|
* oopsjoey2006-11-26
|
* bugfixjoey2006-11-26
|
* bugfixesjoey2006-11-26
|
* bugsjoey2006-11-26
|
* add a poll pluginjoey2006-11-26