https://brian.may.myopenid.com// [Mon, 24 Nov 2008 03:34:22 +0000 (22:34 -0500)]
more details
https://brian.may.myopenid.com// [Mon, 24 Nov 2008 03:20:54 +0000 (22:20 -0500)]
more details
intrigeri [Mon, 24 Nov 2008 00:54:13 +0000 (01:54 +0100)]
Merge commit 'origin/master' into pub/master
Conflicts:
debian/control
intrigeri [Mon, 24 Nov 2008 00:51:48 +0000 (01:51 +0100)]
Merge commit 'upstream/master' into pub/master
https://brian.may.myopenid.com// [Mon, 24 Nov 2008 00:51:20 +0000 (19:51 -0500)]
Update to CSV link issue
intrigeri [Mon, 24 Nov 2008 00:47:04 +0000 (01:47 +0100)]
Merge commit 'upstream/master' into pub/master
http://smcv.pseudorandom.co.uk/ [Sun, 23 Nov 2008 18:56:51 +0000 (13:56 -0500)]
generalization of recentchanges_link
http://smcv.pseudorandom.co.uk/ [Sun, 23 Nov 2008 18:53:18 +0000 (13:53 -0500)]
http://smcv.pseudorandom.co.uk/ [Sat, 22 Nov 2008 18:38:02 +0000 (13:38 -0500)]
Unbalanced </p> appears in some situations, particularly with htmltidy
https://brian.may.myopenid.com// [Sat, 22 Nov 2008 08:54:48 +0000 (03:54 -0500)]
links broken in CSV files
intrigeri [Fri, 21 Nov 2008 15:09:33 +0000 (16:09 +0100)]
Merge commit 'upstream/master' into pub/master
http://www.iredale.net/b/ [Thu, 20 Nov 2008 23:17:34 +0000 (18:17 -0500)]
http://www.iredale.net/b/ [Thu, 20 Nov 2008 23:14:35 +0000 (18:14 -0500)]
http://www.iredale.net/b/ [Thu, 20 Nov 2008 23:08:06 +0000 (18:08 -0500)]
Joey Hess [Thu, 20 Nov 2008 17:55:57 +0000 (12:55 -0500)]
avoid adding ./ to urls unnecessarily
This avoids constructing urls like "./../foo/".
The leading "../" avoids any colon confusion already.
I noticed in my logs that certain badly written web spiders (hello again,
Yahoo!) fail to follow urls like ikiwiki was constructing to the right
place (instead ending up at "./foo/")
Joey Hess [Thu, 20 Nov 2008 17:44:23 +0000 (12:44 -0500)]
response
http://joey.kitenet.net/ [Thu, 20 Nov 2008 17:42:08 +0000 (12:42 -0500)]
test commit
Joey Hess [Thu, 20 Nov 2008 17:41:26 +0000 (12:41 -0500)]
essaywriter: nice try, but your spam was recognised and removed
http://schmonz.livejournal.com/ [Thu, 20 Nov 2008 03:52:36 +0000 (22:52 -0500)]
does change to ikiwiki.cgi locking help?
Joey Hess [Wed, 19 Nov 2008 22:31:32 +0000 (17:31 -0500)]
Merge branch 'master' of file:///srv/git/ikiwiki.info
Joey Hess [Wed, 19 Nov 2008 22:31:17 +0000 (17:31 -0500)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Wed, 19 Nov 2008 22:30:21 +0000 (17:30 -0500)]
French translation update from Philippe Batailler. Closes: #506250
essaywriter [Wed, 19 Nov 2008 11:00:34 +0000 (06:00 -0500)]
essaywriter [Wed, 19 Nov 2008 10:57:56 +0000 (05:57 -0500)]
essaywriter [Wed, 19 Nov 2008 10:44:09 +0000 (05:44 -0500)]
http://smcv.pseudorandom.co.uk/ [Wed, 19 Nov 2008 10:39:23 +0000 (05:39 -0500)]
wishlist from IRC
http://smcv.pseudorandom.co.uk/ [Wed, 19 Nov 2008 10:30:27 +0000 (05:30 -0500)]
respond to joey, some more suggestions
http://www.cse.unsw.edu.au/~willu/ [Wed, 19 Nov 2008 05:10:10 +0000 (00:10 -0500)]
Client side cookie detection with javascript?
intrigeri [Tue, 18 Nov 2008 23:05:13 +0000 (00:05 +0100)]
Merge commit 'upstream/master'
Conflicts:
debian/control
intrigeri [Tue, 18 Nov 2008 22:06:42 +0000 (23:06 +0100)]
Merge commit 'upstream/master' into pub/master
Joey Hess [Tue, 18 Nov 2008 19:12:52 +0000 (14:12 -0500)]
another thought
Joey Hess [Tue, 18 Nov 2008 19:03:44 +0000 (14:03 -0500)]
responses
Joey Hess [Tue, 18 Nov 2008 18:46:03 +0000 (13:46 -0500)]
avoid uninitialized value warning
Joey Hess [Tue, 18 Nov 2008 17:56:02 +0000 (12:56 -0500)]
respond, sheesh
http://mjr.towers.org.uk/ [Tue, 18 Nov 2008 13:20:30 +0000 (08:20 -0500)]
Further details
http://mjr.towers.org.uk/ [Tue, 18 Nov 2008 13:14:57 +0000 (08:14 -0500)]
auto-hosting sites
http://smcv.pseudorandom.co.uk/ [Tue, 18 Nov 2008 12:07:25 +0000 (07:07 -0500)]
http://smcv.pseudorandom.co.uk/ [Tue, 18 Nov 2008 11:58:39 +0000 (06:58 -0500)]
Fix link
http://smcv.pseudorandom.co.uk/ [Tue, 18 Nov 2008 11:14:08 +0000 (06:14 -0500)]
Raw HTML now allowed, joeyh convinced me :-)
http://smcv.pseudorandom.co.uk/ [Tue, 18 Nov 2008 10:54:34 +0000 (05:54 -0500)]
update
http://smcv.pseudorandom.co.uk/ [Tue, 18 Nov 2008 10:40:23 +0000 (05:40 -0500)]
Fix link to htmlbalance
http://smcv.pseudorandom.co.uk/ [Tue, 18 Nov 2008 10:37:36 +0000 (05:37 -0500)]
update
http://smcv.pseudorandom.co.uk/ [Tue, 18 Nov 2008 10:12:53 +0000 (05:12 -0500)]
update for rename of plugins/contrib/postcomment.mdwn to plugins/contrib/comments.mdwn
http://smcv.pseudorandom.co.uk/ [Tue, 18 Nov 2008 10:12:52 +0000 (05:12 -0500)]
update for rename of plugins/contrib/postcomment.mdwn to plugins/contrib/comments.mdwn
http://smcv.pseudorandom.co.uk/ [Tue, 18 Nov 2008 10:12:44 +0000 (05:12 -0500)]
rename plugins/contrib/postcomment.mdwn to plugins/contrib/comments.mdwn
http://technorati.com/people/technorati/drajt [Tue, 18 Nov 2008 09:48:06 +0000 (04:48 -0500)]
http://smcv.pseudorandom.co.uk/ [Tue, 18 Nov 2008 09:15:58 +0000 (04:15 -0500)]
response
Joey Hess [Tue, 18 Nov 2008 07:48:24 +0000 (02:48 -0500)]
html escaping complication
Can't escape things to entities if the template then escapes the entities.
(aggregate doesn't have this problem.)
Joey Hess [Tue, 18 Nov 2008 07:43:17 +0000 (02:43 -0500)]
improve escaping of wikilinks and preprocessor directives
The old method failed for '[' x 3.
Joey Hess [Mon, 17 Nov 2008 23:45:55 +0000 (18:45 -0500)]
Change deb dependencies to list Text::Markdown before markdown (really this time).
https://id.launchpad.net/882/bielawski1 [Mon, 17 Nov 2008 22:39:10 +0000 (17:39 -0500)]
stuff
https://id.launchpad.net/882/bielawski1 [Mon, 17 Nov 2008 22:34:19 +0000 (17:34 -0500)]
Joey Hess [Mon, 17 Nov 2008 20:56:15 +0000 (15:56 -0500)]
call decode_utf8 inside eval
holger reported that decode_utf8 was crashing with perl 5.8.8. Earlier, I
thought that passing 0 to the function avoided this with old perls, but
that was apparently not enough, it still crashes. So, put it inside the
eval, so we can at least recover from it crashing.
Joey Hess [Mon, 17 Nov 2008 20:21:55 +0000 (15:21 -0500)]
where can I pull this from?
Joey Hess [Mon, 17 Nov 2008 20:00:33 +0000 (15:00 -0500)]
initial comments
Done inline on the page, `scuse.
Joey Hess [Mon, 17 Nov 2008 19:40:24 +0000 (14:40 -0500)]
don't need libxml-atom-perl now
Joey Hess [Mon, 17 Nov 2008 19:36:00 +0000 (14:36 -0500)]
response
Joey Hess [Mon, 17 Nov 2008 19:27:11 +0000 (14:27 -0500)]
use HTML::Entities
Joey Hess [Mon, 17 Nov 2008 19:22:11 +0000 (14:22 -0500)]
modify to skip tests if the neccessary perl modules are not available
Joey Hess [Mon, 17 Nov 2008 19:19:15 +0000 (14:19 -0500)]
use perl modules up front
The old code actually did the same thing, just obfuscated -- since the eval
use wasn't quoted, it used the modules on load. Thus, the error (not to
mentioned the return) was bypassed, and it just failed on load.
But that seems like the right thing to do, really, so just made it clearer
that's what happens.
Joey Hess [Mon, 17 Nov 2008 19:10:25 +0000 (14:10 -0500)]
thoughts
Joey Hess [Mon, 17 Nov 2008 19:09:53 +0000 (14:09 -0500)]
adding htmlbalance; housekeeping
Used the contrib version of the plugin page since it seemed better than the
other one.
Joey Hess [Mon, 17 Nov 2008 19:01:28 +0000 (14:01 -0500)]
Merge commit 'smcv/htmlbalance'
http://smcv.pseudorandom.co.uk/ [Mon, 17 Nov 2008 11:44:50 +0000 (06:44 -0500)]
Fix tag directive
http://smcv.pseudorandom.co.uk/ [Mon, 17 Nov 2008 11:43:54 +0000 (06:43 -0500)]
Link to postcomment
http://smcv.pseudorandom.co.uk/ [Mon, 17 Nov 2008 11:42:07 +0000 (06:42 -0500)]
Publicise postcomment
http://smcv.pseudorandom.co.uk/ [Mon, 17 Nov 2008 11:14:51 +0000 (06:14 -0500)]
Explicitly say that I'd like to get this into ikiwiki
http://smcv.pseudorandom.co.uk/ [Mon, 17 Nov 2008 11:13:46 +0000 (06:13 -0500)]
Link to third-party htmlbalance plugin
http://smcv.pseudorandom.co.uk/ [Mon, 17 Nov 2008 11:10:53 +0000 (06:10 -0500)]
link to stuff
Simon McVittie [Sun, 16 Nov 2008 18:11:39 +0000 (18:11 +0000)]
htmlbalance: new plugin that balances tags by parsing and re-serializing
intrigeri [Thu, 13 Nov 2008 18:09:47 +0000 (19:09 +0100)]
Merge commit 'upstream/master' into pub/master
intrigeri [Thu, 13 Nov 2008 18:03:29 +0000 (19:03 +0100)]
Merge commit 'origin/master'
intrigeri [Thu, 13 Nov 2008 13:46:10 +0000 (14:46 +0100)]
Merge commit 'upstream/master' into pub/master
intrigeri [Thu, 13 Nov 2008 03:40:56 +0000 (04:40 +0100)]
Merge commit 'upstream/master' into pub/master
intrigeri [Thu, 13 Nov 2008 03:40:56 +0000 (04:40 +0100)]
Merge commit 'upstream/master'
intrigeri [Thu, 13 Nov 2008 03:40:55 +0000 (04:40 +0100)]
Merge commit 'origin/master'
intrigeri [Thu, 13 Nov 2008 03:39:53 +0000 (04:39 +0100)]
Merge commit 'upstream/master' into prv/po
intrigeri [Thu, 13 Nov 2008 03:38:49 +0000 (04:38 +0100)]
Merge commit 'upstream/master' into pub/master
intrigeri [Thu, 13 Nov 2008 03:32:02 +0000 (04:32 +0100)]
reported my need for a global renamepage hook
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 13 Nov 2008 03:38:48 +0000 (04:38 +0100)]
Merge commit 'upstream/master'
intrigeri [Thu, 13 Nov 2008 03:38:48 +0000 (04:38 +0100)]
Merge commit 'origin/master'
intrigeri [Thu, 13 Nov 2008 03:37:26 +0000 (04:37 +0100)]
po(change): reset renamed pages status at a better time
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 13 Nov 2008 02:55:55 +0000 (03:55 +0100)]
po: initial infrastructure to deal with renamed master page
This is a skeleton that does nothing yet.
See the comments in the code for an overview of the issue that arises, due to
the renamepage hook never being called globally.
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 13 Nov 2008 00:38:22 +0000 (01:38 +0100)]
po(delete): added hook, and function skeleton
Not implemented yet, 'cos the renamepage hook has to come first.
Else translations would be deleted on rename, what a shame.
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 13 Nov 2008 00:07:52 +0000 (01:07 +0100)]
po(change): avoid losing information before guessing the same...
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Wed, 12 Nov 2008 23:56:23 +0000 (00:56 +0100)]
po(istranslatablefile): extracted this from istranslatable
... will need this soon to deal with master file deletion.
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Wed, 12 Nov 2008 23:52:16 +0000 (00:52 +0100)]
po.t: cleanup
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Wed, 12 Nov 2008 23:15:13 +0000 (00:15 +0100)]
po/todo: added test results
Signed-off-by: intrigeri <intrigeri@boum.org>
Joey Hess [Wed, 12 Nov 2008 23:08:10 +0000 (18:08 -0500)]
add news item for ikiwiki 2.70
Joey Hess [Wed, 12 Nov 2008 23:01:46 +0000 (18:01 -0500)]
releasing version 2.70
Joey Hess [Wed, 12 Nov 2008 22:35:21 +0000 (17:35 -0500)]
note fix versions
Joey Hess [Wed, 12 Nov 2008 22:19:41 +0000 (17:19 -0500)]
check for invalid utf-8, and toss it back to avoid crashes
Since ikiwiki uses open :utf8, perl assumes that files contain valid utf-8.
If it turns out to be malformed it may later crash while processing strings
read from them, with 'Malformed UTF-8 character (fatal)'.
As at least a quick fix, use utf8::valid as soon as data is read, and if
it's not valid, call encode_utf8 on the string, thus clearing the utf-8
flag. This may cause follow-on encoding problems, but will avoid this
crash, and the input file was broken anyway, so GIGO is a reasonable
response. (I looked at calling decode_utf8 after, but it seemed to cause
more trouble than it was worth. BTW, use open ':encoding(utf8)' avaoids
this problem, but the corrupted data later causes Storable to crash when
writing the index.)
This is a quick fix, clearly imperfect:
- It might be better to explicitly call decode_utf8 when reading files,
rather than using the IO layer.
- Data read other than by readfile() can still sneak in bad utf-8. While
ikiwiki does very little file input not using it, stdin for the CGI
would be one way.
intrigeri [Wed, 12 Nov 2008 22:22:26 +0000 (23:22 +0100)]
po(otherlanguages): return pages that should exist
... instead of already existing ones.
This fixes the "missing otherlanguages links on master pages just created via
the CGI" bug.
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Wed, 12 Nov 2008 21:32:47 +0000 (22:32 +0100)]
po: memoized istranslatable, eventually
And enjoy a 10% rebuild time enhancement on a complex wiki full of maps and
other pseudo-dynamic content, with some other costly plugins enabled. So it
could well mean 20% on a more usual wiki.
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Wed, 12 Nov 2008 20:15:33 +0000 (21:15 +0100)]
po(change): flush Memoize cache, to fix bug after rename/remove
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Wed, 12 Nov 2008 19:13:40 +0000 (20:13 +0100)]
po/todo: first pass of robustness tests, added todo for remove/rename
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Wed, 12 Nov 2008 17:03:14 +0000 (18:03 +0100)]
po(htmlize): ignore PO files not managed by this plugin
This way, the po plugin will not appropriate PO files it is not responsible for,
and PO files existing before this plugin was enabled can coexist peacefully with
our own ones.
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Wed, 12 Nov 2008 16:52:00 +0000 (17:52 +0100)]
po: ooops, fixed just introduced bug
(I just removed in istranslation and _istranslation the dependency on
istranslatable... which broke things in a subtle way, hard to see at the first
glance.)
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Wed, 12 Nov 2008 16:36:00 +0000 (17:36 +0100)]
parentlinks: fixed links when po plugin is enabled
(and usedirs is disabled)
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Wed, 12 Nov 2008 16:27:53 +0000 (17:27 +0100)]
po: fix istranslation/istranslatable for pages starting with /
Signed-off-by: intrigeri <intrigeri@boum.org>