summaryrefslogtreecommitdiff
path: root/templates
AgeCommit message (Collapse)Author
2009-01-25comments: Add a moderation web interface.Joey Hess
2009-01-13Merge commit 'upstream/master' into prv/pointrigeri
2009-01-10comments: if the remove plugin is enabled, append a "Remove comment" linkSimon McVittie
2009-01-07repolist: New plugin to support the rel=vcs-* microformat.Joey Hess
* repolist: New plugin to support the rel=vcs-* microformat. * goodstuff: Include repolist by default. (But it does nothing until configured with the repository locations.)
2009-01-02po(formbuilder_setup): use a template to display the warningintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-12-21rssitem.tmpl: include comments URL (HTML only)Simon McVittie
2008-12-21atomitem.tmpl: include comments URLs (HTML and Atom versions)Simon McVittie
2008-12-21comment layout changeJoey Hess
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-20remove signin icons, use titleJoey Hess
2008-12-20tweak author displayJoey Hess
Put the icon after the name, mostly because it scans better on non-graphical browsers where the alt text is displayed. And because the name is really the more important part.
2008-12-20comment.tmpl: make anon/OpenID/signed-in icons independent of smileysSimon McVittie
2008-12-20comments_display: display (?) for anon users, {x} for OpenIDs and {*} for ↵Simon McVittie
local logins This is a mockup of Joey's idea; to do it properly, the icons should move to the basewiki or to a comments underlay, and {x} should be replaced with an OpenID logo (if one with clear licensing even exists).
2008-12-20comments: Rename COMMENTURL to ADDCOMMENTURL to avoid confusion with ↵Simon McVittie
COMMENTAUTHORURL Also refactor page.tmpl to use if/else rather than unless/if.
2008-12-19simplify and compact the comment edit formJoey Hess
Mostly to make it more visually similar to the page edit form. I'm a bit uncertian about the placement of the page type selector, and about removing the "Page type". May rethink that.
2008-12-19remove 'signed in as foo'Joey Hess
I think users should know who they're signed in as; the edit pages don't say so there's no reason to here. Also, the user id was not displayed pretty.
2008-12-19add link from comment subject to its permalinkJoey Hess
2008-12-19fiddle with comment css classesJoey Hess
2008-12-19rename comments_form to editcommentJoey Hess
2008-12-19rename comments_display to commentJoey Hess
2008-12-19replace discussion links on pages with comments linkJoey Hess
The thinking here is that having both a Discussion page and comments for the same page is redundant, and certianly not what you want if you enable comments for a page. At first I considered making configurable via pagespec what pages got discussion links. But that would mean testing a new pagespec for every page, and a redundant config setting to keep in sync. So intead, take a lead from my previous change to make inlined pages have a comments link, and change the discussion link at the top of regular pages to link to their comments. (Implementation is a bit optimised to avoid redundant pagespec checking.)
2008-12-18jump to comment after postingJoey Hess
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-17add Comments link when displaying a page inlineJoey Hess
This link will supplant the usual Discussion link for pages that have comments enabled.
2008-12-11comments_display.tmpl: use less nice formatting to avoid whitespace in outputSimon McVittie
2008-12-11comments_display.tmpl: preferentially use confirmed username, but fall back ↵Simon McVittie
to claimed author if unauthenticated This still isn't quite right (it displays the IP address twice if the user doesn't specify a name).
2008-12-11comments_form.tmpl: show labels for name, websiteSimon McVittie
2008-12-11comments: Optionally allow anonymous commenters to set their name/URL.Simon McVittie
Also provide a way for the comment template to pick up the verified username/IP.
2008-12-11comments: rename main field to "editcontent" consistent with editpageSimon McVittie
This has the side-effect that Ikiwiki's default style.css gives the text box 100% width.
2008-12-11comments: instead of hard-coding mdwn, allow any supported page formatSimon McVittie
2008-12-11comments: Save comments as a file with one big [[!comment]] directive.Simon McVittie
This delays all comment formatting until the last possible time, allows us to set metadata without worrying that commenters may be able to evade it, and means that changes to how a comment is saved can be handled gracefully. It also gives us somewhere to put the commenter's username or IP address for later reference.
2008-12-11comments: record the time at which each comment was postedSimon McVittie
2008-12-11Remove comments_embed.tmpl (no longer needed)Simon McVittie
2008-12-11page.tmpl: optionally include "add comment" linkSimon McVittie
2008-12-11comments_comment.tmpl: allow permalink, anchor to be passed inSimon McVittie
2008-12-11comments_embed.tmpl: include the inlined comments if presentSimon McVittie
2008-12-11Add comments to page.tmplSimon McVittie
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-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_*.tmpl: make class names match template namesSimon McVittie
Also put "posting comments disabled" in [], and change "Page preview" to "Comment preview".
2008-12-11smcvpostcomment: indicate in form whether HTML and directives are allowedSimon McVittie
2008-12-11Use a link rather than a button for "post comments"Simon McVittie
2008-12-11Add initial version of a postcomment plugin (temporarily namespaced as ↵Simon McVittie
smcvpostcomment)
2008-11-18html escaping complicationJoey Hess
Can't escape things to entities if the template then escapes the entities. (aggregate doesn't have this problem.)
2008-11-10Add rel=nofollow to recentchanges_links for the same (weak) reasons it was ↵Joey Hess
earlier added to edit links.
2008-10-19fix relativedate timezone inclusionJoey Hess
The machine parseable date needs to include a timezone. Also, simplified the interface for date display.
2008-10-18remove old dup divJoey Hess
2008-10-17tweak recentchanges permalink codeJoey Hess
Need to handle the case where url is not set.
2008-10-17Patch for anchor-based change permalinks in recent changes feedJoey Hess
from JasonBlevins
2008-10-17make relativedate work for the dates on the recentchanges pageJoey Hess
Having a always current relative date on recentchanges is very, very nice.
2008-10-17relativedate: New javascript-alicious plugin that makes all dates display ↵Joey Hess
relative, in a very nice way, if I say so myself.