Commit Graph

880 Commits (4a46e91147501cd621352e9a09e4a2f3e3621728)

Author SHA1 Message Date
Joey Hess 88096ea9ab web commit by http://kaizer.se/wiki/contact/: bugs on including html (as raw as possible) 2008-05-23 07:34:41 -04:00
Joey Hess 52c570fe1b web commit by buo: More info 2008-05-14 09:42:30 -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 adb5d92ed7 not just a poll plugin problem 2008-05-12 17:09:40 -04:00
Joey Hess bafb2d7b81 web commit by http://liw.fi/ 2008-05-12 16:26:38 -04:00
Joey Hess 21cd34106d response 2008-05-12 14:10:17 -04:00
Joey Hess e34011afcc web commit by buo: Response 2008-05-09 16:46:40 -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 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 3eb3ff6208 cannot reproduce 2008-05-07 17:10:43 -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 880d098dab template change documentation 2008-05-06 14:33:03 -04:00
Joey Hess cf2652c139 web commit by JeremyReed: why if? 2008-04-28 17:54:32 -04:00
Joey Hess 72cedc59e9 fix formatting 2008-04-28 15:47:11 -04:00
Joey Hess 6412cbfe52 idea 2008-04-28 15:43:06 -04:00
Joey Hess dbb5d11196 Deal with different paths to perl when removing -T flag. 2008-04-28 15:37:17 -04:00
Joey Hess f3eda82c08 web commit by JeremyReed: reply about perl version in filename too. 2008-04-28 14:15:38 -04:00
Joey Hess 0d80b13738 web commit by JeremyReed: reply 2008-04-28 14:11:52 -04:00
Joey Hess 453bdeaf55 response 2008-04-28 13:46:50 -04:00
Joey Hess 9f02ee8634 Add PREFIX/bin to the hardcoded PATH within ikiwiki. 2008-04-28 13:44:37 -04:00
Joey Hess aa4f9fe232 response 2008-04-28 13:38:53 -04:00
Joey Hess 74d98c69b1 web commit by JeremyReed: found problem 2008-04-28 12:47:29 -04:00
Joey Hess bc9a448c58 web commit by JeremyReed: more info. sid is defined in prefs just not edit 2008-04-28 12:32:54 -04:00
Joey Hess 3b16d472c0 web commit by JeremyReed: sid not in form. 2008-04-28 12:09:47 -04:00
Joey Hess e56dd17bcf web commit by JeremyReed: Can't exec "ikiwiki-transition" 2008-04-28 11:44:01 -04:00
Joey Hess 4e0f75a75f web commit by JeremyReed: hard-coded perl path 2008-04-28 11:07:05 -04:00
Joey Hess a64bc76fbe response 2008-04-27 14:31:35 -04:00
Joey Hess 17c276dea5 web commit by JeremyReed: about taint and -T build failure 2008-04-26 20:54:08 -04:00
Joey Hess 143c8770d1 web commit by http://sabr.myopenid.com/ 2008-04-17 08:40:07 -04:00
Joey Hess c8097457a7 web commit by http://sabr.myopenid.com/ 2008-04-13 12:52:22 -04:00
Joey Hess 40c03af378 web commit by http://sabr.myopenid.com/ 2008-04-13 12:08:44 -04:00
Joey Hess f4797af297 web commit by http://sabr.myopenid.com/ 2008-04-12 22:53:53 -04:00
Joey Hess 50e06351ca web commit by http://sabr.myopenid.com/ 2008-04-12 22:46:00 -04:00
Joey Hess 78e740f643 web commit by http://sabr.myopenid.com/ 2008-04-12 22:23:55 -04:00
Joey Hess 3b7b057e01 patch, thoughts 2008-04-12 17:19:32 -04:00
Joey Hess 57035d610e web commit by http://sabr.myopenid.com/ 2008-04-12 13:21:11 -04:00
Joey Hess 26c96e1f10 web commit by http://sabr.myopenid.com/ 2008-04-10 20:18:20 -04:00
Joey Hess 2718fc2b25 response 2008-04-10 19:54:38 -04:00
Joey Hess 92e39d7391 cannot reproduce 2008-04-10 19:32:43 -04:00
Joey Hess 2beb279806 Give the full path to the hyperestraier helpfile in estseek.conf. 2008-04-10 17:50:43 -04:00
Joey Hess e4395a567b Fix broken rcs_update for bzr. (Scott Bronson) 2008-04-10 17:41:43 -04:00
Joey Hess e1d456a86f Fix missing import of escapeHTML in userlink. (Scott Bronson) 2008-04-10 17:39:51 -04:00
Joey Hess ab0e0e807a perl dumping core is not an ikiwiki bug, sorry 2008-04-10 17:09:58 -04:00
Joey Hess 50d653ad11 web commit by http://sabr.myopenid.com/ 2008-04-09 21:33:30 -04:00
Joey Hess 109abb1f2b web commit by http://sabr.myopenid.com/ 2008-04-09 02:43:19 -04:00
Joey Hess 1080635372 web commit by http://sabr.myopenid.com/ 2008-04-09 02:42:29 -04:00
Joey Hess 9e6b7ba79a web commit by http://sabr.myopenid.com/ 2008-04-08 14:37:31 -04:00
Joey Hess 8ea8f21c20 web commit by http://sabr.myopenid.com/ 2008-04-08 14:33:13 -04:00
Joey Hess 16338ed771 web commit by http://sabr.myopenid.com/ 2008-04-08 13:18:35 -04:00
Joey Hess 7c7dba8a71 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-04-08 12:52:48 -04:00
Joey Hess 3d8e767c36 web commit by http://xayk.net/
(cherry picked from commit 146b3d9ac2754112e7c6c63f7c2e783ac2bf4dbe)
2008-04-08 12:51:46 -04:00
Joey Hess c381ec666b web commit by http://sabr.myopenid.com/
(cherry picked from commit 8e4a0640c591df95810fe94ab62521030134823b)
2008-04-08 12:50:55 -04:00
Joey Hess af3367eb4e web commit by cjb: Trivial syntax bug. 2008-04-08 09:49:37 -04:00
Joey Hess 48bf7dc458 web commit by buo: locales and mercurial 2008-03-25 16:11:34 -04:00
Joey Hess 44824dba1b smiley: Detect smileys inside pre and tags, and do not expand. 2008-03-21 02:43:20 -04:00
Joey Hess 628467125c Close meta tag for redir properly. 2008-03-21 00:24:06 -04:00
Joey Hess f1fb8eac6a web commit by http://brian.may.myopenid.com/: change.tmpl and BASEURL 2008-03-20 22:51:09 -04:00
Joey Hess 8e2f7ec70f web commit by http://jblevins.org/: Bug report update 2008-03-20 16:26:51 -04:00
Joey Hess 4f6728a685 web commit by http://jblevins.org/: Patch for unclosed refresh meta tag. 2008-03-19 15:00:15 -04:00
Joey Hess a98f624fc3 response 2008-03-17 22:33:21 -04:00
Joey Hess 52e16d4ec9 * Record new pages in %pagesources temporarily when previewing so that
things that need to know the page source or type can query it from there.
  Fixes previewing of tables when creating a new page.
