summaryrefslogtreecommitdiff
path: root/IkiWiki
AgeCommit message (Collapse)Author
2011-01-04fix patch to not expose config setting as a regexpJoey Hess
2011-01-04tag name sanitationGiuseppe Bilotta
The use of typed links for tags and some of the consequent changes introduced some unwanted functionality variations in the tag system. Two problems in particular could be observed, when compared to the use of tags in older versions of IkiWiki: * tags in feeds (both rss and atom) would use the file path as their name (e.g. you would have <category term="tags/sometag" /> in an atom item for a page tagged sometag with a tagbase of tags), whereas they appeared pure before * tags containing a slash character would appear without the slash character but be used with the slash character in other circumstances (effect visible by tagging a page with a name such as "with/slash") Both of these issues are fixed by introducing a tagname() function that takes a tag link and effectively reverses (as well as possible) the effects of taglink(). A possible alternative route would have been the reintroduction of the global %tags hash, but the new approach as the (arguable) benefit of introducing a small layer of sanitation for tag names.
2011-01-02remove second parameter to include_javascriptJoey Hess
function used to take a second parameter to control absoluteness, no longer does
2010-12-29git: Fix bug involving attempting to web revert a commit that included ↵Joey Hess
changes to attachments.
2010-12-29bugfixJoey Hess
2010-12-29Add a second parameter to the rcs_diff hook, and avoid bloating memory ↵Joey Hess
reading in enormous commits.
2010-12-29Update highlight plugin for highlight api.David Bremner
Note that in particular calling initTheme with and empty file does not work anymore. use of initLanguage was replaced by loadLanguage, which seems to work in both places. I tried to make it a bit more robust against missing a highlight package. There are lots of warnings, but it no longer crashes.
2010-12-28monotone.pm: while we're still only checking the major and minorThomas Keller
part of the version number of the monotone binary, we do not want to give false alarm on patch or development versions
2010-12-26teximg: Use `\[` and `\]` instead of not recommended `$$`.Paul Menzel
It is not recommended to use the double dollar symbol `$$` to set displayed math [1][2]. [1] http://en.wikibooks.org/wiki/LaTeX/Mathematics [2] http://www.math.uiuc.edu/~hildebr/tex/displays.html Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
2010-12-25use CGI->url to get current absolute cgi url for openid login processJoey Hess
2010-12-25revert cgiurl change that broke openid loginJoey Hess
2010-12-25editpage, comment: Clean up title when editing or creating a page or comment.Joey Hess
Now that page.tmpl is used for cgi, the parentlinks are able to be displayed even when creating or editing a page. So it's redundant to include the path to the page in the title, remove it.
2010-12-25inline: Force an absolute page location when the inline postform is used.Joey Hess
There seems no need to allow selecting a location when creating a page this way; the user should always want it to appear in the inline whose form they submitted.
2010-12-25indentJoey Hess
2010-12-25fix commentJoey Hess
2010-12-22po: do not override homepage title when it was overridden.intrigeri
2010-12-20po plugin: update injected urlto signature.intrigeri
The lack of $from will probably hurt setups using po_link_to = current, but at least we can fix the blocker bug that prevents any wiki using the po plugin to build.
2010-12-05inline: base feed names on the included page nameGiuseppe Bilotta
Use the included page name rather than the including page name. This allows us to allow feeds in nested inlines without duplicating feeds with the same content under different (and stupid) names.
2010-12-01meta: Fix calling of htmlscrubber to pass the page parameter. The change of ↵Joey Hess
the htmlscrubber to look at page rather than destpage caused htmlscrubber_skip to not work for meta directives.
2010-11-29Merge remote branch 'smcv/ready/sslcookie-auto'Joey Hess
2010-11-29Always set secure cookies if logging in via HTTPSSimon McVittie
2010-11-29use one-parameter form of urltoJoey Hess
2010-11-29Merge remote branch 'smcv/ready/localurl'Joey Hess
2010-11-29git: Avoid adding files when committing, so as not to implicitly add files ↵Joey Hess
like recentchanges files that are not normally checked in, when fixing links after rename.
2010-11-29rename: Fix to pass named parameters to rcs_commitJoey Hess
2010-11-29git: Fix temp file location.Joey Hess
2010-11-23pinger: avoid pinging our own local path, tooSimon McVittie
2010-11-23Use local path for even more CGI URLsSimon McVittie
2010-11-23Pass a CGIURL into commentmoderation.tmplSimon McVittie
Omitting this resulted <form action=""> which is in fact a working self-referential form, but is less obvious than it ought to be.
2010-11-23Use local paths for most references to pagesSimon McVittie
2010-11-23Use local paths for the CGI URLSimon McVittie
2010-11-23Use local paths when including JavascriptSimon McVittie
2010-11-23Use local paths for redirection where possibleSimon McVittie
2010-11-20edittemplate: Fix crash if using a .tmpl file or other non-page file as a ↵Joey Hess
template for a new page.
2010-11-20highlight: Support new format of filetypes.conf used by version 3.2 of the ↵Joey Hess
highlight package.
2010-11-20make use of precompiled regex objectsSimon McVittie
2010-11-16inline: Improve RSS url munging to use a proper html parserJoey Hess
and support all elements that HTML::Tagset knows about. (Which doesn't include html5 just yet, but then the old version didn't either.) Bonus: 4 times faster than old regexp method.
2010-11-16indentationJoey Hess
2010-11-16Fix escaping of filenames in historyurl. (Thanks, aj)Joey Hess
2010-11-16more: Add pages parameter to limit where the more is displayed. (thanks, dark)Joey Hess
2010-11-16websetup: Fix encoding problem when restoring old setup file.Joey Hess
2010-11-12comments: Make comment() pagespec also match comments that are being posted.Joey Hess
2010-11-12comments: Make postcomment() pagespec work when previewing a comment.Joey Hess
2010-11-12Fix htmlscrubber_skip to be matched on the source page, not the page it is ↵Joey Hess
inlined into. Should allow setting to "* and !comment(*)" to scrub comments, but leave your blog posts unscrubbed, etc.
2010-10-31Use author date instead of commit dateTuomas Jormola
Signed-off-by: Tuomas Jormola <tj@solitudo.net>
2010-10-31Added missing registration of checkconfig hook.Craig Lennox
2010-10-30Added missing hook registration for checkconfigTuomas Jormola
Signed-off-by: Tuomas Jormola <tj@solitudo.net>
2010-10-25squash undefJoey Hess
2010-10-25remove a last that won't workJoey Hess
2010-10-25highlight: Ensure that other, more-specific format plugins, like txt are ↵Joey Hess
used in preference to this one in case of ties.