Commit Graph

14682 Commits (9d3467cf4ac8773589a90a9b28e1e726dc417e6d)

Author SHA1 Message Date
Joey Hess a5120846cb rename: Fix to pass named parameters to rcs_commit 2010-11-29 13:28:28 -04:00
http://smcv.pseudorandom.co.uk/ b342d09606 bug page 2010-11-29 16:22:50 +00:00
http://smcv.pseudorandom.co.uk/ e8276cf13a related bug 2010-11-29 16:19:15 +00:00
Joey Hess fab1dc364f bug moved to ikiwiki-hosting 2010-11-29 12:10:17 -04:00
Joey Hess a3672af973 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2010-11-29 12:06:26 -04:00
Joey Hess 78a22e2eb2 git: Fix temp file location. 2010-11-29 12:01:50 -04:00
Remy 2e2e9638c8 2010-11-29 14:45:50 +00:00
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