Commit Graph

8637 Commits (045cbb2a14aa03a758fc2b5d3bf31e14113446ec)

Author SHA1 Message Date
Joey Hess 344b50d783 releasing version 2.46 2008-05-12 20:57:28 -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 f867b6b9b6 add suggests for s3 perl module 2008-05-12 17:12:40 -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 328ad8bf0d Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-05-12 17:07:53 -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 30746d12a5 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-05-12 17:06:10 -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
martin f. krafft 341651a5d8 Also seed gitignore with recentchanges
Signed-off-by: martin f. krafft <madduck@madduck.net>
2008-05-10 12:43:38 -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 a09bd3b00f skip amazon_s3 since it uses a perl module not in build deps 2008-05-09 13:10:08 -04:00
Joey Hess 4eba3f631b design for a xapian search plugin 2008-05-08 19:42:33 -04:00
Joey Hess 489a6fc8bf paste-o 2008-05-08 16:12:09 -04:00
Joey Hess a50fb83394 add --delete-bucket option 2008-05-08 16:11:39 -04:00
Joey Hess b7950d8d01 load plugins before printing messages
This allows plugins to getopt and change what is done before an incorrect
line is printed.
2008-05-08 16:08:02 -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 8861af53db simplify key determination code 2008-05-08 13:00:05 -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 953130ee37 revert changes committed while testing sc3 (oops) 2008-05-07 23:58:40 -04:00
Joey Hess 71c6cddcb0 remove debugging 2008-05-07 23:58:01 -04:00
Joey Hess 0850cde5a6 implemented pruning, s3 support now complete-ish 2008-05-07 23:51:25 -04:00
Joey Hess be89d6749e update 2008-05-07 23:51:01 -04:00
Joey Hess db30d61f59 forgot to add.. 2008-05-07 23:39:52 -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 ed75653e4d Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-05-07 14:12:14 -04:00
Joey Hess ec866f8370 Optimised file statting code when scanning for modified pages; cut the number of system calls in half. (Still room for improvement.) 2008-05-07 14:11:56 -04:00
Joey Hess b731fce466 web commit from 145.97.197.85: poll vote (Accept both) 2008-05-07 04:11:57 -04:00