Commit Graph

6169 Commits (5efaed6de66077aae72e0dbe4df35980a1af6f56)

Author SHA1 Message Date
Joey Hess 5efaed6de6 Avoid unsightly warning message when evaling broken pagespecs.
Also improve error message when a pagespec fails to parse.
2008-05-22 13:11:25 -04:00
Joey Hess f6f25758a8 Perls older than 5.10 need to use the old method of decoding utf-8 in CGI values. Neither method will work for all versions of perl, so check version number at runtime. 2008-05-21 15:30:56 -04:00
Joey Hess 9a8a67f078 display an error message if CGI::Session fails to load 2008-05-21 15:15:11 -04:00
Joey Hess 3a753c92a7 add a tip about configuring apache to run ikiwiki.cgi 2008-05-21 15:13:31 -04:00
Joey Hess a305da9c8f adjust example cgiurl
This way it matches the path given for the cgi wrapper, assuming apache
set up to use /var/www.
2008-05-21 14:57:03 -04:00
Joey Hess 13d21938b2 web commit by http://harningt.eharning.us/: Added potential workitem regarding Amazon S3 and other items WRT static-like-hosting 2008-05-18 23:05:09 -04:00
Joey Hess a05a15731d web commit by http://shortbus.org/: proving it can be done. 2008-05-18 19:33:31 -04:00
Joey Hess 736aa99fcf web commit by ww 2008-05-18 03:08:01 -04:00
Joey Hess 9aaf5f99a4 response 2008-05-16 17:45:22 -04:00
Joey Hess fe656f65b7 web commit by http://harningt.eharning.us/ 2008-05-16 17:01:33 -04:00
Joey Hess 19945b5358 typo 2008-05-15 18:22:01 -04:00
Joey Hess 0438de905b ENV can be used in the setup file to override environment variable setting, such as TZ or PATH. 2008-05-15 18:20:52 -04:00
Joey Hess c7b1eb242f Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-05-15 18:04:29 -04:00
Joey Hess 0bf5248427 git: Skip over signed-off-by and similar lines in commit messages when generating recentchanges. 2008-05-15 18:03:44 -04:00
Joey Hess 9ddb0407d2 web commit by http://codemac.net/ 2008-05-15 17:50:34 -04:00
Joey Hess 8a888a8fed inline: Display a message if the 'pages' parameter is missing, before it just expanded to nothing. 2008-05-15 17:22:54 -04:00
Joey Hess 1919d0bd8e add a link to the forum 2008-05-15 17:00:05 -04:00
Joey Hess 2a4a4d7b27 exclude templates/*, which are listed in templates 2008-05-15 16:58:26 -04:00
Joey Hess c7720c67d0 reorder 2008-05-15 16:56:28 -04:00
Joey Hess f1ec6923c0 add a link to the orphaned sitemap page 2008-05-15 16:55:38 -04:00
Joey Hess 20ac925e00 add a link to ikiwiki-transition 2008-05-15 16:54:41 -04:00
Joey Hess aecee99e6a add a link to the orphaned banned_ussrs page 2008-05-15 16:53:46 -04:00
Joey Hess 2e68f22add turn multimarkdown back off 2008-05-15 16:52:09 -04:00
Joey Hess 833610a5b4 orphans: As a special case, the toplevel index page is never considered an orphaned page. 2008-05-15 16:47:44 -04:00
Joey Hess 3599d9e81c web commit by buo: remove utf-8 rant; my problem was fixed in 2.46. 2008-05-14 09:51:23 -04:00
Joey Hess 52c570fe1b web commit by buo: More info 2008-05-14 09:42:30 -04:00
Joey Hess 6983e05e8f Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-05-14 02:42:38 -04:00
Joey Hess 2c6f41e59c If PERL5LIB is set to the libdir when building ikiwiki, calculate and hardcode a proper 'use lib' statement anyway. This fixes a gotcha, since PERL5LIB won't work once ikiwiki is running via a wrapper or as a cgi. 2008-05-14 02:42:01 -04:00
Joey Hess 62ac574b36 web commit by buo: Typo 2008-05-13 14:57:01 -04:00
Joey Hess 677f06ca35 web commit by http://jh.mcaleely.com/: a test 2008-05-13 13:15:04 -04:00
Joey Hess 6cc69038ca Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-05-13 12:44:06 -04:00
Joey Hess fba4a198b5 mdwn: Add a multimarkdown setup file option. 2008-05-13 12:43:25 -04:00
Joey Hess f1b1e193da web commit by https://noone.org/openid//: Added note about license (GPL) 2008-05-13 07:08:39 -04:00
Joey Hess d06e4c2c33 add news item for ikiwiki 2.46 2008-05-12 20:57:46 -04:00
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