ikiwiki.git
16 years agoMerge remote branch 'smcv/ready/sort-package'
Joey Hess [Wed, 7 Apr 2010 03:15:33 +0000 (23:15 -0400)]
Merge remote branch 'smcv/ready/sort-package'

Conflicts:
debian/NEWS

16 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Wed, 7 Apr 2010 03:05:04 +0000 (23:05 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

16 years agoclose
Joey Hess [Wed, 7 Apr 2010 03:04:54 +0000 (23:04 -0400)]
close

16 years agoupdate fieldsort plugin again; remove obsolete bug + fix note (thanks!)
http://smcv.pseudorandom.co.uk/ [Wed, 7 Apr 2010 03:03:40 +0000 (03:03 +0000)]
update fieldsort plugin again; remove obsolete bug + fix note (thanks!)

16 years agoadd note about minor back compat issue
Joey Hess [Wed, 7 Apr 2010 03:02:18 +0000 (23:02 -0400)]
add note about minor back compat issue

16 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Wed, 7 Apr 2010 02:59:57 +0000 (22:59 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

16 years agotweak wording and versions and add changelog entry
Joey Hess [Wed, 7 Apr 2010 02:58:22 +0000 (22:58 -0400)]
tweak wording and versions and add changelog entry

16 years agoimprove wording to not encourage explicitly passing undef
Joey Hess [Wed, 7 Apr 2010 02:57:02 +0000 (22:57 -0400)]
improve wording to not encourage explicitly passing undef

16 years agofurther discussion, point out potential XSS
http://smcv.pseudorandom.co.uk/ [Wed, 7 Apr 2010 02:55:50 +0000 (02:55 +0000)]
further discussion, point out potential XSS

16 years agoMerge remote branch 'smcv/ready/link-types'
Joey Hess [Wed, 7 Apr 2010 02:50:19 +0000 (22:50 -0400)]
Merge remote branch 'smcv/ready/link-types'

16 years agoresponse
http://kerravonsen.dreamwidth.org/ [Tue, 6 Apr 2010 23:20:49 +0000 (23:20 +0000)]
response

16 years agoresponse
http://kerravonsen.dreamwidth.org/ [Tue, 6 Apr 2010 23:19:18 +0000 (23:19 +0000)]
response

16 years agoresponse to Joey and smcv
http://kerravonsen.dreamwidth.org/ [Tue, 6 Apr 2010 23:09:59 +0000 (23:09 +0000)]
response to Joey and smcv

16 years agoreply
http://kerravonsen.dreamwidth.org/ [Tue, 6 Apr 2010 22:24:24 +0000 (22:24 +0000)]
reply

16 years agofixed
http://smcv.pseudorandom.co.uk/ [Tue, 6 Apr 2010 20:03:26 +0000 (20:03 +0000)]
fixed

16 years agoRemove typedlink from [[ikiwiki/pagespec]]
Simon McVittie [Tue, 6 Apr 2010 20:00:48 +0000 (21:00 +0100)]
Remove typedlink from [[ikiwiki/pagespec]]

It's not supported in this branch any more.

16 years agoAuto-rebuild wikis on upgrade due to the taglink change
Simon McVittie [Tue, 6 Apr 2010 19:59:45 +0000 (20:59 +0100)]
Auto-rebuild wikis on upgrade due to the taglink change

debian/NEWS and debian/postinst should be edited before release to have
an appropriate version number.

16 years agoRevert spam
Joey Hess [Tue, 6 Apr 2010 19:12:54 +0000 (15:12 -0400)]
Revert spam

This reverts commit e496920e51ae9f0ecfbad5799634a5064193dcdb.

"Twice is enemy action"; enjoy your ban!

16 years ago(no commit message)
webkatalog [Tue, 6 Apr 2010 18:43:08 +0000 (18:43 +0000)]

16 years agoRevert spam
Joey Hess [Tue, 6 Apr 2010 18:39:51 +0000 (14:39 -0400)]
Revert spam

This reverts commit b29c50c731d17c83fef21ef606654ce3bde84310.

Nice try, no cigar.

16 years ago(no commit message)
webkatalog [Tue, 6 Apr 2010 18:38:17 +0000 (18:38 +0000)]

16 years agonearly there!
Joey Hess [Tue, 6 Apr 2010 18:20:44 +0000 (14:20 -0400)]
nearly there!

16 years agocomment
Joey Hess [Tue, 6 Apr 2010 18:09:02 +0000 (14:09 -0400)]
comment

16 years agocomment
Joey Hess [Tue, 6 Apr 2010 18:06:29 +0000 (14:06 -0400)]
comment

16 years agocomment
Joey Hess [Tue, 6 Apr 2010 18:05:00 +0000 (14:05 -0400)]
comment

16 years agoidea
Joey Hess [Tue, 6 Apr 2010 17:58:55 +0000 (13:58 -0400)]
idea

16 years agofirst question
Joey Hess [Tue, 6 Apr 2010 17:25:26 +0000 (13:25 -0400)]
first question

16 years agooops, branch returned now
http://smcv.pseudorandom.co.uk/ [Tue, 6 Apr 2010 10:47:28 +0000 (10:47 +0000)]
oops, branch returned now

16 years agomore flexible underlays, please?
http://kerravonsen.dreamwidth.org/ [Tue, 6 Apr 2010 04:41:55 +0000 (04:41 +0000)]
more flexible underlays, please?

16 years agoresponse
http://kerravonsen.dreamwidth.org/ [Tue, 6 Apr 2010 04:00:47 +0000 (04:00 +0000)]
response

16 years ago(no commit message)
http://kerravonsen.dreamwidth.org/ [Tue, 6 Apr 2010 03:59:09 +0000 (03:59 +0000)]

16 years agoif applied, reverting this would be problematic
http://smcv.pseudorandom.co.uk/ [Tue, 6 Apr 2010 00:55:54 +0000 (00:55 +0000)]
if applied, reverting this would be problematic

16 years agotag as patch
http://smcv.pseudorandom.co.uk/ [Tue, 6 Apr 2010 00:51:27 +0000 (00:51 +0000)]
tag as patch

16 years agopages talking about escaping should really be escaped correctly
http://smcv.pseudorandom.co.uk/ [Tue, 6 Apr 2010 00:50:51 +0000 (00:50 +0000)]
pages talking about escaping should really be escaped correctly

16 years agoas seen on IRC
http://smcv.pseudorandom.co.uk/ [Tue, 6 Apr 2010 00:49:38 +0000 (00:49 +0000)]
as seen on IRC

16 years agoswitch branch for review to use ready/foo convention
http://smcv.pseudorandom.co.uk/ [Tue, 6 Apr 2010 00:04:47 +0000 (00:04 +0000)]
switch branch for review to use ready/foo convention

16 years agoready for review, I think
http://smcv.pseudorandom.co.uk/ [Tue, 6 Apr 2010 00:02:18 +0000 (00:02 +0000)]
ready for review, I think

16 years agoOnly store authorsort in meta pagestate if it differs from author
Simon McVittie [Mon, 5 Apr 2010 23:59:16 +0000 (00:59 +0100)]
Only store authorsort in meta pagestate if it differs from author

16 years agoOnly store titlesort in meta pagestate if it differs from title
Simon McVittie [Mon, 5 Apr 2010 23:58:55 +0000 (00:58 +0100)]
Only store titlesort in meta pagestate if it differs from title

16 years agoUse $a and $b for SortSpec cmp callbacks
Simon McVittie [Mon, 5 Apr 2010 21:50:51 +0000 (22:50 +0100)]
Use $a and $b for SortSpec cmp callbacks

16 years agofix bug that left stray </p> tags
Joey Hess [Mon, 5 Apr 2010 21:18:30 +0000 (17:18 -0400)]
fix bug that left stray </p> tags

Both markdown and tidy add paragraph tags around text, that needs to be
stripped when the text is a short, one line fragment that is being inserted
into a larger page. tidy also adds several newlines to the end, and this
broke removal of the paragraph tags.

16 years agotxt: Add a special case for robots.txt.
Joey Hess [Mon, 5 Apr 2010 21:02:10 +0000 (17:02 -0400)]
txt: Add a special case for robots.txt.

16 years agocomments: Fix missing entity encoding in title.
Joey Hess [Mon, 5 Apr 2010 20:34:49 +0000 (16:34 -0400)]
comments: Fix missing entity encoding in title.

The meta title data set by comments needs to be encoded the same way that
meta encodes it. (NB The security implications of the missing encoding
are small.)

Note that meta's encoding of title, description, and guid data, and not
other data, is probably a special case that should be removed. Instead,
these values should be encoded when used. I have avoided doing so here
because that would mean forcing a wiki rebuild on upgrade to have the data
consitently encoded.

16 years agoresponse
Joey Hess [Mon, 5 Apr 2010 19:28:54 +0000 (15:28 -0400)]
response

16 years agopotential performance improvements
http://smcv.pseudorandom.co.uk/ [Mon, 5 Apr 2010 19:19:00 +0000 (19:19 +0000)]
potential performance improvements

16 years agospeed
Joey Hess [Mon, 5 Apr 2010 18:59:29 +0000 (14:59 -0400)]
speed

16 years agofix test suite
Joey Hess [Sun, 4 Apr 2010 21:06:28 +0000 (17:06 -0400)]
fix test suite

16 years agoclose bug, comment
Joey Hess [Sun, 4 Apr 2010 16:28:12 +0000 (12:28 -0400)]
close bug, comment

16 years agomore idiomatic perl
Joey Hess [Sun, 4 Apr 2010 16:23:12 +0000 (12:23 -0400)]
more idiomatic perl

16 years agorename hash and avoid unnecessary hash ref
Joey Hess [Sun, 4 Apr 2010 16:20:26 +0000 (12:20 -0400)]
rename hash and avoid unnecessary hash ref

Variable renamed to be a bit more self-explanatory.
Probably more idiomatic perl to not use a hash ref when a hash can be used.

16 years agochangelog
Joey Hess [Sun, 4 Apr 2010 16:17:36 +0000 (12:17 -0400)]
changelog

16 years agofix indentation & whitespace
Joey Hess [Sun, 4 Apr 2010 16:17:03 +0000 (12:17 -0400)]
fix indentation & whitespace

16 years agoFix bzr plugin to work with bzr 2.0.
Lars Wirzenius [Sun, 4 Apr 2010 09:05:07 +0000 (21:05 +1200)]
Fix bzr plugin to work with bzr 2.0.

The output of "bzr log" seems to have changed a bit, so we change the
parsing accordingly. This has not been tested with earlier versions of
bzr.

Several problems seemed to occur, all in the bzr_log subroutine:

1. The @infos list would contain an empty hash, which would confuse the
   rest of the program.
2. This was because bzr_log would push an empty anonymous hash to the
   list whenever it thought a new record would start.
3. However, a new record marker (now?) also happens at th end of bzr log
   output.
4. Now we collect the record to a hash that gets pushed to the list only
   if it is not empty.
5. Also, sometimes bzr log outputs "revno: 1234 [merge]", so we catch only
   the revision number.
6. Finally, there may be non-headers at the of the output, so we ignore
   those.

16 years agoadvertise some bugfixes
http://smcv.pseudorandom.co.uk/ [Sun, 4 Apr 2010 14:05:42 +0000 (14:05 +0000)]
advertise some bugfixes

16 years agobug report + patch: unnecessary YAML::Any dependency
http://smcv.pseudorandom.co.uk/ [Sun, 4 Apr 2010 14:03:51 +0000 (14:03 +0000)]
bug report + patch: unnecessary YAML::Any dependency

16 years ago(no commit message)
http://hendry.iki.fi/ [Sun, 4 Apr 2010 13:00:52 +0000 (13:00 +0000)]

16 years agoTypo.
PaulePanter [Sun, 4 Apr 2010 12:03:41 +0000 (12:03 +0000)]
Typo.

16 years ago(no commit message)
http://liw.fi/ [Sun, 4 Apr 2010 09:23:05 +0000 (09:23 +0000)]

16 years ago(no commit message)
http://liw.fi/ [Sun, 4 Apr 2010 09:13:01 +0000 (09:13 +0000)]

16 years ago(no commit message)
http://liw.fi/ [Sun, 4 Apr 2010 09:12:23 +0000 (09:12 +0000)]

16 years agoAdd the Banu website
https://mukund.startssl.com/ [Sun, 4 Apr 2010 07:16:41 +0000 (07:16 +0000)]
Add the Banu website

16 years agoRemove my homepage
https://mukund.startssl.com/ [Sun, 4 Apr 2010 07:13:51 +0000 (07:13 +0000)]
Remove my homepage

16 years agoRename sort parameter to meta title/author to sortas=bar
Simon McVittie [Sat, 3 Apr 2010 13:19:18 +0000 (14:19 +0100)]
Rename sort parameter to meta title/author to sortas=bar

Joey pointed out that sort=x usually takes a sort order.

16 years agometa: generalize meta_title into meta(title); support author, updated, date
Simon McVittie [Sat, 3 Apr 2010 13:17:48 +0000 (14:17 +0100)]
meta: generalize meta_title into meta(title); support author, updated, date

I've left meta_title in, undocumented, as a possible replacement for
sort=title in IkiWiki 4.0 or something.

16 years agoupdated branch
http://smcv.pseudorandom.co.uk/ [Sun, 4 Apr 2010 00:34:36 +0000 (00:34 +0000)]
updated branch

16 years agoupdate fieldsort plugin to be compatible with the latest version of my branch
http://smcv.pseudorandom.co.uk/ [Sun, 4 Apr 2010 00:27:20 +0000 (00:27 +0000)]
update fieldsort plugin to be compatible with the latest version of my branch

16 years agoAdd a unit test for changed-link calculation
Simon McVittie [Sun, 4 Apr 2010 00:20:02 +0000 (01:20 +0100)]
Add a unit test for changed-link calculation

16 years agoRemove the typedlink(tag foo) pagespec feature, which is less friendly than tagged()
Simon McVittie [Sat, 3 Apr 2010 23:26:03 +0000 (00:26 +0100)]
Remove the typedlink(tag foo) pagespec feature, which is less friendly than tagged()

Plugins that introduce a link type should also introduce pagespec syntax
for it.

16 years agoRemove tagged_is_strict option, and just behave as though it was enabled
Simon McVittie [Sat, 3 Apr 2010 23:24:27 +0000 (00:24 +0100)]
Remove tagged_is_strict option, and just behave as though it was enabled

Jon was worried about the backwards-compatibility break involved in making
tagged() not match non-tag links, but Joey seems less concerned about it.

16 years agoFix some typos that would break Render during changed-link calculation
Simon McVittie [Sat, 3 Apr 2010 23:21:01 +0000 (00:21 +0100)]
Fix some typos that would break Render during changed-link calculation

16 years agoimplement typed links; add tagged_is_strict config option
Simon McVittie [Thu, 1 Apr 2010 23:28:02 +0000 (00:28 +0100)]
implement typed links; add tagged_is_strict config option

16 years agoanswer about autofiles for tags
David Riebenbauer [Sat, 3 Apr 2010 21:38:05 +0000 (23:38 +0200)]
answer about autofiles for tags

16 years agolink to commits
David Riebenbauer [Fri, 5 Feb 2010 11:54:07 +0000 (12:54 +0100)]
link to commits

16 years agoslightly more consistent capitalisation of ikiwiki
Joey Hess [Sat, 3 Apr 2010 20:07:32 +0000 (16:07 -0400)]
slightly more consistent capitalisation of ikiwiki

For a while, I was avoiding capitalizing ikiwiki at the beginning of a
sentence. I now think that's a bad idea (unless explicitly referring to
the `ikiwiki` command). Still, I don't go all the way and always cap it,
as a proper noun. That would make the logo look bad. ;)

