summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-11-29use one-parameter form of urltoJoey Hess
2010-11-29test w/o second parameterJoey Hess
2010-11-29merged localurl branch; changelogJoey Hess
2010-11-29second parameter of urlto is optionalJoey Hess
2010-11-29tweak urlto descriptionJoey Hess
2010-11-29Merge remote branch 'smcv/ready/localurl'Joey Hess
2010-11-29add news item for ikiwiki 3.20101129Joey Hess
2010-11-29releasing version 3.20101129Joey Hess
2010-11-29commentJoey 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-29bug pagehttp://smcv.pseudorandom.co.uk/
2010-11-29related bughttp://smcv.pseudorandom.co.uk/
2010-11-29bug moved to ikiwiki-hostingJoey Hess
2010-11-29Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.infoJoey Hess
2010-11-29git: Fix temp file location.Joey Hess
2010-11-29(no commit message)Remy
2010-11-29(no commit message)http://liw.fi/
2010-11-29(no commit message)http://lindi.myopenid.com/
2010-11-28bugJoey Hess
2010-11-28Merge remote branch 'blipvert/fixes'Joey Hess
2010-11-28check that user is defined before regexp compareCraig Lennox
2010-11-27remove files apparently misstaged and committed during link fixup after a renameJoey Hess
2010-11-27(no commit message)Joey Hess
2010-11-27(no commit message)Joey Hess
2010-11-27(no commit message)Joey Hess
2010-11-27rename todo/transient_in-memory_pages.mdwn to todo/transient_pages.mdwnhttp://smcv.pseudorandom.co.uk/
2010-11-25Added a comment: Missed It By That Muchhttp://kerravonsen.dreamwidth.org/
2010-11-23another branchhttp://smcv.pseudorandom.co.uk/
2010-11-23tested and seems to workhttp://smcv.pseudorandom.co.uk/
2010-11-23pinger: avoid pinging our own local path, tooSimon McVittie
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-23removedhttp://smcv.pseudorandom.co.uk/
2010-11-23Added a comment: expression anchored too closely?http://smcv.pseudorandom.co.uk/
2010-11-23Added a comment: expression anchored too closely?http://smcv.pseudorandom.co.uk/
2010-11-23exclusion doesn't excludehttp://kerravonsen.dreamwidth.org/
2010-11-23Added a comment: Limitationshttp://kerravonsen.dreamwidth.org/
2010-11-23updated branch, not tested properly yethttp://smcv.pseudorandom.co.uk/
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 '/'.