Commit Graph

7029 Commits (e9e75f5f29d78b0631f98d9b0fa93184fcb181fe)

Author SHA1 Message Date
Joey Hess dbd95c67bc add link to untrusted git push 2008-12-26 15:06:00 -05:00
Joey Hess 914c839ceb Merge branch 'master' into next
Conflicts:

	IkiWiki/Plugin/googlecalendar.pm
2008-12-25 16:36:16 -05:00
Joey Hess 5f55ee0b78 more 3.0 docs, changelog 2008-12-24 19:55:43 -05:00
Joey Hess 04f064e78a make ikiwiki-transition prefix_directives take a setup file
This is easier to remeber, and less error-prone than passing it all the
pages in the wiki.
2008-12-24 19:48:42 -05:00
Joey Hess 3fbe2569ff remove deprecated googlecalendar plugin 2008-12-24 16:22:35 -05:00
Joey Hess 7ba65e7f4b remove deprecated admin prefs
A new ikiwiki-transition moveprefs subcommand can pull the old data out of
the userdb and inject it into the setup file.

Note that it leaves the old values behind in the userdb too. I did this
because I didn't want to lose data if it fails writing the setup file for
some reason, and the old data in the userdb will only use a small amount of
space. Running the command multiple times will mostly not change anything.
2008-12-24 16:16:03 -05:00
Joey Hess c58f0eaa70 typo 2008-12-24 15:26:50 -05:00
Joey Hess e3b7d18929 close 2008-12-23 20:08:01 -05:00
http://puck.openid.org/ 20731f761f 2008-12-23 18:05:38 -05:00
http://puck.openid.org/ 4d1d4db927 2008-12-23 17:48:05 -05:00
Joey Hess 3f3ff3f812 update 2008-12-23 17:36:57 -05:00
Joey Hess 149fbf97d6 update 2008-12-23 17:14:47 -05:00
Joey Hess c07a95ed8e remove globlist support
No transition code implemented, but I will probably make a 2.x release that
warns about found globlists.
2008-12-23 17:11:04 -05:00
Joey Hess 488ec9d88d update 2008-12-23 16:52:46 -05:00
Joey Hess 678d467a40 finalise version 3.00 of the plugin api 2008-12-23 16:34:19 -05:00
Joey Hess 7e7739bdd9 update 2008-12-23 16:29:31 -05:00
Joey Hess 6e4f34b0b8 Merge branch 'master' into next 2008-12-23 16:27:02 -05:00
Joey Hess ecf2408bf6 fix a few directives using the old syntax
I'm turning on prefix_directives for the live wiki now.
2008-12-23 16:25:52 -05:00
Joey Hess db7983c846 beginning docs for 3.0 2008-12-23 16:20:37 -05:00
Joey Hess 14a9e704c1 enable aggregate_internal by default 2008-12-23 16:08:21 -05:00
Joey Hess 276798fbca response 2008-12-23 13:27:16 -05:00
Joey Hess 29c8db4c7f fix popcon graph link 2008-12-23 13:19:47 -05:00
http://hendry.iki.fi/ f1f6c5601f Any other schools? 2008-12-23 09:29:02 -05:00
intrigeri 298c16eda9 po: make the dev timing clearer 2008-12-23 11:08:00 +01:00
intrigeri e81c59748e httpauth_feature_parity_with_passwordauth: a bit more thinking
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-12-23 11:08:00 +01:00
http://puck.openid.org/ 02da7ec599 2008-12-22 23:14:15 -05:00
Joey Hess 8dc052a1ce merge recentchanges comments fix 2008-12-22 19:04:02 -05:00
Joey Hess 62c0ba3619 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-12-22 19:00:38 -05:00
http://smcv.pseudorandom.co.uk/ 143c437106 reference my recentchanges branch 2008-12-22 18:09:15 -05:00
Joey Hess 09af90e775 update 2008-12-22 16:41:29 -05:00
Joey Hess 7f1992cbe1 add news item for ikiwiki 2.71 2008-12-22 00:03:15 -05:00
Joey Hess d70f3d6271 unify pagespecs 2008-12-21 16:50:50 -05:00
Joey Hess 63b919b230 fix links 2008-12-21 16:48:15 -05:00
Joey Hess 836bf625c9 formatting 2008-12-21 16:45:59 -05:00
Joey Hess a0eee761f7 mention comments plugin 2008-12-21 16:44:02 -05:00
Joey Hess 4b66a8d00a openid branch merged 2008-12-21 13:14:31 -05:00
Joey Hess 041f8e3774 more reorg 2008-12-21 13:08:26 -05:00
Joey Hess f3512450fd close merged bugs 2008-12-21 13:00:03 -05:00
Joey Hess b2842b8838 Merge branch 'comments' 2008-12-21 12:48:14 -05:00
http://smcv.pseudorandom.co.uk/ 3b0aa2fcba Another fixed bug in beautify_urlpath 2008-12-21 12:25:55 -05:00
http://smcv.pseudorandom.co.uk/ 94cdf076ed trivial bug with patch 2008-12-21 12:23:34 -05:00
Simon McVittie ca1437c9e1 Another comments improvement 2008-12-21 17:18:43 +00:00
http://smcv.pseudorandom.co.uk/ bd376db3a8 Mention a patch to improve OpenID display 2008-12-21 11:43:43 -05:00
Simon McVittie 7bdeee2032 Record another couple of pending bugfixes 2008-12-21 15:39:40 +00:00
Simon McVittie bd80ca37d5 todo/comments: Properly escape inline HTML 2008-12-21 10:17:23 +00:00
Simon McVittie 2884d20950 todo/comments: reorganise by status 2008-12-21 10:11:48 +00:00
Simon McVittie ee24feece0 comments: note fixed things and recommend merging origin/comments 2008-12-21 10:08:53 +00:00
http://smcv.pseudorandom.co.uk/ c85e7c1bf4 fix markdown 2008-12-21 04:31:49 -05:00
Joey Hess c84fcdd32a meta: Process meta date during scan pass so that the date will always affect sorting in inlines. 2008-12-21 01:52:08 -05:00
Joey Hess da947bea4b analysis 2008-12-21 01:41:00 -05:00
Joey Hess 5c669ab226 comment layout change
I saw a layout similar to this on blogger, and I sorta like it

