summaryrefslogtreecommitdiff
path: root/templates
AgeCommit message (Collapse)Author
2008-07-11atomitem.tmpl: use UUID as <id> if suppliedSimon McVittie
2008-07-06add br at topJoey Hess
firefox 3 smooshed the page location dropdown up to the page title, obscuring descenders and underscores. Maybe that's a bug, since the CSS didn't ask it to, but I think adding the extra space of a br at the top looks better anyway.
2008-07-02toggle: Add javascript to top of page, not to end. This avoids flicker since ↵Joey Hess
closed toggles will not be displayed as the page is loading.
2008-07-02xhtml fixesJoey Hess
2008-07-02attachments interface visibility togglingJoey Hess
2008-07-01basic attachment listJoey Hess
2008-06-30add support for an attachment upload fieldJoey Hess
FormBuilder makes it annoyingly hard to move a submit button to a nonstandard place. The button name has to be "_submit" or FormBuilder will ignore it.
2008-06-21Add support for the universal edit buttonJoey Hess
<http://universaleditbutton.org/> Not forcing a rebuild on upgrade just for this.
2008-06-04finishing touches on the new search pluginJoey Hess
- Add a Help link. - If the pageterm is too long, hash it.
2008-06-04The search interface now allows searching for a page by title ("title:foo"), ↵Joey Hess
as well as for pages that contain a given link ("link:bar").
2008-06-03prettify page names, and drop the redunadant url displayJoey Hess
2008-06-03search: Converted to use xapian-omega.Joey Hess
Everything is done except for the actual indexing. I plan to do incremental indexing as pages change.
2008-05-30improve wordingJoey Hess
2008-05-30hashed password support, and empty password security fixJoey Hess
This implements the previously documented hashed password support. While implementing that, I noticed a security hole, which this commit also fixes..
2008-05-28Add rel=nofollow to edit links. This may prevent some spiders from pounding ↵Joey Hess
on the cgi following edit links.
2008-04-10responseJoey Hess
2008-04-10Give the full path to the hyperestraier helpfile in estseek.conf.Joey Hess
2008-04-10Fix CSRF attacks against the preferences and edit forms. Closes: #475445Joey Hess
The fix involved embedding the session id in the forms, and not allowing the forms to be submitted if the embedded id does not match the session id. In the case of the preferences form, if the session id is not embedded, then the CGI parameters are cleared. This avoids a secondary attack where the link to the preferences form prefills password or other fields, and the user hits "submit" without noticing these prefilled values. In the case of the editpage form, the anonok plugin can allow anyone to edit, and so I chose not to guard against CSRF attacks against users who are not logged in. Otherwise, it also embeds the session id and checks it. For page editing, I assume that the user will notice if content or commit message is changed because of CGI parameters, and won't blndly hit save page. So I didn't block those CGI paramters. (It's even possible to use those CGI parameters, for good, not for evil, I guess..) The only other CSRF attack I can think of in ikiwiki involves the poll plugin. It's certianly possible to set up a link that causes the user to unknowingly vote in a poll. However, the poll plugin is not intended to be used for things that people would want to attack, since anyone can after all edit the poll page and fill in any values they like. So this "attack" is ignorable.
2008-03-03* Add recentchangesdiff plugin that adds diffs to the recentchanges feeds.Joey Hess
* rcs_diff is a new function that rcs modules should implement. * Implemented rcs_diff for git, svn, and tla (tla version untested). Mercurial and monotone still todo.
2008-02-14* The search plugin needs to override <base> to point to the directoryJoey Hess
containing ikiwiki.cgi, but this should not change the urls to the style sheets etc. Add a new forcebareurl parameter to misctemplate to allow it to do that.
2008-02-09Merge branch 'master' into prefix-directivesJosh Triplett
Conflicts: debian/changelog templates/change.tmpl
2008-02-09* Page templates can now use CTIME to show when the page was created.Joey Hess
2008-02-09change wordingJoey Hess
2008-02-09reword to put the more important info (page names) nearer the frontJoey Hess
2008-02-05add ! prefix to some directives in templates, and to the recentchanges pageJoey Hess
2008-01-29more whitespace nonsenseJoey Hess
2008-01-29more HTML::Template funJoey Hess
fix whitespace that led to bad wrapping and display
2008-01-29fix display of diff iconJoey Hess
2008-01-29* meta: Add pagespec functions to match against title, author, authorurl,Joey Hess
license, and copyright. This can be used to create custom RecentChanges. * meta: To support the pagespec functions, metadata about pages has to be retained as pagestate. * Fix encoding bug when pagestate values contained spaces.
2008-01-29really use unmunged author in metadataJoey Hess
2008-01-29rename templateJoey Hess
2008-01-29move message to endJoey Hess
2008-01-29more style improvementsJoey Hess
2008-01-29fairly good css style for static recentchanges pageJoey Hess
The customary 2.5 hours of staring at random css turtorials later, here is a pure css latout for the static recentchanges page that, while not as good as the old table layout, it decent. And it works well in lynx. And should generate some pretty nice rss too.
2008-01-29non-tabular recentchanges displayJoey Hess
Doesn't look as good as the old table, but works as a rss feed.
2008-01-29* Removed support for sending commit notification mails. Along with it wentJoey Hess
the svnrepo and notify settings, though both will be ignored if left in setup files.
2008-01-28proof of concept implementation of static recentchangesJoey Hess
Currently hardcoded to write to recentchanges/*, and the page format needs to be rethought to be usable for aggregation, but it basically works.
2008-01-28addJoey Hess
2008-01-09include license/copyright/author info if availableJoey Hess
2008-01-09* inline: Add copyright/license info on a per-post basis to atomJoey Hess
feeds if available. (rss doesn't allow such info on a per-post basis) * meta: Allow copyright/license metadata to contain arbitrary markup.
2008-01-08* aggregate: Include copyright statements from rss feed as meta copyrightJoey Hess
directives. * aggregate: Yet another state saving fix (sigh). * aggregate: Add hack to support feeds with invalidly escaped html entities.
2007-11-08Add xmlns attribute on html element in templates; pages can now validate.Josh Triplett
2007-09-20* Fix copyright and licence styling.joey
2007-09-15basic styling for license and copyrightjoey
2007-09-15bugfixesjoey
2007-09-14* meta: Support license and copyright information. The information willjoey
be shown in the page footer. HTML will also be inserted that should support the rel=license microformat as well as the HTML spec's rel=copyright.
2007-08-17* Applied Jeremie Koenig's pluggable editpage buttons patch:joey
- add a title to the editpage form; - pass a reference to the list of buttons to the formbuilder_setup hooks, so we can add ours; - relax asumption about the possible submit values (use "Save Page" explicitly); - de-hardcode the submit buttons from the editpage template (This was needed for compatability with a bug in CGI::FormBuilder 3.0401, but ikiwiki already needs a newer version.) * Pass buttons to all other formbuilder_setup hooks too.
2007-08-11* Apply a patch from NicolasLimare adding modification date tags to rss andjoey
atom feeds, and also changing the publication time for a feed to the newest modiciation time (was newest creation time). * The patch also adds dcterms:creator to rss items that have a known author.
2007-07-16* Wrap the editpage template in the standard misctemplate, this allows thejoey
pagetemplate hook to work for that page. * Above change fixes the favicon plugin to work on edit pages.
2007-05-28* More consistent encoding of titles in rss and atom feeds. Don't usejoey
ESCAPE=HTML for titles in the templates for these feeds, and instead escape the title going in to the template. Previously, the title was sometimes double-escaped in a feed (if set via meta title), and sometimes not (if set from the page filename). * In the meta plugin, when a title is set, encode the html entities in it numerically. This works better in the current landscape of a rss spec that doesn't specify encoding, and variously broken feed consumers, according to <http://www.rssboard.org/rss-profile#data-types-characterdata>.