I also tend to avoid capping it as IkiWiki, except when referring to the
perl internals, which do use that capitalization. (Too late to change
that.) However, it's also reasonable to do so in a WikiLink, as a nod to
historical camelcase wikis.

16 years agoadd news item for ikiwiki 3.20100403
Joey Hess [Sat, 3 Apr 2010 19:15:25 +0000 (15:15 -0400)]
add news item for ikiwiki 3.20100403

16 years agoreleasing version 3.20100403 3.20100403
Joey Hess [Sat, 3 Apr 2010 19:15:04 +0000 (15:15 -0400)]
releasing version 3.20100403

16 years agofix buggy program installation code
Joey Hess [Sat, 3 Apr 2010 19:09:04 +0000 (15:09 -0400)]
fix buggy program installation code

16 years agoupdated branch
http://smcv.pseudorandom.co.uk/ [Sat, 3 Apr 2010 13:39:44 +0000 (13:39 +0000)]
updated branch

16 years agoMove sort hooks to the IkiWiki::SortSpec namespace
Simon McVittie [Sat, 3 Apr 2010 12:57:38 +0000 (13:57 +0100)]
Move sort hooks to the IkiWiki::SortSpec namespace

Also rename cmpspec_translate (internal function) to sortspec_translate
for consistency.

