]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/log
git.ikiwiki.info.git
16 years agoRemove comments_embed.tmpl (no longer needed)
Simon McVittie [Sun, 23 Nov 2008 17:11:30 +0000 (17:11 +0000)]
Remove comments_embed.tmpl (no longer needed)

16 years agocomments: render comments/commenturl in page.tmpl
Simon McVittie [Sun, 23 Nov 2008 17:11:14 +0000 (17:11 +0000)]
comments: render comments/commenturl in page.tmpl

16 years agocomments: use global config to decide whether commenting is allowed, and for name...
Simon McVittie [Sun, 23 Nov 2008 17:10:44 +0000 (17:10 +0000)]
comments: use global config to decide whether commenting is allowed, and for name of page

Also:
* decide comment page name sooner
* set permalink on it

16 years agocomments: use global configuration for allow_directives, commit, and pagename
Simon McVittie [Sun, 23 Nov 2008 17:07:58 +0000 (17:07 +0000)]
comments: use global configuration for allow_directives, commit, and pagename

16 years agocomments: Add some global configuration
Simon McVittie [Sun, 23 Nov 2008 12:11:18 +0000 (12:11 +0000)]
comments: Add some global configuration

16 years agocomments: make preprocess a no-op
Simon McVittie [Sun, 23 Nov 2008 17:07:28 +0000 (17:07 +0000)]
comments: make preprocess a no-op

16 years agopage.tmpl: optionally include "add comment" link
Simon McVittie [Sun, 23 Nov 2008 17:07:07 +0000 (17:07 +0000)]
page.tmpl: optionally include "add comment" link

16 years agocomments_comment.tmpl: allow permalink, anchor to be passed in
Simon McVittie [Sun, 23 Nov 2008 17:06:40 +0000 (17:06 +0000)]
comments_comment.tmpl: allow permalink, anchor to be passed in

16 years agocomments: document what linkuser does
Simon McVittie [Sun, 23 Nov 2008 12:05:24 +0000 (12:05 +0000)]
comments: document what linkuser does

16 years agocomments: add a stub pagetemplate hook to show the comments
Simon McVittie [Sun, 23 Nov 2008 12:04:00 +0000 (12:04 +0000)]
comments: add a stub pagetemplate hook to show the comments

16 years agocomments: Use HTML entities to escape directives
Simon McVittie [Sun, 23 Nov 2008 12:03:05 +0000 (12:03 +0000)]
comments: Use HTML entities to escape directives

16 years agoEmbed comments into comments_embed.tmpl rather than concatenating in perl
Simon McVittie [Sun, 23 Nov 2008 12:02:39 +0000 (12:02 +0000)]
Embed comments into comments_embed.tmpl rather than concatenating in perl

16 years agocomments_embed.tmpl: include the inlined comments if present
Simon McVittie [Sun, 23 Nov 2008 12:01:42 +0000 (12:01 +0000)]
comments_embed.tmpl: include the inlined comments if present

16 years agocomments: use CGI module's checksessionexpiry
Simon McVittie [Sat, 22 Nov 2008 21:54:31 +0000 (21:54 +0000)]
comments: use CGI module's checksessionexpiry

16 years agoeditpage: factor out checksessionexpiry into IkiWiki::CGI
Simon McVittie [Sat, 22 Nov 2008 21:53:33 +0000 (21:53 +0000)]
editpage: factor out checksessionexpiry into IkiWiki::CGI

16 years agoAdd comments to page.tmpl
Simon McVittie [Sat, 22 Nov 2008 19:01:28 +0000 (19:01 +0000)]
Add comments to page.tmpl

16 years agohtmlbalance: don't compact whitespace, and set misc other options
Simon McVittie [Tue, 18 Nov 2008 11:25:13 +0000 (11:25 +0000)]
htmlbalance: don't compact whitespace, and set misc other options

Not compacting whitespace is the most important one: now that we run
sanitize hooks on individual posted comments in the comments plugin,
whitespace that is significant to Markdown (but not HTML) is lost.

16 years agocomments: remove allowhtml option, just switch it on all the time
Simon McVittie [Tue, 18 Nov 2008 10:44:34 +0000 (10:44 +0000)]
comments: remove allowhtml option, just switch it on all the time

