summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-12-11comments: Use HTML entities to escape directivesSimon McVittie
2008-12-11Embed comments into comments_embed.tmpl rather than concatenating in perlSimon McVittie
2008-12-11comments_embed.tmpl: include the inlined comments if presentSimon McVittie
2008-12-11comments: use CGI module's checksessionexpirySimon McVittie
2008-12-11editpage: factor out checksessionexpiry into IkiWiki::CGISimon McVittie
2008-12-11Add comments to page.tmplSimon McVittie
2008-12-11htmlbalance: don't compact whitespace, and set misc other optionsSimon McVittie
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.
2008-12-11comments: remove allowhtml option, just switch it on all the timeSimon McVittie
Now that posts are individually sanitized, that should be safe.
2008-12-11comments: load inline and mdwn lazilySimon McVittie
2008-12-11comments: don't rely on mdwn getting loaded firstSimon McVittie
2008-12-11comments: sanitize the body of each comment before posting itSimon McVittie
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).
2008-12-11Fix typo that led to comments being blankedSimon McVittie
2008-12-11postcomment: Rename plugin to comments, use *._comment filesSimon McVittie
The PageSpec is still called "postcomment" since that's what it means.
2008-12-11Rename smcvpostcomment plugin to postcomment to propose for inclusionSimon McVittie
2008-12-11smcvpostcomment: allow commenting to be closedSimon McVittie
2008-12-11smcvpostcomment: import other plugins lazily and remove unnecessary use of CGISimon McVittie
2008-12-11smcvpostcomment_*.tmpl: make class names match template namesSimon McVittie
Also put "posting comments disabled" in [], and change "Page preview" to "Comment preview".
2008-12-11smcvpostcomment: allow inlining to be disabled, and pass through atom etc. ↵Simon McVittie
better
2008-12-11smcvpostcomment: make allowhtml etc. configurable, and don't allow ↵Simon McVittie
commenting on pages where comments have never been allowed
2008-12-11smcvpostcomment: indicate in form whether HTML and directives are allowedSimon McVittie
2008-12-11smcvpostcomment: remove HTML if not allowedSimon McVittie
2008-12-11smcvpostcomment: always allow wikilinks, and do access controlSimon McVittie
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.
2008-12-11smcvpostcomment: reduce length of subject fieldSimon McVittie
2008-12-11smcvpostcomment: explain what $fake is forSimon McVittie
2008-12-11smcvpostcomment: avoid warnings if form field 'body' is undefSimon McVittie
2008-12-11smcvpostcomment: load inline plugin more forciblySimon McVittie
2008-12-11smcvpostcomment: use better names for special comment filesSimon McVittie
2008-12-11smcvpostcomment: use gettext where appropriateSimon McVittie
2008-12-11Use a link rather than a button for "post comments"Simon McVittie
2008-12-11Add some basic stylesheet rules for smcvpostcommentSimon McVittie
2008-12-11style.css: reduce the scope of the .author rule to when it's nested in ↵Simon McVittie
.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-11Add initial version of a postcomment plugin (temporarily namespaced as ↵Simon McVittie
smcvpostcomment)
2008-12-11inline: Support feedfile option to change the filename of the feed generated.Joey Hess
2008-12-11looking closer, the existing %knownfeeds won't workJoey Hess
2008-12-11rethinkJoey Hess
2008-12-11thoughtsJoey Hess
2008-12-11inline: Support emptyfeeds=no option to skip generating empty feeds.Joey Hess
2008-12-11move feedpages application upJoey Hess
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.
2008-12-11formattingJoey Hess
2008-12-11markdown fixesJoey Hess
2008-12-11fix commentJoey Hess
2008-12-11add gitremotes script, parsing list of remotes on doc/git.mdwnJoey Hess
Any remotes added will automatically be pulled into my working copy.
2008-12-11some issues joeyh reported on IRChttp://smcv.pseudorandom.co.uk/
2008-12-11suggest another feature for the comments plugin's benefithttp://smcv.pseudorandom.co.uk/
2008-12-11suggest a feature that would improve the comments pluginhttp://smcv.pseudorandom.co.uk/
2008-12-10Link to sandbox on my demo of the pluginhttp://smcv.pseudorandom.co.uk/
2008-12-10multiple formats now supportedhttp://smcv.pseudorandom.co.uk/
2008-12-10Update with today's changeshttp://smcv.pseudorandom.co.uk/
2008-12-09Arch Linux packagedhttp://beza1e1.tuxen.de/
2008-12-09Fixed the pagespec linkhttp://john.choffee.co.uk/