16 years agoRemove support for check_cmp_foo (pre-sort checks)
Simon McVittie [Sat, 3 Apr 2010 12:49:20 +0000 (13:49 +0100)]
Remove support for check_cmp_foo (pre-sort checks)

16 years agoSplit out sortnaturally into a plugin
Simon McVittie [Sat, 3 Apr 2010 12:48:30 +0000 (13:48 +0100)]
Split out sortnaturally into a plugin

16 years agoresponse
Joey Hess [Sat, 3 Apr 2010 02:46:31 +0000 (22:46 -0400)]
response

16 years agoresponse
Joey Hess [Sat, 3 Apr 2010 02:23:36 +0000 (22:23 -0400)]
response

16 years agocross-reference
http://smcv.pseudorandom.co.uk/ [Sat, 3 Apr 2010 01:15:28 +0000 (01:15 +0000)]
cross-reference

16 years agovague musings about wikilinks
http://smcv.pseudorandom.co.uk/ [Sat, 3 Apr 2010 01:13:08 +0000 (01:13 +0000)]
vague musings about wikilinks

16 years agoperhaps the typedlink(tag foo) pagespec isn't so useful
http://smcv.pseudorandom.co.uk/ [Sat, 3 Apr 2010 00:53:59 +0000 (00:53 +0000)]
perhaps the typedlink(tag foo) pagespec isn't so useful