Now that posts are individually sanitized, that should be safe.

16 years agocomments: load inline and mdwn lazily
Simon McVittie [Tue, 18 Nov 2008 10:43:39 +0000 (10:43 +0000)]
comments: load inline and mdwn lazily

16 years agocomments: don't rely on mdwn getting loaded first
Simon McVittie [Tue, 18 Nov 2008 10:43:11 +0000 (10:43 +0000)]
comments: don't rely on mdwn getting loaded first

16 years agocomments: sanitize the body of each comment before posting it
Simon McVittie [Tue, 18 Nov 2008 10:29:16 +0000 (10:29 +0000)]
comments: sanitize the body of each comment before posting it

This should ensure that users can't "break out" from the enclosing
<div>, making it impossible to forge comments (assuming htmlscrubber
is enabled, and so is either htmlbalance or htmltidy).

16 years agoFix typo that led to comments being blanked
Simon McVittie [Tue, 18 Nov 2008 10:25:10 +0000 (10:25 +0000)]
Fix typo that led to comments being blanked

16 years agopostcomment: Rename plugin to comments, use *._comment files
Simon McVittie [Tue, 18 Nov 2008 10:17:18 +0000 (10:17 +0000)]
postcomment: Rename plugin to comments, use *._comment files

The PageSpec is still called "postcomment" since that's what it means.

16 years agoRename smcvpostcomment plugin to postcomment to propose for inclusion
Simon McVittie [Mon, 17 Nov 2008 11:16:31 +0000 (11:16 +0000)]
Rename smcvpostcomment plugin to postcomment to propose for inclusion

16 years agosmcvpostcomment: allow commenting to be closed
Simon McVittie [Mon, 17 Nov 2008 10:42:01 +0000 (10:42 +0000)]
smcvpostcomment: allow commenting to be closed

16 years agosmcvpostcomment: import other plugins lazily and remove unnecessary use of CGI
Simon McVittie [Mon, 17 Nov 2008 10:41:50 +0000 (10:41 +0000)]
smcvpostcomment: import other plugins lazily and remove unnecessary use of CGI

16 years agosmcvpostcomment_*.tmpl: make class names match template names
Simon McVittie [Mon, 17 Nov 2008 10:40:49 +0000 (10:40 +0000)]
smcvpostcomment_*.tmpl: make class names match template names

Also put "posting comments disabled" in [], and change "Page preview"
to "Comment preview".

16 years agosmcvpostcomment: allow inlining to be disabled, and pass through atom etc. better
Simon McVittie [Mon, 17 Nov 2008 09:10:50 +0000 (09:10 +0000)]
smcvpostcomment: allow inlining to be disabled, and pass through atom etc. better

16 years agosmcvpostcomment: make allowhtml etc. configurable, and don't allow commenting on...
Simon McVittie [Mon, 17 Nov 2008 09:09:52 +0000 (09:09 +0000)]
smcvpostcomment: make allowhtml etc. configurable, and don't allow commenting on pages where comments have never been allowed

16 years agosmcvpostcomment: indicate in form whether HTML and directives are allowed
Simon McVittie [Mon, 17 Nov 2008 09:08:54 +0000 (09:08 +0000)]
smcvpostcomment: indicate in form whether HTML and directives are allowed

16 years agosmcvpostcomment: remove HTML if not allowed
Simon McVittie [Mon, 17 Nov 2008 09:10:06 +0000 (09:10 +0000)]
smcvpostcomment: remove HTML if not allowed

16 years agosmcvpostcomment: always allow wikilinks, and do access control
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.

16 years agosmcvpostcomment: reduce length of subject field
Simon McVittie [Sun, 16 Nov 2008 18:11:55 +0000 (18:11 +0000)]
smcvpostcomment: reduce length of subject field

16 years agosmcvpostcomment: explain what $fake is for
Simon McVittie [Sat, 15 Nov 2008 14:13:10 +0000 (14:13 +0000)]
smcvpostcomment: explain what $fake is for

16 years agosmcvpostcomment: avoid warnings if form field 'body' is undef
Simon McVittie [Sat, 15 Nov 2008 14:12:57 +0000 (14:12 +0000)]
smcvpostcomment: avoid warnings if form field 'body' is undef

