ikiwiki
13 years agomerged localurl branch; changelog
Joey Hess [Mon, 29 Nov 2010 19:00:22 +0000 (15:00 -0400)] 
merged localurl branch; changelog

13 years agosecond parameter of urlto is optional
Joey Hess [Mon, 29 Nov 2010 18:59:48 +0000 (14:59 -0400)] 
second parameter of urlto is optional

13 years agotweak urlto description
Joey Hess [Mon, 29 Nov 2010 18:59:15 +0000 (14:59 -0400)] 
tweak urlto description

13 years agoMerge remote branch 'smcv/ready/localurl'
Joey Hess [Mon, 29 Nov 2010 18:43:57 +0000 (14:43 -0400)] 
Merge remote branch 'smcv/ready/localurl'

13 years agoadd news item for ikiwiki 3.20101129
Joey Hess [Mon, 29 Nov 2010 18:13:49 +0000 (14:13 -0400)] 
add news item for ikiwiki 3.20101129

13 years agoreleasing version 3.20101129
Joey Hess [Mon, 29 Nov 2010 18:12:41 +0000 (14:12 -0400)] 
releasing version 3.20101129

13 years agocomment
Joey Hess [Mon, 29 Nov 2010 18:09:02 +0000 (14:09 -0400)] 
comment

13 years agogit: Avoid adding files when committing, so as not to implicitly add files like recen...
Joey Hess [Mon, 29 Nov 2010 17:42:03 +0000 (13:42 -0400)] 
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.

13 years agorename: Fix to pass named parameters to rcs_commit
Joey Hess [Mon, 29 Nov 2010 17:28:28 +0000 (13:28 -0400)] 
rename: Fix to pass named parameters to rcs_commit

13 years agobug page
http://smcv.pseudorandom.co.uk/ [Mon, 29 Nov 2010 16:22:50 +0000 (16:22 +0000)] 
bug page

13 years agorelated bug
http://smcv.pseudorandom.co.uk/ [Mon, 29 Nov 2010 16:19:15 +0000 (16:19 +0000)] 
related bug

13 years agobug moved to ikiwiki-hosting
Joey Hess [Mon, 29 Nov 2010 16:10:17 +0000 (12:10 -0400)] 
bug moved to ikiwiki-hosting

13 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Mon, 29 Nov 2010 16:06:26 +0000 (12:06 -0400)] 
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

13 years agogit: Fix temp file location.
Joey Hess [Mon, 29 Nov 2010 16:01:50 +0000 (12:01 -0400)] 
git: Fix temp file location.

13 years ago(no commit message)
Remy [Mon, 29 Nov 2010 14:45:50 +0000 (14:45 +0000)] 

13 years ago(no commit message)
http://liw.fi/ [Mon, 29 Nov 2010 12:22:04 +0000 (12:22 +0000)] 

13 years ago(no commit message)
http://lindi.myopenid.com/ [Mon, 29 Nov 2010 12:19:36 +0000 (12:19 +0000)] 

13 years agobug
Joey Hess [Sun, 28 Nov 2010 23:23:06 +0000 (19:23 -0400)] 
bug

13 years agoMerge remote branch 'blipvert/fixes'
Joey Hess [Sun, 28 Nov 2010 17:35:52 +0000 (13:35 -0400)] 
Merge remote branch 'blipvert/fixes'

13 years agocheck that user is defined before regexp compare
Craig Lennox [Sat, 27 Nov 2010 22:29:49 +0000 (17:29 -0500)] 
check that user is defined before regexp compare

13 years agoremove files apparently misstaged and committed during link fixup after a rename
Joey Hess [Sat, 27 Nov 2010 23:41:51 +0000 (19:41 -0400)] 
remove files apparently misstaged and committed during link fixup after a rename

13 years ago(no commit message)
Joey Hess [Sat, 27 Nov 2010 23:29:27 +0000 (23:29 +0000)] 

