ddate: Stop clobbering timeformat when not enabled.
[ikiwiki] / debian / changelog
1 ikiwiki (2.64) UNRELEASED; urgency=low
2
3   * Avoid uninitialised value when --dumpsetup is used and no srcdir/destdir
4     specified.
5   * ddate: Stop clobbering timeformat when not enabled.
6
7  -- Joey Hess <joeyh@debian.org>  Mon, 08 Sep 2008 19:21:20 -0400
8
9 ikiwiki (2.63) unstable; urgency=low
10
11   * Set cookies HttpOnly.
12   * Typo. Closes: #497003
13   * Ignore failure to install files into /etc, in case install is running as
14     non-root.
15   * Work around perl $_ scoping nonsense that caused breakage when loading
16     external plugins.
17   * style.css: Add missing semicolon. Closes: #497176 
18   * filecheck: Fall back to testing for binary or plain text files
19     if no mime type is detected.
20   * table: Support header=column to make the table header be the first
21     column of the data. (AlexandreDupas)
22   * For fine control over what characters are allowed, unescaped in
23     source filenames, the wiki_file_chars setting is added. For example,
24     set to "-[:alnum:]+/._" to disable colons from being used in source files
25     (which can cause troubl om Windows).
26   * po/Makefile: update po files when the pot file has changed.
27     Closes: #497951
28   * editpage: New core plugin factoring out page editing to allow disabling it
29     if desired.
30
31  -- Joey Hess <joeyh@debian.org>  Mon, 08 Sep 2008 12:17:15 -0400
32
33 ikiwiki (2.62.1) unstable; urgency=low
34
35   * filecheck: Fixed two bits broken in move from attachment.
36
37  -- Joey Hess <joeyh@debian.org>  Thu, 28 Aug 2008 13:04:47 -0400
38
39 ikiwiki (2.62) unstable; urgency=low
40
41   * Avoid using cp -a (again). (HenrikBrixAndersen)
42   * Avoid using hostname -f for portability to eg, OS X, use Net::Domain
43     instead, and prompt if it fails.
44   * Fix bug in wikiname sanitisation in the setup automator.
45   * ikiwiki-makerepo: Added support for monotone. (Thomas Keller)
46   * map: The fix for #449285 was buggy and broke display of parents in certain
47     circumstances.
48   * teximg: The prefix is configurable, and has changed to not include the
49     nonstandard mhchem by default. (willu)
50   * teximg: dvipng is used if available to render images. Its output is
51     antialiased and better than dvips. If not available, the old dvips+convert
52     chain will be used. (willu)
53   * Drop suggests on texlive-science, add suggests on dvipng.
54   * listdirectives: New plugin. (willu)
55   * filecheck: New plugin factoring out the PageSpec additions that were
56     originally part of the attachment plugin.
57   * edittemplate: Don't wipe out edits on preview.
58   * color: New plugin from ptecza.
59   * autoindex: Avoid re-adding previously deleted (or renamed) pages.
60
61  -- Joey Hess <joeyh@debian.org>  Wed, 27 Aug 2008 15:14:09 -0400
62
63 ikiwiki (2.61) unstable; urgency=low
64
65   * poll: Fix typo that broke plugin.
66   * graphviz: Fix breakage of the name of the preprocessor directive.
67
68  -- Joey Hess <joeyh@debian.org>  Thu, 14 Aug 2008 18:13:22 -0400
69
70 ikiwiki (2.60) unstable; urgency=low
71  
72   [ Joey Hess ]
73   * Starting with this version, "ikiwiki -setup /etc/ikiwiki/auto.setup"
74     can be used create a new wiki in seconds.
75   * websetup: New plugin providing a setup form on the web.
76   * ikiwiki --dumpsetup can generate a nice setup file snapshotting ikiwiki's
77     current configuration.
78   * The way wrappers are defined in the setup file has changed. Old setup
79     files will continue to work, for now.
80   * ikiwiki-transition setupformat can be used to convert a setup file to the
81     new format.
82   * Version control backends promoted to first-class plugins.
83   * ikiwiki-update-wikilist: Add -r switch to remove. Default behavior is now
84     always to add.
85   * Start moving admin preferences from the web interface to the setup file.
86   * Add getsetup hook, all plugins should use it to record information about
87     themselves and any fields they add to %config
88   * Large amounts of internal config data reorg.
89   * ikiwiki-makerepo: Bail if both srcdir and repository are not specified.
90     Closes: #493628
91   * Clarify some wording in the setup documentation that could maybe lead
92     users to putting paths with "~/" in the setup file, which doesn't work.
93     Closes: #493835
94   * autoindex: Ignore internal pages, and take underlay directories into
95     account. Also, avoid making index pages for directories that contain
96     no files.
97   * external: Fix support for hooks called in an array context.
98   * Options set in the setup file are now immediatly loaded by ikiwiki -setup.
99     This allows later switches to override them. Previously, setup file
100     options overrode most command line options.
101   * Added a small icon to the search input box.
102
103   [ Josh Triplett ]
104   * Add Suggests on texlive and texlive-science for the teximg plugin
105
106   [ Joey Hess ]
107   * inline: Ignore parent dirs when sorting pages by title.
108   * rename: Support changing page extensions. (willu)
109   * Danish update. Closes: #494632
110
111  -- Joey Hess <joeyh@debian.org>  Tue, 12 Aug 2008 14:20:25 -0400
112
113 ikiwiki (2.56) unstable; urgency=low
114
115   * autoindex: New plugin that generates missing index pages.
116     (Sponsored by The TOVA Company.)
117   * Escape HTML is rss and atom feeds instead of respectively using CDATA and
118     treating it as XHTML. This avoids problems with escaping the end of the
119     CDATA when the htmlscrubber is not used, and it avoids problems with atom
120     XHTML using named entity references that are not in the atom DTD.
121     (Simon McVittie)
122   * Add test for old versions of git that don't support --cleanup=verbatim,
123     and munge empty commit messages.
124
125  -- Joey Hess <joeyh@debian.org>  Thu, 31 Jul 2008 19:25:24 -0400
126
127 ikiwiki (2.55) unstable; urgency=low
128
129   * remove: New plugin that adds the ability to remove pages via the web.
130     (Sponsored by The TOVA Company.)
131   * rename: New plugin that adds the ability to rename pages via the web.
132     (Sponsored by The TOVA Company.) (This one's for you, Kyle.)
133   * All rcs backends need to implement rcs_remove, rcs_commitstaged,
134     and rcs_rename. (Done for svn, git).
135   * This version adds renamepage hooks, which can be used to modify page
136     content, including links, during renames.
137   * prefix_directives enabled in doc wiki, all preprocessor directives
138     converted. (Simon McVittie)
139   * editpage: Don't show attachments link when attachments are disabled.
140   * tag: Allow tagbase to be overridden by starting a tag with "./" or "/".
141     (Simon McVittie)
142   * Really fix bug with links to pages with names containing colons. 
143     Previous fix mised a few cases.
144   * Avoid troublesome abs_path calls in wrapper setup.
145   * Add allow_symlinks_before_srcdir config setting that can be used to avoid
146     a security check that is a good safe default, but problimatic overkill in
147     some situations.
148   * Don't allow uploading an attachment with the same name as an existing
149     page, to avoid confusion.
150   * Split out error messages from editpage.tmpl into several separate
151     templates.
152   * attachment: Do not escape _ when determining attachment filenames.
153   * Rebuild pages that change their type. (Gabriel McManus)
154   * monotone: Add support for rename, delete, and also diff. (William Uther)
155   * toggle: Fix incompatability between javascript and webkit.
156   * bzr: Add support for rename and delete. (Jelmer Vernooij)
157   * attachment: Use relative paths when inserting links.
158   * toggle: Fix for when html got tidied. Closes: #492529 (Enrico Zini)
159   * cutpaste: New plugin by Enrico Zini
160
161  -- Joey Hess <joeyh@debian.org>  Sun, 27 Jul 2008 11:23:13 -0400
162
163 ikiwiki (2.54) unstable; urgency=low
164
165   [ Joey Hess ]
166   * Make it possible to load setup files w/o running them. Code
167     needing to do so can call IkiWiki::Setup::load, which will return
168     a hash of values.
169
170   [ Josh Triplett ]
171   * ikiwiki-transition: Fix command-line processing so the prefix_directives
172     transition works again.
173
174   [ Joey Hess ]
175   * template: Add support for a BASENAME variable.
176   * Fixes creation of pages when clicking on WikiLinks starting with "/".
177   * Change deb dependencies to list Text::Markdown before markdown, since
178     the former, while slower, has a much better html parser that avoids
179     numerous bugs.
180   * Move yesno function out of inline and into IkiWiki core, not exported.
181   * Error handling improvement for preprocess hooks. It's now safe to call
182     error() from such hooks; it will cause a nicely formatted error message
183     to be inserted into the page.
184   * Cut the size of the binary package in half by excluding pages for bugs
185     and todo items from the html shipped in it.
186   * parentlinks: New plugin, split out of ikiwiki core and enabled by default,
187     and several new fields added to allow for advanced styling. (intrigeri)
188   * smileys: Some fixes for escaped smileys.
189   * smileys: Note that smileys need to be double-escaped for the escaping to
190     work. Markdown removes one level of escaping.
191   * Add a postscan hook.
192   * search: Use postscan hook, avoid updating index when previewing.
193   * git: Put web committer name/openid/address in the git author field.
194     The committer's email address is not used (because leaking email addresses
195     is not liked by many users). Closes: #451023
196   * git: Fix parsing of git logs with no commit messages at all.
197   * search: Fixes for title stemming, and use better term for tags.
198     (Gabriel McManus)
199     (Rebuilding the wiki on upgrade to this version is recommended if you
200     use the search plugin.)
201
202   [ Simon McVittie ]
203   * meta, inline: Support guid options, to allow forcing a particular url or
204     uuid in feeds.
205   * meta: fix title() PageSpec
206   * Some footer style changes.
207   * aggregate: Add an `aggregateinternal` option, which allows storing
208     aggregated data to internal-use files, rather than wiki pages. This
209     can save disk space, and be faster.
210   * ikiwiki-transition: Add a `aggregateinternal` transition to rename
211     the aggregated files.
212
213  -- Joey Hess <joeyh@debian.org>  Mon, 21 Jul 2008 10:10:52 -0400
214
215 ikiwiki (2.53) unstable; urgency=low
216
217   * search: generate configuration files once only when rebuilding
218     (Gabriel McManus)
219   * attachment: Fix an uninitialised value warning when editing a page
220     that currently has no attachments.
221   * Fix a bug with links to pages whose names contained colons.
222   * attachment: Support old versions of CGI.pm that lack an upload method.
223   * Include ikiwiki.setup in examples in the debian package.
224   * attachment: Support perl 5.8's buggy version of CGI.pm.
225   * otl: Support utf-8 files. (Recai Oktaş)
226
227  -- Joey Hess <joeyh@debian.org>  Wed, 09 Jul 2008 16:45:33 -0400
228
229 ikiwiki (2.52) unstable; urgency=low
230
231   * attachment: New plugin for uploading and managing attachments.
232     This includes a fairly powerful PageSpec based admin pref for deciding
233     whether to accept a given upload, and an attachment management interface
234     on the edit page.
235     (Sponsored by The TOVA Company.)
236   * If attachments are not enabled, configure CGI.pm to disable file
237     uploads by default. (An anti-DOS measure.)
238   * toggle: Add support for toggles that are open by default.
239   * toggle: Fix to work in preview mode.
240   * toggle: Add javascript to top of page, not to end. This avoids flicker
241     since closed toggles will not be displayed as the page is loading.
242   * The editpage form now uses the raw page name, not the page title, in its
243     'page' cgi parameter. Using the title was ambiguous and made it
244     impossible to tell between some pages, like "foo/bar" and "foo__47__bar",
245     sometimes causing the wrong page to be edited.
246   * This change means that some edit links need to be updated.
247     Force a rebuild on upgrade to this version.
248   * Above change also allowed really fixing escaped slashes from the blogpost
249     form.
250
251  -- Joey Hess <joeyh@debian.org>  Sun, 06 Jul 2008 19:15:37 -0400
252
253 ikiwiki (2.51) unstable; urgency=low
254
255   * Improve toplevel parentlink to link directly to index.html when usedirs is
256     disabled.
257   * map: Add a "show" parameter. "show=title" can be used to display page
258     titles, rather than the default page name. Based on a patch from 
259     Jaldhar H. Vyas, Closes: #484510
260   * hnb: New plugin, contributed by Axel Beckert.
261   * meta: Store "description" in pagestate for use by other plugins.
262   * map: Support show=description.
263   * textile: The Text::Textile perl module has some regexps that fail if
264     input is flagged as utf-8, but contains invalid characters such as 0x92.
265     To prevent it from crashing, re-encode the content before calling it,
266     which will ensure that it's really utf-8.
267   * Version the suggests of xapian-omega to a version known to be new enough
268     to work with ikiwiki. Reportedly, version 0.9.9 is too old to work.
269     Closes: #486592
270   * creole: New plugin from Bernd Zeimetz. Closes: #486930
271   * aggregate: Add template parameter.
272   * Add support for the universal edit button <http://universaleditbutton.org/>
273     (To get this on all pages of an exiting wiki, rebuild the wiki.)
274   * txt: New plugin, contributed by Gabriel McManus.
275   * smiley: Generate links relative to the destpage. (Fixes a reversion from
276     2.41.)
277   * toc: Revert change in 2.45 that made it run at sanitize time. That broke
278     use of toc in a sidebar.
279   * Call format hooks when generating page previews, thus fixing toc display
280     there, as well as fixing inlins to again display in page previews, since
281     it's started using format hooks. This also allows several other things,
282     like embed, that use format hooks, to work during page preview time.
283   * Format hooks should not rely on getting an entire html document, as they
284     will only get the body during page preview.
285   * toggle: Deal with preview mode when adding javascript.
286
287  -- Joey Hess <joeyh@debian.org>  Sun, 29 Jun 2008 14:09:37 -0400
288
289 ikiwiki (2.50) unstable; urgency=low
290
291   * img: Support captions.
292   * img: Don't generate empty title attributes, etc.
293   * img: Allow setting defaults for class and id too.
294   * ikiwiki-mass-rebuild: Make group list comparison more robust.
295   * search: Work around xapian bug #486138 by only stemming locales
296     in a whitelist.
297
298  -- Joey Hess <joeyh@debian.org>  Fri, 13 Jun 2008 15:17:30 -0400
299
300 ikiwiki (2.49) unstable; urgency=low
301
302   * haiku: Generate valid xhtml.
303   * ikiwiki-mass-rebuild: Don't trust $! when setting $)
304   * inline: The optimisation in 2.41 broke nested inlines. Detect those
305     and avoid overoptimising.
306   * search: Converted to use xapian-omega.
307   * Filter hooks are no longer called during the scan phase. This will
308     prevent wikilinks added by filters from being scanned properly. But
309     no known filter hook does that, so let's not waste time on it.
310   * Pass a destpage parameter to the sanitize hook.
311   * The search interface now allows searching for a page by title
312     ("title:foo"), as well as for pages that contain a given link
313     ("link:bar").
314
315  -- Joey Hess <joeyh@debian.org>  Sat, 07 Jun 2008 15:22:41 -0400
316
317 ikiwiki (2.48) unstable; urgency=high
318
319   * Fix security hole that occurred if openid and passwordauth were both
320     enabled. passwordauth would allow logging in as a known openid, with an
321     empty password. Closes: #483770 (CVE-2008-0169)
322   * Add rel=nofollow to edit links. This may prevent some spiders from
323     pounding on the cgi following edit links.
324   * passwordauth: If Authen::Passphrase is installed, use it to store
325     password hashes, crypted with Eksblowfish.
326   * `ikiwiki-transition hashpassword /path/to/srcdir` can be used to
327     hash existing plaintext passwords.
328   * Passwords will no longer be mailed, but instead a password reset link.
329   * The password_cost config setting is provided as a "more security" knob.
330   * teximg: Fix logurl.
331   * teximg: If the log isn't written, avoid ugly error messages.
332   * Updated French translation. Closes: #478530
333
334  -- Joey Hess <joeyh@debian.org>  Fri, 30 May 2008 17:36:07 -0400
335
336 ikiwiki (2.47) unstable; urgency=low
337
338   * mdwn: Add a multimarkdown setup file option.
339   * If PERL5LIB is set to the libdir when building ikiwiki, calculate and 
340     hardcode a proper 'use lib' statement anyway. This fixes a gotcha,
341     since PERL5LIB won't work once ikiwiki is running via a wrapper or as
342     a cgi.
343   * orphans: As a special case, the toplevel index page is never considered
344     an orphaned page.
345   * inline: Display a message if the 'pages' parameter is missing, before
346     it just expanded to nothing.
347   * git: Skip over signed-off-by and similar lines in commit messages
348     when generating recentchanges.
349   * ENV can be used in the setup file to override environment variable
350     settings, such as TZ or PATH.
351   * Perls older than 5.10 need to use the old method of decoding utf-8 in CGI
352     values. Neither method will work for all versions of perl, so check
353     version number at runtime.
354   * Avoid unsightly warning message when evaling broken pagespecs.
355   * Improve error message when a pagespec fails to parse.
356
357  -- Joey Hess <joeyh@debian.org>  Sun, 25 May 2008 14:25:42 -0400
358
359 ikiwiki (2.46) unstable; urgency=low
360
361   * amazon_s3: New plugin, which injects wiki pages into Amazon S3, allowing
362     ikiwiki to be used without a dedicated web server.
363   * aggregate: Add support for web-based triggering of aggregation 
364     for people stuck on shared hosting without cron. (Sheesh.) Enabled
365     via the `aggregate_webtrigger` configuration optiom.
366   * Add pinger and pingee plugins, which allow setting up mirrors and branched
367     wikis that automatically ping one another to stay up to date.
368   * Optimised file statting code when scanning for modified pages;
369     cut the number of system calls in half. (Still room for improvement.)
370   * Fixes for behavior changes in perl 5.10's CGI that broke utf-8 support
371     in several interesting ways.
372
373  -- Joey Hess <joeyh@debian.org>  Mon, 12 May 2008 20:51:50 -0400
374
375 ikiwiki (2.45) unstable; urgency=low
376
377   * toc: Add the table of contents at sanitize time, rather than at format
378     time. This allows the toc to be displayed when previewing an edit. It also
379     avoids headers in the page template from showing up in the toc.
380   * Add PREFIX/bin to the hardcoded PATH within ikiwiki.
381   * Deal with different paths to perl when removing -T flag.
382   * Add missing de.po. Closes: #471540
383   * img: Support a title attribute, will be passed through to html.
384     Closes: #478718
385   * anonk: Add anonok_pagespec configuration setting that can be used to
386     allow anonymous users to edit only matching pages. Closes: #478892
387   * Fix ugly display when editing a page that has vanished.
388   * srcfile now has an optional second parameter to avoid it throwing an error
389     if the source file does not exist.
390   * git: Put -- before the filename when calling git rev-list to avoid
391     warning message when the file doesn't exist.
392   * Add a Bundle::IkiWiki and Bundle::IkiWiki::Extras to the source for use
393     with CPAN to install perl modules.
394   * Add a cpan directory containing a CPAN::MyConfig that can ease use of
395     CPAN to install in a home directory on shared hosting providers.
396   * With these changes, it's pretty easy to install onto nearlyfreespeech.net
397     and probably other shared hosting providers like dreamhost. Added
398     a page documenting the process for nearlyfreespeech.
399
400  -- Joey Hess <joeyh@debian.org>  Mon, 05 May 2008 15:06:05 -0400
401
402 ikiwiki (2.44) unstable; urgency=medium
403
404   * Bring back the svnrepo setup file option. This is needed for
405     recentchangediff to work with svn repos.
406   * Allow libtext-markdown-perl to satisfy dependencies, as a
407     an alternative to the markdown package.
408   * Correct a bug in pagespec matching, where a empty pagespec matched all
409     pages. This manifested as wikis with no locked pages treating them all as
410     locked. The bug was introduced in version 2.41.
411   * Medium urgency upload due to above fix.
412
413  -- Joey Hess <joeyh@debian.org>  Thu, 17 Apr 2008 14:33:54 -0400
414
415 ikiwiki (2.43) unstable; urgency=low
416
417   * Fix missing import of escapeHTML in userlink. (Scott Bronson)
418   * Fix broken rcs_update for bzr. (Scott Bronson)
419   * Use bzr --quiet to avoid it outputting stuff and messing up http headers.
420     (Scott Bronson)
421   * Give the full path to the hyperestraier helpfile in estseek.conf.
422   * Recommend a recent git-core for git init. Closes: 475609
423
424  -- Joey Hess <joeyh@debian.org>  Wed, 16 Apr 2008 18:35:13 -0400
425
426 ikiwiki (2.42) unstable; urgency=high
427
428   * aggregate: Correct a mistake in the code that dummy up a guid for feeds
429     lacking one.
430   * inline: Correct handling of urls relative to baseurl in feeds.
431   * Fix CSRF attacks against the preferences and edit forms. The fix involved
432     embedding the session id in the forms, and not allowing the forms to be
433     submitted if the embedded id does not match the session id. Closes: #475445
434     (CVE-2008-0165)
435
436  -- Joey Hess <joeyh@debian.org>  Thu, 03 Apr 2008 02:35:39 -0400
437
438 ikiwiki (2.41) unstable; urgency=low
439
440   [ Adeodato Simó ]
441   * Preprocessor directives generated by the shortcut plugin accept a `desc`
442     parameter that overrides the anchor text provided at shortcut definition
443     time. (Closes: #458126)
444
445   [ martin f. krafft ]
446   * The meta plugin now allows for the robots tag to be specified without the
447     risk of it being scrubbed.
448   * Let meta.openid set X-XRDS-Location header
449   * Make makerepo set the Git merge remote.
450     branch.master.remote previously used to default to origin, which has
451     recently been changed; it now needs to be set explicitly, which this
452     patch does. Closes: #470517
453   * meta: Also generate openid2 headers.
454   * Handle SimpleXMLRPCDispatcher arg count change in python 2.5
455   * Provide XML-RPC proxy abstraction for Python plugins.
456
457   [ Joey Hess ]
458   * Add recentchangesdiff plugin that adds diffs to the recentchanges feeds.
459   * rcs_diff is a new function that rcs modules should implement.
460   * Implemented rcs_diff for git, svn, and tla (tla version untested).
461     Mercurial and monotone still todo.
462   * Support Text::Markdown::markdown, which is the spelling used by 
463     version 1.0.16 of Text::Markdown.
464   * Updated Spanish translation from Victor Moral.
465   * Fix example exclude regexp. Closes: #469691
466   * Remove locking code in git rcs_commit. I'm not sure if this was ever
467     correct, and it's certianly not correct now, since the wiki is locked
468     before rcs_commit is ever called, and should not be unlocked by
469     rcs_commit either.
470   * monotone: Require version 0.38 or greater, and stop using the mtnmergerc
471     option. (Brian May)
472   * Use forcebaseurl to make page previews be displayed with the html base
473     set to the destination page. This avoids need for hacks to munge the urls
474     in preview mode, which fixes several bugs.
475   * Several destpage fixes in plugins.
476   * Use absolute url for feedurl when filling out the feed templates.
477     Closes: #470530
478   * Fix expiry of old recentchanges changeset pages.
479   * French translation update. Closes: #471010
480   * external: Fix support of XML::RPC::fault.
481   * htmltidy: Pass --markup yes, in case tidy's config file disabled it.
482   * external: Add getargv and setargv methods to allow access to ikiwiki's
483     @ARGV.
484   * Correct bug in encoding of %pagestate keys, fixes edittemplate.
485   * Detect invalid pagespecs and do not merge them in add_depends,
486     as that can result in a broken merged pagespec that matches nothing.
487   * Record new pages in %pagesources temporarily when previewing so that
488     things that need to know the page source or type can query it from there.
489     Fixes previewing of tables when creating a new page.
490   * German translation update. Closes: #471540
491   * Time::Duration is no longer used, remove from docs and recommends.
492   * Store userinfo in network byte order for easy portability.
493     (Old files will be automatically converted.)
494   * Close meta tag for redir properly.
495   * smiley: Detect smileys inside pre and code tags, and do not expand.
496   * inline: Crazy optimisation to work around slow markdown.
497   * Precompile pagespecs, about 10% overall speedup.
498   * Changed to a binary index file, written using Storable, for speed.
499   * external: Work around XML RPC's lack of support for null by passing
500     a special sentinal value.
501   * inline: Allow the "feedshow" parameter to take values greater than the
502     value for "show".
503   * Added a hardlink option in the setup file, useful if the source and
504     dest are on the same filesystem and the wiki includes large media files,
505     which would normally be copied, wasting time and space.
506
507  -- Joey Hess <joeyh@debian.org>  Sat, 29 Mar 2008 21:07:22 -0400
508
509 ikiwiki (2.40) unstable; urgency=low
510
511   [ Josh Triplett ]
512   * Add new preprocessor directive syntax¸ using a '!' prefix.  Add a
513     prefix_directives option to the setup file to turn this syntax on;
514     currently defaults to false, for backward compatibility.  Support
515     optional '!' prefix even with prefix_directives off, and use that in
516     the underlay to support either setting of prefix_directives.  Add NEWS
517     entry with migration information.
518
519   [ Joey Hess ]
520   * Danish translation update from Jonas Smedegaard. Closes: #465152
521   * Generate XML RPC messages with the encoding set to utf-8 instead
522     of XML::RPC's default of us-ascii. Allows interoperation with
523     python's xmlrpc library, which threw invalid encoding exceptions and
524     caused the rst plugin to hang.
525   * Add the linkify and scan hooks. These hooks can be used to implement
526     custom, first-class types of wikilinks.
527   * Move standard wikilink implementation to a new link plugin, which
528     will of course be enabled by default.
529   * camelcase: Convert to use new linkify and scan hooks rather than the old
530     hack.
531   * Setting NOTAINT=1 had no effect when building ikiwiki itself, fix this.
532   * Depend on HTML::Scrubber, since the scrubber is enabled by default and
533     dies if its can't be loaded.
534   * The search plugin needs to override <base> to point to the directory
535     containing ikiwiki.cgi, but this should not change the urls to the style
536     sheets etc. Add a new forcebareurl parameter to misctemplate to allow
537     it to do that.
538   * Preview limits the page dropdown to what's selected previously
539     (as preserving the full list across preview would be tricky). Userdirs
540     were still being offered as an option there, remove them.
541   * Fix a bug where user A created a page concurrently with user B, and
542     when B previewed it would redirect B to A's new page, losing B's work.
543     Instead, don't redirect and let conflict handling resolve it.
544   * monotone: Add code to default mergerc file to run
545     _MTN/ikiwiki-netsync-hook when a commit is merged in from the net.
546   * tla: Remove call to escapeHTML when constructing recentchanges message;
547     the html is escaped at a different level. Closes: #466495
548   * bzr, mercurial: Remove unused import of escapeHTML.
549   * Fix another preview will_render bug. This one involved inline,
550     which forced a scan of the page to make available metadata that
551     appeared after the inline directive. Problem is that scan made it forget
552     about any other files rendered due to the page. The scan also turns out
553     to be unnecessary now, since meta persistently stores state and it's
554     always available. So it was just removed.
555   * Disable taint checking for all builds as people keep complaining about it,
556     and since all versions of perl seem to be hopelessly broken.
557   * Fix links generated by preprocessor directives when previewing.
558   * inline: When forcing urls absolute for rss feeds, skip mailto and other
559     such urls.
560   * ikiwiki-makerepo: Don't fail if the third argument ends in a slash.
561   * Allow colons in URLs after the first slash. (Adeodato Simó)
562
563  -- Joey Hess <joeyh@debian.org>  Fri, 29 Feb 2008 23:05:39 -0500
564
565 ikiwiki (2.31.3) unstable; urgency=high
566
567   [ Josh Triplett ]
568   * Do not allow the about: URI scheme; some browsers interpret about:
569     URIs like a limited version of data: URIs.  In particular, some
570     versions of Internet Explorer interpret arbitrary HTML content in
571     about: URIs.
572   * Also filter the attributes cite, longdesc, and usemap, which can contain
573     URIs.
574
575   [ Joey Hess ]
576   * meta: Check that the urls provided for authorurl, permalink, and openid
577     are safe and can't contain javascript.
578
579   [ Josh Triplett ]
580   * Match literal '.' in URI schemas containing '.', rather than matching any
581     character.
582   * Do not allow the steam: URI scheme.
583   * Allow the snews: URI scheme.
584   * Allow the smb: URI scheme.
585
586  -- Josh Triplett <josh@freedesktop.org>  Sun, 10 Feb 2008 14:48:48 -0800
587
588 ikiwiki (2.31.2) unstable; urgency=high
589
590   * The security fix in the last release had buggy handling of data:image,
591     now fixed. Closes: #465110 (CVE-2008-0808, CVE-2008-0809)
592
593  -- Joey Hess <joeyh@debian.org>  Sun, 10 Feb 2008 15:31:17 -0500
594
595 ikiwiki (2.31.1) unstable; urgency=low
596
597   * htmlscrubber security fix: Block javascript in uris.
598   * Add htmlscrubber test suite.
599   * Thanks to Josh Triplett for pointing out the holes and for his help
600     in implementing and checking fixes.
601
602  -- Joey Hess <joeyh@debian.org>  Sun, 10 Feb 2008 13:22:59 -0500
603
604 ikiwiki (2.31) unstable; urgency=low
605
606   [ Joey Hess ]
607   * Revert preservation of input file modification times in output files,
608     since this leads to too many problems with web caching, especially with
609     inlined pages. Properly solving this would involve tracking every page
610     that contributes to a page's content and using the youngest of them all,
611     as well as special cases for things like the version plugin, and it's just
612     too complex to do.
613   * aggregate: Forking a child broke the one state that mattered: Forcing
614     the aggregating page to be rebuilt. Fix this.
615   * cgi hooks are now run before ikiwiki state is loaded.
616   * This allows locking the wiki before loading state, which avoids some
617     tricky locking code when saving a web edit.
618   * poll: This plugin turns out to have edited pages w/o doing any locking.
619     Oops. Convert it from a cgi to a sessioncgi hook, which will work
620     much better.
621   * recentchanges: Improve handling of links on the very static changes pages
622     by thunking to the CGI, which can redirect to the page, or allow it to be
623     created if it doesn't exist.
624   * recentchanges: Exipre all *._change pages, even if the directory
625     they're in has changed.
626   * aggregate: Lots of changes; aggregation can now run without locking the
627     wiki, and there is a separate aggregatelock to prevent multiple concurrent
628     aggregation runs.
629   * monotone changes by Brian May:
630     - On commits, replace "mtn sync" bidirectional with "mtn push" single
631       direction. No need to pull changes when doing a commit. mtn sync
632       is still called in rcs_update.
633     - Support for viewing differences via patches using viewmtn.
634   * inline: When previewing, still call will_render on rss/atom files,
635     just avoid actually writing the files. This is necessary because ikiwiki
636     saves state after a preview (in case it actually *did* write files),
637     and if will_render isn't called its security checks will get upset
638     when the page is saved. Thanks to Edward Betts for his help tracking this
639     tricky bug down.
640   * inline: Add new `allowrss` and `allowatom` config options. These can be
641     used if you want a wiki that doesn't default to generating rss or atom
642     feeds, but that does allow them to be turned on for specific blogs.
643   * Don't die if running with --getctime and rcs_getctime throws an error.
644     There are several cases (recentchanges files, aggregated files)
645     where some source files are not in revision control.
646   * Page templates can now use CTIME to show when the page was created.
647
648   [ Josh Triplett ]
649   * README.Debian: Mention user wikilists.
650
651  -- Joey Hess <joeyh@debian.org>  Sat, 09 Feb 2008 23:09:45 -0500
652
653 ikiwiki (2.30) unstable; urgency=low
654
655   [ Joey Hess ]
656   * Old versions of git-init don't support --git-dir or GIT_DIR with
657     --bare. Change ikiwiki-makerepo to use a method that should work with
658     those older versions too.
659   * aggregate: Don't let feeds set creation times for pages in the future.
660   * Add full parser for git diff-tree output (Brian Downing)
661   * aggregate: Fork a child process to handle the aggregation. This simplifies
662     the code, since that process can change internal state as needed, and
663     it will automatically be cleaned up for the parent process, which proceeds
664     to render the changes.
665
666   [ Josh Triplett ]
667   * Add trailing comma to commented-out umask in sample ikiwiki.setup, so
668     that uncommenting it does not break the setup file.
669
670   [ Joey Hess ]
671   * inline: The template can check for FIRST and LAST, which will be
672     set for the first and last inlined page. Useful for templates that build
673     tables and the like.
674   * prettydate,ddate: Don't ignore time formats passed to displaytime
675     function.
676   * Pages with extensions starting with "_" are internal-use, and will
677     not be rendered or web-edited, or matched by normal pagespecs.
678   * Add "internal()" pagespec that matches internal-use pages.
679   * RecentChanges is now a static html page, that's updated whenever a commit
680     is made to the wiki. It's built as a blog using inline, so it can have
681     an rss feed that users can subscribe to.
682   * Removed support for sending commit notification mails. Along with it went
683     the svnrepo and notify settings, though both will be ignored if left in
684     setup files. Also gone with it is the "user()" pagespec.
685   * Add refresh hook.
686   * meta: Add pagespec functions to match against title, author, authorurl,
687     license, and copyright. This can be used to create custom RecentChanges.
688   * meta: To support the pagespec functions, metadata about pages has to be
689     retained as pagestate.
690   * Fix encoding bug when pagestate values contained spaces.
691   * Add support for bzr, written by Jelmer Vernooij. Thanks also to bma for
692     his independent work on bzr support.
693   * Copyright file updates.
694
695  -- Joey Hess <joeyh@debian.org>  Sat, 02 Feb 2008 17:41:57 -0500
696
697 ikiwiki (2.20) unstable; urgency=low
698
699   * inline: Add copyright/license info on a per-post basis to atom
700     feeds if available. (rss doesn't allow such info on a per-post basis)
701   * Also include overall copyright/license and author info in atom feeds if
702     available.
703   * meta: Allow copyright/license metadata to contain arbitrary markup.
704   * Call preprocessor hooks in void context during the scan pass. This allows
705     the hook to determine if it's just scanning, and avoid expensive
706     operations.
707   * img: Detect scan mode and avoid generating and writing the image file
708     during it, for a 2x speedup.
709   * meta: Run in scan mode again (more intelligently) and re-add support for
710     meta link.
711   * Fix support for the case where metadata appears after an inline directive
712     that needs to use it. This was broken in version 2.16.
713   * template: Remove bogus htmlize pass added in 2.16.
714   * template: Htmlize template variables, but also provide a raw version
715     via `<TMPL_VAR raw_variable>`.
716   * When htmlizing text, if the input is a single line with no newline,
717     and the htmlizer (such as markdown and textile) generates a html
718     paragraph, remove it. This allows removing several hacks from other
719     plugins that htmlize fragements of pages.
720   * In preferences, allow the subscriptions and email fields to be cleared.
721   * teximg: Fix to support the same formula on multiple pages.
722
723  -- Joey Hess <joeyh@debian.org>  Thu, 10 Jan 2008 14:52:57 -0500
724
725 ikiwiki (2.19) unstable; urgency=low
726
727   * Only try postsignin if no other action matched. Fixes a bug where the
728     user goes back from the signin screen and does something else.
729   * Improve behavior when trying to sign in with no cookies.
730   * Improved the canedit hook interface, allowing a callback function to be
731     returned (and not run in some cases) rather than the plugins directly
732     forcing a user to log in.
733   * opendiscussion: allow editing of the toplevel discussion page,
734     and, indirectly, allow creating new discussion pages.
735   * Add a prereq on Data::Dumper 2.11 or better, needed to dump q// objects.
736   * htmlscrubber: Further work around #365971 by adding tags for 'br/', 'hr/'
737     and 'p/'.
738   * aggregate: Include copyright statements from rss feed as meta copyright
739     directives.
740   * aggregate: Yet another state saving fix (sigh).
741   * aggregate: Add hack to support feeds with invalidly escaped html entities.
742
743  -- Joey Hess <joeyh@debian.org>  Tue, 08 Jan 2008 20:43:18 -0500
744
745 ikiwiki (2.18) unstable; urgency=low
746
747   * Split error messages for failures to drop real uid and gid.
748   * Retry dropping uid and gid, possibly this will help with the "Resource
749     temporarily unavailable" failures I've experienced under xen.
750   * Stop testing Encode::is_utf8 in decode_form_utf8: That doesn't work.
751   * decode_form_utf8 only fixed the utf-8 encoding for fields that were
752     registered at the time it was called, which was before the
753     formbuilder_setup hook. Fields added by the hook didn't get decoded.
754     But it can't be put after the hook either, since plugins using the hook
755     need to be able to use form values. To fix this dilemma, it's been changed
756     to a decode_cgi_utf8, which is called on the cgi query object, before the
757     form is set up, and decodes *all* cgi parameters.
758   * aggregate: Only save state if it was already loaded. This didn't used to
759     matter, but after recent changes, state is not always loaded, and saving
760     would kill it.
761   * table: Fix dependency tracking for external data files. Closes: #458387
762
763  -- Joey Hess <joeyh@debian.org>  Sat, 05 Jan 2008 02:15:18 -0500
764
765 ikiwiki (2.17) unstable; urgency=low
766
767   * Improved parentlinks special case for index pages.
768   * redir: Support for specifying anchors.
769   * img: Avoid nesting images when linking to another image. Closes: #457780
770   * img: Allow the link parameter to point to an exterior url.
771   * conditional: Improve regexp testing for simple uses of pagespecs
772     that match only the page using the directive, adding 'included()'
773     and supporting negated pagespecs and added whitespace.
774   * map: Fix handling of common prefix to handle the case where it's
775     in a subdirectory. Patch by Larry Clapp.
776   * aggregate: Fix stupid mistake introduced when converting it to use
777     the needsbuild hook. This resulted in feeds not being removed when pages
778     were updated, and feeds sometimes being forgotten about.
779   * aggregate: Avoid uninitialised value warning when removing a feed that
780     has an expired guid.
781
782  -- Joey Hess <joeyh@debian.org>  Sun, 30 Dec 2007 14:57:44 -0500
783
784 ikiwiki (2.16) unstable; urgency=low
785
786   * Major basewiki reorganisation. Most pages moved into ikiwiki/ subdirectory
787     to avoid polluting the main namespace, and some were further renamed.
788   * meta: Add redir support, based on a patch by Thomas Schwinge.
789   * Redirs added for moved basewiki pages. These will be removed in a future
790     release.
791   * Remove .otl file from sandbox to avoid build ugliness. Closes: #454181
792   * Finally implemented a simple per-page data storage mechanism for plugins,
793     via the %pagestate hash.
794   * Use pagestate in meta to detect potential redir loops.
795   * Added a version plugin that saves state about what's using it, to force
796     pages to rebuild when ikiwiki's version changes.
797   * The calendar plugin stores state about when it needs to be updated,
798     and forces rebuilds of the pages that contain calendars. So
799     running ikiwiki --refresh at midnight is now enough, no need for a full
800     wiki rebuild each midnight.
801   * calendar: Work around block html parsing bug in markdown 1.0.1 by
802     enclosing the calendar in an extra div.
803   * Fix file pruning code to work if ikiwiki is run with "." as the srcdir.
804   * Add an edittemplate plugin, allowing registering template pages, that
805     provide default content for new pages created using the web frontend.
806   * Change formbuilder hook to not be responsible for displaying a form,
807     so that more than one plugin can use this hook.
808     I believe this is a safe change, since only passwordauth uses this hook.
809     (If some other plugin already used it, it would have broken passwordauth!)
810   * Ensure that web edited pages always end in a newline.
811   * Avoid unnecessary stat calls to get mtime when rendering pages, use
812     cached value.
813   * Preserve input file modification times in output files.
814   * Allow dashes in preprocessor directive commands, and shortcuts.
815   * Htmlize parameters passed to the template preprocessor directive before
816     inserting them into the html template. This ensures that markdown
817     acts on them, even if the value is expanded inside a block-level html
818     element in the html template. Closes: #454058
819   * Use a div in the note template rather than a span.
820   * shortcut: Expand %S to the raw input text, not url-encoded.
821   * Don't increment feed numbers when an inline has no feeds. (Nis Martensen)
822   * Allow editing a page and deleting all content, while still disallowing
823     creating a new page that's entirely empty.
824   * meta: Drop support for "meta link", since supporting this for internal
825     links required meta to be run during scan, which complicated its data
826     storage, since it had to clear data stored during the scan pass to avoid
827     duplicating it during the normal preprocessing pass.
828   * If you used "meta link", you should switch to either "meta openid" (for
829     openid delegations), or tags (for internal, invisible links). I assume
830     that nobody really used "meta link" for external, non-openid links, since
831     the htmlscrubber ate those. (Tell me differently and I'll consider bringing
832     back that support.)
833   * meta: Improved data storage.
834   * meta: Drop the hackish filter hook that was used to clear
835     stored data before preprocessing, this hack was ugly, and broken (cf:
836     liw's disappearing openids).
837   * aggregate: Convert filter hook to a needsbuild hook.
838   * map: Don't inline images.
839   * brokenlinks: Don't list the same link multiple times. (%links might
840     contain multiple copies of the same link)
841   * git: Correct display of multiline commit messages in recentchanges.
842   * Re-organise dependencies and recommends now that recommends are installed
843     by default.
844   * Don't refuse to render files with ".." in their name. (Anchor the regexp.)
845   * Work around perl taint checking bug #411786, where perl sometimes randomly
846     sets the taint flag on untainted variables, by disabling taint checking
847     in the deb. This sucks.
848
849  -- Joey Hess <joeyh@debian.org>  Tue, 18 Dec 2007 16:37:22 -0500
850
851 ikiwiki (2.15) unstable; urgency=low
852
853   * Add a new ikiwiki-makerepo program, that automates setting up a repo
854     and importing existing content for svn, git, and mercurial. This makes
855     the setup process much simpler.
856   * Reorganised git documentation.
857   * Actually install the ikiwiki-update-wikilist program.
858   * Improve workaround for perl bug #376329. Rather than double-encoding,
859     which has been reported to cause encoding problems (though I haven't
860     reproduced them), just catch a failure of markdown, and retry.
861     (The crazy perl bug magically disappears on the retry.)
862     Closes: #449379
863   * Add umask configuration option. Closes: #443329
864
865  -- Joey Hess <joeyh@debian.org>  Sat, 01 Dec 2007 11:44:01 -0500
866
867 ikiwiki (2.14) unstable; urgency=high
868
869   * Let CC be used to control what compiler is used to build wrappers.
870   * Use 'cc' instead of gcc as the default compiler.
871   * Security fix: Ensure that there are no symlinks anywhere in the path
872     to the top of the srcdir. In certian unusual configurations, an attacker
873     who could commit to one of the parent directories of the srcdir could
874     use a symlink attack to cause ikiwiki to publish files elsewhere in the
875     filesystem. More details at <http://ikiwiki.info/security/#index29h2>
876
877  -- Joey Hess <joeyh@debian.org>  Mon, 26 Nov 2007 15:26:06 -0500
878
879 ikiwiki (2.13) unstable; urgency=low
880
881   The ikiwiki zombie army release.
882
883   * Add liblwpx-paranoidagent-perl to recommends of Debian package,
884     this is needed to do OpenID really securely.
885   * ikiwiki.setup is licensed same as the basewiki, not GPLed.
886   * inline: Add timeformat parameter to control how the ctime of
887     inlined pages is displayed. Closes: #451019
888   * Add wrappergroup config option, which can be used to cause wrappers
889     to be created owned by some group other than the default. Useful
890     then there's a shared repository with access controlled by a group,
891     to let ikiwiki run setgid to that group.
892   * ikiwiki-mass-rebuild: Run build with the user in all their groups.
893   * Correct markdown in example index page in setup. Closes: #451469
894   * Better error message when a setup file has a syntax error.
895     Closes: #451666
896   * Fix mercurial historyurl in example setup file.
897   * More compact output for the brokenlinks plugin.
898   * Allow trailing slashes after page names in wikilinks.
899   * Don't consider links to anchors on the same page to be self links.
900     Patch by Daniel Burrows. Closes: #451729
901   * When usedirs is disabled, link direct to index.html files, not to
902     directories, to improve browsing of file:// urls.
903     Patch by Daniel Burrows. Closes: #451728
904   * Allow html5 video and audio tags and their attributes in the htmlscrubber.
905   * toc: Handle html elements embedded inside a header, rather than
906     stopping collecting the header text at the first element.
907
908  -- Joey Hess <joeyh@debian.org>  Sat, 24 Nov 2007 16:06:22 -0500
909
910 ikiwiki (2.12) unstable; urgency=low
911
912   [ Joey Hess ]
913   * Fix some issues with toggles in preview mode.
914   * Fix an aggregate plugin expiry bug. Over time, it's possible for the same
915     page name to be expired and reused for several distinct guids. When this
916     happened, the expiry code counted each past guid that had used that page
917     name as a currently existing page, and thus expired too many pages.
918   * Avoid a race in the git rcs_commit function, by not assuming HEAD will
919     stay the same for the duration of the function.
920   * Avoid using commands like git-diff and instead use "git diff".
921     In some configurations, only the main git command is in the path.
922   * Improve the RecentChanges display for git merges, by passing -c instead
923     of -m to git-log, and by skipping display of commits that change no
924     pages.
925   * Don't truncate git commit messages to the first line in RecentChanges,
926     show the full message.
927   * map: Recent changes caused unnecessary ul's to be inserted for items
928     that were all at the same level, fix. Closes: #449285
929
930   [ Josh Triplett ]
931   * Fix table plugin to not generate an unbalanced tbody tag with header=no
932   * Add xmlns attribute on html element in templates; pages can now
933     validate.
934
935   [ Joey Hess ]
936   * In the example setup file, use mode 6755 for the git post-update hook.
937     It needs to be setgid if the master repo is a shared repository, so
938     that pushes into the working copy repository happen as the same group,
939     avoiding permissions problems.
940   * The first git commit legitimately has no parents. Avoid recentchanges
941     spewing uninitialised value warnings and debug messages about it.
942     Dummying up a parent of 0000000 allows gitweb to work too.
943
944  -- Joey Hess <joeyh@debian.org>  Mon, 12 Nov 2007 14:35:09 -0500
945
946 ikiwiki (2.11) unstable; urgency=low
947
948   * Correct a pair of logic errors that triggered if svnpath was empty.
949   * If gitorigin_branch is set to the empty string, don't push or pull.
950     Useful for laptop clones of remote wikis.
951   * Add a calendar plugin, contributed by Manoj Srivastava.
952   * Reformat calendar plugin to ikiwiki conventions.
953   * The calendar plugin made *every* page depend on every other page,
954     which seemed a wee tiny little bit overkill. Fixed the dependency
955     calculations (I hope.)
956   * Removed manual ctime statting code, and just have the calendar plugin use
957     %pagectime.
958   * Ikiwiki has moved into a git repository.
959   * postsparkline: Avoid a confusing error message if no pages match
960     and instead show an empty graph.
961   * Add handling of feeds for nested inlines, as well as support for a
962     single page containing two different feeds.
963   * Also fixed some places in inline that failed to use destpage correctly.
964   * ikiwiki-mass-rebuild: Patch from HenrikBrixAndersen to fix order
965     of permissions dropping code to work on FreeBSD.
966   * ikiwiki-mass-rebuild: Don't clear PATH from the environment.
967   * Run git-commit -q (though it doesn't do much good due to its stderr
968     abuse).
969
970  -- Joey Hess <joeyh@debian.org>  Fri, 26 Oct 2007 03:29:09 -0400
971
972 ikiwiki (2.10) unstable; urgency=low
973
974   * Tidy ctime debug output for git.
975   * French translation update. Closes: #445923
976   * Fix --get-ctime with git, needed to remove srcdir from filename.
977   * In the cgi edit path, reload the index file before rendering. A bug
978     showed up where a web edit that added a page caused a near-concurrent
979     web edit to fail in will_render. While it would be hard to reproduce this,
980     my analysis is that the failing cgi started first, loaded the index file
981     (prior to locking) then the other cgi created the new page and rendered
982     it, and then the failing cgi choked on the new file when _it_ tried to
983     render it. Ensuring that the index file is loaded after taking the lock
984     will avoid this bug.
985   * Fix strange stderr-hiding code in the git module, allow error messages
986     to be passed on to stderr. Also fixes a potential bug, since git error
987     meesages were treated as if they came from git stdout.
988   * Add a "createlink" class attribute to the span for wikilinks pointing
989     to not-yet-existing pages. I don't have a useful style defined for that
990     though.
991   * Rewritten rst plugin by madduck is a python program that communicates with
992     ikiwiki via XML RPC. This should be much faster than the old plugin that
993     had to fork python for every rst page render. Note that if you use
994     the rst plugin, you now need to have the RPC::XML perl module installed.
995   * Danish translation from Jonas Smedegaard. Closes: #446952
996   * Support git authors of the form "joey <joey>", which is common when
997     importing from a svn repo.
998
999  -- Joey Hess <joeyh@debian.org>  Sat, 20 Oct 2007 19:42:46 -0400
1000
1001 ikiwiki (2.9) unstable; urgency=low
1002
1003   * Fix copyright and licence styling.
1004   * tag: Add taglink preprocessor directive, supporting visible tag links.
1005     Closes: #443344
1006   * map: Fully specify paths to links to avoid issues when the bestlink
1007     didn't point to the correct page.
1008   * map: Render pages on the way to subpages whose parent pages
1009     are not included in the map. Include special styling for such pages.
1010   * map: Remove common prefixes and don't over-indent.
1011   * Add class option to htmllink().
1012   * img: Allow link=somepage to cause the image to link to a given page.
1013     Slight overriding of link, as link=no is still used to disable the linking
1014     entirely. Unless you have a page named "no"..
1015   * Save index after previewing page edit, since even previewing can create
1016     files in some situations, and this is appropriate in some cases, such as
1017     the teximg plugin's error log file.
1018     Such files will be automatically cleaned up at an appopriate later time.
1019   * Don't allow whitespace in link text in a wikilink. This was still
1020     allowed by the regexp in one case though not documented to work, and
1021     was ambiguous with preprocessor directives.
1022   * camelcase: Tighten regexp to avoid false positives. WikiWords are only
1023     linkified now if they are preceeded by whitespace.
1024
1025  -- Joey Hess <joeyh@debian.org>  Sun, 30 Sep 2007 15:07:24 -0400
1026
1027 ikiwiki (2.8) unstable; urgency=low
1028
1029   * Redid the debian/copyright file, using the proposed new copyright file
1030     format. Included many details not previously listed in the old file.
1031   * inline: add feedonly option, set feedonly=yes to get only the feed button
1032     but not inline the pages.
1033   * meta: Support license and copyright information. The information will
1034     be shown in the page footer. HTML will also be inserted that should
1035     support the rel=license microformat as well as the HTML spec's
1036     rel=copyright.
1037   * table plugin: Actually specify the delimiter when parsing CSV.
1038   * table plugin: The previous version broke WikiLinks inside quoted values.
1039     Fix this by linkifying CSV data after parsing it, while DSV data is still
1040     linkified before parsing.
1041
1042  -- Joey Hess <joeyh@debian.org>  Sun, 16 Sep 2007 20:02:25 -0400
1043
1044 ikiwiki (2.7) unstable; urgency=low
1045
1046   [ Joey Hess ]
1047   * Add an editcontent hook.
1048   * Support for looking in multiple directories for underlay files.
1049   * Plugins can add new directories to the search path with the add_underlay
1050     function.
1051   * Split out smiley underlay files into a separate underlay, so if the plugin
1052     isn't used, the wiki isn't bloated with all those files.
1053   * Allow -cgi -wrapper to be passed on the command line to generate a
1054     wrapper.
1055   * Fix some taint issues with generating wrappers using the command line.
1056   * Don't allow newlines in link text in a wikilink.
1057   * Tables containing links with a link text were misparsed, because the "|"
1058     in the wikilink looked like a table field separator. Avoid this ambiguity
1059     by linkifying the data before parsing it as a table.
1060   * Turn on allow_loose_quotes in the table plugin's Text::CSV object,
1061     so that links from wikilinks don't confuse the parser.
1062   * mercurial: Pass --style default to hg log to ensure right format is used.
1063   * mercurial: Fix rcs_getctime (thanks, bma)
1064
1065   [ Josh Triplett ]
1066   * Use git-log rather than the shell, git-rev-list, and git-diff-tree.
1067     Patch by Jamey Sharp <jamey@minilop.net>.
1068   * Renames from git-diff-tree aren't handled, so don't ask for them.
1069     Patch by Jamey Sharp
1070   * Handle operating in sub-trees of a git repository.
1071     When looking for git commits that affect the wiki, only include changes
1072     that affect the ikiwiki source directory. If that is not the top-level
1073     directory in this git repository, strip off the prefix as given by
1074     `git-rev-parse --show-prefix` from all names reported by git-log.
1075     Patch by Jamey Sharp
1076
1077   [ Joey Hess ]
1078   * Correct generation of RFC 3339 format times for atom/rss feeds. Always use
1079     gmtime for these since a time zone is not specified.
1080   * Updated Spanish translation from Victor Moral.
1081   * table: Text::CSV doesn't return decoded unicode (XS module); decode its
1082     return values.
1083   * Change git test suite to reflect change in log for initial repo creation
1084     commit.
1085   * Add the ikiwiki-update-wikilist command.
1086   * Exclude external plugin from syntax check since it uses a module that is
1087     not in the build depends. Closes: #441171
1088
1089  -- Joey Hess <joeyh@debian.org>  Sat, 08 Sep 2007 21:54:11 -0400
1090
1091 ikiwiki (2.6.1) unstable; urgency=low
1092
1093   * Ye olde brown paper bag.
1094   * Fix minor bug when blogging by cgi, introduced in last version.
1095   * Fix a bug in unlockwiki intorduced last version that made it crash ikiwiki
1096     if it wasn't locked when called. This is known to break post-commit
1097     emails.
1098
1099  -- Joey Hess <joeyh@debian.org>  Sun, 26 Aug 2007 13:38:23 -0400
1100
1101 ikiwiki (2.6) unstable; urgency=low
1102
1103   * Various minor bug fixes for silly mistakes in the code, thanks to the
1104     various reviewers.
1105   * Fix problems with previewing in the graphviz plugin. Thanks,
1106     HenrikBrixAndersen.
1107   * Allow raw html in the rst plugin.
1108   * Add --set-option command line switch.
1109   * pagetemplate: don't display template name
1110   * Add rel=tag attribute to tag links, supporting that microformat, as well
1111     as allowing them to be styled specially. Thanks, NicolasLimare.
1112   * Add sessioncgi hook.
1113   * Move blog form code out of CGI.pm and into the inline plugin.
1114   * Updated Spanish translation from Victor Moral.
1115   * Updated French translation from Cyril Brulebois. Closes: #437181
1116   * The toc directive doesn't work well or make sense inside an inlined page.
1117     Disable it when the page with the toc is nested inside another page.
1118   * Apply a patch from NicolasLimare adding modification date tags to rss and
1119     atom feeds, and also changing the publication time for a feed to the
1120     newest modiciation time (was newest creation time).
1121   * The patch also adds dcterms:creator to rss items that have a known author.
1122   * Support pagespec "functions" with no parameters, like included() in the
1123     conditional plugin.
1124   * Add time=mtime option to postsparkline.
1125   * Fix --libdir to work at the command line.
1126   * Plugins can now be written as standalone external programs, which can
1127     be written in any language that can do XML RPC.
1128   * Change yet again how unhandled and escaped preprocessor directives are
1129     re-output onto the page. Hopefully I finally got it right..
1130   * Fix bug in deletion/move during edit code introduced in 1.44. Need to take
1131     the underlaydir into account.
1132   * Fix bug when editing file from underlaydir, need to rcs_add it even though
1133     a page creation isn't occuring.
1134   * Various minor fixes and stylistic improvements suggested by Perl::Critic.
1135   * Applied Jeremie Koenig's pluggable editpage buttons patch:
1136     - add a title to the editpage form;
1137     - pass a reference to the list of buttons to the formbuilder_setup
1138       hooks, so we can add ours;
1139     - relax asumption about the possible submit values (use "Save Page"
1140       explicitly);
1141     - de-hardcode the submit buttons from the editpage template
1142       (This was needed for compatability with a bug in CGI::FormBuilder
1143       3.0401, but ikiwiki already needs a newer version.)
1144   * Pass buttons to all other formbuilder_setup hooks too.
1145   * Add color parameter to postsparkline. Closes: #438900
1146   * Add proper Homepage field to Debian package (needs uber-new dpkg).
1147   * Add monotone support, contributed by William Uther.
1148   * Avoid ugly gettext messages if LANG is empty. Closes: #439035
1149   * Added teximg plugin to generate images from latex code.
1150     Contributed by Patrick Winnertz as a GSoC project.
1151   * Call the formbuilder hook for the edit page.
1152   * Call decode_form_utf8 before running formbuilder_setup hooks.
1153   * Add editdiff plugin contributed by Jeremie Koenig.
1154   * Fix it to not leak path info.
1155   * Add embed plugin, which allows embedding content from google maps, video,
1156     calendar, and youtube. Normally, the htmlsanitiser eats these since they
1157     use unsafe tags, the embed plugin overrides it for trusted sites.
1158   * The googlecalendar plugin is now deprecated, and will be removed
1159     eventually. Please switch to using the embed plugin.
1160
1161  -- Joey Hess <joeyh@debian.org>  Fri, 24 Aug 2007 17:09:44 -0400
1162
1163 ikiwiki (2.5) unstable; urgency=low
1164
1165   * Wrap the editpage template in the standard misctemplate, this allows the
1166     pagetemplate hook to work for that page.
1167   * Above change fixes the favicon plugin to work on edit pages.
1168   * Correct some issues with escaped preprocessor directives.
1169   * Make the map plugin notice when pages in the map are deleted and update
1170     it.
1171   * Add a htmlext config option, this can be used to make ikiwiki generate
1172     html files with a different extension.
1173   * Fix graphviz plugin to not try to read images as utf-8; they might
1174     sometimes contain invalid utf-8 byte sequences. Thanks,
1175     HenrikBrixAndersen.
1176   * Fix re-rendering of pages when a linked to page goes away. This was broken
1177     in version 1.50 with the addition of %destsources. Thanks, Ethan
1178     Glasser-Camp.
1179   * Add templatefile hook.
1180   * Add pagetemplate plugin, which allows changing the template used for
1181     a page. (Not to be confused with the hook of the same name..)
1182   * Add a libdir config option to let ikiwiki load perl modules, including
1183     plugins, from a user-configurable directory.
1184
1185  -- Joey Hess <joeyh@debian.org>  Thu, 26 Jul 2007 21:42:43 -0400
1186
1187 ikiwiki (2.4) unstable; urgency=low
1188
1189   * Make the toc plugin use html-compatible anchors. This is necessary since
1190     most web sites serve ikiwiki xhtml files as text/html and mozilla browsers
1191     get confused. So it's best for ikiwiki to follow the compatability
1192     recommendations in appendix C of the XHTML spec. Closes: #432045
1193   * Support building on systems that lack asprintf.
1194   * mercurial getctime is currently broken, apparently by some change in
1195     mercurial version 0.9.4. Turn the failing test case into a TODO test case.
1196   * Fix links to alternate stylesheets when usedirs is enabled. Closes: #432556
1197   * Use type= not style= in html for alternate stylesheets, which is more
1198     correct (but in my testing both epiphany and iceweasel work ok with
1199     style=text/css).
1200   * In img tag, allow link=no to disable link to full size image. Thanks,
1201     Nis Martensen. Closes: #433188
1202
1203  -- Joey Hess <joeyh@debian.org>  Sun, 15 Jul 2007 15:02:43 -0400
1204
1205 ikiwiki (2.3) unstable; urgency=low
1206
1207   * Corrected a typo in an error handler in the image plugin.
1208   * Allow svnpath config option to contain additional extra slashes anywhere
1209     w/o confusing ikiwiki.
1210   * Rcs modules are now imported, so other modules that need similar
1211     normalisation of configs etc can do so.
1212   * Patch fixing various additional problems with test suite. Closes: #425891
1213     once more.
1214   * French update from Jean-Luc Coulon. Closes: #430771
1215   * Correct a longstanding bug that could cause the edit form to be empty.
1216     This turns out to have occured if the cgi wrapper was created by an
1217     ikiwiki invocation that included --rebuild. Thanks to Carl Worth for
1218     tracking that down.
1219
1220  -- Joey Hess <joeyh@debian.org>  Fri, 29 Jun 2007 18:30:38 -0400
1221
1222 ikiwiki (2.2) unstable; urgency=low
1223
1224   * Change the aggregate plugin's locking strategy. Now it defers loading state
1225     until the wiki is building and already locked, unless it's aggregating.
1226     When aggregating, it does not wait for the lock if it cannot get it, and
1227     instead exits, to prevent aggregating processes from piling up.
1228   * Updated Spanish translation from Victor Moral.
1229   * Correct bug in the img plugin that caused dependencies on images to not
1230     always be tracked correctly.
1231   * Deal better with rebuilds that involve moving files; track and clean up the
1232     old files.
1233   * Change where the img plugin puts scaled images. It's better to make the
1234     scaled images subpages of the page that embeds them, rather than putting
1235     them alongside the original image, since if two pages scale the same image
1236     the same way, this prevents complications in dealing with two pages
1237     creating the same file. The move will be handled transparently, though you
1238     might want to rebuild your wiki to make it occur in one step.
1239   * Fix FTBFS in test suite introduced in last version. Closes: #425891
1240   * Apply a patch from Carl Worth allowing a class attribute to be passed
1241     through the img plugin. Also allow the id attribute to be passed through.
1242   * More consistent encoding of titles in rss and atom feeds. Don't use
1243     ESCAPE=HTML for titles in the templates for these feeds, and instead
1244     escape the title going in to the template. Previously, the title was
1245     sometimes double-escaped in a feed (if set via meta title), and sometimes
1246     not (if set from the page filename).
1247   * In the meta plugin, when a title is set, encode the html entities in it
1248     numerically. This works better in the current landscape of a rss spec that
1249     doesn't specify encoding, and variously broken feed consumers, according
1250     to <http://www.rssboard.org/rss-profile#data-types-characterdata>.
1251   * Correct some issues with display of unhandled preprocessor directives.
1252   * Apply a patch from Carl Worth adding support for using globs in link()
1253     in a PageSpec.
1254   * Explode some of the more insane regexps.
1255   * Add test suite for preprocessor directive parsing.
1256   * Fix wrapper generator and untaint code's handling of strings contining
1257     newlines.
1258   * Make the url absolution code for feeds significantly more robust.
1259   * Add typographyattributes configuration setting to typography plugin.
1260
1261  -- Joey Hess <joeyh@debian.org>  Mon, 18 Jun 2007 21:21:56 +0100
1262
1263 ikiwiki (2.1) unstable; urgency=low
1264
1265   [ Joey Hess ]
1266   * Use div layout for the signin and preferences forms, so that they can be
1267     styled using the stylesheet, rather than by creating signin and prefs
1268     templates.
1269   * Make the openid login form nicely styled.
1270   * Fix a bug that prevented clearing email or subscriptions.
1271   * Improve handling of edits of locked pages by users who are not yet signed
1272     in.
1273   * Make testpagespec more robust, including checking for missing/bad
1274     parameters.
1275   * Add all=no option to conditional, can be used to form conditionals that do
1276     not need to examine every page in the wiki.
1277   * Add the needsbuild hook. Plugins can use this to manipulate which files
1278     ikiwiki builds when refreshing the wiki.
1279
1280   [ Josh Triplett ]
1281   * Add an account-creation password as a simple anti-spam mechanism. If
1282     set in the wiki setup, passwordauth will require the password in
1283     order to create an account.
1284
1285   [ Joey Hess ]
1286   * Updated Czech translation from Miroslav Kure.
1287   * Apply patch from Paweł Tęcza to avoid using -L in Makefile as it's not
1288     available in older finds.
1289   * Make all templates have a footer div to ease themeing. Required template
1290     and style sheet updates, and unless you're using customised versions,
1291     you'll want to rebuild wikis on upgrade to this version to avoid
1292     inconsistencies.
1293   * Allow WIKINAME to to used in footers, as an example of something to put
1294     there.
1295   * Patch from hb to fix the pagestats plugin, which was broken by a past
1296     change to the backlinks() function.
1297   * Fix some bugs in password handling:
1298     - If the password is empty in preferences, don't clear the existing
1299       password.
1300     - Actually check the confirm password field, even if it's left empty.
1301   * Add a destpage parameter to the filter hook.
1302   * Fix links to smilies generated by the smiley plugin for inlined pages. The
1303     old links were often wrong, but often still worked by accident.
1304   * Add a test ensuring that the basewiki is self-contained and has no broken
1305     links.
1306
1307  -- Joey Hess <joeyh@debian.org>  Sat, 19 May 2007 20:37:38 -0400
1308
1309 ikiwiki (2.00) unstable; urgency=low
1310
1311   [ Josh Triplett ]
1312   * Avoid using GNU extensions to cp during "make install", which did
1313     not work on FreeBSD.  Thanks to Henrik Brix Andersen for the patch.
1314
1315   [ Joey Hess ]
1316   * Use fieldsets in the preferences form to group related options together.
1317     Especially cleans up the ordering of the admin's preferences form.
1318   * Use a fieldset to set off the openid entry from the rest of the login
1319     form.
1320   * Enable openid logins by default.
1321   * Enable usedirs by default.
1322
1323   [ Josh Triplett ]
1324   * fieldset support appeared in CGI::FormBuilder 3.05, so increase
1325     version in Depends on libcgi-formbuilder-perl to 3.05
1326
1327   [ Joey Hess ]
1328   * If Net::OpenID::Consumer is not available, the openid module will quietly
1329     disable itself, this avoids needing a hard dependency on the perl module.
1330
1331  -- Joey Hess <joeyh@debian.org>  Mon, 30 Apr 2007 00:43:02 -0400
1332
1333 ikiwiki (1.51) unstable; urgency=low
1334
1335   [ Joey Hess ]
1336   * Support setting svnpath to "" for wikis that are rooted at the top of
1337     their svn repositories, with no trunk directory.
1338   * Minor template improvements by Alessandro.
1339   * In mercurial backend, untaint ipaddr when using it as the user for the
1340     commit. Thanks, Alexander Wirt. Closes: #420428
1341   * Fix aggregator to not warn when a feed contains no body content at all.
1342   * Work around bug #420636 by, if XML::Parser crashes, running the feed
1343     content though Encode::decode_utf8.
1344
1345   [ Josh Triplett ]
1346   * Change basewiki CSS to not put a border around images used as links.
1347
1348   [ Joey Hess ]
1349   * Move the footer div to enclose tags and links too.
1350   * More style sheet updates, remove the hack that used the tags div to create
1351     the footer border.
1352   * Due to template changes and style sheet changes that depend on them,
1353     wiki rebuilds are recommended on upgrade to this version.
1354   * Avoid .svn directories when installing from svn checkout.
1355   * Fix sending of commit mails when new pages are added via the web.
1356   * Add user(name) to the PageSpec for commit subscriptions.
1357   * pagespec_match() has changed to take named parameters, to better allow
1358     for extended pagespecs. The old calling convention will still work for
1359     back-compat for now.
1360   * The calling convention for functions in the IkiWiki::PageSpec namespace
1361     has changed so they are passed named parameters.
1362   * Plugin interface version increased to 2.00 since I don't anticipate any
1363     more interface changes before 2.0.
1364   * Updated Gujarati translation from Kartik Mistry. Closes: #421198
1365   * Make pagespec_match return an object that can be stringified to tell
1366     the reason why the match failed or succeeded.
1367   * Add testpagespec plugin, which might be useful to see why a pagespec isn't
1368     working as desired.
1369
1370   [ Josh Triplett ]
1371   * Fix bestlink to use pagecase for pages in userdir, to support pages
1372     with non-lowercase filenames.
1373
1374   [ Joey Hess ]
1375   * Include wikiname in syslogged messages.
1376   * Updated Polish translation from Paweł Tęcza.
1377   * Updated Czech translation from Miroslav Kure.
1378   * Updated Spanish translation from Victor Moral.
1379   * Apply patch from hb that uses the full path to a file when adding a file
1380     using the mercurial backend. Not 100% sure why it failed w/o the full
1381     path, but this still passes the test suite, and indeed, is how the test
1382     suite calls hg add.
1383
1384  -- Joey Hess <joeyh@debian.org>  Sun, 29 Apr 2007 00:01:23 -0400
1385
1386 ikiwiki (1.50) unstable; urgency=low
1387
1388   [ Josh Triplett ]
1389   * Add a graphviz plugin.
1390   * Suggests: graphviz
1391   * Enhance helponformatting and related documentation to supply more
1392     information about available preprocessor directives.
1393   * Add myself as a co-maintainer, with Joey's approval.
1394
1395   [ Joey Hess ]
1396   * Add support for PROFILE=1 to the Makefile, this turns on profiling of the
1397     wiki build using Devel::Profiler (Dprof can't handle ikiwiki).
1398   * Add a new %destsources hash, which maps between a destination file and
1399     the source page used to create it, ie it's the reverse of %renderedfiles.
1400   * Use %destsources in htmllink and urlto for 20-50% speedup. Thanks
1401     Josh Triplett for the idea.
1402   * Optimise displaytime, trimming maybe 6% off the build time.
1403
1404   [ Josh Triplett ]
1405   * Conflicts/Replaces/Provides the unofficial ikiwiki-plugin-table
1406     package, because ikiwiki now provides the table plugin, and thus has
1407     a file overlap with ikiwiki-plugin-table.
1408   * Add libtext-csv-perl to Suggests, for the table plugin.
1409   * Add libdigest-sha1-perl to Suggests, for sparkline and graphviz.
1410   * Add libtext-typography-perl to Suggests for the typography plugin.
1411
1412   [ Joey Hess ]
1413   * Add postformtext parameter to inline.
1414   * Internal version number and installdir substitutions were lost, fix.
1415   * Apply patch from Ethan to improve an error message that should never
1416     happen.
1417   * Patch from Tuomov to link to the directory in feeds when usedirs is in
1418     effect. Note that this changes permalinks, so if you are already using
1419     usedirs you'll have to deal with that on upgrade to this version.
1420   * Add feedshow parameter to inline, which can be useful for eg, removing
1421     old posts from feeds when permalinks change.
1422   * Add .dpkg-tmp to prune regexp, so that if ikiwiki is run right as it's
1423     being upgraded by dpkg it will ignore dpkg temp files in the basewiki.
1424
1425  -- Joey Hess <joeyh@debian.org>  Sun, 15 Apr 2007 16:02:05 -0400
1426
1427 ikiwiki (1.49) unstable; urgency=low
1428
1429   [ Joey Hess ]
1430   * Add --post-commit option, which allows for the case of a split web server
1431     and RCS server (or a push mirror). With this the RCS server can have a
1432     real post-commit hook that sshs back to the web server, and runs ikiwiki
1433     in post-commit mode to update the wiki.
1434   * Fix urls generated by mirrorlist plugin.
1435   * Add a templates page to the basewiki. It will automatically list all
1436     available templates. Rename the old templates page to wikitemplates.
1437   * Include the note template in the basewiki.
1438   * Add a popup template in the basewiki. CSS based on some by Martin Krafft.
1439   * Make the note, popup, and plugin templates detect missing variables and be
1440     self-documenting, listing the available variables.
1441   * Hide excess backlinks and expand using CSS trick; control quantiy via
1442     the numbacklinks setting.
1443   * Finally apply the index.html patch, with thanks to everyone who worked
1444     on and supported creating it (especially Tuomov). This adds a "usedirs"
1445     option that makes ikiwiki use foo/index.html instead of foo.html as
1446     output page names. It is not yet enabled by default.
1447   * Fix a bug in the img plugin that caused thumbnailed files to not be
1448     tracked properly.
1449   * Make the OpenID library a reccommendation of the Debian package, rather
1450     than just a suggests, since OpenID is enabled by default.
1451   * Fix a bug that caused link(foo) to succeed if page foo did not exist.
1452   * Fix tags to page names that contain special characters.
1453
1454   [ Josh Triplett ]
1455   * Use pngcrush and optipng on all PNG files.
1456   * Add neutral smileys ":|" and ":-|", and question icon smiley "(?)",
1457     with images taken from phpBB (GPL) and converted with gif2png.
1458   * Improvements to Description in debian/control:
1459     * Note that some plugins have additional dependencies, found among the
1460       Recommends and Suggests.
1461     * ikiwiki supports both RSS and Atom feeds.
1462     * Fix typos.
1463   * Add Homepage field.
1464   * Add XS-Vcs-Browser field.
1465
1466   [ Joey Hess ]
1467   * Updated French translation from JLC. Closes: #417982
1468   * Reorder the icon in the template above the stylesheets, to avoid icon
1469     flashing during page load.
1470   * Fix smiley plugin to scan smileys.mdwn after it's updated, which fixes
1471     a bug caused by committing changes to smilies.mdwn.
1472   * Fix display of escaped wikilinks containing anchors.
1473
1474   [ Josh Triplett ]
1475   * Remove stray semicolon in linkmap.pm.
1476
1477  -- Joey Hess <joeyh@debian.org>  Sun, 08 Apr 2007 16:14:46 -0400
1478
1479 ikiwiki (1.48) unstable; urgency=low
1480
1481   * Fix link() PageSpecs to not just look at the raw link text, but at where
1482     that given link points based on the page doing the linking. Note that this
1483     could make such PageSpecs match different things than before, if you
1484     relied on the old behavior of them only matching the raw link text.
1485   * This required changing the match_* interface, adding a third parameter.
1486   * Allow link() PageSpecs to match relative, as is allowed with globs.
1487   * Add postform option to inline plugin.
1488   * Add an bug tracker to the softwaresite example.
1489   * Make ikiwiki's stylesheet support printing by hiding parts of the page
1490     that shouldn't appear in a printout: Search box, actions bar,
1491     blog post form, tags, backlinks, and feed buttons.
1492   * Finally fixed the longstanding inline removal bug.
1493   * Renamed %oldpagemtime to a more accurately named %pagemtime and fix it to
1494     actually store pages' mtimes.
1495   * Add "mtime" sort parameter to inline plugin.
1496   * Fix mercurial backend to deal with empty commit messages.
1497
1498  -- Joey Hess <joeyh@debian.org>  Sat, 24 Mar 2007 11:14:10 -0400
1499
1500 ikiwiki (1.47) unstable; urgency=low
1501
1502   * Fix a security hole that allowed insertion of unsafe content via the meta
1503     plugins's support for inserting html link and meta tags. Now such content
1504     is passed through the htmlscrubber like everything else.
1505   * Unfortunatly, that means that some valid uses of those tags are no longer
1506     usable, and special case methods needed to be added for including
1507     stylesheets, and for doing openid delegation. If you use either of these
1508     in your wiki, it will need to be modified. See the meta plugin docs
1509     for details.
1510
1511  -- Joey Hess <joeyh@debian.org>  Wed, 21 Mar 2007 14:05:00 -0400
1512
1513 ikiwiki (1.46) unstable; urgency=low
1514
1515   * Fix a bug with inlined create page links, including Discussion links on
1516     blog post pages. The links will now create pages relative to the page that
1517     actually contains the link.
1518   * French update. Closes: #414597
1519   * Fix some broken logic in cgi creation of a subpage when a toplevel page
1520     with the same name already exists, and generally simplify the edit code.
1521   * Make ikiwiki -verbose -setup with a setup file that enabled syslog logging
1522     output the verbose build log to stdout, rather than to the syslog.
1523   * Detect the case of two people independently creating the same page at the
1524     same time, and let the second person resolve the conflict.
1525   * Applied a patch from Michał to make the mercurial backend pass --quiet to
1526     hg.
1527   * Fix a security hole that allowed a web user to insert arbitrary html in
1528     the title of a page due to missing escaping of titles in the meta plugin.
1529
1530  -- Joey Hess <joeyh@debian.org>  Wed, 21 Mar 2007 01:51:30 -0400
1531
1532 ikiwiki (1.45) unstable; urgency=low
1533
1534   * Allow for underscores to appear in page titles, if encoded appropriately
1535     (__95__) in filenames. Previously, all underscores were replaced with
1536     spaces. Thanks, Enrico Zini for noticing that bug.
1537   * Add "template" option to inline plugin to allow for use of customised
1538     templates.
1539   * Add titlepage template for inline plugin.
1540   * Add preview parameter to preprocesser calls, use this rather than the
1541     previous ugly hack used to avoid writing rss feeds in previews.
1542   * Fix the img plugin to avoid overwriting images in previews. Instead it
1543     does all the work to make sure the resizing works, and dummys up a resized
1544     image using width and height attributes.
1545   * Also fixes img preview display, the links were wrong in preview before.
1546   * Add a sparkline plugin.
1547   * Add a postsparkline plugin.
1548   * The slash escaping when adding to a blog from the CGI was not working
1549     since it ended up being double-escaped. Instead, just remove slashes.
1550   * Fix some nasty issues with page name escaping during previewing
1551     (introduced in 1.44).
1552   * Add a table plugin, derived from the one written by Victor Moral.
1553   * The underscore escaping support exposed a bug in edit links: Such links
1554     were titlepage escaped in the urls, and then doubly escaped by the CGI
1555     when editing. To fix this, I removed the titlepage escaping in the edit
1556     urls.
1557   * That means that *every edit link* on the wiki is potentially changed.
1558     Rebuilding wikis on upgrade to this version therefore necessary; enabled
1559     that in postinst.
1560   * Correct a deadlock that could occur in post-commit if the aggregate plugin
1561     was enabled and tried to lock the already locked wiki.
1562
1563  -- Joey Hess <joeyh@debian.org>  Sat, 10 Mar 2007 21:11:05 -0500
1564
1565 ikiwiki (1.44) unstable; urgency=low
1566
1567   * Patch by Ben to fix validaton of atom feeds by fixing the category tags.
1568   * Add a openidlogin-bg.gif to wikiicons and have the stylesheet use it for the
1569     OpenID login form rather than linking to a remote logo, to avoid various
1570     issues. Since there is not yet a license for the actual OpenID logo, this
1571     file is currently a blank image. Users who want to can copy
1572     http://openid.net/login-bg.gif into their wiki.
1573   * Allow setting NOTAINT=1 when building the wiki to remove taint checking
1574     flags, which can be useful on some hosting providers.
1575   * Fix a bug that made links like [[0|foo]] use "foo" as the link text,
1576     instead of "0".
1577   * Changed calling convention for httmllink slightly. The first three
1578     parameters remain the same, but additional options are now passed in using
1579     named parameters.
1580   * Change plugin interface version to 1.02 to reflect this change.
1581   * Add a new anchor option to htmllink. Thanks Ben for the idea.
1582   * Support anchors in wikilinks.
1583   * Add a "more" plugin based on one contributed by Ben to allow implementing
1584     those dreaded "Read more" links in blogs.
1585   * Don't error out if estcmd fails, just print a warning message. estcmd is
1586     too fragile to let it kill ikiwiki.
1587   * Make img plugin not fail immediately if Image::Magick is not available.
1588     This lets ikiwiki not build depend on perlmagic.
1589   * Detect old versions of xgettext and avoid using them.
1590   * perl is broken: print "" || die fails! Work around this insanity.
1591   * Smarter detection of no-op changes to po files.
1592   * Elegant patch from Ethan to clean up the display of page names in the
1593     dropdown when creating a new page.
1594   * Since the CGI had to drop the wiki lock to avoid deadlocking the
1595     commit hook, it was possible for one CGI to race another one and "win"
1596     the commit of both their files. This race has been fixed by adding a new
1597     commitlock, which when locked by the CGI, disables the commit hook
1598     (except for commit mails). The CGI then takes care of the updates the
1599     commit hook would have done.
1600   * French translation update. Closes: #411899
1601   * Patch from HenrikBrixAndersen to fix a broken use of foreach in the
1602     search plugin.
1603   * Correct a bug that could lead to infinite looping after signin in some
1604     circumstances.
1605   * Patch from Ethan to improve behavior if a page is deleted or moved while
1606     someone is editing it.
1607   * Some cleanup of field setting in the failed edit and conflict handling
1608     code.
1609
1610  -- Joey Hess <joeyh@debian.org>  Sat, 24 Feb 2007 20:16:35 -0500
1611
1612 ikiwiki (1.43) unstable; urgency=low
1613
1614   * Allow plugins to add new types of tests that can be used in PageSpecs.
1615   * Add a "conditional" plugin, which allows displaying text if a condition
1616     is true. It is enabled by default so conditional can be used in the
1617     basewiki.
1618   * Use conditionals in the template for plugins, so that plugin pages
1619     say if they're currently enabled or not, and in various other places
1620     in the wiki.
1621   * Updated Spanish translation.
1622   * Make the basewiki be full of symlinks to pages that should be the same
1623     in the doc wiki. This will allow direct edits to alter the base wiki
1624     without manual munging.
1625   * Fix the template, toggle, and conditional plugins to filter text before
1626     preprocessing it.
1627   * Fix smiley plugin to support smileys at the very beginning or end of
1628     the content.
1629   * Allow multiple tag settings to appear in a single page.
1630   * Many changes to make ikiwiki very resistant to write failures
1631     including out of disk space situations. ikiwiki should never leave
1632     truncated files, and if the error occurs during a web-based file edit,
1633     the user will be given an opportunity to retry.
1634     Inspired by the many ways Moin Moin destroys itself when out of disk. :-)
1635   * Fix syslogging of errors.
1636   * Patch from Ethan to allow using meta tags to set creation dates of pages.
1637   * Add a prettydate plugin that formats dates in a more readable fashion.
1638     (I had to get a pretty date somehow today..)
1639   * Updated Czech translation.
1640   * Avoid potential syslog format string issue, although only older versions
1641     of perl are vulnerable and it is not known to really be exploitable from
1642     ikiwiki.
1643   * Add explicit module prereqs to Makefile.PL
1644   * New domain name for ikiwiki: ikiwiki.info. Update your links.
1645
1646  -- Joey Hess <joeyh@debian.org>  Sun, 18 Feb 2007 23:26:32 -0500
1647
1648 ikiwiki (1.42) unstable; urgency=low
1649
1650   * Fix several more missing translations of Discussion.
1651   * Fix for missing backlinks() in pagestats plugin.
1652   * Add canedit hook, allowing arbitrary controls over when a page can be
1653     edited.
1654   * Move code forcing signing before edit to a new "signinedit" plugin, and
1655     code checking for locked pages into a new "lockedit" plugin. Both are
1656     enabled by default.
1657   * Remove the anonok config setting. This is now implemented by a new
1658     "anonok" plugin. Anyone with a wiki allowing anonymous edits should
1659     change their configs to enable this new plugin.
1660   * Add an opendiscussion plugin that allows anonymous users to edit
1661     discussion pages, on a wiki that otherwise wouldn't allow it.
1662   * Lots of CGI code reorg and cleanup.
1663   * Avoid using lots of memory when copying large non-html files.
1664     Yes, you can keep videos in the wiki..
1665   * Add feedshow option to allow reducing the number of items included in
1666     an rss or atom feed.
1667   * Change based on a patch from Ethan to support relative matching in
1668     PageSpecs, by using "./".
1669   * pagespec_match() has grown a new third parameter to support this.
1670   * Add "reverse" option to inline to invert sort orders.
1671   * Drop the BSD license for the templates and basewiki, and just allow them
1672     to be used as close to public domain as possible.
1673   * viewcvs is now viewvc (in Debian unstable), update everything to use the
1674     new name.
1675   * Fix a security hole that allowed a web user to edit images and other
1676     non-page format files in the wiki. To exploit this, the file already had
1677     to exist in the wiki, and the web user would need to somehow use the web
1678     based editor to replace it with malicious content.
1679     (Sorry Josh, this means you can't edit style.css directly anymore,
1680     although I do appreciate your fixes, actually..)
1681
1682  -- Joey Hess <joeyh@debian.org>  Sat, 10 Feb 2007 15:37:39 -0500
1683
1684 ikiwiki (1.41) unstable; urgency=low
1685
1686   * Gettext 1.04 or up is needed for the OO interface that ikiwiki needs,
1687     if an older version is installed, just don't gettext strings, instead of
1688     crashing.
1689   * Added smileys for Moin Moin compatability.
1690   * Fix handling of discussion links on discussion pages when l10n is used.
1691   * Make gitorigin_branch and gitmaster_branch configurable via the setup
1692     file. Closes: #408599
1693   * French translation update. Closes: #408593
1694   * Improve use of svn merge, by specifying the file to merge, rather than
1695     chdiring to the srcdir (which wasn't right when merging in a subdir).
1696     Thanks Ethan.
1697   * Always call rcs_update after a commit during a web edit, to work around
1698     the problem described in bugs/svn_fails_to_update. Thanks to Ethan for the
1699     analysis and patch.
1700   * Replace underscores in shortcut texts with spaces when formatting for
1701     display. This allows using a shortcut like [[wikipedia War_of_1812]],
1702     which links to the correct remote page, but is displayed nicely.
1703   * When building the doc wiki, build with LANG=C.
1704   * More gettext fun.
1705   * Fix openid signin secret generation code. This fixes the bug that made
1706     all openid signins fail the first time, and then succeed the second
1707     time.
1708
1709  -- Joey Hess <joeyh@debian.org>  Tue, 30 Jan 2007 02:36:53 -0500
1710
1711 ikiwiki (1.40) unstable; urgency=low
1712
1713   * Fix missing categories in rss/atom feeds.
1714   * Add French translation by Jean-Luc Coulon. Closes: #406881
1715   * Fix bogus use of CDATA in atom feeds. Closes: #406898
1716
1717  -- Joey Hess <joeyh@debian.org>  Sun, 14 Jan 2007 21:42:27 -0500
1718
1719 ikiwiki (1.39) unstable; urgency=low
1720
1721   * Add a rawhtml plugin that allows copying raw html files from the srcdir.
1722   * Fix --locale to control LC_ALL now.
1723   * Include the pot file in the source tarball. Closes: #405890
1724   * Add a Swedish translation by Daniel Nylander. Closes: #406410
1725   * Add a Czech translation by Miroslav Kure.
1726   * Add a Bulgarian translation by Damyan Ivanov. Closes: #406580
1727   * Add a Gujarati translation by Kartik Mistry. Closes: #406635
1728   * Add a Vietnamese translation by Clytie Siddall.
1729   * Fix encoding issue with use of Locale::Gettext. Seems that the OO
1730     interface returns proper utf-8 decoded strings, unlike the traditional
1731     interface, so use the OO interface.
1732   * Search in default location for templates as a fallback when templatedir is
1733     pointed elsewhere, so that only modified templates need to be copied into
1734     a templatedir. Based on work by JeremyReed.
1735   * In the aggregator, check for and deal with post filenames that are
1736     longer than the maximum file length.
1737   * Change the RecentChanges page to show the path of changed pages.
1738   * Various minor bugfixes.
1739
1740  -- Joey Hess <joeyh@debian.org>  Sat, 13 Jan 2007 23:30:20 -0500
1741
1742 ikiwiki (1.38) unstable; urgency=low
1743
1744   * Corrected a bum regexp in openid munging.
1745   * Added a Spanish translation by Victor Moral.
1746   * A few translation infrastructure fixes.
1747   * Added a Polish translation by Paweł Tęcza.
1748
1749  -- Joey Hess <joeyh@debian.org>  Fri,  5 Jan 2007 23:13:59 -0500
1750
1751 ikiwiki (1.37) unstable; urgency=low
1752
1753   * Add mirrorlist plugin.
1754   * Fixed permissions of some files that were 600 in the tarball. (Did not
1755     affect the deb).
1756   * Avoid creating edit links when the cgi url is not known.
1757   * Avoid displaying discussion links at all, if there's not a discussion
1758     page, when the cgi url isn't known.
1759   * Before, svn was used as the RCS by default unless configured otherwise,
1760     now it defaults to using no RCS unless configured to do so, to avoid some
1761     suprising behavior when using a setup file and not uncommenting any RCS
1762     options.
1763   * Fix some bugs in the commit email sending code.
1764   * Improve code that ignores files in the underlaydir if the srcdir has a
1765     file building the same page. Now it will work even if the extensions of
1766     the source files differ.
1767   * Initial work on internationalization of the program code. po/ikiwiki.pot
1768     is available for translation.
1769   * Export gettext() from IkiWiki module.
1770   * Don't put discussion links on discussion pages.
1771   * Allow disabling of plugins included in goodstuff.
1772   * Add a textile format plugin contributed by mazirian.
1773   * If a userdir is configured, links to pages in it can be made without
1774     specifying the path. This allows for easy signing of comments by linking
1775     to your page in the userdir.
1776   * Escape slashes in page titles entered in the blog post form.
1777   * Munge openids of the form somehost.com/user (trial, may revert).
1778
1779  -- Joey Hess <joeyh@debian.org>  Sun, 31 Dec 2006 17:31:22 -0500
1780
1781 ikiwiki (1.36) unstable; urgency=low
1782
1783   * Fix various links on the hyperestraier pages.
1784   * Use POST for poll to avoid some robots.
1785   * Fix sometimes broken links to Discussion pages from blog pages.
1786   * Add userdir config setting.
1787   * Fix man page perms in install.
1788   * Fix an issue with inlining a page with a rss feed inside another
1789     page with an rss feed.
1790   * Turn $config{wiki_file_prune_regexps} into an array that is easier to
1791     manipulate.
1792   * Only exclude rss and atom files from processing if the inline plugin
1793     is enabled and that feed type is enabled. Else it's just a copyable file
1794     type.
1795   * Move rss and atom option handling code into the inline plugin.
1796   * Applied a rather old patch from Recai to fix the "pruning is too strict"
1797     issue. Now you can have wiki source directories inside dotdirs and the
1798     like, if you want.
1799   * Patch from Emanuele Aina to fix modification time code in mercurual
1800     backend.
1801   * Add support for links of the form [[/foo]]
1802   * Fix code to make absolute urls for rss feeds, was missing some urls.
1803   * Fix double-escaping of html entities in titles etc in rss feeds
1804     that occured if escaped characters were present in the page filename.
1805
1806  -- Joey Hess <joeyh@debian.org>  Fri, 22 Dec 2006 15:55:05 -0500
1807
1808 ikiwiki (1.35) unstable; urgency=low
1809
1810   * Fix daemonisation code to only do daemon setup things after forking the
1811     child process.
1812   * The hack used to make the pagetemplate hook have access to the editpage
1813     template won't work with CGI::FormBuilder 3.0401, so disable it for now.
1814   * CGI::FormBuilder 3.0401 seems to work ok now with ikiwiki, although
1815     there might still be bugs lurking..
1816
1817  -- Joey Hess <joeyh@debian.org>  Fri,  1 Dec 2006 19:14:36 -0500
1818
1819 ikiwiki (1.34.2) unstable; urgency=low
1820
1821   * Allow /etc/ikiwiki/wikilist to list just the names of users, if so then
1822     ~user/.ikiwiki/wikilist will be read.
1823   * Fix url absolution code in inline plugin to support class and id fields in
1824     links and imgs, and to support anchor urls.
1825   * More build deps updates.
1826   * /dev/null fortune failures
1827
1828  -- Joey Hess <joeyh@debian.org>  Tue, 28 Nov 2006 12:58:47 -0500
1829
1830 ikiwiki (1.34.1) unstable; urgency=low
1831
1832   * Add libtime-duration-perl to build deps, as it's used by the svn module
1833     which is now tested at build.
1834
1835  -- Joey Hess <joeyh@debian.org>  Mon, 27 Nov 2006 12:26:12 -0500
1836
1837 ikiwiki (1.34) unstable; urgency=low
1838
1839   * Add an openid plugin to support logging in using OpenID.
1840   * Web commits by OpenID users will record the full OpenID url for the user,
1841     but in recentchanges, these urls will be converted to a simplified display
1842     form+link.
1843   * Modified svn, git, tla backends to recognise such web commits.
1844   * Move httpauth support to a plugin.
1845   * Add openidsignup config option.
1846   * Make the openid plugin support the callbacks from myopenid.com via its
1847     affiliate program.
1848   * Add toggle plugin.
1849   * Add a poll plugin.
1850   * Add quick mode for archive page generation.
1851   * Introduce the goodstuff bundle. This is a kind of plugin, that just enables
1852     many other plugins. It's an easy way to boost ikiwiki from its default,
1853     basic wiki, to a full-featured wiki, without manually picking the right
1854     set of plugins. New plugins will be added to goodstuff from time to
1855     time.
1856   * Change how post signin actions are propigated through the signin process;
1857     they're now stored in the session.
1858   * Add optional "desc" parameter to shortcut definitions.
1859   * Avoid locking the wiki at all when handling some basic cgi stuff
1860     (searches, recentchanges).
1861   * Add "last" parameter to hook function. Very basic ordering, and hopefully
1862     nothing more spohisticated will be needed.
1863   * Add formbuilder_setup and formbuilder hooks.
1864   * Split out a passwordauth module, that holds all the traditional password
1865     based authentication etc code. It's enabled by default, but can be disabled
1866     if you want only openid or some other auth method.
1867   * Rename ikiwiki.pl so MakeMaker doesn't see it, and install it.
1868   * Add some code to the build system that tries to determine if the
1869     lib installation directory is in @INC. If it's not, munge ikiwiki
1870     to hardcode the path to the lib directory. This should allow installing
1871     ikiwiki in nonstandard locations, including home directories, by just
1872     setting PREFIX at build time.
1873   * Fix nested examples directory in deb.
1874   * Add a test suite for the mercurial backend, contributed by Emanuele Aina.
1875   * Add a test suite for the svn backend.
1876   * Add a test suite for the git backend, from Recai
1877   * Daemonize before sending RPC pings, since that can take a while
1878     and/or hang.
1879   * Daemonize before sending commit mails, as that can also take a long
1880     time/hang if the mail server is unhappy.
1881   * Factor out commit mail sending code into new function.
1882   * Change rcs_commit, it is now passed the name of the user doing the commit
1883     and their IP address, and needs to construct its own commit message
1884     containing them, or do something more appropriate for the given RCS.
1885   * Add softwaresite example.
1886   * Mercurial backend improvements, including --get-ctime support. (Emanuele
1887     Aina)
1888   * Git backend improvements, including bug fixes and better robustness,
1889     from Recai.
1890
1891  -- Joey Hess <joeyh@debian.org>  Sun, 26 Nov 2006 20:46:56 -0500
1892
1893 ikiwiki (1.33) unstable; urgency=low
1894
1895   * Fix issue with aggregate plugin updating expired pages.
1896   * Avoid syntax errors in templates used by the template plugin crashing
1897     ikiwiki.
1898   * Enable utf8 file IO in aggregate plugin.
1899   * Fix some issues with the new registration form.
1900   * Patch from Ethan Glasser Camp to add a skip option to the inline plugin.
1901   * Make sure to check for errors from every eval.
1902   * Fix img plugin's handling of adding dependencies for images that do not
1903     yet exist.
1904   * Work around a strange bug in CGI::FormBuilder 3.0401 that makes
1905     FORM-SUBMIT unusable on customised formbuilder templates. For now,
1906     hardcode the submit buttons in editpage.tmpl instead of using the
1907     template variable, which is ok, since the buttons are static.
1908   * Work with hyperestraier 1.4.9.
1909
1910  -- Joey Hess <joeyh@debian.org>  Wed, 15 Nov 2006 18:32:26 -0500
1911
1912 ikiwiki (1.32) unstable; urgency=low
1913
1914   * Add a separate pass to find page links, and only render each page once,
1915     instead of over and over. Typical speedup is ~4x. Max possible speedup:
1916     8x.
1917   * Add "scan" parameter to hook(), which is used to make the hook be called
1918     during the scanning pass, as well as the render pass. The meta and tag
1919     plugins need to use the new scan parameter, so will any others that modify
1920     %links.
1921   * Now that links are calculated in a separate pass, it can also
1922     precalculate backlinks in one pass, which is O(N^2) instead of the
1923     previous code that was O(N^3). A very nice speedup for wikis with lots
1924     (thousands) of pages.
1925   * Stylish update to the ikiwiki logo, thanks to Recai Oktaş and Selçuk
1926     Erdem.
1927   * Add a default stylesheet entry for the pagecloud.
1928   * Add examples page with some examples of things that can be done using
1929     ikiwiki, like a weblog. The examples can be copied into a user's wiki
1930     for a quick start, without needing to learn everything about how to put
1931     them together.
1932   * Install the source of the examples into /usr/share/doc/ikiwiki/examples.
1933   * Add perlmagick to build-depends so syntax check of img plugin works.
1934     Closes: #396702
1935   * Improve login/register process, the login dialog has only name and
1936     password fields, which allows more web browsers to regognise it as a login
1937     field, and is less confusing.
1938   * Implemented expiry options for aggregate plugin.
1939   * Use precalculated backlinks info when determining if files need an update
1940     due to a page they link to being added/removed. Mostly significant if
1941     there are lots of pages.
1942   * Remove duplicate link info when saving index. In some cases it could
1943     pile up rather badly. (Probably not the best way to deal with this
1944     problem.)
1945   * Patch from James Westby to support podcasting, photoblogging, vidcasting,
1946     or what have you, by creating enclosures for non-page items that are
1947     included in feeds.
1948
1949  -- Joey Hess <joeyh@debian.org>  Fri,  3 Nov 2006 14:46:37 -0500
1950
1951 ikiwiki (1.31) unstable; urgency=low
1952
1953   * Patch from Paweł Tęcza to cp -a the templates in the Makefile.
1954   * Change the rss feed title from the wikiname to the page title, with
1955     an exception for the wiki's toplevel index page, which will still use the
1956     wikiname as the feed title.
1957     Overriding the page title with meta title already overrode the rss feed
1958     tittle.
1959   * Add an img plugin, based on Christian Mock's img plugin, but stripped
1960     down to the bare essentials. Useful for handling large images on websites.
1961   * Sanitize possibly problimatic characters out of the polygen grammar names,
1962     just in case. Should not be exploitable anyway, since it only tries to run
1963     polygen after finding the specified grammar file.
1964   * Add missing dependency on the URI perl module.
1965   * Add basic spam fighting tool for admins: An admin's prefs page now allows
1966     editing a list of banned users.
1967
1968  -- Joey Hess <joeyh@debian.org>  Fri, 27 Oct 2006 23:16:33 -0400
1969
1970 ikiwiki (1.30) unstable; urgency=low
1971
1972   * Add no_override parameter to hook().
1973   * Add a shortcut plugin, inspired by Victor Moral's contributed shortcuts
1974     plugin, but featuring a more ikiwiki-ish syntax and with shortcuts that
1975     can be configured using a page in wiki.
1976   * Fix support for --pingurl at the command line.
1977   * Fix a subtle bug in will_render that broke some builds, by only clearing
1978     items from renderedfiles the first time per build.
1979   * Wrap entire technortati ping operation in an eval to catch all possible
1980     failure modes, after I observed a simple ->value crashing ikiwiki when
1981     a ping failed.
1982
1983  -- Joey Hess <joeyh@debian.org>  Mon, 16 Oct 2006 15:17:38 -0400
1984
1985 ikiwiki (1.29) unstable; urgency=low
1986
1987   * Patch from Paul Tötterman to use CP in the Makefile.
1988   * Patch from Alec Berryman adding a http_auth config item that allows
1989     using HTTP Authentication instead of ikiwiki's built in authentication.
1990     Useful for eg, large sites with their own previously existing user auth
1991     setup. Closes: #384534
1992   * Change %renderedfiles to store an array of files rendered from a given
1993     source file, to allow tracking of extra rendered files like rss feeds.
1994   * Note that plugins that accessed this variable will need to be updated!
1995     The plugin interface has been increased to version 1.01 for this change.
1996     As few plugins use %renderedfiles I haven't done anything else to ensure
1997     compatability of old plugins.
1998   * Add will_render function to the plugin interface, used to register that a
1999     page renders a destination file, and do some security checks. Previously
2000     but no longer rendered files will be cleaned up.
2001   * Use will_render in the inline and linkmap plugins.
2002   * You will need to rebuild your wiki on upgrade to this version.
2003   * Atom feed support based on a patch by Clint Adams.
2004   * Add feeds=no option to inline preprocessor directive to turn off all types
2005     of feeds.
2006   * $IkiWiki::version now holds the program version, and is accessible to
2007     plugins.
2008   * Make the aggregate plugin emphasize error messages.
2009   * Patch from Recai to limit recentchanges to displaying max 10 files for a
2010     given changeset (to avoid large number of file changes excessively
2011     bloating the page).
2012
2013  -- Joey Hess <joeyh@debian.org>  Fri, 13 Oct 2006 23:14:28 -0400
2014
2015 ikiwiki (1.28) unstable; urgency=low
2016
2017   * inline: Add ability to sort by page name, based on a patch from
2018     Benjamin A'Lee.
2019   * Fix a forkbomb in various calls to IPC::Open2, which has a highly
2020     braindead interface. Closes: #389383
2021   * Don't rm -rf ikiwiki on distclean, since a) there's no such file
2022     and b) those poor Mac OSX users and their case insensative files!
2023   * Don't fail syntax check if Text::Typography isn't installed.
2024     Closes: #389406
2025
2026  -- Joey Hess <joeyh@debian.org>  Tue, 26 Sep 2006 02:08:17 -0400
2027
2028 ikiwiki (1.27) unstable; urgency=low
2029
2030   * Work on firming up the plugin interface:
2031     - Plugins should not need to load IkiWiki::Render to get commonly
2032       used functions, so moved some functions from there to IkiWiki.
2033     - Picked out the set of functions and variables that most plugins
2034       use, documented them, and made IkiWiki export them by default,
2035       like a proper perl module should.
2036     - Use the other functions at your own risk.
2037     - This is not quite complete, I still have to decide whether to
2038       export some other things.
2039   * Changed all plugins included in ikiwiki to not use "IkiWiki::" when
2040     referring to stuff now exported by the IkiWiki module.
2041   * Add a module version number to IkiWiki, so you can "use IkiWiki '1.00'"
2042     to declare which version of the interface your plugin needs.
2043   * Anyone with a third-party ikiwiki plugin is strongly encouraged
2044     to make like changes to it and avoid use of non-exported symbols from
2045     "IkiWiki::".
2046   * Link debian/changelog and debian/news to NEWS and CHANGELOG.
2047   * Support hyperestradier version 1.4.2, which adds a new required phraseform
2048     setting.
2049   * If an inlined page has a permalink, link the page title to that.
2050   * Patch from Recai to use utf8 when reading the setup file, so that
2051     utf8 wikinames from there will be used properly.
2052   * Patch from Recai to kill utf-8 on the wiki name when generating the
2053     session cookie.
2054   * Change ddate plugin to use the DateTime::Calendar::Discordian perl module.
2055   * Fix a baseurl problem in hyperestradier search results.
2056   * Add a stub local.css to avoid problems with 404's.
2057   * Patch from Recai to fix a wide character warning from the search plugin
2058     during setup if the wikiname contains utf8.
2059   * Yet another fix for those poor case-insensative OS X users.
2060   * pagetemplate hooks are now also called when generating cgi pages.
2061   * Add a favicon plugin, which simply adds a link tag for an icon to each
2062     page (and cgis).
2063   * Patch from James Westby to deal with the case where you're editing a
2064     new page, hit cancel, and need to be redirected to somewhere sane.
2065   * Various documentation improvements by various wiki users.
2066   * Support Text::Markdown from CPAN, which has a different interface from
2067     the original markdown or the one in Debian.
2068   * Version the libcgi-session-perl dependency, some features that need
2069     the new version are used in some cases (sslcookie).
2070   * Numerous tla fixes from Clint.
2071   * Updated ikiwiki.svgz from Recai, includes an icon and is used to generate
2072     a multi-resolution favicon.ico.
2073   * README.Debian: typo Closes: #388110
2074   * chomp trailing newline at the end of templates read in by the template
2075     plugin, to allow use of the template preprocessor directive in
2076     whitespace-sensative situations. Closes: #387073
2077   * Patch from James Westby to make the location of the estseek.cgi script
2078     configurable.
2079   * Add typography (SmartyPants) plugin by Recai.
2080   * Add --render mode, which can be used to preview an edit at the command
2081     line by test rendering a single page.
2082   * Add a googlecalendar plugin. A bit special-purpose, but it shows
2083     one way to to deal with user-supplied content that could cause XSS
2084     issues w/o the htmlscrubber, and won't survive the scrubber.
2085
2086  -- Joey Hess <joeyh@debian.org>  Sun, 24 Sep 2006 00:02:21 -0400
2087
2088 ikiwiki (1.26) unstable; urgency=low
2089
2090   * Add a missing -n to tla undo call.
2091   * otl2hmtl can't be safely used with IPC::Open2 since it sometimes
2092     writes before consuming its whole stdin. Avoid this deadlock.
2093   * Fix alt tags for outline checkboxes.
2094
2095  -- Joey Hess <joeyh@debian.org>  Fri,  8 Sep 2006 16:24:16 -0400
2096
2097 ikiwiki (1.25) unstable; urgency=low
2098
2099   * Add proper waitpid calls for open2ed processes throughout to avoid
2100     zombies; this hit htmltidy especially badly.
2101   * Drop real uid/gid in the suid wrapper, thus allowing commits to remote
2102     subversion repos and fixing some other issues.
2103   * Add support for tla, contributed by Clint Adams. Closes: #385936
2104   * Add support for mercurial, contributed by Emanuele Aina.
2105   * Include <link rel> tag for RSS feeds, used by some aggregators and
2106     firefox to find the feed.
2107   * Add a linkmap plugin (requires graphviz).
2108
2109  -- Joey Hess <joeyh@debian.org>  Fri,  8 Sep 2006 01:54:14 -0400
2110
2111 ikiwiki (1.24) unstable; urgency=low
2112
2113   * Simplify the data structure returned by rcs_recentchanges to avoid
2114     each rcs plugin needing to form complex strings on its own.
2115   * Fix another destpage issue in the inline directive. Closes: #385512
2116     again.
2117
2118  -- Joey Hess <joeyh@debian.org>  Sun,  3 Sep 2006 15:46:45 -0400
2119
2120 ikiwiki (1.23) unstable; urgency=low
2121
2122   * Allow inline directives to be nested inside eg, sidebars. Closes: #385512
2123
2124  -- Joey Hess <joeyh@debian.org>  Sun,  3 Sep 2006 12:14:45 -0400
2125
2126 ikiwiki (1.22) unstable; urgency=low
2127
2128   * Change how the stylesheet url is determined in the templates: Remove
2129     STYLEURL and add BASEURL to all templates (some already had it). This
2130     new more general variable can be used to link to other things (eg, images)
2131     from the template, as well as stylesheets.
2132   * Fix a bug introduced last version to do with nested inlines.
2133   * Allow preprocessor directives to span multiple lines, both to make
2134     long ones with lots of values easier to write, and to allow for ones with
2135     multi-line quoted values.
2136   * Allow preprocessor directives to contain python-like triple-quoted
2137     text blocks, for easy nesting of quotes inside.
2138   * Add a template plugin.
2139   * Make pagespec merge code smarter about merging duplicate pagespecs.
2140   * Patch from Jordà Polo to make Setup::Standard support hashes in config
2141     files.
2142   * Change order of linkify and preprocess; first preprocess and then linkify.
2143     This allows passing a wikilink inside a parameter to a preprocessor
2144     directive without it being expanded to html, and leaking out of the
2145     parameter, which had required some non-obvious use of triple-quoting
2146     to avoid. Note that any preprocessor plugins that output something
2147     that looks like a wikilink will now have it treated as such; AFAIK
2148     this doesn't change any behavior though except for the template plugin.
2149   * Enable preprocessor directives when previewing an edit.
2150   * Make all pages pull in a local.css style sheet, if present. This won't
2151     be included in ikiwiki, but can be created to make local styling changes
2152     w/o needing to merge in every new change to the distributed style.css.
2153   * Use DESTDIR and not PREFIX to specify installation prefix for packaging.
2154   * Support running "perl Makefile.PL PREFIX=foo" to build ikiwiki to run
2155     from a different directory.
2156   * Generalised preprocesser loop protection code.
2157   * Patch from James Westby to allow a description to be set for rss feeds.
2158   * Patch from James Westby to add a template for the search form.
2159   * Added a ddate plugin.
2160   * Patch from James Westby to add a --sslcookie switch, which forces
2161     cookies to only be sent over ssl connections to avoid interception.
2162   * Fix preferences page on anonok wikis; still need to sign in to get
2163     to the preferences page.
2164   * Add toc (table of contents) plugin.
2165   * Change htmlize, format, and sanitize hooks to use named parameters.
2166   * Patch from James Westby to add an actions option to inline; this
2167     adds Edit and Discussion links at the end of blog entries.
2168   * Due to some css changes, you'll want to rebuild your wiki on upgrade
2169     to this version. Will be handled automatically by the deb.
2170   * Add processed date to aggregate preprocessor directive status output.
2171
2172  -- Joey Hess <joeyh@debian.org>  Fri,  1 Sep 2006 22:03:34 -0400
2173
2174 ikiwiki (1.21) unstable; urgency=low
2175
2176   * Add a tail fin^W^Wsidebar plugin by Tuomo Valkonen.
2177   * If a page links to itself, mark up the link text in a span with
2178     class="selflink" so that it can be styled. I don't have a useful style
2179     defined for that though.
2180   * Call filter hooks on inlined page content.
2181   * Support inlining pages raw, rather than creating a blog.
2182   * Clean up yes/no parameter parsing in inline plugin.
2183   * Implemented better cycle detection in the inline plugin; nested inlines
2184     will now work.
2185   * Add a map plugin contributed by Alessandro Dotti Contra.
2186   * Add otl format plugin, which handles files as created by vimoutliner.
2187   * Fix ikiwiki-mass-rebuild to work in the way the postinst uses it.
2188   * Add first draft at a Restructured Text (rst) plugin, by Sergio
2189     Talens-Oliag. Note that this has many known issues -- see the caveats on
2190     the plugin's page.
2191   * Credit everyone who wrote a plugin on the plugins' wiki pages.
2192   * Fix utf-8 in blog post form.
2193
2194  -- Joey Hess <joeyh@debian.org>  Sun, 20 Aug 2006 16:42:54 -0400
2195
2196 ikiwiki (1.20) unstable; urgency=low
2197
2198   * Relicense the templates and basewiki under the 2-clause BSD license.
2199     Since these can easily become part of other people's websites, they
2200     should be under as permissive a license as possible.
2201   * Add --syslog config option, to log to the syslog.
2202   * Catch failing IPC::Open2 in tidy plugin and retry in case this is a
2203     transient failure to fork (which I've seen happen in the wild).
2204   * Fix a bug in the aggregator introduced last version that caused all
2205     aggregator state to be lost during a non-aggregating build.
2206
2207  -- Joey Hess <joeyh@debian.org>  Thu, 17 Aug 2006 19:05:56 -0400
2208
2209 ikiwiki (1.19) unstable; urgency=low
2210
2211   * Fix several related bugs in page type determination during online editing.
2212   * Add some locking to prevent 2 aggregators from running at once.
2213   * Fix an infinite loop in the aggregator when finding a unique filename.
2214
2215  -- Joey Hess <joeyh@debian.org>  Wed, 16 Aug 2006 13:46:25 -0400
2216
2217 ikiwiki (1.18) unstable; urgency=low
2218
2219   * The last release accidentially installed ikiwiki as ikiwiki.pl, now fixed.
2220   * Add --version.
2221   * Man page format fixups.
2222   * If the meta plugin overides the page title, set a title_overridden
2223     variable in the template to true. This allows doing things with the
2224     templates conditional on the title being overriden.
2225   * Add a %pagecase which maps lower-case page names to the actual case
2226     used in the filename. Use this in bestlinks calculation instead of
2227     forcing the link to lowercase.
2228   * Also use %pagecase in various other places that want to check if a page
2229     with a given name exists.
2230   * This means that links to pages with mixed case names will now work,
2231     even if the link is in some other case mixture, and mixed case pages
2232     should be fully supported throughout ikiwiki.
2233   * Recommend rebuilding wikis on upgrade to this version.
2234
2235  -- Joey Hess <joeyh@debian.org>  Sat, 12 Aug 2006 22:10:48 -0400
2236
2237 ikiwiki (1.17) unstable; urgency=low
2238
2239   * Disable tidy generator tag.
2240   * Move tidy back to sanitize hook, found out how to only show body.
2241   * Turn off tidy indentation too.
2242   * Turn on HTML::Template loop_context_vars; not actually used in stock
2243     templates but can be useful for things like making comma-delimited lists
2244     of tags or what have you.
2245   * Remove <br> from end of aggregate preprocessor directive output.
2246   * Ship ikiwiki executable as ikiwiki.pl in source to avoid issues on
2247     case-sensative filesystems like OSX.
2248   * Improve markdown loading. First, try to load it as a proper perl module,
2249     in case it was installed as one. Then fall back to trying
2250     /usr/bin/markdown.
2251   * Document in install page how to install markdown, since it has no
2252     installation procedure in the upstream tarball.
2253   * Set die_on_bad_params => 0 for all templates, to allow users to modify
2254     them without annoyances.
2255   * Suck in the page content when generating an inline archive page, to work
2256     around the meta plugin's lack of caching of title metadata across runs.
2257
2258  -- Joey Hess <joeyh@debian.org>  Sat, 12 Aug 2006 12:52:13 -0400
2259
2260 ikiwiki (1.16) unstable; urgency=low
2261
2262   * Try to handle relative links in aggregated feeds. However,
2263     the current support is a crude hack due to limitations of XML::Feed:
2264     xml:base is not supported, neither is Content-Location. And of course,
2265     relative links in RSS feeds are ill-undefined..
2266   * Make aggregator save permalinks and author name to pages as metadata.
2267   * Add permalink and author support to meta plugin, affecting RSS feeds
2268     and blog pages.
2269   * Various CSS and formatting changes.
2270   * Encode link and guid urls in rss feeds to avoid illegal utf8 slipping in.
2271   * Add xhtml files to the default prune regexp.
2272   * Also generate rel=bookmark links for permalinks.
2273   * Fix the htmltidy plugin, which wasn't working due my breaking it when
2274     I added it..
2275   * Don't run tidy with -xml as that fails if the input is not well-formed.
2276     Run it with -asxhtml instead, so it will output well-formed xhtml no
2277     matter what the input.
2278   * Disable tidy warnings too.
2279   * Add a new format hook, and make tidy use it, since tidy can really only
2280     operate on and output complete html documents, not the body chunks
2281     that sanitise gets.
2282   * Fix dates in rss feeds if running localised, so they're still rfc 822.
2283
2284  -- Joey Hess <joeyh@debian.org>  Fri,  4 Aug 2006 20:48:36 -0400
2285
2286 ikiwiki (1.15) unstable; urgency=low
2287
2288   * Remove CDPATH and other env vars perl taint checking doesn't like.
2289     Closes: #381279
2290   * Added created_before and created_after PageSpec limits.
2291
2292  -- Joey Hess <joeyh@debian.org>  Thu,  3 Aug 2006 13:00:57 -0400
2293
2294 ikiwiki (1.14) unstable; urgency=low
2295
2296   * Memoize pagespec translation, this speeds up a build of the ikiwiki tree
2297     by 10% or so.
2298   * Fix stupid bug in date matching, patch from Roland Mas. Closes: #381132
2299   * Added many unit tests for pagespec_match.
2300
2301  -- Joey Hess <joeyh@debian.org>  Wed,  2 Aug 2006 11:34:06 -0400
2302
2303 ikiwiki (1.13) unstable; urgency=low
2304
2305   * ikiwiki can now download and aggregate feeds with its new aggregate
2306     plugin, so it's possible to implement a Planet using ikiwiki!
2307   * Add a run_hooks function for the common task of running all hooks of a
2308     given type.
2309   * Add a savestate hook.
2310   * Don't put blog post forms on pages if there's no cgiurl set.
2311   * --setup --refresh no longer rebuilds wrappers. Use --setup --refresh
2312     --wrappers to do that.
2313   * Add %IkiWiki::forcerebuild to provide a way for plugins like aggregate
2314     to update pages that haven't changed on disk.
2315   * Change meta tags to use html entity-escaped text for values, so that
2316     quotes and such can be represented in title tags.
2317   * Depend and build-depend on HTML::Parser for HTML::Entities which is used
2318     for the above.
2319   * Make --rebuild also cause --aggregate to re-download and write aggregated
2320     pages.
2321   * Avoid outputting duplicate meta info.
2322   * Include title metadata on aggregated posts for capitalised and un-munged
2323     titles.
2324   * Title metadata of inlined pages now shows up in blogs and rss feeds.
2325   * Fix issue with unicode filenames and updating the hyper estradier search
2326     index. (Aka Please Please Please, let that be the last one.)
2327   * Patch from Roland Mas to support an rss=no parameter to inline directives.
2328     Closes: #380743
2329   * Renamed GlobLists to PageSpecs.
2330   * PageSpecs can now include nested parens, "and", and "or". This remains
2331     backwards compatible to the old GlobList format. It's implemented by
2332     treating the GlobList as a very limited microlanguage that is transformed
2333     to perl code that does the matching.
2334   * The old GlobList format is deprecated, and I encourage users to switch to
2335     using the new PageSpec format. Compatability with the old format will be
2336     removed at some point, possibly by 2.0.
2337   * Wiki rebuild needed on upgrade to this version due to PageSpec change.
2338   * Add support for creation_month and creation_year to PageSpec.
2339     Closes: #380680
2340   * Changes to index file encoding.
2341
2342  -- Joey Hess <joeyh@debian.org>  Tue,  1 Aug 2006 21:21:19 -0400
2343
2344 ikiwiki (1.12) unstable; urgency=low
2345
2346   "Viva l'Italia!"
2347   * New pagestats plugin from Enrico, which can generate a table counting
2348     the backlinks for each page, or a del.icio.us style cloud.
2349   * Build-depend on libtext-wikiformat-perl, so that the syntax check of
2350     the wikiformat plugin works. Thanks, Emanuele Aina.
2351   * Patch from Alessandro Dotti Contra to clean up backlinks and navbar
2352     display, running them through pagetitle. This removes ugly underscores and
2353     other gunk from the display, much nicer. You may want to rebuild your wiki
2354     when upgrading to get the cleanup globally.
2355   * Polygen plugin from Enrico.
2356   * htmltidy plugin from Faidon.
2357   * Locale patch from Faidon:
2358     - Adds a locale setting to setup files.
2359     - Proper local time, if the locale configuration option is used.
2360     - Support for UTF-8 (or ISO-8859-X) filenames in SVN. Before this patch,
2361       commiting (or even rcs_updating) on repositories with UTF-8 filenames was
2362       impossible.
2363   * Add getopt hook type, this allows plugins to add new command-line options.
2364   * Add --tagbase option to tag plugin.
2365   * Add exclude option in setup files, works same as --exclude.
2366   * Put categories in rss feeds for tagged items.
2367   * Allow preprocessor directives to be expanded in inlined blog pages.
2368     However, to avoid inlining loops etc, don't expand inline directives in
2369     inlined pages.
2370   * fortune plugin (trivial)
2371   * Tag plugins according to type.
2372
2373  -- Joey Hess <joeyh@debian.org>  Sat, 29 Jul 2006 17:12:56 -0400
2374
2375 ikiwiki (1.11) unstable; urgency=low
2376
2377   * Patch from Enrico that
2378     - Adds a tag plugin that allows more easily tagging pages.
2379       The meta plugin can also still be used for that, but the tag plugin
2380       also lists a page's tags at the bottom of the page.
2381     - Allows preprocessor directives to have parameters with no specified
2382       value.
2383     - Fixes preprocessor directive parameter parsing so that
2384       foo=bar baz now means "foo=bar" and a "baz" with no value.
2385   * Run pagetemplate hooks when inlining pages so that inlined pages also
2386     list their tags.
2387   * Make all plugins with pagetemplate hooks check that variables exist
2388     on the template before setting them, for robustness.
2389   * Switch pagetemplate hooks to using named parameters.
2390   * Pass a destpage parameter to preprocessor and pagetemplate hooks.
2391     This will be the page that a source page will be part of, which is
2392     different than the source page for inlined pages.
2393   * Audited all plugins to endure they pass (page, destpage) to htmllink
2394     appropriatly. This means inlining of various plugins will not work
2395     properly, with correct links generated.
2396
2397  -- Joey Hess <joeyh@debian.org>  Thu, 27 Jul 2006 20:51:23 -0400
2398
2399 ikiwiki (1.10) unstable; urgency=low
2400
2401   * Run page through any relevant filters when generating a page preview.
2402   * Noticed a bug in the wikitext markup plugin -- it made CamelCase links the
2403     default throughout the wiki, not only on wikitext pages. Decided to call
2404     this a feature, and split the camelcase support out into a separate plugin
2405     that is independant of wikitext.
2406   * Fix CamelCase regexp to not break [[FooBar|BazBar]] WikiLinks.
2407
2408  -- Joey Hess <joeyh@debian.org>  Wed, 26 Jul 2006 18:06:35 -0400
2409
2410 ikiwiki (1.9) unstable; urgency=low
2411
2412   * Improve display of parentlinks and page title of toplevel index page.
2413   * Patch from Faidon to use svn --limit when possible for recentchanges,
2414     speeds up recentchanges a lot for wikis with more history.
2415   * Patch from Recai to fix utf8 issues in git backend.
2416   * Add wikitext markup plugin, which supports ".wiki" pages written in the
2417     original wiki syntax, CamelCase links and all.
2418   * Support a w3mmode, which lets w3m run ikiwiki using its local CGI
2419     support, to edit pages etc without a web server.
2420   * Display CGI processing errors if present.
2421   * Fix from Faidon for a XML parser issue that breaks utf-8 for
2422     RecentChanges. Avoid using XML::SAX::PurePerl, which is buggy in this
2423     area, and also way slow.
2424   * Match 'web commit from' in SVN and git, these are web commits too.
2425     (Faidon)
2426   * Consolidated all decode_utf8 in FormBuilder's fields to make the code more
2427     readable and avoid future mistakes. The patch seems to work and for the
2428     first time I have a UTF-8 username ;-) (Faidon)
2429   * Use form->field consistently, not form->param.
2430   * Patch from Recai to allow selection of page type when creating a new page.
2431     Default page type is inherited from the link clicked on to create the new
2432     page.
2433
2434  -- Joey Hess <joeyh@debian.org>  Wed, 26 Jul 2006 17:25:30 -0400
2435
2436 ikiwiki (1.8) unstable; urgency=low
2437
2438   * Fix orphans plugin to not count a link to a nonexistant page as a reason
2439     for a page not being an orphan.
2440   * Support pinging services such as Technorati using XML-RPC to notify them
2441     about changes to rss feeds.
2442   * Parse svn log as xml for improved utf8 and security. Note that this makes
2443     ikiwiki depend on XML::Simple. Patch by Faidon Liambotis.
2444   * POSIX::strftime doesn't know about encodings and doesn't return a utf8
2445     flagged string even if the locale causes it to generate utf8 output,
2446     so make sure to let perl know it should be handled as utf8. Also,
2447     the optimised version used for standard time formats won't work if the
2448     user has changed locale, so drop it. Thanks, Faidon Liambotis.
2449   * Fix re-encoding of the comments field to utf8 if a commit fails
2450     due to a conflict. Thanks, Faidon Liambotis.
2451   * Let svn know that commits have utf8 commit messages. Thanks, Faidon
2452     Liambotis.
2453   * Add insane double encode/decode to utf8 around call to markdown.
2454     This works around a truely strange bug, which is apparently a bug in
2455     perl, #376329. Also added a test case for it.
2456   * Improve layout of edit page so formatting help link is always visible w/o
2457     getting in the way of the preview.
2458   * Centralised all calls to HTML::Template and force all the templates
2459     to be read as utf8.
2460   * Support pages with utf8 filenames. Patch by Faidon Liambotis.
2461   * Introduce add_plugins and disable_plugins config options in setup files.
2462     This allows adding or removing plugins w/o overriding the whole list of
2463     default plugins, which makes it easier to upgrade when new default plugins
2464     are added.
2465   * Support htmlize plugins and make mdwn one such plugin, which is enabled by
2466     default (of course!). Based on a patch by Faidon Liambotis.
2467   * Add a html plugin, which can be used to write wikis in raw html,
2468     if you'd ever want to do such a thing. Slightly tricky, since ikiwiki
2469     defaults to not processing .html files, since w/o this plugin they would
2470     be copied unsanitised. With this plugin, it will process and html
2471     sanitise them, like any other page type.
2472   * Rebuilding wrappers is necessary on upgrade to this version.
2473   * Make ikiwiki --setup --refresh rebuild wrappers, so wrapper rebuild
2474     will be automatically done on all upgrades.
2475   * Don't send pings if the wiki is being rebuilt.
2476   * Work around very innefficient behavior in File::Spec::abs2rel. Result
2477     is a savings of 2 pointless fork/execs per link calculation, which
2478     results in ~25% speedup of ikiwiki building its own doc wiki, and
2479     about 35% speedup displaying RecentChanges!
2480   * Make RecentChanges use a table and some CSS, should be much more readable.
2481     No code changes involved.
2482   * Encode & in diffurl in examples, to conform to pedantic rules.
2483   * Speed up RecentChanges by another 40% or so with some memoization.
2484   * Memoize abs2rel, which is still kinda slow, for another 30% speedup
2485     in time to build the doc wiki.
2486
2487  -- Joey Hess <joeyh@debian.org>  Tue,  4 Jul 2006 12:46:29 -0400
2488
2489 ikiwiki (1.7) unstable; urgency=low
2490
2491   * Updated logo from Recai with some kerning and alingment tuning.
2492   * Patch from Recai to fix git recentchanges code to work with git 1.4 which
2493     changed some output.
2494   * Copyright update.
2495
2496  -- Joey Hess <joeyh@debian.org>  Sun, 18 Jun 2006 23:33:35 -0400
2497
2498 ikiwiki (1.6) unstable; urgency=low
2499
2500   * YA utf-8 patch from Recai, this time to fix previewing a page so that
2501     the text in the input box is re-encoded back to utf-8.
2502   * -CSD does not affect modules, so readfile() was not using the utf-8 input
2503     layer, which led to lots of problems; make it force read files as utf-8.
2504     Closes: #373203
2505   * Note that as a consequence, this version of ikiwiki will actually try to
2506     parse utf8 in source files for the first time, which may expose broken
2507     utf8 in wiki sources that was hidden before. Most common will be
2508     perl warnings like "utf8 "\xE9" does not map to Unicode"
2509   * writefile() likewise needs to use the utf8 output layer.
2510   * Remove the -CSD from ikiwiki's hashbang since it's useless to have it
2511     there.
2512   * Revert some of the decode_utf8 changes in CGI.pm that seem unnecessary
2513     given the readfile fix.
2514   * Add utf-8 testcases for readfile and htmlize.
2515   * Put back the encode_utf8 in the input to markdown; it's really not utf-8
2516     safe.
2517   * More utf-8 fixes from Recai, partly to things I broke above:
2518     - The serious problem is that writefile() saves the content in undecoded
2519       format in CGI, hence all (non-ascii) chars are corrupted permanently.
2520     - Comment field in edit page is not decoded and all the non-ascii chars in
2521       this field are corrupted as the result.  We should decode it as we do it
2522       for the content.
2523     - Add 'use encoding "utf8"' to CGI.pm to avoid warnings about wide
2524       character in print.
2525   * New SVG logo from Recai.
2526
2527  -- Joey Hess <joeyh@debian.org>  Sun, 18 Jun 2006 19:18:46 -0400
2528
2529 ikiwiki (1.5) unstable; urgency=low
2530
2531   * Add --timeformat config option to allow changing how dates are displayed.
2532     Note that as a side effect, dates will now be displayed using the local
2533     timezone, not as GMT.
2534   * More security review.
2535   * Patch from Dr. Zini to add link() and backlink() to globlists. This allows
2536     for some handy stuff like:
2537     - Using links as a kind of tag; creating blog pages that list all pages
2538       containing a given tag/link or not containing some other tag.
2539     - Subscribing to mail notifications whenever a change is made to a page
2540       that is a backlink of page foo. Ie, "Please notify me of changes in all
2541       pages that link to my home page in the wiki"
2542     - Locking any pages that are linked to from a particular page, so that
2543       lists of locks can be exposed in the wiki.
2544   * Reorganised the doc wiki's todo/* pages, using a link/tag to flag
2545     when a todo item is done, instead of the previous moving it to a different
2546     subdir.
2547   * Allow pagetemplate plugins to override *anything* in the template.
2548   * Add a meta plugin, which allows specifying various metadata about pages,
2549     like license and author. It also allows for inserting html link and meta
2550     tags into html, overriding the title, and adding hidden WikiLinks, which
2551     can be useful when using link-based globbing for page categorisation.
2552   * Remove preprocessor directives from inlined pages.
2553   * Allow simple preprocessor directive values to be specified w/o quotes.
2554   * Add support for using git instead of subversion as the RCS backend,
2555     tremendous thanks to Recai Oktaş for this.
2556   * Doc updates for git.
2557   * Fix absolute url munging in rss generation to support https, ftp, etc urls
2558     not just http urls.
2559   * Patch from Recai Oktaş to improve utf-8 support, it should now use proper
2560     utf-8 for edit and other fields, and for recentchanges. There may still
2561     be utf-8 issues with the preferences page though.
2562
2563  -- Joey Hess <joeyh@debian.org>  Sun, 11 Jun 2006 19:56:54 -0400
2564
2565 ikiwiki (1.4) unstable; urgency=low
2566
2567   * Tell HTML::Scrubber to treat "/" as a valid attribute which is its
2568     very strange way of enabling proper XHTML <br /> type tags. Output html
2569     should be always valid again now.
2570   * The page name and parent links has switched from using a <h1> to a styled
2571     <span>, so pages can use <h1> internally instead of needing to use <h2>.
2572   * Updated all of ikiwiki's own wiki pages for that.
2573   * Add pagetemplate hook, which can be used by plugins that want to mess
2574     around with adding new stuff to the page template.
2575   * Remove headercontent; the search plugin now adds the search box to the
2576     header by registering a pagetemplate hook, and other plugins should do
2577     similarly.
2578   * Rebuilding on upgrade to this version is recommended.
2579   * Add a html validity check to the test suite, using the wdg-html-validator,
2580     if available.
2581   * Make the html valid when there is nothing in the actions list.
2582   * Reordered some function call parameters for consistency.
2583   * Enable full utf-8 support for page input and output.
2584   * Add a workaround for markdown, which does not work well with utf-8
2585     strings.
2586   * --getctime had bitrotted (well I only ever used it the once so far..),
2587     fix and make it a bit more flexible
2588   * rcs_getctime is changed, now rather than needing to loop over all pages,
2589     it should just use the rcs to get the ctime of the passed file.
2590   * When inlining a page in another one, links from the inlined page are now
2591     expanded the same as they are when rendering the inlined page as a
2592     standalone page. So rather than being expanded from the POV of the
2593     inlining page, they are expanded from the POV of the inlined page.
2594
2595     For example, a link from blog/foo to "bar" will now link to blog/bar
2596     if it exists. Previously this needed to be a link explicitly to
2597     "blog/bar"; such links will also continue to work.
2598
2599     (This was slightly complex to do as the link still has to be constructed
2600     relative to the inlining page.)
2601   * Make page edit textarea resize to fit browser window.
2602   * Add -refresh option to ikiwiki-mass-rebuild and use that on upgrades that
2603     do not need a full rebuild, in order to update any basewiki pages.
2604
2605  -- Joey Hess <joeyh@debian.org>  Sat, 27 May 2006 15:08:49 -0400
2606
2607 ikiwiki (1.3) unstable; urgency=low
2608
2609   * Fix the preinst introduced in the last version. Closes: #367458
2610
2611  -- Joey Hess <joeyh@debian.org>  Tue, 16 May 2006 02:43:02 -0500
2612
2613 ikiwiki (1.2) unstable; urgency=low
2614
2615   * Remove dups from the brokenlinks list.
2616   * Add libc6-dev to dependencies, needed to build wrappers.
2617   * Install wikilist in correct location. Closes: #367371
2618
2619  -- Joey Hess <joeyh@debian.org>  Mon, 15 May 2006 10:53:49 -0500
2620
2621 ikiwiki (1.1) unstable; urgency=low
2622
2623   * Rename inlinepage to depends, so that it can be used to refer to more
2624     dependency relationships than just inlining. This will require a rebuild
2625     on upgrade to this version.
2626   * Move the rss link, put it in the blogpost form if there is one and at the
2627     top if not. This is both nicer because easier to find, and it cleans up
2628     the code which had used inlinepage as a flag for adding the link later.
2629   * Allow the depends GlobList to be built up from multiple sources (such as
2630     plugins) during a page render.
2631   * Which means that more than one blog is now supported to appear on a
2632     single page. (With some limitations, like only the last one getting an
2633     rss file.)
2634   * Added a plugin system.
2635   * Added a pagecount plugin, enabled by default.
2636   * Support PreProcessorDirectives with no parameters, ie "[[pagecount ]]".
2637   * Fixed/optimised backlinks code, to avoid rebuilding pages to update
2638     backlinks when the backlinks hadn't really changed.
2639   * Moved inline page support, rss generation etc into the inline plugin,
2640     enabled by default.
2641   * Added brokenlinks plugin, not enabled by default, but rather handy.
2642   * Fix several broken links in the doc wiki.
2643   * Smarter behavior when creating a page and a page of the same name (but
2644     different location) already exists.
2645   * Add an orphans plugin for finding pages that nothing links to.
2646   * Removed backlinks page, which it turns out nothing used.
2647   * Split off an IkiWiki.pm out of ikiwiki and have all the other modules use
2648     it, this will allow for adding a unit test suite.
2649   * Add unit tests for several core functions, including globlist_match,
2650     dirname, basename, bestlink, linkify, pagetitle, titlepage.
2651   * Smart globlist merging.
2652   * Patch from Thomas Schwinge to switch from --svn to --rcs=svn, etc,
2653     to pave the way for adding other RCS support. This also changes the
2654     setup files, where before they had svn => 1 or svn => 0, now they have
2655     rcs => "svn" or rcs => "".
2656   * Add a debian/NEWS file with upgrade notes.
2657   * Load whatever rcs module is specified, so new ones can be just dropped in
2658     as plugins and work. (Well, in theory.)
2659   * Add some basic docs about writing RCS modules.
2660   * Broke search capability out into a plugin, removed the --hyperestraier
2661     switch.
2662   * Added smiley plugin, nicely controlled and documented by the smileys page.
2663   * Copied in some smileys from Moin Moin.
2664   * Allow links of the form [[some page|page]], with whitespace in the link
2665     text.
2666   * Removed --sanitize and --no-sanitize, replaced with --plugin htmlscrubber
2667     and --disable-plugin htmlscrubber.
2668   * Allow discussion links on pages to be turned off with --no-discussion.
2669   * Add ikiwiki-mass-rebuild script, ripped out of the postinst.
2670   * Add some new config items to the estseek.conf template, which are needed
2671     by hyperestraier 1.2.3.
2672
2673  -- Joey Hess <joeyh@debian.org>  Fri,  5 May 2006 17:00:41 -0400
2674
2675 ikiwiki (1.0) unstable; urgency=low
2676
2677   * First official release.
2678
2679  -- Joey Hess <joeyh@debian.org>  Tue, 25 Apr 2006 02:08:17 -0400