Commit Graph

6855 Commits (82649be475f0d3459ea09d4fe6d65dfe212f0a80)

Author SHA1 Message Date
Joey Hess 92b48bab99 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-12-20 17:58:01 -05:00
http://smcv.pseudorandom.co.uk/ 4b3d3f519d 2008-12-20 13:03:44 -05:00
Simon McVittie f94665800c comment.tmpl: make anon/OpenID/signed-in icons independent of smileys 2008-12-20 17:39:55 +00:00
Joey Hess ce58338e3d haskell 2008-12-20 11:30:48 -05:00
Joey Hess 6828cd84a1 note 2008-12-20 11:04:45 -05:00
brush 4176c3483d minor edits 2008-12-20 05:58:00 -05:00
brush 39e5de4e33 added details on cgi wrapper creation 2008-12-20 05:56:04 -05:00
http://weakish.int.eu.org/ 80884d33e0 initial page 2008-12-20 04:20:58 -05:00
http://weakish.int.eu.org/ 3d7d29791e vimperator can do this, too. 2008-12-20 04:18:56 -05:00
Joey Hess 301733ba13 fix comment permalink to always point to comment parent page 2008-12-19 17:33:40 -05:00
Joey Hess 0b002b79b7 update 2008-12-19 17:26:41 -05:00
Joey Hess 4ed092c05b typos 2008-12-19 17:07:54 -05:00
Joey Hess 091c7fd25b add link from comment subject to its permalink 2008-12-19 14:20:07 -05:00
Joey Hess 29cb9027f4 fiddle with comment css classes 2008-12-19 14:14:20 -05:00
Joey Hess 79a787a466 rename comments_form to editcomment 2008-12-19 14:07:22 -05:00
Joey Hess ddabb010b2 rename comments_display to comment 2008-12-19 14:03:26 -05:00
Joey Hess 7521dd6c75 jump to comment after posting
Jumping to the just posted comment was the imputus, but I killed a number
of birds here.

Added a INLINEPAGE template variable, which can be used to add anchors to
any inline template.

To keep that sufficiently general, it is the full page name, so the
comment anchors and links changed form.

Got rid of the FIXMEd hardcoded html anchor div.

More importantly, the anchor is now to the very top of the comment, not the
text below. So you can see the title, and how it attributes you.

Avoid changing the permalink of pages that are not really comments, but
happen to contain the _comment directive. I think that behavior was a bug,
though not a likely one to occur since _comment should only really be used
on comment pages.
2008-12-18 20:58:16 -05:00
Joey Hess d7855474fd document how to make a global comments feed 2008-12-18 20:20:42 -05:00
Joey Hess 1d82ac40d4 responses 2008-12-18 20:10:42 -05:00
smcv@ a115ff254d Update todo/comments with today's fixes, and thoughts about the remaining items 2008-12-18 21:10:08 +00:00
justin 8414a62e7f 2008-12-18 14:20:59 -05:00
Joey Hess b2439a3e51 pagespec thoughts 2008-12-18 12:53:47 -05:00
Joey Hess 835801a6ff note about comments feed 2008-12-18 12:32:23 -05:00
Joey Hess 385123006e close 2008-12-17 21:17:42 -05:00
Joey Hess 1074d38f0d deletion 2008-12-17 20:40:46 -05:00
Joey Hess 3e2f75af6b fix 2008-12-17 20:19:12 -05:00
Joey Hess d647ca286a simplify pagespec 2008-12-17 20:10:22 -05:00
Joey Hess 8614abce09 two comments ui suggestions 2008-12-17 19:47:54 -05:00
Joey Hess 140c0bacba change around comments pagespecs
I think it is clearer to have one pagespec that controls all pages with
comments, and a separate pagespec that can be used to close new comments on
a subset of those pages.
2008-12-17 18:50:04 -05:00
Joey Hess 60142db48e clarification 2008-12-17 15:29:22 -05:00
Joey Hess bb93fccf06 Coding style change: Remove explcit vim folding markers. 2008-12-17 15:22:16 -05:00
Joey Hess fdd994fb73 more comments doc updates
Moved todo items to a todo page, mark the old todo item about comments as
done, etc.
2008-12-17 14:15:52 -05:00
Joey Hess 613a54a3cb Merge branch 'master' into comments 2008-12-17 14:06:57 -05:00
Joey Hess f9b87a9f8b monotone: When getting the log, tell monotone how many entries we want, rather than closing the pipe, which it dislikes. (thm) 2008-12-17 13:59:12 -05:00
http://thm.id.fedoraproject.org/ 8621e52e09 rename bugs/bugfix_for:___38____35__34__59__mtn:_operation_canceled:_Broken_pipe__38____35__34__59_____40__patch__41__.mdwn to bugs/bugfix_for:___34__mtn:_operation_canceled:_Broken_pipe__34_____40__patch__41__.mdwn 2008-12-17 05:54:16 -05:00
http://thm.id.fedoraproject.org/ 4e97a8d915 rename bugs/bugfix_for:___34__mtn:_operation_canceled:_Broken_pipe__34__.mdwn to bugs/bugfix_for:___38____35__34__59__mtn:_operation_canceled:_Broken_pipe__38____35__34__59_____40__patch__41__.mdwn 2008-12-17 05:52:10 -05:00
http://thm.id.fedoraproject.org/ e0061660c9 2008-12-16 06:56:19 -05:00
http://thm.id.fedoraproject.org/ df59b3e3cd 2008-12-16 06:54:55 -05:00
Jon Dowland f6562fb186 add a meta title 2008-12-15 16:09:26 +00:00
Jon Dowland 6307f5381f not putting cgi in destdir 2008-12-15 15:39:07 +00:00
Joey Hess e9797ee086 improve documentation of postcomment 2008-12-12 15:02:40 -05:00
Joey Hess 9d5075ab52 first pass through comments documentation
Moved documentation out of contrib.

