summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
AgeCommit message (Collapse)Author
2010-05-14better misctemplate splitting sequenceJoey Hess
2010-05-14put back recentchangesurlJoey Hess
On second thought, misctemplate can use pagetemplate hooks to provide it, so it's better to keep back-compat, and allow full customisation of how it's displayed via the template.
2010-05-14bugfixJoey Hess
2010-05-14we want the recentchanges link to be the first floating actionJoey Hess
2010-05-14enable action bar on misctemplatesJoey Hess
So RecentChanges shows on the action bar there, convert recentchanges to use new pageactions hook, with compatability code to avoid breaking old templates.
2010-05-14remove, rename: Add guards against XSRF attacks.Joey Hess
2010-05-13po: guard against reimportationJoey Hess
If po is imported twice, bad things happen. Guard against that. I'm not sure what causes the double import; I saw it when websetup did a wiki rebuild. Carp failed to show a backtrace for the second call to import.
2010-05-08Use xhtml friendly pubdate setting.Joey Hess
2010-05-08moved non-openid signin form into same page as openid selector; show/hide as ↵Joey Hess
buttons are pressed
2010-05-08calendar: Display year name in title of month calendar.Joey Hess
Also, fix relative month calculations.
2010-05-08calendar: nextchange calculation bugfixJoey Hess
If a page had multiple calendars, the last one won and set nextchange. That's wrong; the calendar that needs to next update soonest should win.
2010-05-08calendar: Allow negative month to be specified. -1 is last month, etc. (And ↵Joey Hess
also negaitve years.)
2010-05-07Merge branch 'master' into commentreorgJoey Hess
2010-05-07scale display form to match openid sizeJoey Hess
2010-05-07Removed the openidsignup option.Joey Hess
2010-05-07bugfixJoey Hess
Always load IkiWiki::CGI so its cgi_signin is present, so we replace it.
2010-05-07bugfixJoey Hess
2010-05-07remove loginlabel, not usedJoey Hess
2010-05-07pretty openid loginJoey Hess
* openid: Incorporated a fancy openid-selector signin form. (http://code.google.com/p/openid-selector/) * openid: Use "openid_identifier" as the form field, as required by OpenID Authentication v2.0 spec.
2010-05-07patch hidden field setting codeJoey Hess
Fixes http://code.google.com/p/openid-selector/issues/detail?id=11#c3
2010-05-07avoid linking directly to ikiwiki.cgi?do=signinJoey Hess
Instead, add a custom do=commentsignin, that calls cgi_signin. This allows a plugin to inject a custom cgi_signin, that uses a different do= parameter, and have it be used consitently. (This was the only place to hardcode a link to do=signin.)
2010-05-07fix comment matching pagespecsJoey Hess
test isinternal first, because match_glob with internal => 1 also returns non-internal pages that match. This order should also be faster. Remove test to see if pagesources is set. isinternal will not succeed if it is not.
2010-05-07better wordingJoey Hess
2010-05-07bugfixJoey Hess
2010-05-07bugfixesJoey Hess
2010-05-07check that pagesources exists before testingJoey Hess
2010-05-07fix match_commentJoey Hess
2010-05-07Merge branch 'master' into commentreorgJoey Hess
Conflicts: debian/changelog
2010-05-07avoid redir loop when going to an internal page that has no permalinkJoey Hess
2010-05-06respect permalinksJoey Hess
2010-05-06inline: Call indexhtml when inlining internal pages, so their text can be ↵Joey Hess
indexed for searching.
2010-05-06Renamed postscan hook to indexhtml, to reflect its changed position.Joey Hess
Probably only the search plugin uses it, so this seemed safe.
2010-05-06simplify formbuilder stylesheet specificationJoey Hess
Since all forms are wrapped in a template that defines the actual stylesheets, formbuilder just has to be told to turn on stylesheet mode, not what file is the style sheet.
2010-05-06fix pagediff to not display as "preview"Joey Hess
I think originally, the page preview header was not displayed, so diff was hacked in using it.
2010-05-06moved comments pending moderationJoey Hess
* comments: Comments pending moderation are now stored in the srcdir alongside accepted comments, but with a `._comment_pending` extension. * This allows easier byhand moderation, as the "_pending" need only be stripped off and the comment be committed to version control. * The `comment_pending()` pagespec can be used to match such unmoderated comments, which makes it easy to add a feed of them, or a counter indicating how many there are. * Belatedly added a `comment()` pagespec.
2010-05-05refactorJoey Hess
2010-05-05remove unused indexlink function and template variableJoey Hess
2010-05-04graphviz: Fix display of preexisting images in preview mode.Joey Hess
2010-05-03websetup: Only display Setup button on admins' preferences page.Joey Hess
Renamed it from "Wiki Setup" to just "Setup" for good measure.
2010-05-03allow do=setup to log a user in if necessaryJoey Hess
2010-05-03Add ACTIONS variable to page.tmpl, which allows plugins to add arbitrary ↵Joey Hess
links to the action bar without modifying the template further. (COMMENTSLINK and DISCUSSIONLINK could be folded into this, but are kept separate for now to avoid breaking modified templates.)
2010-05-02add a missing spaceJoey Hess
2010-05-02adapt comment.tmpl to html5Joey Hess
Note that I put comment-header in a <header> despite it being below the comment. Using a <footer> would be confusing given the class name. Also, the content is semantically closer to a header than a footer.
2010-05-02use a div, not a p .. and in html5, a navJoey Hess
2010-05-02Add placeholder text in search form (in html5 mode only).Joey Hess
2010-05-02Add parameter to displaytime to specify that it is a pubdate, and in html5 ↵Joey Hess
mode, use time tag.
2010-05-01enable hidden attributeJoey Hess
2010-05-01htmlscrubber: Also allow some other html5 tags: canvas, progress, meter, ↵Joey Hess
ruby, rt, rp, details, summary.
2010-05-01more html5 attributesJoey Hess
2010-05-01add rest of html5 form attributesJoey Hess
It's easy to imagine pattern being used to freeze or crash browsers, if they implement it stupidly. Let's hope not..