13 years ago(no commit message)
Joey Hess [Sat, 27 Nov 2010 23:29:25 +0000 (23:29 +0000)] 

13 years ago(no commit message)
Joey Hess [Sat, 27 Nov 2010 23:29:23 +0000 (23:29 +0000)] 

13 years agorename todo/transient_in-memory_pages.mdwn to todo/transient_pages.mdwn
http://smcv.pseudorandom.co.uk/ [Sat, 27 Nov 2010 23:29:20 +0000 (23:29 +0000)] 
rename todo/transient_in-memory_pages.mdwn to todo/transient_pages.mdwn

13 years agoAdded a comment: Missed It By That Much
http://kerravonsen.dreamwidth.org/ [Thu, 25 Nov 2010 02:55:21 +0000 (02:55 +0000)] 
Added a comment: Missed It By That Much

13 years agoanother branch
http://smcv.pseudorandom.co.uk/ [Tue, 23 Nov 2010 23:59:03 +0000 (23:59 +0000)] 
another branch

13 years agotested and seems to work
http://smcv.pseudorandom.co.uk/ [Tue, 23 Nov 2010 23:50:29 +0000 (23:50 +0000)] 
tested and seems to work

13 years agopinger: avoid pinging our own local path, too
Simon McVittie [Tue, 23 Nov 2010 23:14:01 +0000 (23:14 +0000)] 
pinger: avoid pinging our own local path, too

13 years agoUse local path for even more CGI URLs
Simon McVittie [Tue, 23 Nov 2010 23:12:21 +0000 (23:12 +0000)] 
Use local path for even more CGI URLs

13 years agoIf cgiurl is set, but url isn't, use an absolute $local_cgiurl
Simon McVittie [Tue, 23 Nov 2010 22:21:31 +0000 (22:21 +0000)] 
If cgiurl is set, but url isn't, use an absolute $local_cgiurl

13 years agoremoved
http://smcv.pseudorandom.co.uk/ [Tue, 23 Nov 2010 10:43:40 +0000 (10:43 +0000)] 
removed

13 years agoAdded a comment: expression anchored too closely?
http://smcv.pseudorandom.co.uk/ [Tue, 23 Nov 2010 10:43:21 +0000 (10:43 +0000)] 
Added a comment: expression anchored too closely?

13 years agoAdded a comment: expression anchored too closely?
http://smcv.pseudorandom.co.uk/ [Tue, 23 Nov 2010 10:43:09 +0000 (10:43 +0000)] 
Added a comment: expression anchored too closely?

13 years agoexclusion doesn't exclude
http://kerravonsen.dreamwidth.org/ [Tue, 23 Nov 2010 02:47:38 +0000 (02:47 +0000)] 
exclusion doesn't exclude

13 years agoAdded a comment: Limitations
http://kerravonsen.dreamwidth.org/ [Tue, 23 Nov 2010 02:18:52 +0000 (02:18 +0000)] 
Added a comment: Limitations

13 years agoupdated branch, not tested properly yet
http://smcv.pseudorandom.co.uk/ [Tue, 23 Nov 2010 00:37:28 +0000 (00:37 +0000)] 
updated branch, not tested properly yet

13 years agoPass a CGIURL into commentmoderation.tmpl
Simon McVittie [Tue, 23 Nov 2010 00:20:57 +0000 (00:20 +0000)] 
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.

13 years agoUse local paths for most references to pages
Simon McVittie [Tue, 23 Nov 2010 00:19:10 +0000 (00:19 +0000)] 
Use local paths for most references to pages

13 years agoUse local paths for the CGI URL
Simon McVittie [Tue, 23 Nov 2010 00:12:17 +0000 (00:12 +0000)] 
Use local paths for the CGI URL

13 years agoUse local paths when including Javascript
Simon McVittie [Tue, 23 Nov 2010 00:06:07 +0000 (00:06 +0000)] 
Use local paths when including Javascript