Mostly tweaked some wording. Moved documentation of various bits to other
pages (pagespec, etc), and linked to those.

Documented the new templates in wikitemplates.

Small quantities of documentation were removed. Particularly the list of
template variables, which I think is fairly obvious when editing the
template.
2008-12-12 14:52:05 -05:00
Joey Hess 41efa5ac92 Merge branch 'master' into comments 2008-12-12 14:21:08 -05:00
Joey Hess 88e8d4bf8d meta: Pass info to htmlscrubber so htmlscrubber_skip can take effect. 2008-12-12 14:06:45 -05:00
http://smcv.pseudorandom.co.uk/ 5625be3bcd Another TODO item 2008-12-12 06:34:51 -05:00
http://smcv.pseudorandom.co.uk/ b8c1670500 update with some more code improvements 2008-12-12 06:29:02 -05:00
http://john.choffee.co.uk/ 53c122b3bb 2008-12-12 05:22:53 -05:00
justin 35dcd53cf4 adding setup note 2008-12-12 00:40:00 -05:00
tschwinge 0983f4c81e Fix too much quoting. 2008-12-11 19:38:53 -05:00
tschwinge 574640b069 Fix cut'n'past-o. 2008-12-11 19:36:36 -05:00
Simon McVittie 3d4aa065d6 postcomment: Rename plugin to comments, use *._comment files
The PageSpec is still called "postcomment" since that's what it means.
2008-12-11 21:14:02 +00:00
Simon McVittie 3c9ccb406b Rename smcvpostcomment plugin to postcomment to propose for inclusion 2008-12-11 21:14:02 +00:00
Simon McVittie 2857b301e7 smcvpostcomment_*.tmpl: make class names match template names
Also put "posting comments disabled" in [], and change "Page preview"
to "Comment preview".
2008-12-11 21:14:02 +00:00
Simon McVittie 7bd9f368b6 Add some basic stylesheet rules for smcvpostcomment 2008-12-11 21:14:01 +00:00
Simon McVittie 446740cfbb style.css: reduce the scope of the .author rule to when it's nested in .inlineheader
In the initial template for blog-style comments, I don't want the author
name to be quite as large and prominent as the author of a blog post - I
expect that comments will be rather short, so the author name stands out
better for a given font size.
2008-12-11 21:14:01 +00:00
Joey Hess b67632cdcd inline: Support feedfile option to change the filename of the feed generated. 2008-12-11 15:01:26 -05:00
Joey Hess 2cd7eecf89 looking closer, the existing %knownfeeds won't work 2008-12-11 14:26:58 -05:00
Joey Hess 3b3127643b rethink 2008-12-11 14:12:03 -05:00
Joey Hess e968dbac13 thoughts 2008-12-11 14:09:34 -05:00
Joey Hess 63eb9d834e inline: Support emptyfeeds=no option to skip generating empty feeds. 2008-12-11 14:04:38 -05:00
Joey Hess a6a85fa444 formatting 2008-12-11 13:32:42 -05:00
Joey Hess 3305fb9d36 markdown fixes 2008-12-11 13:31:25 -05:00
Joey Hess 8b7c2f29bf fix comment 2008-12-11 13:29:30 -05:00
Joey Hess d135bd3f98 add gitremotes script, parsing list of remotes on doc/git.mdwn
Any remotes added will automatically be pulled into my working copy.
2008-12-11 13:27:50 -05:00
http://smcv.pseudorandom.co.uk/ 50ae0dcd8c some issues joeyh reported on IRC 2008-12-11 06:07:37 -05:00
http://smcv.pseudorandom.co.uk/ ec0dff43ce suggest another feature for the comments plugin's benefit 2008-12-11 06:02:49 -05:00
http://smcv.pseudorandom.co.uk/ 120e7553e3 suggest a feature that would improve the comments plugin 2008-12-11 05:59:24 -05:00
http://smcv.pseudorandom.co.uk/ 52bd18aafc Link to sandbox on my demo of the plugin 2008-12-10 22:12:11 -05:00
http://smcv.pseudorandom.co.uk/ 59c29b532e multiple formats now supported 2008-12-10 21:50:15 -05:00
http://smcv.pseudorandom.co.uk/ d6b87bd25e Update with today's changes 2008-12-10 21:44:50 -05:00
http://beza1e1.tuxen.de/ 570eedd7f4 Arch Linux packaged 2008-12-09 16:58:15 -05:00
http://john.choffee.co.uk/ a6b9fadc9a Fixed the pagespec link 2008-12-09 08:27:59 -05:00
http://www.iredale.net/b/ 28ddf3280f 2008-12-07 17:57:49 -05:00
Joey Hess e6e8d906d1 remove ubuntu instructions, which don't belong here
1. apt-get is not yum
2. installing ikiwiki by hand is not the correct thing to do on ubuntu,
   so this page should not mention ubuntu

