| Commit message (Expand) | Author | Age |
... | |
* | Change deb dependencies to list Text::Markdown before markdown, since the for... | Joey Hess | 2008-07-12 |
* | Fixes creation of pages when clicking on WikiLinks starting with "/". | Joey Hess | 2008-07-10 |
* | template: Add support for a BASENAME variable. | Joey Hess | 2008-07-10 |
* | debian/changelog: fix typo in old entry | Josh Triplett | 2008-07-09 |
* | ikiwiki-transition: Fix command-line processing so the prefix_directives tran... | Josh Triplett | 2008-07-09 |
* | fix changelog | Joey Hess | 2008-07-09 |
* | Make it possible to load setup files w/o running them. Code needing to do so ... | Joey Hess | 2008-07-09 |
* | improve error message if virus checker fails w/o output | Joey Hess | 2008-07-09 |
* | otl: Support utf-8 files. (Recai Oktaş) | Joey Hess | 2008-07-08 |
* | not yet released | Joey Hess | 2008-07-08 |
* | response | Joey Hess | 2008-07-08 |
* | attachment: Support perl 5.8's buggy version of CGI.pm.•••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!
| Joey Hess | 2008-07-08 |
* | Include ikiwiki.setup in examples in the debian package. | Joey Hess | 2008-07-08 |
* | attachment: Support old versions of CGI.pm that lack an upload method. | Joey Hess | 2008-07-08 |
* | Fix a bug with links to pages whose names contained colons.•••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.
| Joey Hess | 2008-07-08 |
* | attachment: Fix an uninitialised value warning when editing a page that curre... | Joey Hess | 2008-07-08 |
* | search: generate configuration files once only when rebuilding (Gabriel McManus) | Joey Hess | 2008-07-07 |
* | releasing version 2.52 | Joey Hess | 2008-07-06 |
* | add virus checking to attachments plugin | Joey Hess | 2008-07-06 |
* | editpage escaping fixes•••* 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.
| Joey Hess | 2008-07-06 |
* | typo | Joey Hess | 2008-07-06 |
* | toggle: Add javascript to top of page, not to end. This avoids flicker since ... | Joey Hess | 2008-07-02 |
* | toggle: Add support for toggles that are open by default.•••Also fix to work in preview mode.
| Joey Hess | 2008-07-02 |
* | changelog | Joey Hess | 2008-06-30 |
* | Configure CGI.pm to disable file uploads by default. | Joey Hess | 2008-06-30 |
* | releasing version 2.51 | Joey Hess | 2008-06-29 |
* | improve wording | Joey Hess | 2008-06-28 |
* | call format hooks when generating page previews•••* 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.
| Joey Hess | 2008-06-28 |
* | smiley: Generate links relative to the destpage. (Fixes a reversion from 2.41.) | Joey Hess | 2008-06-28 |
* | new txt plugin, was previously contrib/plaintext | Joey Hess | 2008-06-24 |
* | Add support for the universal edit button•••<http://universaleditbutton.org/>
Not forcing a rebuild on upgrade just for this.
| Joey Hess | 2008-06-21 |
* | changelog | Joey Hess | 2008-06-21 |
* | creole: New plugin from Bernd Zeimetz. Closes: #486930 | Joey Hess | 2008-06-19 |
* | Version the suggests of xapian-omega to a version known to be new enough to w... | Joey Hess | 2008-06-19 |
* | textile: The Text::Textile perl module has some regexps that fail if input is... | Joey Hess | 2008-06-16 |
* | meta: Store "description" in pagestate for use by other plugins.•••map: Support show=description.
| Joey Hess | 2008-06-15 |
* | add hnb copyright | Joey Hess | 2008-06-15 |
* | finish including hnb plugin | Joey Hess | 2008-06-15 |
* | map: Add a "show" parameter. "show=title" can be used to display page titles,... | Joey Hess | 2008-06-15 |
* | append index.html to url generated by urlto("")•••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.
| Joey Hess | 2008-06-15 |
* | releasing version 2.50 | Joey Hess | 2008-06-13 |
* | fix two build bugs•••* ikiwiki-mass-rebuild: Make group list comparison more robust.
* search: Work around xapian bug #486138 by only stemming locales
in a whitelist.
| Joey Hess | 2008-06-13 |
* | Don't generate empty title attributes, etc, and allow setting defaults for cl... | Joey Hess | 2008-06-08 |
* | img: Support captions. | Joey Hess | 2008-06-07 |
* | a bit more about upgrades | Joey Hess | 2008-06-07 |
* | releasing version 2.49 | Joey Hess | 2008-06-07 |
* | finishing touches on the new search plugin•••- Add a Help link.
- If the pageterm is too long, hash it.
| Joey Hess | 2008-06-04 |
* | The search interface now allows searching for a page by title ("title:foo"), ... | Joey Hess | 2008-06-04 |
* | Pass a destpage parameter to the sanitize hook.•••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.)
| Joey Hess | 2008-06-04 |
* | move indexing to sanitize hook•••I think this will give better results overall.
I made %IkiWiki::preprocessing accessible and used it to avoid indexing
at unnecessary points.
| Joey Hess | 2008-06-04 |