Commit Graph

8491 Commits (3b3127643b1869ccebcb6d311a9e100e5317d803)

Author SHA1 Message Date
essaywriter e60b4e3eba 2008-11-19 05:57:56 -05:00
essaywriter d169fcbde8 2008-11-19 05:44:09 -05:00
http://smcv.pseudorandom.co.uk/ 4dc7143b5a wishlist from IRC 2008-11-19 05:39:23 -05:00
http://smcv.pseudorandom.co.uk/ 1ecb72160b respond to joey, some more suggestions 2008-11-19 05:30:27 -05:00
http://www.cse.unsw.edu.au/~willu/ 3c9c348578 Client side cookie detection with javascript? 2008-11-19 00:10:10 -05:00
Joey Hess 23f5874a56 another thought 2008-11-18 14:12:52 -05:00
Joey Hess 9b1be757dd responses 2008-11-18 14:03:44 -05:00
Joey Hess a990afd2f7 avoid uninitialized value warning 2008-11-18 13:46:03 -05:00
Joey Hess 19e34cb62e respond, sheesh 2008-11-18 12:56:02 -05:00
http://mjr.towers.org.uk/ 447d3ae258 Further details 2008-11-18 08:20:30 -05:00
http://mjr.towers.org.uk/ 0eca0b4dff auto-hosting sites 2008-11-18 08:14:57 -05:00
http://smcv.pseudorandom.co.uk/ 28ffff1030 2008-11-18 07:07:25 -05:00
http://smcv.pseudorandom.co.uk/ 1c4a005986 Fix link 2008-11-18 06:58:39 -05:00
http://smcv.pseudorandom.co.uk/ c5a7d98b54 Raw HTML now allowed, joeyh convinced me :-) 2008-11-18 06:14:08 -05:00
http://smcv.pseudorandom.co.uk/ c9bddc1591 update 2008-11-18 05:54:34 -05:00
http://smcv.pseudorandom.co.uk/ c66a3f9ca7 Fix link to htmlbalance 2008-11-18 05:40:23 -05:00
http://smcv.pseudorandom.co.uk/ bd14203c0b update 2008-11-18 05:37:36 -05:00
http://smcv.pseudorandom.co.uk/ 22fb4e4d33 update for rename of plugins/contrib/postcomment.mdwn to plugins/contrib/comments.mdwn 2008-11-18 05:12:53 -05:00
http://smcv.pseudorandom.co.uk/ 284b79b36a update for rename of plugins/contrib/postcomment.mdwn to plugins/contrib/comments.mdwn 2008-11-18 05:12:52 -05:00
http://smcv.pseudorandom.co.uk/ 75a3335399 rename plugins/contrib/postcomment.mdwn to plugins/contrib/comments.mdwn 2008-11-18 05:12:44 -05:00
http://technorati.com/people/technorati/drajt 8f43b3ff8d 2008-11-18 04:48:06 -05:00
http://smcv.pseudorandom.co.uk/ 2953b9d850 response 2008-11-18 04:15:58 -05:00
Joey Hess e307eeda3d html escaping complication
Can't escape things to entities if the template then escapes the entities.
(aggregate doesn't have this problem.)
2008-11-18 02:48:24 -05:00
Joey Hess 15269fed64 improve escaping of wikilinks and preprocessor directives
The old method failed for '[' x 3.
2008-11-18 02:43:17 -05:00
Joey Hess 767bf9c483 Change deb dependencies to list Text::Markdown before markdown (really this time). 2008-11-17 18:46:20 -05:00
https://id.launchpad.net/882/bielawski1 b56b282bf6 stuff 2008-11-17 17:39:10 -05:00
https://id.launchpad.net/882/bielawski1 6f3477bf22 2008-11-17 17:34:19 -05:00
Joey Hess 75f262f44d 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.
2008-11-17 15:56:15 -05:00
Joey Hess 7aad3b6047 where can I pull this from? 2008-11-17 15:21:55 -05:00
Joey Hess 2e8c0bce31 initial comments
Done inline on the page, `scuse.
2008-11-17 15:00:33 -05:00
Joey Hess 2e6157e977 don't need libxml-atom-perl now 2008-11-17 14:40:24 -05:00
Joey Hess 345c94dd9d response 2008-11-17 14:36:00 -05:00
Joey Hess 181bdbe1a9 use HTML::Entities 2008-11-17 14:27:11 -05:00
Joey Hess 43039d7d86 modify to skip tests if the neccessary perl modules are not available 2008-11-17 14:22:11 -05:00
Joey Hess e8a945845b 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.
2008-11-17 14:19:15 -05:00
Joey Hess 87f360dee4 thoughts 2008-11-17 14:10:25 -05:00
Joey Hess c0f4735f1f adding htmlbalance; housekeeping
Used the contrib version of the plugin page since it seemed better than the
other one.
2008-11-17 14:09:53 -05:00
Joey Hess 2d857e6aeb Merge commit 'smcv/htmlbalance' 2008-11-17 14:01:28 -05:00
http://smcv.pseudorandom.co.uk/ e204a2c202 Fix tag directive 2008-11-17 06:44:50 -05:00
http://smcv.pseudorandom.co.uk/ a670bac3e1 Link to postcomment 2008-11-17 06:43:54 -05:00
http://smcv.pseudorandom.co.uk/ c59d9c64a3 Publicise postcomment 2008-11-17 06:42:07 -05:00
http://smcv.pseudorandom.co.uk/ 8f22c2454f Explicitly say that I'd like to get this into ikiwiki 2008-11-17 06:14:51 -05:00
http://smcv.pseudorandom.co.uk/ 913b516b4e Link to third-party htmlbalance plugin 2008-11-17 06:13:46 -05:00
http://smcv.pseudorandom.co.uk/ 0e31e924e8 link to stuff 2008-11-17 06:10:53 -05:00
Simon McVittie e7a840ed9a htmlbalance: new plugin that balances tags by parsing and re-serializing 2008-11-17 10:46:21 +00:00
intrigeri 408d483dc2 reported my need for a global renamepage hook
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-13 04:38:48 +01:00
Joey Hess 699aa79c2e add news item for ikiwiki 2.70 2008-11-12 18:08:10 -05:00
Joey Hess 31a1a3215b releasing version 2.70 2008-11-12 18:01:46 -05:00
Joey Hess 97cb036811 note fix versions 2008-11-12 17:35:21 -05:00
Joey Hess 716560b7f1 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.
2008-11-12 17:30:54 -05:00