summaryrefslogtreecommitdiff
path: root/templates
AgeCommit message (Collapse)Author
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.
2008-10-10google plugin: Use google.com to search the local site.Peter Simons
Google allows has a nice feature, sitesearch, that allows anyone to limit search results to a specific site. Obviously, this feature can be used to provide a search engine for the local ikiwiki site without the need to install any additional software. Just enable the 'google' plugin and make sure that --url uses the proper hostname. Thanks to Joey for helping to get the Perl implementation right.
2008-09-23multiple rename support is workingJoey Hess
most edge cases seem handled too
2008-08-07avoid link fixup if page name stayed the sameJoey Hess
2008-08-06Added a small icon to the search input box.Joey Hess
2008-07-31Escape HTML in Atom feed metadata rather than treating it as XHTMLSimon McVittie
2008-07-31Escape HTML in RSS feeds, rather than relying on it being valid to stuff ↵Simon McVittie
into a CDATA section
2008-07-31Escape HTML in Atom feeds, rather than relying on it being well-formed XHTML ↵Simon McVittie
with no named entity references
2008-07-29really rm ;-)Joey Hess
2008-07-29initial draftJoey Hess
2008-07-23link fixup on rename workingJoey Hess
2008-07-22add a list of broken links after the renameJoey Hess
2008-07-22add a rename summaryJoey Hess
2008-07-22Split out error messages from editpage.tmpl into several separate templates.Joey Hess
2008-07-21skeleton rename pluginJoey Hess
2008-07-21simplified confirmation formJoey Hess
also, there's no titlepage conversion issues
2008-07-21editpage: Don't show attachments link when attachments are disabled.Joey Hess
2008-07-19Use correct term prefixes when searching.Gabriel McManus
The Z term prefix is for stemming and shouldn't be used here. X is for custom fields.