ikiwiki/debian
Joey Hess 6d27bbd026 Fix utf8 issues in calls to md5_hex.
This prevented comments containing some utf-8, including euro sign, from
being submitted. Since md5_hex is a C implementation, the string has to be
converted from perl's internal encoding to utf-8 when it is called. Some
utf-8 happened to work before, apparently by accident.

Note that this will change the checksums returned.

unique_comment_location is only used when posting comments, so the checksum
does not need to be stable there.

I only changed page_to_id for completeness; it is passed a comment page
name, and they can currently never contain utf-8.

In teximg, the bug could perhaps be triggered if the tex source contained
utf-8. If that happens, the checksum will change, and some extra work might
be performed on upgrade to rebuild the image.
2010-03-09 19:55:19 -05:00
..
.gitignore Add debian/.gitignore, with ignores for Debian build products 2008-01-26 22:28:44 -08:00
NEWS releasing version 3.20091017 2009-10-17 20:52:18 -04:00
README.Debian Remove trailing whitespace from README.Debian 2008-02-10 22:55:48 -08:00
changelog Fix utf8 issues in calls to md5_hex. 2010-03-09 19:55:19 -05:00
compat update compat level 2009-02-16 21:54:30 -05:00
control releasing version 3.20100212 2010-02-12 17:07:54 -05:00
copyright improve po copyright info 2009-12-06 15:07:20 -05:00
docs debhelper v7; rules file minimisation. 2009-02-15 20:12:16 -05:00
link debhelper v7; rules file minimisation. 2009-02-15 20:12:16 -05:00
postinst Merge branch 'master' into dependency-types 2009-10-09 20:16:46 -04:00
preinst Add auto-blog.setup 2009-01-12 19:04:24 -05:00
rules turn python-support back on 2009-05-04 19:17:59 -04:00

README.Debian

It's a good idea, and in some cases a requirement, to rebuild your wikis
when upgrading to a new version of ikiwiki. If you have a lot of different
wikis on a system, this can be a pain to do by hand, and it's a good idea
to automate it anyway.

This Debian package of ikiwiki supports rebuilding wikis on upgrade. It
will run ikiwiki-mass-rebuild if necessary when upgraded. The file
/etc/ikiwiki/wikilist lists the setup files of wikis to rebuild, as well
as the user who owns the wiki. Edit this file and add any wikis you
set up.

You can also allow users to maintain their own list of wikis to rebuild,
by listing their usernames in /etc/ikiwiki/wikilist without corresponding
setup files.  ikiwiki will then read their lists of wikis from
.ikiwiki/wikilist in their home directories.


The examples directory contains the source to some example wiki setups.