13 years agoUse local paths for redirection where possible
Simon McVittie [Tue, 23 Nov 2010 00:00:11 +0000 (00:00 +0000)] 
Use local paths for redirection where possible

13 years agoAdd a regression test for urlto, baseurl and cgiurl in relative/local/absolute modes
Simon McVittie [Sat, 2 Oct 2010 13:50:16 +0000 (14:50 +0100)] 
Add a regression test for urlto, baseurl and cgiurl in relative/local/absolute modes

13 years agourlto(): if $from is undef, return a local path, not an absolute URL
Simon McVittie [Mon, 22 Nov 2010 23:33:13 +0000 (23:33 +0000)] 
urlto(): if $from is undef, return a local path, not an absolute URL

13 years agobaseurl(): return local path, not absolute URL, if the argument is undef
Simon McVittie [Mon, 22 Nov 2010 23:25:45 +0000 (23:25 +0000)] 
baseurl(): return local path, not absolute URL, if the argument is undef

13 years agocgiurl(): return a locally-valid path by default
Simon McVittie [Mon, 22 Nov 2010 23:20:32 +0000 (23:20 +0000)] 
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.

13 years agocgiurl: don't append "?" if there are no parameters
Simon McVittie [Mon, 22 Nov 2010 23:16:59 +0000 (23:16 +0000)] 
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.

13 years agoCompute local paths to the top of the wiki
Simon McVittie [Mon, 22 Nov 2010 23:13:52 +0000 (23:13 +0000)] 
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 '/'.

13 years agoadded edittemplate bug for ikiwiki verison: 3.20100815.2
http://churchkey.org/author/ian/ [Mon, 22 Nov 2010 21:26:27 +0000 (21:26 +0000)] 
added edittemplate bug for ikiwiki verison: 3.20100815.2

13 years agoresponse
Joey Hess [Mon, 22 Nov 2010 20:04:11 +0000 (16:04 -0400)] 
response

13 years agorespond to feedback
http://smcv.pseudorandom.co.uk/ [Mon, 22 Nov 2010 19:45:02 +0000 (19:45 +0000)] 
respond to feedback

13 years agocomments (finally)
Joey Hess [Mon, 22 Nov 2010 18:05:37 +0000 (14:05 -0400)] 
comments (finally)

13 years ago(no commit message)
http://slowdog.myopenid.com/ [Sun, 21 Nov 2010 19:38:10 +0000 (19:38 +0000)] 

13 years ago(no commit message)
http://pmate.myopenid.com/ [Sat, 20 Nov 2010 21:44:12 +0000 (21:44 +0000)] 

13 years agoúpdate
Joey Hess [Sat, 20 Nov 2010 18:57:46 +0000 (14:57 -0400)] 
úpdate

13 years agoresponse
Joey Hess [Sat, 20 Nov 2010 18:57:10 +0000 (14:57 -0400)] 
response

13 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Sat, 20 Nov 2010 18:54:51 +0000 (14:54 -0400)] 
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

13 years agoedittemplate: Fix crash if using a .tmpl file or other non-page file as a template...
Joey Hess [Sat, 20 Nov 2010 18:54:43 +0000 (14:54 -0400)] 
edittemplate: Fix crash if using a .tmpl file or other non-page file as a template for a new page.

13 years ago(no commit message)
http://pmate.myopenid.com/ [Sat, 20 Nov 2010 17:57:56 +0000 (17:57 +0000)] 

13 years ago(no commit message)
http://pmate.myopenid.com/ [Sat, 20 Nov 2010 17:56:35 +0000 (17:56 +0000)] 

13 years agohighlight: Support new format of filetypes.conf used by version 3.2 of the highlight...
Joey Hess [Sat, 20 Nov 2010 16:55:26 +0000 (12:55 -0400)] 
highlight: Support new format of filetypes.conf used by version 3.2 of the highlight package.

13 years agosmcv/ready/glob-cache merged
Joey Hess [Sat, 20 Nov 2010 16:28:22 +0000 (12:28 -0400)] 
smcv/ready/glob-cache merged

