Commit Graph

4938 Commits (d06e4c2c3310dbca56110210bf5b89f538731106)

Author SHA1 Message Date
Joey Hess d06e4c2c33 add news item for ikiwiki 2.46 2008-05-12 20:57:46 -04:00
Joey Hess fb3d5b4800 Fixes for behavior changes in perl 5.10's CGI
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 57bba4dac1, 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-05-12 20:44:22 -04:00
Joey Hess 80a110ad60 update 2008-05-12 17:13:02 -04:00
Joey Hess adb5d92ed7 not just a poll plugin problem 2008-05-12 17:09:40 -04:00
Joey Hess 7ac5b0414d Revert "web commit by http://joey.kitenet.net/: testing utf-8"
This reverts commit 908375a63e.
2008-05-12 17:08:10 -04:00
Joey Hess 908375a63e web commit by http://joey.kitenet.net/: testing utf-8 2008-05-12 17:07:17 -04:00
Joey Hess bafb2d7b81 web commit by http://liw.fi/ 2008-05-12 16:26:38 -04:00
Joey Hess be81c594ce thoughts 2008-05-12 14:38:17 -04:00
Joey Hess 21cd34106d response 2008-05-12 14:10:17 -04:00
Joey Hess 3ca4b4089a web commit by http://liw.fi/: Updated URL for openiddirectory page. It had moved. 2008-05-11 08:15:34 -04:00
Joey Hess 7a4a17f120 web commit by http://liw.fi/: Updated URL for emacs markdown mode. The page had moved to a new location. 2008-05-11 08:14:13 -04:00
Joey Hess 345c707921 web commit by http://madduck.net/ 2008-05-10 14:15:23 -04:00
Joey Hess 8dc18fc9d4 web commit by http://madduck.net/ 2008-05-10 13:18:26 -04:00
Joey Hess ae980bc471 web commit by http://madduck.net/: add shortcut for wiki.debian.org 2008-05-10 09:28:14 -04:00
Joey Hess e34011afcc web commit by buo: Response 2008-05-09 16:46:40 -04:00
Joey Hess 4eba3f631b design for a xapian search plugin 2008-05-08 19:42:33 -04:00
Joey Hess a50fb83394 add --delete-bucket option 2008-05-08 16:11:39 -04:00
Joey Hess 0168cc3c8b response 2008-05-08 15:53:48 -04:00
Joey Hess 879f3a9403 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-05-08 15:51:41 -04:00
Joey Hess b8d81b7b7f amazon s3 index file improvements
Turns out duplicate index files do not need to be stored when usedirs is in
use, just when it's not. Ikiwiki is quite consistent about using page/ when
usedirs is in use. (The only exception is the search plugin, which needs
fixing.)

This also includes significant code cleanup, removal of a incorrect special
case for empty files, and addition of a workaround for a bug in the amazon
perl module.
2008-05-08 15:51:09 -04:00
Joey Hess 2bf34f1733 web commit by buo: re: question 2008-05-08 14:45:57 -04:00
Joey Hess ca33ec2b9c question 2008-05-08 14:12:44 -04:00
Joey Hess 57cf8ef4f2 web commit by buo: More information on ikiwiki mangling accented characters 2008-05-08 11:56:37 -04:00
Joey Hess 6bba9b0e4d web commit by http://madduck.net/: closing 2008-05-08 10:59:38 -04:00
Joey Hess a3e1783596 web commit by buo: Removing previous installation fixes compile failure. 2008-05-08 10:29:48 -04:00
Joey Hess de344200c6 web commit by jrn: gratuitous change to test (remove "And") 2008-05-08 00:26:58 -04:00
Joey Hess dafa7ef3e2 most modules are pre-installed now 2008-05-08 00:20:49 -04:00
Joey Hess be89d6749e update 2008-05-07 23:51:01 -04:00
Joey Hess 9e6a4ccfdd amazon s3 support implemented and kinda working
pruning not yet implemented, however
2008-05-07 23:15:43 -04:00
Joey Hess 939885d556 whitespace 2008-05-07 22:02:28 -04:00
Joey Hess d1154b2925 documentation for amazon_s3 plugin
Now to write it. :-)
2008-05-07 21:20:58 -04:00
Joey Hess 3eb3ff6208 cannot reproduce 2008-05-07 17:10:43 -04:00
Joey Hess a7ece50826 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-05-07 17:06:12 -04:00
Joey Hess cdf8ced4c2 clarification 2008-05-07 16:35:06 -04:00
Joey Hess 2b5d12f658 web commit by buo: bug: 2.45 fails to compile 2008-05-07 14:47:30 -04:00
Joey Hess b731fce466 web commit from 145.97.197.85: poll vote (Accept both) 2008-05-07 04:11:57 -04:00
Joey Hess 2c000c6e32 fix links 2008-05-06 19:24:00 -04:00
Joey Hess dc26eb7d12 new tip documenting how to use the pinger and pingee plugins 2008-05-06 19:22:09 -04:00
Joey Hess b144831e46 pinger/pingee now tested and working 2008-05-06 19:06:53 -04:00
Joey Hess 880d098dab template change documentation 2008-05-06 14:33:03 -04:00
Joey Hess 069c938aad update 2008-05-05 20:22:10 -04:00
Joey Hess 1f88cad3a2 aggregate: Add support for web-based triggering of aggregation for people stuck on shared hosting without cron. (Sheesh.) Enabled via the `aggregate_webtrigger` configuration optiom. 2008-05-05 20:20:45 -04:00
Joey Hess 86c6f2b963 fix PERL5LIB in examples
Using `pwd` makes some modules that call cpan recursively succeed to
install
2008-05-05 20:12:06 -04:00
Joey Hess 0599a6591f update 2008-05-05 19:14:33 -04:00
Joey Hess adeba977cb update 2008-05-05 19:10:42 -04:00
Joey Hess ed98af9750 add sections, expand, reorg 2008-05-05 19:08:47 -04:00
Joey Hess 8599297edf update 2008-05-05 18:59:20 -04:00
Joey Hess 7588f7b239 correction 2008-05-05 18:59:02 -04:00
Joey Hess df13ac07c8 more on cleanup 2008-05-05 15:39:36 -04:00
Joey Hess f324b911e2 linkify 2008-05-05 15:19:55 -04:00