Also remove instructions for installing deps via yum, now that there is a
ikiwiki package in fedora.
2008-12-07 13:45:50 -05:00
buo 1506638f15 Add command line to install perl modules in ubuntu 8.10 2008-12-05 14:27:29 -05:00
Joey Hess 1c9881cf89 remove clutter in example blog 2008-12-04 16:23:41 -05:00
o 0ea00036db 2008-12-04 15:34:12 -05:00
Joey Hess fa130859dc response 2008-12-03 15:37:48 -05:00
http://alcopop.org/me/openid/ fa72896cdc correct wikilink 2008-12-02 17:18:43 -05:00
Jon Dowland 928c7a821b Merge branch 'master' of git://git.ikiwiki.info 2008-12-02 15:29:29 +00:00
Jon Dowland 0d27e0e329 my edits... 2008-12-02 15:25:44 +00:00
http://alcopop.org/me/openid/ 6edf1126d7 provide for ignoring h1s etc. in toc 2008-12-02 10:25:44 -05:00
Jon Dowland 9e5f5a661e remove hoz-rule from bug, for clarity 2008-12-02 15:12:13 +00:00
Jon Dowland d927e9cd09 Merge branch 'master' of git://git.ikiwiki.info 2008-12-02 15:08:55 +00:00
Jon Dowland 0da57d28de mark this bug as done 2008-12-02 15:08:00 +00:00
http://alcopop.org/me/openid/ 6683a1d76e rename plugin should expand full path of affected pages 2008-12-02 10:07:59 -05:00
Jon Dowland 6e9ec937fa u32.net disappeared 2008-12-02 15:02:24 +00:00
http://alcopop.org/me/openid/ fbdbf9eeef update for rename of users/jondowland.mdwn to users/jon.mdwn 2008-12-02 10:00:48 -05:00
http://alcopop.org/me/openid/ b8fb77b093 update for rename of users/jondowland.mdwn to users/jon.mdwn 2008-12-02 10:00:47 -05:00
http://alcopop.org/me/openid/ e2244e6723 update for rename of users/jondowland.mdwn to users/jon.mdwn 2008-12-02 10:00:46 -05:00
http://alcopop.org/me/openid/ 570eeb6581 update for rename of users/jondowland.mdwn to users/jon.mdwn 2008-12-02 10:00:44 -05:00
http://alcopop.org/me/openid/ 1d0f30dab0 update for rename of users/jondowland.mdwn to users/jon.mdwn 2008-12-02 10:00:43 -05:00
http://alcopop.org/me/openid/ cd16615a23 update for rename of users/jondowland.mdwn to users/jon.mdwn 2008-12-02 10:00:42 -05:00
http://alcopop.org/me/openid/ be3281256b update for rename of users/jondowland.mdwn to users/jon.mdwn 2008-12-02 10:00:41 -05:00
http://alcopop.org/me/openid/ 391952f3a0 update for rename of users/jondowland.mdwn to users/jon.mdwn 2008-12-02 10:00:40 -05:00
http://alcopop.org/me/openid/ c4634dfc92 update for rename of users/jondowland.mdwn to users/jon.mdwn 2008-12-02 10:00:39 -05:00
http://alcopop.org/me/openid/ 1d55c73d41 update for rename of users/jondowland.mdwn to users/jon.mdwn 2008-12-02 10:00:38 -05:00
http://alcopop.org/me/openid/ 3cf1e3931d update for rename of users/jondowland.mdwn to users/jon.mdwn 2008-12-02 10:00:36 -05:00
http://alcopop.org/me/openid/ e7594b33eb update for rename of users/jondowland.mdwn to users/jon.mdwn 2008-12-02 10:00:35 -05:00
http://alcopop.org/me/openid/ 0053777bae update for rename of users/jondowland.mdwn to users/jon.mdwn 2008-12-02 10:00:33 -05:00
http://alcopop.org/me/openid/ be3d73335e update for rename of users/jondowland.mdwn to users/jon.mdwn 2008-12-02 10:00:29 -05:00
http://alcopop.org/me/openid/ 157f184262 update for rename of users/jondowland.mdwn to users/jon.mdwn 2008-12-02 10:00:28 -05:00
http://alcopop.org/me/openid/ d3984de8a1 update for rename of users/jondowland.mdwn to users/jon.mdwn 2008-12-02 10:00:27 -05:00
http://alcopop.org/me/openid/ 4c1848c3a2 rename users/jondowland.mdwn to users/jon.mdwn 2008-12-02 10:00:10 -05:00
Blanko 1a0147b6b3 2008-12-02 08:21:02 -05:00
Jon Dowland 369f4f86bc add note to consider tagbase when trying to match tagged pages 2008-12-01 15:47:29 +00:00
http://alcopop.org/me/openid/ e156758766 simplify example 2008-11-29 10:24:04 -05:00
http://alcopop.org/me/openid/ b683c70b44 update with examples 2008-11-29 10:19:26 -05:00
http://alcopop.org/me/openid/ 13d938d351 behaviour of inline with meta-provided times 2008-11-29 09:06:04 -05:00
Joey Hess 9986650ecf response 2008-11-28 17:40:41 -08:00
http://hadleywickham.myopenid.com/ 708ff7870d 2008-11-27 18:53:18 -05:00
http://smcv.pseudorandom.co.uk/ e69095504c 2008-11-27 05:56:36 -05:00
http://smcv.pseudorandom.co.uk/ ec03c89f3e Move some more discussion here 2008-11-27 05:42:07 -05:00
http://smcv.pseudorandom.co.uk/ 92efb9c000 Move some discussion to discussion/ 2008-11-27 05:39:16 -05:00
http://smcv.pseudorandom.co.uk/ 7a7f4a3cb6 Move some discussion from comments page to here 2008-11-27 05:38:37 -05:00
http://smcv.pseudorandom.co.uk/ 7592a6f5b6 I don't think putting proxy.py in the system Python path is appropriate 2008-11-27 05:26:28 -05:00
http://smcv.pseudorandom.co.uk/ d056a01a55 Fix formatting by adding `...` 2008-11-27 05:15:00 -05:00
Joey Hess 91cb55d96b Correct --dumpsetup to include the srcdir in the setup file. 1997-08-14 08:31:42 -04:00
Joey Hess 04a03c097a comment 1997-08-14 08:26:46 -04:00
Joey Hess 30360b3f53 add W3M_CGI_BIN setting 1997-08-14 08:26:03 -04:00
http://joey.kitenet.net/ 8d2084092e test commit 2008-11-26 13:43:08 -05:00
Joey Hess 2b53ce92fd Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-11-26 13:29:47 -05:00
Joey Hess 17e4fc51be link to tip 2008-11-26 13:24:36 -05:00
http://yam655.livejournal.com/ 0a15052262 2008-11-26 11:42:10 -05:00
http://yam655.livejournal.com/ da7cc0408d Relative previous months? 2008-11-26 11:41:27 -05:00
http://thm.id.fedoraproject.org/ dc31c1100c 2008-11-26 10:38:27 -05:00
http://thm.id.fedoraproject.org/ 2e3473d77d 2008-11-26 09:35:14 -05:00
http://thm.id.fedoraproject.org/ 0c666558e4 2008-11-26 08:58:52 -05:00
http://madduck.net/ c1f7b0af1c proper spelling of viruses 2008-11-26 04:16:11 -05:00
http://yam655.livejournal.com/ fbfe1e314c New page 2008-11-25 21:56:45 -05:00
http://smcv.pseudorandom.co.uk/ 53af988255 Suggest ErrorDocument 404 CGI wrapper 2008-11-24 04:04:50 -05:00
http://smcv.pseudorandom.co.uk/ 70ecf4d1ef Indicate whose offer of a patch this is :-) 2008-11-24 03:51:28 -05:00
https://brian.may.myopenid.com// 1fe1d1de1c more details 2008-11-23 22:34:22 -05:00
https://brian.may.myopenid.com// c807d043aa more details 2008-11-23 22:20:54 -05:00
https://brian.may.myopenid.com// 8adc460bb1 Update to CSV link issue 2008-11-23 19:51:20 -05:00
http://smcv.pseudorandom.co.uk/ a8090bfff8 generalization of recentchanges_link 2008-11-23 13:56:51 -05:00
http://smcv.pseudorandom.co.uk/ bf808c2f52 2008-11-23 13:53:18 -05:00
http://smcv.pseudorandom.co.uk/ 61415acfb8 Unbalanced </p> appears in some situations, particularly with htmltidy 2008-11-22 13:38:02 -05:00
https://brian.may.myopenid.com// 37648a4c09 links broken in CSV files 2008-11-22 03:54:48 -05:00
http://www.iredale.net/b/ 7d11e73f57 2008-11-20 18:17:34 -05:00
http://www.iredale.net/b/ 5c377f477d 2008-11-20 18:14:35 -05:00
http://www.iredale.net/b/ 3cd0660a44 2008-11-20 18:08:06 -05:00
Joey Hess 17659599f3 response 2008-11-20 12:44:23 -05:00
http://joey.kitenet.net/ fb4534ddf8 test commit 2008-11-20 12:42:08 -05:00
Joey Hess 34093ff310 essaywriter: nice try, but your spam was recognised and removed 2008-11-20 12:41:26 -05:00
http://schmonz.livejournal.com/ a10533fe7c does change to ikiwiki.cgi locking help? 2008-11-19 22:52:36 -05:00
essaywriter 903b7ff5ae 2008-11-19 06:00:34 -05:00
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 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
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 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 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 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 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
Joey Hess 2c858c9c95 add news item for ikiwiki 2.69 2008-11-11 21:07:06 -05:00
Joey Hess 2ab3132d3b document other files in .ikiwiki 2008-11-11 21:01:16 -05:00
intrigeri 521d76e508 pagetitle vs meta: announcing a working prototype
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-12 01:10:09 +01:00
Joey Hess 50b95a0742 response 2008-11-11 18:34:18 -05:00
Joey Hess d1b22b2524 lockwiki changes
* Stop busy-waiting in lockwiki, as this could delay ikiwiki from waking up
  for up to one second. The bailout code is no longer needed.
* Remove support for unused optional wait parameter from lockwiki.
2008-11-11 15:54:52 -05:00
Joey Hess 6611f3a2d9 bzr: Fix dates for recentchanges. 2008-11-11 13:44:47 -05:00
Joey Hess 72a2fa9441 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-11-11 13:40:50 -05:00
Joey Hess 700c4bef29 let's stop sucking :-) 2008-11-11 13:40:02 -05:00
intrigeri fb9130c18c po: answered Joey's "create a new translation" question
... that I previously completely missed.

Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-11 17:17:56 +01:00
http://edward.myopenid.com/ 71ea77a780 add item to watch list 2008-11-11 07:59:06 -05:00
bcdugga ebd9f4ce8a 2008-11-11 00:23:20 -05:00
intrigeri 8c47f16dcc po: help request
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-11 04:39:51 +01:00