13 years agoavoid an unnecessary hash lookup
Joey Hess [Sat, 20 Nov 2010 16:25:52 +0000 (12:25 -0400)] 
avoid an unnecessary hash lookup

13 years agoMerge remote branch 'smcv/ready/glob-cache'
Joey Hess [Sat, 20 Nov 2010 16:24:00 +0000 (12:24 -0400)] 
Merge remote branch 'smcv/ready/glob-cache'

13 years agoone more patch: but expanding the memoization is actually a slowdown for the docwiki
http://smcv.pseudorandom.co.uk/ [Sat, 20 Nov 2010 00:36:29 +0000 (00:36 +0000)] 
one more patch: but expanding the memoization is actually a slowdown for the docwiki

13 years agobranch ready for merge, I think
Simon McVittie [Sat, 20 Nov 2010 00:22:56 +0000 (00:22 +0000)] 
branch ready for merge, I think

13 years agomake use of precompiled regex objects
Simon McVittie [Sat, 20 Nov 2010 00:02:49 +0000 (00:02 +0000)] 
make use of precompiled regex objects

13 years agoglob2re: return a precompiled, anchored case-insensitive regex
Simon McVittie [Fri, 19 Nov 2010 23:59:04 +0000 (23:59 +0000)] 
glob2re: return a precompiled, anchored case-insensitive regex

In practice every use of glob2re uses it like that.

13 years agomatch_glob: streamline glob cache slightly
Simon McVittie [Wed, 17 Nov 2010 20:04:55 +0000 (20:04 +0000)] 
match_glob: streamline glob cache slightly

13 years agoImprove the speed of match_glob
Kathryn Andersen [Sun, 14 Nov 2010 16:22:15 +0000 (16:22 +0000)] 
Improve the speed of match_glob

13 years agoresponse
Joey Hess [Wed, 17 Nov 2010 17:20:29 +0000 (13:20 -0400)] 
response

13 years agosorry, I'll try against master in future.
Jon Dowland [Wed, 17 Nov 2010 10:13:32 +0000 (10:13 +0000)] 
sorry, I'll try against master in future.

13 years ago(no commit message)
http://pmate.myopenid.com/ [Wed, 17 Nov 2010 08:03:09 +0000 (08:03 +0000)] 

13 years agoext4, default settings...
http://jmtd.livejournal.com/ [Wed, 17 Nov 2010 07:47:07 +0000 (07:47 +0000)] 
ext4, default settings...

13 years agoinline: Improve RSS url munging to use a proper html parser
Joey Hess [Tue, 16 Nov 2010 20:57:50 +0000 (16:57 -0400)] 
inline: Improve RSS url munging to use a proper html parser

and support all elements that HTML::Tagset knows about.

(Which doesn't include html5 just yet, but then the old version didn't either.)

Bonus: 4 times faster than old regexp method.

13 years agoadd test case for RSS url munging
Joey Hess [Tue, 16 Nov 2010 20:48:42 +0000 (16:48 -0400)] 
add test case for RSS url munging

13 years agoindentation
Joey Hess [Tue, 16 Nov 2010 19:40:16 +0000 (15:40 -0400)] 
indentation

13 years agoFix escaping of filenames in historyurl. (Thanks, aj)
Joey Hess [Tue, 16 Nov 2010 19:12:52 +0000 (15:12 -0400)] 
Fix escaping of filenames in historyurl. (Thanks, aj)

13 years agoresponse
Joey Hess [Tue, 16 Nov 2010 19:03:03 +0000 (15:03 -0400)] 
response

13 years agomore: Add pages parameter to limit where the more is displayed. (thanks, dark)
Joey Hess [Tue, 16 Nov 2010 19:00:04 +0000 (15:00 -0400)] 
more: Add pages parameter to limit where the more is displayed. (thanks, dark)