The dash avoids parens sitting next to each other in some cases.
2008-12-21 01:04:19 -05:00
Joey Hess 7304d6bd72 Merge branch 'master' into comments 2008-12-21 01:04:03 -05:00
http://dtrt.org/ fc077f6956 Response; added shell code and html formating to reproduction steps 2008-12-20 22:28:20 -05:00
Joey Hess 155ebc3dbd response 2008-12-20 20:27:42 -05:00
http://dtrt.org/ faa01bd432 Sort paramater not a problem; Revised steps to reprodce 2008-12-20 19:36:15 -05:00
Joey Hess 6042e607f3 alternate idea 2008-12-20 18:51:09 -05:00
Joey Hess f8cc87e8ee remove signin icons, use title 2008-12-20 18:46:56 -05:00
Joey Hess 8dbb30d346 my try at improving comment styling
Makes it look more like a blog, but not enough to be confusing, and with
nothing as large as in a blog. Removal of the vertical line under the
subject imho makes it easier to scan through comments as each box is a new
one. Bolding the subject seems to make it stand out enough, especially as
its a link now. (Also considered increasing its font size to 110%.)
2008-12-20 18:30:14 -05:00
Joey Hess 7bf121889b note new bug 2008-12-20 18:18:19 -05:00
Joey Hess 1c918a4ec6 response 2008-12-20 18:14:49 -05:00
Joey Hess 5d5732d673 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-12-20 18:07:45 -05:00
http://dtrt.org/ dd4dff0350 Workaround and possible cause 2008-12-20 18:06:21 -05:00
Joey Hess 0f03af3816 Merge commit 'smcv/comments' 2008-12-20 17:58:56 -05:00
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
intrigeri 3190e5cea7 Merge commit 'upstream/master' into prv/po 2008-11-13 04:39:53 +01:00
intrigeri 40324175aa po/todo: added test results
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-13 00:54:46 +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
intrigeri 190c641c8a 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>
2008-11-12 23:27:30 +01:00
intrigeri 10c4e858b8 po(change): flush Memoize cache, to fix bug after rename/remove
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-12 21:18:48 +01:00
intrigeri 776be85a22 po/todo: first pass of robustness tests, added todo for remove/rename
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-12 20:13:40 +01:00
intrigeri 86c58119e0 po/todo: added robustness tests that have to be done
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-12 15:54:20 +01:00
intrigeri eba2dee941 po: compute internal links from a slave page relative to its master page
e.g. a link appearing on a slave page links to its masterpage's subpages.

Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-12 15:04:50 +01: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
intrigeri b19d0d3d24 Merge commit 'upstream/po' into prv/po 2008-11-12 01:08:57 +01:00
Joey Hess 50b95a0742 response 2008-11-11 18:34:18 -05:00
Joey Hess 3937e1fb16 patch and a few comments 2008-11-11 18:33:04 -05:00
Joey Hess 0d1593a201 Merge commit 'intrigeri/po' into po 2008-11-11 17:52:51 -05:00
Joey Hess 2a56ec6644 Merge branch 'master' into po 2008-11-11 17:52:32 -05:00
intrigeri ef536f46bd po/todo: bug report about linking to subpages from translation pages
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-11 23:08:13 +01:00
intrigeri b7a4e5a51c po/todo: fixed internal links
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-11 22:29:41 +01:00