16 years agosmcvpostcomment: load inline plugin more forcibly
Simon McVittie [Sat, 15 Nov 2008 14:12:42 +0000 (14:12 +0000)]
smcvpostcomment: load inline plugin more forcibly

16 years agosmcvpostcomment: use better names for special comment files
Simon McVittie [Sat, 15 Nov 2008 14:12:26 +0000 (14:12 +0000)]
smcvpostcomment: use better names for special comment files

16 years agosmcvpostcomment: use gettext where appropriate
Simon McVittie [Sat, 15 Nov 2008 14:11:24 +0000 (14:11 +0000)]
smcvpostcomment: use gettext where appropriate

16 years agoUse a link rather than a button for "post comments"
Simon McVittie [Sat, 15 Nov 2008 14:08:31 +0000 (14:08 +0000)]
Use a link rather than a button for "post comments"

16 years agoAdd some basic stylesheet rules for smcvpostcomment
Simon McVittie [Sun, 21 Sep 2008 18:42:38 +0000 (19:42 +0100)]
Add some basic stylesheet rules for smcvpostcomment

16 years agostyle.css: reduce the scope of the .author rule to when it's nested in .inlineheader
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.

16 years agoAdd initial version of a postcomment plugin (temporarily namespaced as smcvpostcomment)
Simon McVittie [Sun, 21 Sep 2008 18:33:45 +0000 (19:33 +0100)]
Add initial version of a postcomment plugin (temporarily namespaced as smcvpostcomment)

16 years agoinline: Support feedfile option to change the filename of the feed generated.
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.

16 years agolooking closer, the existing %knownfeeds won't work
Joey Hess [Thu, 11 Dec 2008 19:26:58 +0000 (14:26 -0500)]
looking closer, the existing %knownfeeds won't work

16 years agorethink
Joey Hess [Thu, 11 Dec 2008 19:12:03 +0000 (14:12 -0500)]
rethink

16 years agothoughts
Joey Hess [Thu, 11 Dec 2008 19:09:34 +0000 (14:09 -0500)]
thoughts

16 years agoinline: Support emptyfeeds=no option to skip generating empty feeds.
Joey Hess [Thu, 11 Dec 2008 19:04:38 +0000 (14:04 -0500)]
inline: Support emptyfeeds=no option to skip generating empty feeds.

16 years agomove feedpages application up
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.

16 years agoformatting
Joey Hess [Thu, 11 Dec 2008 18:32:42 +0000 (13:32 -0500)]
formatting

16 years agomarkdown fixes
Joey Hess [Thu, 11 Dec 2008 18:31:25 +0000 (13:31 -0500)]
markdown fixes

16 years agofix comment
Joey Hess [Thu, 11 Dec 2008 18:29:30 +0000 (13:29 -0500)]
fix comment

16 years agoadd gitremotes script, parsing list of remotes on doc/git.mdwn
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.

16 years agosome issues joeyh reported on IRC
http://smcv.pseudorandom.co.uk/ [Thu, 11 Dec 2008 11:07:37 +0000 (06:07 -0500)]
some issues joeyh reported on IRC

16 years agosuggest another feature for the comments plugin's benefit
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

16 years agosuggest a feature that would improve the comments plugin
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

16 years agoLink to sandbox on my demo of the 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

16 years agomultiple formats now supported
http://smcv.pseudorandom.co.uk/ [Thu, 11 Dec 2008 02:50:15 +0000 (21:50 -0500)]
multiple formats now supported

16 years agoUpdate with today's changes
http://smcv.pseudorandom.co.uk/ [Thu, 11 Dec 2008 02:44:50 +0000 (21:44 -0500)]
Update with today's changes

16 years agoArch Linux packaged
http://beza1e1.tuxen.de/ [Tue, 9 Dec 2008 21:58:15 +0000 (16:58 -0500)]
Arch Linux packaged

16 years agoFixed the pagespec link
http://john.choffee.co.uk/ [Tue, 9 Dec 2008 13:27:59 +0000 (08:27 -0500)]
Fixed the pagespec link

16 years ago(no commit message)
http://www.iredale.net/b/ [Sun, 7 Dec 2008 22:57:49 +0000 (17:57 -0500)]

