summaryrefslogtreecommitdiff
path: root/debian/changelog
AgeCommit message (Collapse)Author
2008-07-08otl: Support utf-8 files. (Recai Oktaş)Joey Hess
2008-07-08not yet releasedJoey Hess
2008-07-08responseJoey Hess
2008-07-08attachment: Support perl 5.8's buggy version of CGI.pm.Joey Hess
This is truely horribly disgusting. CGI::tmpFileName, in current perls, is an undocumented function (which should be a clue..) that takes the original filename of an uploaded attachment, and returns the name of the tempfile that CGI has stored it in. In old perls, though, CGI::tmpFileName does not take a filename. It takes a key from the object's {'.tmpfiles'} hash. This key is something crazy like '*Fh::fh00001group' -- apparently the stringification of a filehandle object. Just to add to the fun, tmpFileName doesn't take the key, it expects a refernce to the key. Argh?! But the fun doesn't stop there, because in perl 5.8, CGI.pm is also broken in two other ways. The upload() method is supposed to return a filehandle to the temp file. It doesn't. The param() method is supposed to return a filehandle to the temp file, that stringifies to the original filename. It returns just the original filename, no filehandle. Combine all these bugs, and you end up with this disgusting commit. Since I have no way to get the filehandle, I *need* to get the tempfile name. If I had the filehandle, I could probably pass it into tmpFileName, and it might strigify to the right key name. But I don't, so the only way to determine the key is to grub through the .tmpfiles hash ourselves. And finally, one the temp file name is discovered, a filehandle can finally be obtained by (re)opening it. I recommend that this commit be reverted when perl 5.8 is a mercifully faded memory. I'm really, really, really glad I'm actually being paid for working on this right now!
2008-07-08Include ikiwiki.setup in examples in the debian package.Joey Hess
2008-07-08attachment: Support old versions of CGI.pm that lack an upload method.Joey Hess
2008-07-08Fix a bug with links to pages whose names contained colons.Joey Hess
So the problem is that ikiwiki would generate a relative link like href="colon:problem", which web browsers treat as being in the "colon:" uri scheme. The best fix seems to be to make url beautification fix this, by slapping a "./" in front.
2008-07-08attachment: Fix an uninitialised value warning when editing a page that ↵Joey Hess
currently has no attachments.
2008-07-07search: generate configuration files once only when rebuilding (Gabriel McManus)Joey Hess
2008-07-06releasing version 2.52Joey Hess
2008-07-06add virus checking to attachments pluginJoey Hess
2008-07-06editpage escaping fixesJoey Hess
* The editpage form now uses the raw page name, not the page title, in its 'page' cgi parameter. Using the title was ambiguous and made it impossible to tell between some pages, like "foo/bar" and "foo__47__bar", sometimes causing the wrong page to be edited. * This change means that some edit links need to be updated. Force a rebuild on upgrade to this version. * Above change also allowed really fixing escaped slashes from the blogpost form.
2008-07-02toggle: Add javascript to top of page, not to end. This avoids flicker since ↵Joey Hess
closed toggles will not be displayed as the page is loading.
2008-07-02toggle: Add support for toggles that are open by default.Joey Hess
Also fix to work in preview mode.
2008-06-30changelogJoey Hess
2008-06-30Configure CGI.pm to disable file uploads by default.Joey Hess
2008-06-29releasing version 2.51Joey Hess
2008-06-28improve wordingJoey Hess
2008-06-28call format hooks when generating page previewsJoey Hess
* toc: Revert change in 2.45 that made it run at sanitize time. This breaks use of toc in a sidebar. * Call format hooks when generating page previews, thus fixing toc display there, as well as fixing inlins to again display in page previews, since it's started using format hooks. This also allows several other things, like embed, that use format hooks, to work during page preview time. * Format hooks should not rely on getting an entire html document, as they will only get the body during page preview. * toggle: Deal with preview mode when adding javascript.
2008-06-28smiley: Generate links relative to the destpage. (Fixes a reversion from 2.41.)Joey Hess
2008-06-24new txt plugin, was previously contrib/plaintextJoey Hess
2008-06-21Add support for the universal edit buttonJoey Hess
<http://universaleditbutton.org/> Not forcing a rebuild on upgrade just for this.
2008-06-21changelogJoey Hess
2008-06-19creole: New plugin from Bernd Zeimetz. Closes: #486930Joey Hess
2008-06-19Version the suggests of xapian-omega to a version known to be new enough to ↵Joey Hess
work with ikiwiki. Reportedly, version 0.9.9 is too old to work. Closes: #486592
2008-06-16textile: The Text::Textile perl module has some regexps that fail if input ↵Joey Hess
is flagged as utf-8, but contains invalid characters such as 0x92. To prevent it from crashing, re-encode the content before calling it, which will ensure that it's really utf-8.
2008-06-15meta: Store "description" in pagestate for use by other plugins.Joey Hess
map: Support show=description.
2008-06-15finish including hnb pluginJoey Hess
2008-06-15map: Add a "show" parameter. "show=title" can be used to display page ↵Joey Hess
titles, rather than the default page name. Based on a patch from Jaldhar H. Vyas, Closes: #484510
2008-06-15append index.html to url generated by urlto("")Joey Hess
This special case crops up when generating the parentlink to the toplevel index page. urlto("") had been generating a link to "./" (or "../" etc) for that, which is fine, if the web server redirects that to the toplevel index.html. It's less fine if there is no web server. I actually ran into the problem first when using gopher. (Yes, yes, don't laugh.. see upcoming tip.) But it also crops up when browsing local wiki files. Of course, the index.html is stripped back off if usedirs is enabled.
2008-06-13releasing version 2.50Joey Hess
2008-06-13fix two build bugsJoey Hess
* ikiwiki-mass-rebuild: Make group list comparison more robust. * search: Work around xapian bug #486138 by only stemming locales in a whitelist.
2008-06-08Don't generate empty title attributes, etc, and allow setting defaults for ↵Joey Hess
class and id too.
2008-06-07img: Support captions.Joey Hess
2008-06-07releasing version 2.49Joey Hess
2008-06-04The search interface now allows searching for a page by title ("title:foo"), ↵Joey Hess
as well as for pages that contain a given link ("link:bar").
2008-06-04Pass a destpage parameter to the sanitize hook.Joey Hess
Because the search plugin needed it, also because it's one of the few plugins that didn't already have it. I also considered adding it to htmlize, but I really cannot imagine caring what the destpage is when htmlizing. (I'll probably be poven wrong later.)
2008-06-04move indexing to sanitize hookJoey Hess
I think this will give better results overall. I made %IkiWiki::preprocessing accessible and used it to avoid indexing at unnecessary points.
2008-06-04Filter hooks are no longer called during the scan phase. This will prevent ↵Joey Hess
wikilinks added by filters from being scanned properly. But no known filter hook does that, and calling filters unncessarily during scan slowed down complex filters such as the one used to update the xapian index.
2008-06-03search: Converted to use xapian-omega.Joey Hess
Everything is done except for the actual indexing. I plan to do incremental indexing as pages change.
2008-05-31cve idJoey Hess
2008-05-31inline: The optimisation in 2.41 broke nested inlines. Detect those and ↵Joey Hess
avoid overoptimising.
2008-05-31ikiwiki-mass-rebuild: Don't trust $! when setting $)Joey Hess
A better fix, just check that what $) returns is what it was asked to set, and ignore $! entirely.
2008-05-31ikiwiki-mass-rebuild: under $! before setting $) to avoid strange errno issueJoey Hess
This fixes a problem sgran saw on alioth. Apparently nss-db sets errno to ENOENT as a side effect trying to read an optional file, but succeeds anyway. Then, somehow, errno remains set across the library calls made by $). So unset it first as a workaround; there's probably a nss-db, libc, and/or perl bug underneath.
2008-05-30haiku: Generate valid xhtml.Joey Hess
2008-05-30releasing version 2.48Joey Hess
2008-05-30updated French translationJoey Hess
2008-05-30hashed password support, and empty password security fixJoey Hess
This implements the previously documented hashed password support. While implementing that, I noticed a security hole, which this commit also fixes..
2008-05-29teximg: If the log isn't written, avoid ugly error messages.Joey Hess
2008-05-29teximg: Fix logurl.Joey Hess