16 years agoreduced difference
http://smcv.pseudorandom.co.uk/ [Sat, 3 Apr 2010 00:45:16 +0000 (00:45 +0000)]
reduced difference

16 years agosort-order could usefully be overridden for meta author, too
http://smcv.pseudorandom.co.uk/ [Sat, 3 Apr 2010 00:41:31 +0000 (00:41 +0000)]
sort-order could usefully be overridden for meta author, too

16 years agoactually I can see a second use for "nonlinear" syntax - but I don't think it's worth it
http://smcv.pseudorandom.co.uk/ [Sat, 3 Apr 2010 00:25:28 +0000 (00:25 +0000)]
actually I can see a second use for "nonlinear" syntax - but I don't think it's worth it

16 years agomake questions to Joey more explicit
http://smcv.pseudorandom.co.uk/ [Sat, 3 Apr 2010 00:12:59 +0000 (00:12 +0000)]
make questions to Joey more explicit

16 years agorespond at some length
http://smcv.pseudorandom.co.uk/ [Sat, 3 Apr 2010 00:00:53 +0000 (00:00 +0000)]
respond at some length

16 years agorespond (also unindent Joey's review to avoid very deep indentation)
http://smcv.pseudorandom.co.uk/ [Fri, 2 Apr 2010 22:25:16 +0000 (22:25 +0000)]
respond (also unindent Joey's review to avoid very deep indentation)

16 years agoidea
Joey Hess [Fri, 2 Apr 2010 21:37:38 +0000 (17:37 -0400)]
idea

16 years agocomments
Joey Hess [Fri, 2 Apr 2010 21:26:32 +0000 (17:26 -0400)]
comments

16 years agominor comment
Joey Hess [Fri, 2 Apr 2010 21:16:12 +0000 (17:16 -0400)]
minor comment

16 years agofix branch name
Joey Hess [Fri, 2 Apr 2010 21:03:33 +0000 (17:03 -0400)]
fix branch name

16 years agoqualify template_file
Joey Hess [Fri, 2 Apr 2010 20:55:29 +0000 (16:55 -0400)]
qualify template_file

16 years agotemplate: Search for templates in the templatedir, if they are not found as pages...
Joey Hess [Fri, 2 Apr 2010 20:54:06 +0000 (16:54 -0400)]
template: Search for templates in the templatedir, if they are not found as pages in the wiki.

16 years agoreview from the woods
Joey Hess [Fri, 2 Apr 2010 20:41:04 +0000 (16:41 -0400)]
review from the woods

16 years agohtmlscrubber: Allow colons in url fragments after '?'
Joey Hess [Fri, 2 Apr 2010 20:05:14 +0000 (16:05 -0400)]
htmlscrubber: Allow colons in url fragments after '?'

Colons are not allowed at the start of urls, because it can be interpreted
as a protocol, and allowing arbitrary protocols can be unsafe
(CVE-2008-0809). However, this check was too restrictive, not allowing
use of eg, "video.ogv?t=0:03:00/0:04:00" to seek to a given place in a
video, or "somecgi?foo=bar:baz" to pass parameters with colons.

It's still not allowed to have a filename with a colon in it (ie
"foo:bar.png") -- to link to such a file, a fully qualified url must be
used.