16 years agoremove ubuntu instructions, which don't belong here
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.

16 years agoAdd command line to install perl modules in ubuntu 8.10
buo [Fri, 5 Dec 2008 19:27:29 +0000 (14:27 -0500)]
Add command line to install perl modules in ubuntu 8.10

16 years agoremove clutter in example blog
Joey Hess [Thu, 4 Dec 2008 21:23:41 +0000 (16:23 -0500)]
remove clutter in example blog

16 years ago(no commit message)
o [Thu, 4 Dec 2008 20:34:12 +0000 (15:34 -0500)]

16 years agoresponse
Joey Hess [Wed, 3 Dec 2008 20:37:48 +0000 (15:37 -0500)]
response

16 years agocorrect wikilink
http://alcopop.org/me/openid/ [Tue, 2 Dec 2008 22:18:43 +0000 (17:18 -0500)]
correct wikilink

16 years agoMerge branch 'master' of git://git.ikiwiki.info
Jon Dowland [Tue, 2 Dec 2008 15:29:29 +0000 (15:29 +0000)]
Merge branch 'master' of git://git.ikiwiki.info

16 years agomy edits...
Jon Dowland [Tue, 2 Dec 2008 15:25:44 +0000 (15:25 +0000)]
my edits...

16 years agoprovide for ignoring h1s etc. in toc
http://alcopop.org/me/openid/ [Tue, 2 Dec 2008 15:25:44 +0000 (10:25 -0500)]
provide for ignoring h1s etc. in toc

16 years agoremove hoz-rule from bug, for clarity
Jon Dowland [Tue, 2 Dec 2008 15:12:13 +0000 (15:12 +0000)]
remove hoz-rule from bug, for clarity

16 years agoMerge branch 'master' of git://git.ikiwiki.info
Jon Dowland [Tue, 2 Dec 2008 15:08:55 +0000 (15:08 +0000)]
Merge branch 'master' of git://git.ikiwiki.info

16 years agomark this bug as done
Jon Dowland [Tue, 2 Dec 2008 15:08:00 +0000 (15:08 +0000)]
mark this bug as done

16 years agorename plugin should expand full path of affected pages
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

16 years agou32.net disappeared
Jon Dowland [Tue, 2 Dec 2008 15:02:24 +0000 (15:02 +0000)]
u32.net disappeared

16 years agoupdate for rename of users/jondowland.mdwn to users/jon.mdwn
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

16 years agoupdate 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

16 years agoupdate 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

16 years agoupdate 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

16 years agoupdate 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

16 years agoupdate 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

16 years agoupdate 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

16 years agoupdate 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

16 years agoupdate 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

16 years agoupdate 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

16 years agoupdate 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

16 years agoupdate 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

16 years agoupdate 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

16 years agoupdate 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

16 years agoupdate 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

16 years agoupdate 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

16 years agorename 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

16 years ago(no commit message)
Blanko [Tue, 2 Dec 2008 13:21:02 +0000 (08:21 -0500)]

16 years agoadd note to consider tagbase when trying to match tagged pages
Jon Dowland [Mon, 1 Dec 2008 15:47:29 +0000 (15:47 +0000)]
add note to consider tagbase when trying to match tagged pages

16 years agosimplify example
http://alcopop.org/me/openid/ [Sat, 29 Nov 2008 15:24:04 +0000 (10:24 -0500)]
simplify example

16 years agoupdate with examples
http://alcopop.org/me/openid/ [Sat, 29 Nov 2008 15:19:26 +0000 (10:19 -0500)]
update with examples

16 years agobehaviour of inline with meta-provided times
http://alcopop.org/me/openid/ [Sat, 29 Nov 2008 14:06:04 +0000 (09:06 -0500)]
behaviour of inline with meta-provided times

16 years agoresponse
Joey Hess [Sat, 29 Nov 2008 01:40:41 +0000 (17:40 -0800)]
response

16 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
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

16 years agoGerman translation update from Kai Wasserbäch. Closes: #507056
Joey Hess [Fri, 28 Nov 2008 16:52:56 +0000 (08:52 -0800)]
German translation update from Kai Wasserbäch. Closes: #507056