Simon McVittie [Mon, 17 Nov 2008 09:08:54 +0000 (09:08 +0000)]
smcvpostcomment: indicate in form whether HTML and directives are allowed
Simon McVittie [Mon, 17 Nov 2008 09:10:06 +0000 (09:10 +0000)]
smcvpostcomment: remove HTML if not allowed
Simon McVittie [Sun, 16 Nov 2008 18:23:23 +0000 (18:23 +0000)]
smcvpostcomment: always allow wikilinks, and do access control
wikilinks are harmless, so we might as well allow them.
Access control for this plugin is a bit odd, since we specifically
don't want to allow comments to be edited - so the check is whether the
user is allowed to edit a deliberately invalid page name,
page/commented/on[smcvpostcomment]. You can put smcvpostcomment(*)
or smcvpostcomment(some/subdir/*) in $config{anonok_pagespec}
or the opposite in $config{locked_pages} to allow "editing" (really
just posting) comments.
Simon McVittie [Sun, 16 Nov 2008 18:11:55 +0000 (18:11 +0000)]
smcvpostcomment: reduce length of subject field
Simon McVittie [Sat, 15 Nov 2008 14:13:10 +0000 (14:13 +0000)]
smcvpostcomment: explain what $fake is for
Simon McVittie [Sat, 15 Nov 2008 14:12:57 +0000 (14:12 +0000)]
smcvpostcomment: avoid warnings if form field 'body' is undef
Simon McVittie [Sat, 15 Nov 2008 14:12:42 +0000 (14:12 +0000)]
smcvpostcomment: load inline plugin more forcibly
Simon McVittie [Sat, 15 Nov 2008 14:12:26 +0000 (14:12 +0000)]
smcvpostcomment: use better names for special comment files
Simon McVittie [Sat, 15 Nov 2008 14:11:24 +0000 (14:11 +0000)]
smcvpostcomment: use gettext where appropriate
Simon McVittie [Sat, 15 Nov 2008 14:08:31 +0000 (14:08 +0000)]
Use a link rather than a button for "post comments"
Simon McVittie [Sun, 21 Sep 2008 18:42:38 +0000 (19:42 +0100)]
Add some basic stylesheet rules for smcvpostcomment
Simon McVittie [Sun, 21 Sep 2008 18:37:52 +0000 (19:37 +0100)]
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.
Simon McVittie [Sun, 21 Sep 2008 18:33:45 +0000 (19:33 +0100)]
Add initial version of a postcomment plugin (temporarily namespaced as smcvpostcomment)
Joey Hess [Thu, 11 Dec 2008 20:01:26 +0000 (15:01 -0500)]
inline: Support feedfile option to change the filename of the feed generated.
Joey Hess [Thu, 11 Dec 2008 19:26:58 +0000 (14:26 -0500)]
looking closer, the existing %knownfeeds won't work
Joey Hess [Thu, 11 Dec 2008 19:12:03 +0000 (14:12 -0500)]
rethink
Joey Hess [Thu, 11 Dec 2008 19:09:34 +0000 (14:09 -0500)]
thoughts
Joey Hess [Thu, 11 Dec 2008 19:04:38 +0000 (14:04 -0500)]
inline: Support emptyfeeds=no option to skip generating empty feeds.
Joey Hess [Thu, 11 Dec 2008 18:50:51 +0000 (13:50 -0500)]
move feedpages application up
I wanted this nearer to the top, but decided to put it after the
add_depends. Reasoning: It's possible with a combinaton of feedpages and
show options to make @list and @feedlist contain completly differing sets
of pages. We want to add_depends all pages in both sets. We could combine
the two lists and add_depends that, but it's slightly more efficient to
defer reducing @feedlist, and add_depends whichever list is longer.
Joey Hess [Thu, 11 Dec 2008 18:32:42 +0000 (13:32 -0500)]
formatting
Joey Hess [Thu, 11 Dec 2008 18:31:25 +0000 (13:31 -0500)]
markdown fixes
Joey Hess [Thu, 11 Dec 2008 18:29:30 +0000 (13:29 -0500)]
fix comment
Joey Hess [Thu, 11 Dec 2008 18:27:50 +0000 (13:27 -0500)]
add gitremotes script, parsing list of remotes on doc/git.mdwn
Any remotes added will automatically be pulled into my working copy.
http://smcv.pseudorandom.co.uk/ [Thu, 11 Dec 2008 11:07:37 +0000 (06:07 -0500)]
some issues joeyh reported on IRC
http://smcv.pseudorandom.co.uk/ [Thu, 11 Dec 2008 11:02:49 +0000 (06:02 -0500)]
suggest another feature for the comments plugin's benefit
http://smcv.pseudorandom.co.uk/ [Thu, 11 Dec 2008 10:59:24 +0000 (05:59 -0500)]
suggest a feature that would improve the comments plugin
http://smcv.pseudorandom.co.uk/ [Thu, 11 Dec 2008 03:12:11 +0000 (22:12 -0500)]
Link to sandbox on my demo of the plugin
http://smcv.pseudorandom.co.uk/ [Thu, 11 Dec 2008 02:50:15 +0000 (21:50 -0500)]
multiple formats now supported
http://smcv.pseudorandom.co.uk/ [Thu, 11 Dec 2008 02:44:50 +0000 (21:44 -0500)]
Update with today's changes
http://beza1e1.tuxen.de/ [Tue, 9 Dec 2008 21:58:15 +0000 (16:58 -0500)]
Arch Linux packaged
http://john.choffee.co.uk/ [Tue, 9 Dec 2008 13:27:59 +0000 (08:27 -0500)]
Fixed the pagespec link
http://www.iredale.net/b/ [Sun, 7 Dec 2008 22:57:49 +0000 (17:57 -0500)]
Joey Hess [Sun, 7 Dec 2008 18:45:50 +0000 (13:45 -0500)]
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.
buo [Fri, 5 Dec 2008 19:27:29 +0000 (14:27 -0500)]
Add command line to install perl modules in ubuntu 8.10
Joey Hess [Thu, 4 Dec 2008 21:23:41 +0000 (16:23 -0500)]
remove clutter in example blog
o [Thu, 4 Dec 2008 20:34:12 +0000 (15:34 -0500)]
Joey Hess [Wed, 3 Dec 2008 20:37:48 +0000 (15:37 -0500)]
response
http://alcopop.org/me/openid/ [Tue, 2 Dec 2008 22:18:43 +0000 (17:18 -0500)]
correct wikilink
Jon Dowland [Tue, 2 Dec 2008 15:29:29 +0000 (15:29 +0000)]
Merge branch 'master' of git://git.ikiwiki.info
Jon Dowland [Tue, 2 Dec 2008 15:25:44 +0000 (15:25 +0000)]
my edits...
http://alcopop.org/me/openid/ [Tue, 2 Dec 2008 15:25:44 +0000 (10:25 -0500)]
provide for ignoring h1s etc. in toc
Jon Dowland [Tue, 2 Dec 2008 15:12:13 +0000 (15:12 +0000)]
remove hoz-rule from bug, for clarity
Jon Dowland [Tue, 2 Dec 2008 15:08:55 +0000 (15:08 +0000)]
Merge branch 'master' of git://git.ikiwiki.info
Jon Dowland [Tue, 2 Dec 2008 15:08:00 +0000 (15:08 +0000)]
mark this bug as done
http://alcopop.org/me/openid/ [Tue, 2 Dec 2008 15:07:59 +0000 (10:07 -0500)]
rename plugin should expand full path of affected pages
Jon Dowland [Tue, 2 Dec 2008 15:02:24 +0000 (15:02 +0000)]
u32.net disappeared
http://alcopop.org/me/openid/ [Tue, 2 Dec 2008 15:00:48 +0000 (10:00 -0500)]
update for rename of users/jondowland.mdwn to users/jon.mdwn
http://alcopop.org/me/openid/ [Tue, 2 Dec 2008 15:00:47 +0000 (10:00 -0500)]
update for rename of users/jondowland.mdwn to users/jon.mdwn
http://alcopop.org/me/openid/ [Tue, 2 Dec 2008 15:00:46 +0000 (10:00 -0500)]
update for rename of users/jondowland.mdwn to users/jon.mdwn
http://alcopop.org/me/openid/ [Tue, 2 Dec 2008 15:00:44 +0000 (10:00 -0500)]
update for rename of users/jondowland.mdwn to users/jon.mdwn
http://alcopop.org/me/openid/ [Tue, 2 Dec 2008 15:00:43 +0000 (10:00 -0500)]
update for rename of users/jondowland.mdwn to users/jon.mdwn
http://alcopop.org/me/openid/ [Tue, 2 Dec 2008 15:00:42 +0000 (10:00 -0500)]
update for rename of users/jondowland.mdwn to users/jon.mdwn
http://alcopop.org/me/openid/ [Tue, 2 Dec 2008 15:00:41 +0000 (10:00 -0500)]
update for rename of users/jondowland.mdwn to users/jon.mdwn
http://alcopop.org/me/openid/ [Tue, 2 Dec 2008 15:00:40 +0000 (10:00 -0500)]
update for rename of users/jondowland.mdwn to users/jon.mdwn
http://alcopop.org/me/openid/ [Tue, 2 Dec 2008 15:00:39 +0000 (10:00 -0500)]
update for rename of users/jondowland.mdwn to users/jon.mdwn
http://alcopop.org/me/openid/ [Tue, 2 Dec 2008 15:00:38 +0000 (10:00 -0500)]
update for rename of users/jondowland.mdwn to users/jon.mdwn
http://alcopop.org/me/openid/ [Tue, 2 Dec 2008 15:00:36 +0000 (10:00 -0500)]
update for rename of users/jondowland.mdwn to users/jon.mdwn
http://alcopop.org/me/openid/ [Tue, 2 Dec 2008 15:00:35 +0000 (10:00 -0500)]
update for rename of users/jondowland.mdwn to users/jon.mdwn
http://alcopop.org/me/openid/ [Tue, 2 Dec 2008 15:00:33 +0000 (10:00 -0500)]
update for rename of users/jondowland.mdwn to users/jon.mdwn
http://alcopop.org/me/openid/ [Tue, 2 Dec 2008 15:00:29 +0000 (10:00 -0500)]
update for rename of users/jondowland.mdwn to users/jon.mdwn
http://alcopop.org/me/openid/ [Tue, 2 Dec 2008 15:00:28 +0000 (10:00 -0500)]
update for rename of users/jondowland.mdwn to users/jon.mdwn
http://alcopop.org/me/openid/ [Tue, 2 Dec 2008 15:00:27 +0000 (10:00 -0500)]
update for rename of users/jondowland.mdwn to users/jon.mdwn
http://alcopop.org/me/openid/ [Tue, 2 Dec 2008 15:00:10 +0000 (10:00 -0500)]
rename users/jondowland.mdwn to users/jon.mdwn
Blanko [Tue, 2 Dec 2008 13:21:02 +0000 (08:21 -0500)]
Jon Dowland [Mon, 1 Dec 2008 15:47:29 +0000 (15:47 +0000)]
add note to consider tagbase when trying to match tagged pages
http://alcopop.org/me/openid/ [Sat, 29 Nov 2008 15:24:04 +0000 (10:24 -0500)]
simplify example
http://alcopop.org/me/openid/ [Sat, 29 Nov 2008 15:19:26 +0000 (10:19 -0500)]
update with examples
http://alcopop.org/me/openid/ [Sat, 29 Nov 2008 14:06:04 +0000 (09:06 -0500)]
behaviour of inline with meta-provided times
Joey Hess [Sat, 29 Nov 2008 01:40:41 +0000 (17:40 -0800)]
response
Joey Hess [Fri, 28 Nov 2008 16:53:35 +0000 (08:53 -0800)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Fri, 28 Nov 2008 16:52:56 +0000 (08:52 -0800)]
German translation update from Kai Wasserbäch. Closes: #507056
http://hadleywickham.myopenid.com/ [Thu, 27 Nov 2008 23:53:18 +0000 (18:53 -0500)]
http://smcv.pseudorandom.co.uk/ [Thu, 27 Nov 2008 10:56:36 +0000 (05:56 -0500)]
http://smcv.pseudorandom.co.uk/ [Thu, 27 Nov 2008 10:42:07 +0000 (05:42 -0500)]
Move some more discussion here
http://smcv.pseudorandom.co.uk/ [Thu, 27 Nov 2008 10:39:16 +0000 (05:39 -0500)]
Move some discussion to discussion/
http://smcv.pseudorandom.co.uk/ [Thu, 27 Nov 2008 10:38:37 +0000 (05:38 -0500)]
Move some discussion from comments page to here
http://smcv.pseudorandom.co.uk/ [Thu, 27 Nov 2008 10:26:28 +0000 (05:26 -0500)]
I don't think putting proxy.py in the system Python path is appropriate
http://smcv.pseudorandom.co.uk/ [Thu, 27 Nov 2008 10:15:00 +0000 (05:15 -0500)]
Fix formatting by adding `...`
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: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>
intrigeri [Wed, 12 Nov 2008 15:54:51 +0000 (16:54 +0100)]
po(mybestlink): fixed when fed with path beginning with /
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Wed, 12 Nov 2008 14:54:20 +0000 (15:54 +0100)]
po/todo: added robustness tests that have to be done
Signed-off-by: intrigeri <intrigeri@boum.org>