Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Move yesno function out of inline and into IkiWiki core, not exported. | Joey Hess | 2008-07-12 |
| | |||
* | Fixes for behavior changes in perl 5.10's CGI | Joey Hess | 2008-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_directives | Joey Hess | 2008-02-05 |
| | |||
* | prototype fix | Joey Hess | 2008-02-03 |
| | |||
* | * poll: This plugin turns out to have edited pages w/o doing any locking. | Joey Hess | 2008-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 allow | joey | 2007-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 breakage | joey | 2007-02-21 |
| | |||
* | * Since the CGI had to drop the wiki lock to avoid deadlocking the | joey | 2007-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.pot | joey | 2006-12-29 |
| | | | | | is available for translation. * Export gettext() from IkiWiki module. | ||
* | use POST | joey | 2006-12-18 |
| | |||
* | include choice in commit msg | joey | 2006-12-14 |
| | |||
* | * Use POST for poll to avoid some robots. | joey | 2006-12-14 |
| | |||
* | bug | joey | 2006-11-26 |
| | |||
* | oops | joey | 2006-11-26 |
| | |||
* | bugfix | joey | 2006-11-26 |
| | |||
* | bugfixes | joey | 2006-11-26 |
| | |||
* | bugs | joey | 2006-11-26 |
| | |||
* | add a poll plugin | joey | 2006-11-26 |