2008-03-17 21:28:31 -04:00
Joey Hess bd6459b852 web commit by http://madduck.net/ 2008-03-17 18:09:33 -04:00
Joey Hess a2463a812b response 2008-03-17 14:07:38 -04:00
Joey Hess 848dc81ba3 web commit by http://madduck.net/ 2008-03-17 13:27:43 -04:00
Joey Hess 6ce7454cc3 analysis, markdown bug 2008-03-17 13:21:41 -04:00
Joey Hess 52d9f8e9f3 * Correct bug in encoding of %pagestate keys, fixes edittemplate. 2008-03-17 13:08:16 -04:00
Joey Hess 62130bd7a3 web commit by http://madduck.net/ 2008-03-17 12:22:38 -04:00
Joey Hess f42169a1be web commit by http://madduck.net/ 2008-03-17 12:15:25 -04:00
Joey Hess 940bc51fec web commit by http://madduck.net/ 2008-03-17 12:13:36 -04:00
Joey Hess 361421a906 web commit by http://madduck.net/ 2008-03-17 12:09:04 -04:00
Joey Hess 5258f9d0e5 web commit by http://madduck.net/ 2008-03-17 12:03:06 -04:00
Joey Hess 4533f52162 web commit by http://madduck.net/: fix links 2008-03-17 11:04:56 -04:00
Joey Hess 41090a5b03 web commit by http://madduck.net/ 2008-03-17 11:03:04 -04:00
Joey Hess cd58e6cb45 web commit by http://madduck.net/: fix title 2008-03-17 07:03:20 -04:00
Joey Hess fdb7be6e4c web commit by http://madduck.net/ 2008-03-17 06:53:25 -04:00
Joey Hess a2c23d61bc web commit by http://madduck.net/ 2008-03-17 03:51:55 -04:00
Joey Hess 1a84bbcb9a web commit by http://jblevins.org/: A note about a related bug 2008-03-16 20:48:29 -04:00
Joey Hess 1dae7f0e41 web commit by http://jblevins.org/: Update: unclosed redirection meta tags 2008-03-16 20:38:00 -04:00
Joey Hess c42ff91eeb web commit by http://jblevins.org/: New bug report 2008-03-16 12:27:58 -04:00
Joey Hess b9a29c3040 web commit by http://madduck.net/: add patch 2008-03-16 07:00:57 -04:00
Joey Hess ba480baa9e * external: Add getargv and setargv methods to allow access to ikiwiki's
@ARGV.
2008-03-15 14:19:49 -04:00
Joey Hess 5a7a89ffc5 * htmltidy: Pass --markup yes, in case tidy's config file disabled it. 2008-03-15 13:58:08 -04:00
Joey Hess e7ce86db11 * external: Fix support of XML::RPC::fault. 2008-03-15 13:49:22 -04:00
Joey Hess b8c55c4db2 bug I found in the rst plugin 2008-03-15 13:45:10 -04:00
Joey Hess 245126ea49 web commit by http://madduck.net/ 2008-03-15 10:15:00 -04:00
Joey Hess ddab0dbfcc web commit by http://madduck.net/ 2008-03-14 05:33:48 -04:00
Joey Hess 8e05c93b4c web commit by http://madduck.net/ 2008-03-14 05:20:32 -04:00
Joey Hess 7695a48fcd web commit by http://madduck.net/ 2008-03-14 05:14:28 -04:00
Joey Hess 5a8719f4b0 web commit by XTaran: Correction: write-back -> markup 2008-03-12 22:06:55 -04:00
Joey Hess 490f4be7f0 web commit by XTaran: I'll check what exactly caused the breakage... 2008-03-12 21:44:27 -04:00
Joey Hess 862ca19eb1 truncate recentchangesdiffs after 200 lines
This works around a perl crasher bug, and also avoids bloating pages
with enormous diffs.

rcs_recentchanges modified to return a list in an array context.
2008-03-12 15:45:10 -04:00
Joey Hess 20f1365ce1 response 2008-03-12 14:33:38 -04:00
Joey Hess 8b9498ba73 response 2008-03-12 14:31:43 -04:00
Joey Hess 43056e68d5 move from bugs to todo 2008-03-12 13:17:43 -04:00
Joey Hess 5447cf4089 response 2008-03-12 13:06:27 -04:00