Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-11-29 | use one-parameter form of urlto | Joey Hess | |
2010-11-29 | test w/o second parameter | Joey Hess | |
2010-11-29 | merged localurl branch; changelog | Joey Hess | |
2010-11-29 | second parameter of urlto is optional | Joey Hess | |
2010-11-29 | tweak urlto description | Joey Hess | |
2010-11-29 | Merge remote branch 'smcv/ready/localurl' | Joey Hess | |
2010-11-29 | add news item for ikiwiki 3.20101129 | Joey Hess | |
2010-11-29 | releasing version 3.20101129 | Joey Hess | |
2010-11-29 | comment | Joey Hess | |
2010-11-29 | git: 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-29 | rename: Fix to pass named parameters to rcs_commit | Joey Hess | |
2010-11-29 | bug page | http://smcv.pseudorandom.co.uk/ | |
2010-11-29 | related bug | http://smcv.pseudorandom.co.uk/ | |
2010-11-29 | bug moved to ikiwiki-hosting | Joey Hess | |
2010-11-29 | Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info | Joey Hess | |
2010-11-29 | git: 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-28 | bug | Joey Hess | |
2010-11-28 | Merge remote branch 'blipvert/fixes' | Joey Hess | |
2010-11-28 | check that user is defined before regexp compare | Craig Lennox | |
2010-11-27 | remove files apparently misstaged and committed during link fixup after a rename | Joey 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-27 | rename todo/transient_in-memory_pages.mdwn to todo/transient_pages.mdwn | http://smcv.pseudorandom.co.uk/ | |
2010-11-25 | Added a comment: Missed It By That Much | http://kerravonsen.dreamwidth.org/ | |
2010-11-23 | another branch | http://smcv.pseudorandom.co.uk/ | |
2010-11-23 | tested and seems to work | http://smcv.pseudorandom.co.uk/ | |
2010-11-23 | pinger: avoid pinging our own local path, too | Simon McVittie | |
2010-11-23 | Use local path for even more CGI URLs | Simon McVittie | |
2010-11-23 | If cgiurl is set, but url isn't, use an absolute $local_cgiurl | Simon McVittie | |
2010-11-23 | removed | http://smcv.pseudorandom.co.uk/ | |
2010-11-23 | Added a comment: expression anchored too closely? | http://smcv.pseudorandom.co.uk/ | |
2010-11-23 | Added a comment: expression anchored too closely? | http://smcv.pseudorandom.co.uk/ | |
2010-11-23 | exclusion doesn't exclude | http://kerravonsen.dreamwidth.org/ | |
2010-11-23 | Added a comment: Limitations | http://kerravonsen.dreamwidth.org/ | |
2010-11-23 | updated branch, not tested properly yet | http://smcv.pseudorandom.co.uk/ | |
2010-11-23 | Pass a CGIURL into commentmoderation.tmpl | Simon 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-23 | Use local paths for most references to pages | Simon McVittie | |
2010-11-23 | Use local paths for the CGI URL | Simon McVittie | |
2010-11-23 | Use local paths when including Javascript | Simon McVittie | |
2010-11-23 | Use local paths for redirection where possible | Simon McVittie | |
2010-11-22 | Add a regression test for urlto, baseurl and cgiurl in ↵ | Simon McVittie | |
relative/local/absolute modes | |||
2010-11-22 | urlto(): if $from is undef, return a local path, not an absolute URL | Simon McVittie | |
2010-11-22 | baseurl(): return local path, not absolute URL, if the argument is undef | Simon McVittie | |
2010-11-22 | cgiurl(): return a locally-valid path by default | Simon 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-22 | cgiurl: don't append "?" if there are no parameters | Simon McVittie | |
This means we can use cgiurl() instead of $config{cgiurl} if an absolute URL isn't desired. | |||
2010-11-22 | Compute local paths to the top of the wiki | Simon 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 '/'. |