Joey Hess
141dc37d36
merged localurl branch; changelog
2010-11-29 15:00:22 -04:00
Joey Hess
53d466a07f
second parameter of urlto is optional
2010-11-29 14:59:48 -04:00
Joey Hess
f60f15704e
tweak urlto description
2010-11-29 14:59:15 -04:00
Joey Hess
0ae1e4cc0e
Merge remote branch 'smcv/ready/localurl'
2010-11-29 14:43:57 -04:00
Joey Hess
b3f7c6a9a5
add news item for ikiwiki 3.20101129
2010-11-29 14:13:49 -04:00
Joey Hess
853fcc2b56
releasing version 3.20101129
2010-11-29 14:12:41 -04:00
Joey Hess
e7cb11b407
comment
2010-11-29 14:09:02 -04:00
Joey Hess
170cb02479
git: Avoid adding files when committing, so as not to implicitly add files like recentchanges files that are not normally checked in, when fixing links after rename.
2010-11-29 13:42:03 -04:00
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