Commit Graph

14225 Commits (beae7ef9db01ab2af75d3176b016113c9d33f0a9)

Author SHA1 Message Date
http://liw.fi/ 3b7bf9a285 2010-11-29 12:22:04 +00:00
http://lindi.myopenid.com/ c20eae4b26 2010-11-29 12:19:36 +00:00
Joey Hess 47b4682ba7 bug 2010-11-28 19:23:06 -04:00
Joey Hess 93d77673e4 Merge remote branch 'blipvert/fixes' 2010-11-28 13:35:52 -04:00
Craig Lennox e4c6f5bcbe check that user is defined before regexp compare 2010-11-28 10:51:53 -05:00
Joey Hess d5b03507cd remove files apparently misstaged and committed during link fixup after a rename 2010-11-27 19:41:51 -04:00
Joey Hess 3c2d9e1038 2010-11-27 23:29:27 +00:00
Joey Hess 3acf76ac54 2010-11-27 23:29:25 +00:00
Joey Hess 3650d0265b 2010-11-27 23:29:23 +00:00
http://smcv.pseudorandom.co.uk/ 6e97574598 rename todo/transient_in-memory_pages.mdwn to todo/transient_pages.mdwn 2010-11-27 23:29:20 +00:00
http://kerravonsen.dreamwidth.org/ 615bf4fe15 Added a comment: Missed It By That Much 2010-11-25 02:55:21 +00:00
http://smcv.pseudorandom.co.uk/ 61218e338a another branch 2010-11-23 23:59:03 +00:00
http://smcv.pseudorandom.co.uk/ 9180381728 tested and seems to work 2010-11-23 23:50:29 +00:00
Simon McVittie 18bb93f574 pinger: avoid pinging our own local path, too 2010-11-23 23:14:38 +00:00
Simon McVittie 2411e2be1f Use local path for even more CGI URLs 2010-11-23 23:12:21 +00:00
Simon McVittie d01334b8e9 If cgiurl is set, but url isn't, use an absolute $local_cgiurl 2010-11-23 22:21:31 +00:00
http://smcv.pseudorandom.co.uk/ 172f41f6de removed 2010-11-23 10:43:40 +00:00
http://smcv.pseudorandom.co.uk/ 9b01c9779e Added a comment: expression anchored too closely? 2010-11-23 10:43:21 +00:00
http://smcv.pseudorandom.co.uk/ efba19b337 Added a comment: expression anchored too closely? 2010-11-23 10:43:09 +00:00
http://kerravonsen.dreamwidth.org/ 78a2e59834 exclusion doesn't exclude 2010-11-23 02:47:38 +00:00
http://kerravonsen.dreamwidth.org/ 47726461a4 Added a comment: Limitations 2010-11-23 02:18:52 +00:00
http://smcv.pseudorandom.co.uk/ 8935a131d0 updated branch, not tested properly yet 2010-11-23 00:37:28 +00:00
Simon McVittie 4625e0c4d9 Pass a CGIURL into commentmoderation.tmpl
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 00:20:57 +00:00
Simon McVittie 1f019ac2aa Use local paths for most references to pages 2010-11-23 00:19:10 +00:00
Simon McVittie 296e5cb2fd Use local paths for the CGI URL 2010-11-23 00:12:17 +00:00
Simon McVittie 78c595736e Use local paths when including Javascript 2010-11-23 00:06:07 +00:00
Simon McVittie d2e3741a6f Use local paths for redirection where possible 2010-11-23 00:00:11 +00:00
Simon McVittie 70bdd57899 Add a regression test for urlto, baseurl and cgiurl in relative/local/absolute modes 2010-11-22 23:47:05 +00:00
Simon McVittie 4c224ae143 urlto(): if $from is undef, return a local path, not an absolute URL 2010-11-22 23:47:05 +00:00
Simon McVittie f032bce791 baseurl(): return local path, not absolute URL, if the argument is undef 2010-11-22 23:47:04 +00:00
Simon McVittie 6be4e6d1a5 cgiurl(): return a locally-valid path by default
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 23:47:04 +00:00
Simon McVittie 200c599dca cgiurl: don't append "?" if there are no parameters
This means we can use cgiurl() instead of $config{cgiurl} if an absolute
URL isn't desired.
2010-11-22 23:16:59 +00:00
Simon McVittie 8f64c69e08 Compute local paths to the top of the wiki
"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-22 23:13:52 +00:00
http://churchkey.org/author/ian/ 1968317cac added edittemplate bug for ikiwiki verison: 3.20100815.2 2010-11-22 21:26:27 +00:00
Joey Hess 5954915a4f response 2010-11-22 16:04:11 -04:00
http://smcv.pseudorandom.co.uk/ d916cd2f71 respond to feedback 2010-11-22 19:45:02 +00:00
Joey Hess 178d6a16c2 comments (finally) 2010-11-22 14:06:41 -04:00
http://slowdog.myopenid.com/ a6c3d71787 2010-11-21 19:38:10 +00:00
http://pmate.myopenid.com/ f80469c34d 2010-11-20 21:44:12 +00:00
Joey Hess 1739dbe0a8 úpdate 2010-11-20 14:57:46 -04:00
Joey Hess 9f8cfe998e response 2010-11-20 14:57:10 -04:00
Joey Hess a2c040f1fc Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2010-11-20 14:54:51 -04:00
Joey Hess 31f0e459b8 edittemplate: Fix crash if using a .tmpl file or other non-page file as a template for a new page. 2010-11-20 14:54:43 -04:00
http://pmate.myopenid.com/ c1f3129583 2010-11-20 17:57:56 +00:00
http://pmate.myopenid.com/ af0bfcc078 2010-11-20 17:56:35 +00:00
Joey Hess af5f162ca7 highlight: Support new format of filetypes.conf used by version 3.2 of the highlight package. 2010-11-20 12:55:26 -04:00
Joey Hess f8f8770a65 smcv/ready/glob-cache merged 2010-11-20 12:28:22 -04:00
Joey Hess b3bca318ef avoid an unnecessary hash lookup 2010-11-20 12:25:52 -04:00
Joey Hess cfbfbdc597 Merge remote branch 'smcv/ready/glob-cache' 2010-11-20 12:24:00 -04:00
http://smcv.pseudorandom.co.uk/ c9b737cc85 one more patch: but expanding the memoization is actually a slowdown for the docwiki 2010-11-20 00:36:29 +00:00