Joey Hess [Fri, 11 Jul 2008 14:33:41 +0000 (10:33 -0400)]
rename beautify_url to stress it only works on the path component
Joey Hess [Fri, 11 Jul 2008 14:31:08 +0000 (10:31 -0400)]
Revert "Revert "Fix a bug with links to pages whose names contained colons.""
This reverts commit
810a355308d276ef922ff4312bff0c7935676633.
I double-checked, and the change seems ok after all, actually.
Joey Hess [Fri, 11 Jul 2008 14:07:11 +0000 (10:07 -0400)]
still exclude discussion
Joey Hess [Fri, 11 Jul 2008 14:02:30 +0000 (10:02 -0400)]
oops
Joey Hess [Fri, 11 Jul 2008 14:02:02 +0000 (10:02 -0400)]
no deep pages
Joey Hess [Fri, 11 Jul 2008 13:59:58 +0000 (09:59 -0400)]
link
Joey Hess [Fri, 11 Jul 2008 13:59:33 +0000 (09:59 -0400)]
enlarge
Joey Hess [Fri, 11 Jul 2008 13:58:19 +0000 (09:58 -0400)]
announce
Joey Hess [Fri, 11 Jul 2008 13:52:17 +0000 (09:52 -0400)]
Revert "Fix a bug with links to pages whose names contained colons."
This reverts commit
e25c3a0a7caa9783c657efe86611929ecb7bd4a3.
I didn't think that through far enough; beautify_url may be called on full
urls, which don't start with "/"!
Conflicts:
debian/changelog
Joey Hess [Fri, 11 Jul 2008 13:44:47 +0000 (09:44 -0400)]
beautify url recentchanges_link redirs to
This ensures that the same link is reached as is used on pages,
so browsers will know that the link on pages has been visited, and color it
appropriately.
Joey Hess [Fri, 11 Jul 2008 10:24:25 +0000 (06:24 -0400)]
bug
Joey Hess [Fri, 11 Jul 2008 10:08:36 +0000 (06:08 -0400)]
whitespace
Joey Hess [Fri, 11 Jul 2008 10:07:48 +0000 (06:07 -0400)]
fix use ordering
The recent setup revamp exposed some latent bugs in use/package ordering
that caused some symbols to not the exported into the correct scope.
Joey Hess [Fri, 11 Jul 2008 09:40:18 +0000 (05:40 -0400)]
whitespace
Joey Hess [Fri, 11 Jul 2008 07:16:06 +0000 (03:16 -0400)]
web commit by intrigeri: thanks + note about git collaborative work
Joey Hess [Fri, 11 Jul 2008 07:12:29 +0000 (03:12 -0400)]
web commit by intrigeri: thanks
Joey Hess [Fri, 11 Jul 2008 07:09:59 +0000 (03:09 -0400)]
web commit by intrigeri: answer + fix escaping in example wiki page
Joey Hess [Thu, 10 Jul 2008 19:39:08 +0000 (15:39 -0400)]
question
Joey Hess [Thu, 10 Jul 2008 19:38:08 +0000 (15:38 -0400)]
escape
Joey Hess [Thu, 10 Jul 2008 19:36:18 +0000 (15:36 -0400)]
Fixes creation of pages when clicking on WikiLinks starting with "/".
Joey Hess [Thu, 10 Jul 2008 19:25:05 +0000 (15:25 -0400)]
template: Add support for a BASENAME variable.
Joey Hess [Thu, 10 Jul 2008 19:02:25 +0000 (15:02 -0400)]
web commit by intrigeri: initial bug submission
Joey Hess [Thu, 10 Jul 2008 18:56:52 +0000 (14:56 -0400)]
web commit by intrigeri: added opinion + patch
Joey Hess [Thu, 10 Jul 2008 17:16:03 +0000 (13:16 -0400)]
work around CGI::Session constructor issues
The constructor can fail with a useless error message if module fail to
load. Work around this by evaling it, and checking for failures, and
printing CGI::Session->errstr to get a more useful message.
Joey Hess [Thu, 10 Jul 2008 08:32:24 +0000 (04:32 -0400)]
web commit by intrigeri: removed misunderstood references to pagetemplate, added patch against plugins/template
Josh Triplett [Thu, 10 Jul 2008 06:51:32 +0000 (23:51 -0700)]
debian/changelog: fix typo in old entry
Josh Triplett [Thu, 10 Jul 2008 06:42:20 +0000 (23:42 -0700)]
ikiwiki-transition: Fix command-line processing so the prefix_directives transition works again.
Joey Hess [Thu, 10 Jul 2008 04:36:57 +0000 (00:36 -0400)]
reviewed this again
Joey Hess [Thu, 10 Jul 2008 04:19:35 +0000 (00:19 -0400)]
document setup plugins
Joey Hess [Thu, 10 Jul 2008 02:47:06 +0000 (22:47 -0400)]
clarifications, comments
Joey Hess [Thu, 10 Jul 2008 02:40:05 +0000 (22:40 -0400)]
fix changelog
Joey Hess [Thu, 10 Jul 2008 02:39:26 +0000 (22:39 -0400)]
Make it possible to load setup files w/o running them. Code needing to do so can call IkiWiki::Setup::load, and the values will be loaded into %IkiWiki::Setup::setup.
Joey Hess [Wed, 9 Jul 2008 21:01:10 +0000 (17:01 -0400)]
add news item for ikiwiki 2.53
Joey Hess [Wed, 9 Jul 2008 20:59:53 +0000 (16:59 -0400)]
releasing version 2.53
Joey Hess [Wed, 9 Jul 2008 20:53:03 +0000 (16:53 -0400)]
improve error message if virus checker fails w/o output
Joey Hess [Wed, 9 Jul 2008 20:14:30 +0000 (16:14 -0400)]
web commit by intrigeri: initial wishlist
Joey Hess [Wed, 9 Jul 2008 12:24:14 +0000 (08:24 -0400)]
web commit by http://jcflack.myopenid.com/
Joey Hess [Wed, 9 Jul 2008 12:20:33 +0000 (08:20 -0400)]
web commit by http://jcflack.myopenid.com/
Joey Hess [Wed, 9 Jul 2008 08:27:10 +0000 (04:27 -0400)]
web commit by http://ptecza.myopenid.com/: * Confirmation and thanks
Joey Hess [Wed, 9 Jul 2008 06:05:57 +0000 (02:05 -0400)]
remove patch tag
Joey Hess [Wed, 9 Jul 2008 06:02:26 +0000 (02:02 -0400)]
close
Joey Hess [Wed, 9 Jul 2008 06:02:03 +0000 (02:02 -0400)]
close
Joey Hess [Wed, 9 Jul 2008 04:25:15 +0000 (00:25 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Wed, 9 Jul 2008 04:24:59 +0000 (00:24 -0400)]
testing
Joey Hess [Wed, 9 Jul 2008 04:20:39 +0000 (00:20 -0400)]
web commit by bremner: fix my name
Joey Hess [Wed, 9 Jul 2008 02:47:28 +0000 (22:47 -0400)]
mention github mirror
Joey Hess [Wed, 9 Jul 2008 02:44:52 +0000 (22:44 -0400)]
testing
Joey Hess [Wed, 9 Jul 2008 02:30:43 +0000 (22:30 -0400)]
testing
Joey Hess [Wed, 9 Jul 2008 02:29:24 +0000 (22:29 -0400)]
testing
Joey Hess [Wed, 9 Jul 2008 02:27:38 +0000 (22:27 -0400)]
testing
Joey Hess [Wed, 9 Jul 2008 02:26:37 +0000 (22:26 -0400)]
testing
Joey Hess [Wed, 9 Jul 2008 00:52:30 +0000 (20:52 -0400)]
otl: Support utf-8 files. (Recai Oktaş)
Joey Hess [Wed, 9 Jul 2008 00:47:29 +0000 (20:47 -0400)]
response
Joey Hess [Wed, 9 Jul 2008 00:42:28 +0000 (20:42 -0400)]
web commit by https://id.mayfirst.org/jamie/
Joey Hess [Wed, 9 Jul 2008 00:41:45 +0000 (20:41 -0400)]
web commit by https://id.mayfirst.org/jamie/
Joey Hess [Tue, 8 Jul 2008 23:28:20 +0000 (19:28 -0400)]
response
Joey Hess [Tue, 8 Jul 2008 23:15:40 +0000 (19:15 -0400)]
web commit by AndrewGreenberg: bad formatting on bug report, sorry.
Joey Hess [Tue, 8 Jul 2008 23:14:11 +0000 (19:14 -0400)]
web commit by AndrewGreenberg: Added nasty URL edit bug in 2.52.
Joey Hess [Tue, 8 Jul 2008 22:44:56 +0000 (18:44 -0400)]
not yet released
Joey Hess [Tue, 8 Jul 2008 22:35:48 +0000 (18:35 -0400)]
response
Joey Hess [Tue, 8 Jul 2008 22:13:49 +0000 (18:13 -0400)]
web commit by mrled
Joey Hess [Tue, 8 Jul 2008 22:12:33 +0000 (18:12 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Conflicts:
doc/bugs/attachment:_failed_to_get_filehandle.mdwn
Joey Hess [Tue, 8 Jul 2008 22:10:05 +0000 (18:10 -0400)]
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 [Tue, 8 Jul 2008 21:18:02 +0000 (17:18 -0400)]
explicitly set form type to multipart
This is the default in unstable's formbuilder, but not in stable's,
and CGI multipart is needed for fule uploads.
Joey Hess [Tue, 8 Jul 2008 21:08:00 +0000 (17:08 -0400)]
Include ikiwiki.setup in examples in the debian package.
Joey Hess [Tue, 8 Jul 2008 21:05:33 +0000 (17:05 -0400)]
web commit by http://ptecza.myopenid.com/: * Thanks!
Joey Hess [Tue, 8 Jul 2008 21:04:28 +0000 (17:04 -0400)]
web commit by HenrikBrixAndersen: This happens on FreeBSD as well
Joey Hess [Tue, 8 Jul 2008 20:59:21 +0000 (16:59 -0400)]
reproduced
Joey Hess [Tue, 8 Jul 2008 20:21:17 +0000 (16:21 -0400)]
response
Joey Hess [Tue, 8 Jul 2008 20:21:01 +0000 (16:21 -0400)]
check for tempfile being empty
Joey Hess [Tue, 8 Jul 2008 20:18:11 +0000 (16:18 -0400)]
rm
Joey Hess [Tue, 8 Jul 2008 20:11:18 +0000 (16:11 -0400)]
web commit by http://ptecza.myopenid.com/: * The bug still occurs
Joey Hess [Tue, 8 Jul 2008 18:18:09 +0000 (14:18 -0400)]
add dist-bugs
Joey Hess [Tue, 8 Jul 2008 17:47:02 +0000 (13:47 -0400)]
merge
Joey Hess [Tue, 8 Jul 2008 17:46:01 +0000 (13:46 -0400)]
response
Joey Hess [Tue, 8 Jul 2008 17:16:11 +0000 (13:16 -0400)]
web commit by mrled
Joey Hess [Tue, 8 Jul 2008 17:08:46 +0000 (13:08 -0400)]
web commit by mrled
Joey Hess [Tue, 8 Jul 2008 17:04:23 +0000 (13:04 -0400)]
web commit by mrled
Joey Hess [Tue, 8 Jul 2008 17:03:46 +0000 (13:03 -0400)]
web commit by mrled
Joey Hess [Tue, 8 Jul 2008 17:02:25 +0000 (13:02 -0400)]
web commit by mrled
Joey Hess [Tue, 8 Jul 2008 16:16:36 +0000 (12:16 -0400)]
undef $fh before opening
Joey Hess [Tue, 8 Jul 2008 15:56:31 +0000 (11:56 -0400)]
web commit by http://ptecza.myopenid.com/: * Still no success
Joey Hess [Tue, 8 Jul 2008 15:47:03 +0000 (11:47 -0400)]
response
Joey Hess [Tue, 8 Jul 2008 15:25:30 +0000 (11:25 -0400)]
another try at dealing with CGI.pm problem
open the temp file if all attempts to get a fd fail
Joey Hess [Tue, 8 Jul 2008 15:15:48 +0000 (11:15 -0400)]
web commit by http://ptecza.myopenid.com/: * Debugging again
Joey Hess [Tue, 8 Jul 2008 14:43:45 +0000 (10:43 -0400)]
possible fix
Joey Hess [Tue, 8 Jul 2008 14:42:58 +0000 (10:42 -0400)]
attachment: Support old versions of CGI.pm that lack an upload method.
Joey Hess [Tue, 8 Jul 2008 14:24:24 +0000 (10:24 -0400)]
web commit by http://ptecza.myopenid.com/: * Next debbuging
Joey Hess [Tue, 8 Jul 2008 14:16:29 +0000 (10:16 -0400)]
new thing to try
Joey Hess [Tue, 8 Jul 2008 14:05:57 +0000 (10:05 -0400)]
fix fix
Joey Hess [Tue, 8 Jul 2008 14:04:43 +0000 (10:04 -0400)]
close
Joey Hess [Tue, 8 Jul 2008 14:03:55 +0000 (10:03 -0400)]
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 [Tue, 8 Jul 2008 14:00:48 +0000 (10:00 -0400)]
web commit by http://ptecza.myopenid.com/: * Missing Apache2 version
Joey Hess [Tue, 8 Jul 2008 13:58:33 +0000 (09:58 -0400)]
web commit by http://ptecza.myopenid.com/: * Response
Joey Hess [Tue, 8 Jul 2008 13:49:29 +0000 (09:49 -0400)]
split out separate bug
Joey Hess [Tue, 8 Jul 2008 13:46:29 +0000 (09:46 -0400)]
response
Joey Hess [Tue, 8 Jul 2008 13:40:46 +0000 (09:40 -0400)]
attachment: Fix an uninitialised value warning when editing a page that currently has no attachments.
Joey Hess [Tue, 8 Jul 2008 13:37:58 +0000 (09:37 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Tue, 8 Jul 2008 13:29:19 +0000 (09:29 -0400)]
web commit by http://jcflack.myopenid.com/
Joey Hess [Tue, 8 Jul 2008 10:42:33 +0000 (06:42 -0400)]
web commit by http://ptecza.myopenid.com/: * Problem with colon in report page name