13 years agoimprove html
Joey Hess [Tue, 16 Nov 2010 18:45:53 +0000 (14:45 -0400)] 
improve html

display not changed, but I hope this will html2text better in rss2email,
and it's generally better

13 years agowebsetup: Fix encoding problem when restoring old setup file.
Joey Hess [Tue, 16 Nov 2010 18:24:15 +0000 (14:24 -0400)] 
websetup: Fix encoding problem when restoring old setup file.

13 years agoresponse
Joey Hess [Tue, 16 Nov 2010 17:42:52 +0000 (13:42 -0400)] 
response

13 years agobut it already checks length..
Joey Hess [Tue, 16 Nov 2010 17:34:41 +0000 (13:34 -0400)] 
but it already checks length..

13 years agoalready fixed
Joey Hess [Tue, 16 Nov 2010 17:24:50 +0000 (13:24 -0400)] 
already fixed

13 years agothoughts
Joey Hess [Tue, 16 Nov 2010 17:19:13 +0000 (13:19 -0400)] 
thoughts

13 years agofurther thoughts
http://kerravonsen.dreamwidth.org/ [Mon, 15 Nov 2010 23:23:08 +0000 (23:23 +0000)] 
further thoughts

13 years agomodular, not replacement
http://kerravonsen.dreamwidth.org/ [Mon, 15 Nov 2010 23:00:48 +0000 (23:00 +0000)] 
modular, not replacement

13 years agoadded my reasons for wanting a replace-able template system
http://churchkey.org/author/ian/ [Mon, 15 Nov 2010 15:50:37 +0000 (15:50 +0000)] 
added my reasons for wanting a replace-able template system

13 years agonote about template inclusion
http://jmtd.livejournal.com/ [Mon, 15 Nov 2010 14:46:13 +0000 (14:46 +0000)] 
note about template inclusion

13 years agonot quite done yet: if/included() doesn't work that way.
http://jmtd.livejournal.com/ [Mon, 15 Nov 2010 14:43:35 +0000 (14:43 +0000)] 
not quite done yet: if/included() doesn't work that way.

13 years agoI totally misinterpreted what included() is supposed to be for.
http://jmtd.livejournal.com/ [Mon, 15 Nov 2010 14:41:40 +0000 (14:41 +0000)] 
I totally misinterpreted what included() is supposed to be for.

This reverts commit da9e1ea667f82d5fca9168dbed19be08040570ff

13 years agodone with commit da9e1ea667f82d5fca916
http://jmtd.livejournal.com/ [Mon, 15 Nov 2010 14:28:50 +0000 (14:28 +0000)] 
done with commit da9e1ea667f82d5fca916

13 years agoguard templates with the if directive where necessary
http://jmtd.livejournal.com/ [Mon, 15 Nov 2010 14:28:05 +0000 (14:28 +0000)] 
guard templates with the if directive where necessary

13 years agotemplate files being treated as regular pages and the problems that can cause
http://jmtd.livejournal.com/ [Mon, 15 Nov 2010 14:23:01 +0000 (14:23 +0000)] 
template files being treated as regular pages and the problems that can cause

13 years agomore discussion
http://smcv.pseudorandom.co.uk/ [Mon, 15 Nov 2010 11:14:21 +0000 (11:14 +0000)] 
more discussion

13 years ago(no commit message)
http://jmtd.livejournal.com/ [Mon, 15 Nov 2010 10:11:40 +0000 (10:11 +0000)] 

13 years agotypo
http://jmtd.livejournal.com/ [Mon, 15 Nov 2010 10:09:41 +0000 (10:09 +0000)] 
typo

13 years agoaggregate: too long filenames
http://jmtd.livejournal.com/ [Mon, 15 Nov 2010 10:08:30 +0000 (10:08 +0000)] 
aggregate: too long filenames

13 years agomake it more generic?
http://kerravonsen.dreamwidth.org/ [Mon, 15 Nov 2010 05:43:56 +0000 (05:43 +0000)] 
make it more generic?