summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/poll.pm
AgeCommit message (Collapse)Author
2008-09-27typoJoey Hess
2008-09-21poll: Use urlto to produce redirection URLs, avoiding mentions of index.htmlSimon McVittie
2008-08-12fix a common case typoJoey Hess
2008-08-03add plugin safe/rebuild info (part 2 of 3)Joey Hess
(brain.. melting..)
2008-07-12Move yesno function out of inline and into IkiWiki core, not exported.Joey Hess
2008-05-12Fixes for behavior changes in perl 5.10's CGIJoey Hess
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.)
2008-02-05add support for prefix_directivesJoey Hess
2008-02-03prototype fixJoey Hess
2008-02-03* poll: This plugin turns out to have edited pages w/o doing any locking.Joey Hess
Oops. Convert it from a cgi to a sessioncgi hook, which will work much better.
2007-04-27* pagespec_match() has changed to take named parameters, to better allowjoey
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.
2007-02-21fix breakagejoey
2007-02-21* Since the CGI had to drop the wiki lock to avoid deadlocking thejoey
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.
2006-12-29* Initial work on internationalization of the program code. po/ikiwiki.potjoey
is available for translation. * Export gettext() from IkiWiki module.
2006-12-18use POSTjoey
2006-12-14include choice in commit msgjoey
2006-12-14* Use POST for poll to avoid some robots.joey
2006-11-26bugjoey
2006-11-26oopsjoey
2006-11-26bugfixjoey
2006-11-26bugfixesjoey
2006-11-26bugsjoey
2006-11-26add a poll pluginjoey