summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-11-23Use local path for even more CGI URLsSimon McVittie
2010-11-23If cgiurl is set, but url isn't, use an absolute $local_cgiurlSimon 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-22Add a regression test for urlto, baseurl and cgiurl in ↵Simon McVittie
relative/local/absolute modes
2010-11-22urlto(): if $from is undef, return a local path, not an absolute URLSimon McVittie
2010-11-22baseurl(): return local path, not absolute URL, if the argument is undefSimon McVittie
2010-11-22cgiurl(): return a locally-valid path by defaultSimon McVittie
To get an absolute version you can use cgiurl(cgiurl => $config{cgiurl}). The only place in IkiWiki that seems to actually need an absolute URL is the openid plugin, and that already uses the named parameter.
2010-11-22cgiurl: don't append "?" if there are no parametersSimon McVittie
This means we can use cgiurl() instead of $config{cgiurl} if an absolute URL isn't desired.
2010-11-22Compute local paths to the top of the wikiSimon McVittie
"local" here is short for "locally valid" - the idea is that we can use URLs that are relative in the sense of only having the path part, but absolute in the sense that they start from '/', such as '/~smcv/ikiwiki.cgi'. There's no particularly good name that I can find for these between-relative-and-absolute URLs. They're useful because in the common case where the pages and the CGI script have the same scheme and authority component, each page is identified by the same locally-valid URL when linking from any page or from the CGI, without hard-coding a choice between HTTP and HTTPS, or between multiple virtual hostnames with the same path layout. As such, we can use them in many situations that previously used an absolute URL. If there's no suitable semi-absolute value for local_url (for instance, if your pages and your CGI reside on different servers), we can just fall back to using the absolute URL. I append '/' because $config{url} doesn't end with '/', but the common case for local_url (on all branchable.com sites, for instance) is that it's just '/'.
2010-11-22added edittemplate bug for ikiwiki verison: 3.20100815.2http://churchkey.org/author/ian/
2010-11-22responseJoey Hess
2010-11-22respond to feedbackhttp://smcv.pseudorandom.co.uk/
2010-11-22comments (finally)Joey Hess
2010-11-21(no commit message)http://slowdog.myopenid.com/
2010-11-20(no commit message)http://pmate.myopenid.com/
2010-11-20úpdateJoey Hess
2010-11-20responseJoey Hess
2010-11-20Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.infoJoey Hess
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-20(no commit message)http://pmate.myopenid.com/
2010-11-20(no commit message)http://pmate.myopenid.com/
2010-11-20highlight: Support new format of filetypes.conf used by version 3.2 of the ↵Joey Hess
highlight package.
2010-11-20smcv/ready/glob-cache mergedJoey Hess
2010-11-20avoid an unnecessary hash lookupJoey Hess
2010-11-20Merge remote branch 'smcv/ready/glob-cache'Joey Hess
2010-11-20one more patch: but expanding the memoization is actually a slowdown for the ↵http://smcv.pseudorandom.co.uk/
docwiki
2010-11-20branch ready for merge, I thinkSimon McVittie
2010-11-20make use of precompiled regex objectsSimon McVittie
2010-11-19glob2re: return a precompiled, anchored case-insensitive regexSimon McVittie
In practice every use of glob2re uses it like that.
2010-11-19match_glob: streamline glob cache slightlySimon McVittie
2010-11-19Improve the speed of match_globKathryn Andersen
2010-11-17responseJoey Hess
2010-11-17sorry, I'll try against master in future.Jon Dowland
2010-11-17(no commit message)http://pmate.myopenid.com/
2010-11-17ext4, default settings...http://jmtd.livejournal.com/
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-16add test case for RSS url mungingJoey Hess
2010-11-16indentationJoey Hess
2010-11-16Fix escaping of filenames in historyurl. (Thanks, aj)Joey Hess
2010-11-16responseJoey Hess
2010-11-16more: Add pages parameter to limit where the more is displayed. (thanks, dark)Joey Hess
2010-11-16improve htmlJoey Hess
display not changed, but I hope this will html2text better in rss2email, and it's generally better
2010-11-16websetup: Fix encoding problem when restoring old setup file.Joey Hess
2010-11-16responseJoey Hess
2010-11-16but it already checks length..Joey Hess
2010-11-16already fixedJoey Hess