summaryrefslogtreecommitdiff
path: root/IkiWiki
AgeCommit message (Collapse)Author
2010-05-15avoid showing comment post stuff on dynamic pagesJoey Hess
If the site is configured to allow comments on *, then the comment post interface was being added to cgi pages like signin and prefs. This fixes it w/o requiring more page.tmpl changes. The pagetemplate hook is called by misctemplate with an empty page name for dynamic pages.
2010-05-14allow misctemplate callers to pass params to suppress actions etcJoey Hess
Suppress disiplay of small search for on search results page, and of Prefrences link on prefs page.
2010-05-14avoid showing redundant search box on search results pageJoey Hess
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-14refactor template actionsJoey 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-07nasty update to ugly hack to allow comment() pagespecs to workJoey Hess
2010-05-07Merge branch 'master' into commentreorgJoey Hess
Conflicts: debian/changelog
2010-05-07call delete hook even if only internal pages are deletedJoey Hess
2010-05-07avoid redir loop when going to an internal page that has no permalinkJoey Hess
2010-05-06respect permalinksJoey Hess
2010-05-06Delete hooks are passed deleted internal pages.Joey Hess
Necessary so search can remove its indexes for internal pages. But also, it seems it was an omission not to pass the deleted pages before.
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-05rename ispage variableJoey Hess
2010-05-05remove unused indexlink function and template variableJoey Hess
2010-05-05remove unusedJoey Hess
2010-05-05add ISPAGE variable to page.tmplJoey Hess
Plugins will also be able to use this to tell if the template is being used to generate a wiki page, when misctemplate starts also using page.tmpl.
2010-05-04Fixes a bug in skipping of illegal source files introduced in 3.20100427.Joey Hess
2010-05-04note that tcc workaround is for bug fixed in tcc nowJoey Hess
2010-05-04graphviz: Fix display of preexisting images in preview mode.Joey Hess