aboutsummaryrefslogtreecommitdiff
path: root/debian
Commit message (Collapse)AuthorAge
* improve error message if virus checker fails w/o outputJoey Hess2008-07-09
|
* otl: Support utf-8 files. (Recai Oktaş)Joey Hess2008-07-08
|
* not yet releasedJoey Hess2008-07-08
|
* responseJoey Hess2008-07-08
|
* attachment: Support perl 5.8's buggy version of CGI.pm.Joey Hess2008-07-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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!
* Include ikiwiki.setup in examples in the debian package.Joey Hess2008-07-08
|
* attachment: Support old versions of CGI.pm that lack an upload method.Joey Hess2008-07-08
|
* Fix a bug with links to pages whose names contained colons.Joey Hess2008-07-08
| | | | | | | | | 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.
* attachment: Fix an uninitialised value warning when editing a page that ↵Joey Hess2008-07-08
| | | | currently has no attachments.
* search: generate configuration files once only when rebuilding (Gabriel McManus)Joey Hess2008-07-07
|
* releasing version 2.52Joey Hess2008-07-06
|
* add virus checking to attachments pluginJoey Hess2008-07-06
|
* editpage escaping fixesJoey Hess2008-07-06
| | | | | | | | | | | * 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.
* typoJoey Hess2008-07-06
|
* toggle: Add javascript to top of page, not to end. This avoids flicker since ↵Joey Hess2008-07-02
| | | | closed toggles will not be displayed as the page is loading.
* toggle: Add support for toggles that are open by default.Joey Hess2008-07-02
| | | | Also fix to work in preview mode.
* changelogJoey Hess2008-06-30
|
* Configure CGI.pm to disable file uploads by default.Joey Hess2008-06-30
|
* releasing version 2.51Joey Hess2008-06-29
|
* improve wordingJoey Hess2008-06-28
|
* call format hooks when generating page previewsJoey Hess2008-06-28
| | | | | | | | | | | | * 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.
* smiley: Generate links relative to the destpage. (Fixes a reversion from 2.41.)Joey Hess2008-06-28
|
* new txt plugin, was previously contrib/plaintextJoey Hess2008-06-24
|
* Add support for the universal edit buttonJoey Hess2008-06-21
| | | | | | <http://universaleditbutton.org/> Not forcing a rebuild on upgrade just for this.
* changelogJoey Hess2008-06-21
|
* creole: New plugin from Bernd Zeimetz. Closes: #486930Joey Hess2008-06-19
|
* Version the suggests of xapian-omega to a version known to be new enough to ↵Joey Hess2008-06-19
| | | | work with ikiwiki. Reportedly, version 0.9.9 is too old to work. Closes: #486592
* textile: The Text::Textile perl module has some regexps that fail if input ↵Joey Hess2008-06-16
| | | | 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.
* meta: Store "description" in pagestate for use by other plugins.Joey Hess2008-06-15
| | | | map: Support show=description.
* add hnb copyrightJoey Hess2008-06-15
|
* finish including hnb pluginJoey Hess2008-06-15
|
* map: Add a "show" parameter. "show=title" can be used to display page ↵Joey Hess2008-06-15
| | | | titles, rather than the default page name. Based on a patch from Jaldhar H. Vyas, Closes: #484510
* append index.html to url generated by urlto("")Joey Hess2008-06-15
| | | | | | | | | | | | | 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.
* releasing version 2.50Joey Hess2008-06-13
|
* fix two build bugsJoey Hess2008-06-13
| | | | | | * ikiwiki-mass-rebuild: Make group list comparison more robust. * search: Work around xapian bug #486138 by only stemming locales in a whitelist.
* Don't generate empty title attributes, etc, and allow setting defaults for ↵Joey Hess2008-06-08
| | | | class and id too.
* img: Support captions.Joey Hess2008-06-07
|
* a bit more about upgradesJoey Hess2008-06-07
|
* releasing version 2.49Joey Hess2008-06-07
|
* finishing touches on the new search pluginJoey Hess2008-06-04
| | | | | - Add a Help link. - If the pageterm is too long, hash it.
* The search interface now allows searching for a page by title ("title:foo"), ↵Joey Hess2008-06-04
| | | | as well as for pages that contain a given link ("link:bar").
* Pass a destpage parameter to the sanitize hook.Joey Hess2008-06-04
| | | | | | | | 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.)
* move indexing to sanitize hookJoey Hess2008-06-04
| | | | | | | I think this will give better results overall. I made %IkiWiki::preprocessing accessible and used it to avoid indexing at unnecessary points.
* more search improvementsJoey Hess2008-06-04
|
* Filter hooks are no longer called during the scan phase. This will prevent ↵Joey Hess2008-06-04
| | | | 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.
* search: Converted to use xapian-omega.Joey Hess2008-06-03
| | | | | Everything is done except for the actual indexing. I plan to do incremental indexing as pages change.
* cve idJoey Hess2008-05-31
|
* inline: The optimisation in 2.41 broke nested inlines. Detect those and ↵Joey Hess2008-05-31
| | | | avoid overoptimising.
* ikiwiki-mass-rebuild: Don't trust $! when setting $)Joey Hess2008-05-31
| | | | | A better fix, just check that what $) returns is what it was asked to set, and ignore $! entirely.
* ikiwiki-mass-rebuild: under $! before setting $) to avoid strange errno issueJoey Hess2008-05-31
| | | | | | | | | | 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.