summaryrefslogtreecommitdiff
path: root/debian
AgeCommit message (Collapse)Author
2008-07-12Change deb dependencies to list Text::Markdown before markdown, since the ↵Joey Hess
former, while slower, has a much better html parser that avoids numerous bugs.
2008-07-10Fixes creation of pages when clicking on WikiLinks starting with "/".Joey Hess
2008-07-10template: Add support for a BASENAME variable.Joey Hess
2008-07-09debian/changelog: fix typo in old entryJosh Triplett
2008-07-09ikiwiki-transition: Fix command-line processing so the prefix_directives ↵Josh Triplett
transition works again.
2008-07-09fix changelogJoey Hess
2008-07-09Make it possible to load setup files w/o running them. Code needing to do so ↵Joey Hess
can call IkiWiki::Setup::load, and the values will be loaded into %IkiWiki::Setup::setup.
2008-07-09improve error message if virus checker fails w/o outputJoey Hess
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-06typoJoey Hess
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-15add hnb copyrightJoey Hess
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-07a bit more about upgradesJoey Hess
2008-06-07releasing version 2.49Joey Hess
2008-06-04finishing touches on the new search pluginJoey Hess
- Add a Help link. - If the pageterm is too long, hash it.
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.