ikiwiki.git
14 years agooptimization: pagespec_match_list with no num limit matches before sorting
Joey Hess [Sun, 11 Apr 2010 05:30:03 +0000 (01:30 -0400)]
optimization: pagespec_match_list with no num limit matches before sorting

This can be a lot faster, since huge numbers of pages are not sorted
only to mostly be thrown away. It sped up a build of my blog by at least
5 minutes.

14 years agoplan for more efficient pagespec_match_list sorting
Joey Hess [Sun, 11 Apr 2010 04:30:27 +0000 (00:30 -0400)]
plan for more efficient pagespec_match_list sorting

(smcv please note)

14 years agoformatting
Joey Hess [Sun, 11 Apr 2010 02:04:48 +0000 (22:04 -0400)]
formatting

14 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Sat, 10 Apr 2010 22:29:20 +0000 (18:29 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

14 years agopo: Configuring the same language as master and slave confuses processing; so filter...
Joey Hess [Sat, 10 Apr 2010 22:28:15 +0000 (18:28 -0400)]
po: Configuring the same language as master and slave confuses processing; so filter out such a misconfiguration.

14 years agoclose
Joey Hess [Sat, 10 Apr 2010 19:29:31 +0000 (15:29 -0400)]
close

14 years agofix testsuite
Joey Hess [Sat, 10 Apr 2010 18:40:03 +0000 (14:40 -0400)]
fix testsuite

typedlink matchspec was removed

14 years agoupdate changelog, update rebuild version
Joey Hess [Sat, 10 Apr 2010 18:35:45 +0000 (14:35 -0400)]
update changelog, update rebuild version

14 years agoMerge remote branch 'smcv/unescaped-meta'
Joey Hess [Sat, 10 Apr 2010 18:33:51 +0000 (14:33 -0400)]
Merge remote branch 'smcv/unescaped-meta'

Conflicts:
IkiWiki/Plugin/meta.pm

14 years ago(no commit message)
Cord [Sat, 10 Apr 2010 07:06:06 +0000 (07:06 +0000)]

14 years agopo: Check that translated underlay directories exist before using them for master...
Joey Hess [Fri, 9 Apr 2010 22:43:25 +0000 (18:43 -0400)]
po: Check that translated underlay directories exist before using them for master language.

14 years agoclose bug, was fixed in 3.20100403
Joey Hess [Fri, 9 Apr 2010 16:25:10 +0000 (12:25 -0400)]
close bug, was fixed in 3.20100403

14 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Thu, 8 Apr 2010 20:09:31 +0000 (16:09 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

14 years agoUpdate dependency for git-core to git transition.
Joey Hess [Thu, 8 Apr 2010 20:07:43 +0000 (16:07 -0400)]
Update dependency for git-core to git transition.

14 years agoformatting
http://kerravonsen.dreamwidth.org/ [Wed, 7 Apr 2010 23:33:04 +0000 (23:33 +0000)]
formatting

14 years agofurther response to smcv on pagetemplates
http://kerravonsen.dreamwidth.org/ [Wed, 7 Apr 2010 23:29:25 +0000 (23:29 +0000)]
further response to smcv on pagetemplates

14 years agoexpand my response
Jon Dowland [Wed, 7 Apr 2010 20:25:26 +0000 (21:25 +0100)]
expand my response

14 years ago"safe" and "unsafe" too simplistic, I suspect
http://smcv.pseudorandom.co.uk/ [Wed, 7 Apr 2010 17:39:04 +0000 (17:39 +0000)]
"safe" and "unsafe" too simplistic, I suspect

14 years agoresponse about XSS, meta and pagetemplates
http://kerravonsen.dreamwidth.org/ [Wed, 7 Apr 2010 15:12:39 +0000 (15:12 +0000)]
response about XSS, meta and pagetemplates

14 years agoadd peter's git repo
Joey Hess [Wed, 7 Apr 2010 04:28:56 +0000 (00:28 -0400)]
add peter's git repo

14 years agonote about sort and dependency types
Joey Hess [Wed, 7 Apr 2010 04:01:38 +0000 (00:01 -0400)]
note about sort and dependency types

There's a gotcha where pagespec_match_list is used with a dependency type
that is not a full content dependency, and so ikiwiki does not know that
a content change to a page that sorted too low to match needs to trigger
a rebuild, since its sort order may have changed.

Inline is mostly ok re this, as it does use content dependencies. Except
for in the case of raw mode. But then, page metadata is documented to not
be loaded, so it doesn't make sense to use sortspecs that depend on
metadata. I hope. :)

14 years agotypo
Joey Hess [Wed, 7 Apr 2010 03:37:46 +0000 (23:37 -0400)]
typo

14 years agoupdate for sort changes
Joey Hess [Wed, 7 Apr 2010 03:35:14 +0000 (23:35 -0400)]
update for sort changes

14 years agoclose (but one question remains!)
Joey Hess [Wed, 7 Apr 2010 03:30:10 +0000 (23:30 -0400)]
close (but one question remains!)

14 years agominor style etc changes
Joey Hess [Wed, 7 Apr 2010 03:29:18 +0000 (23:29 -0400)]
minor style etc changes

14 years agoremove note about more sort types possibly being available
Joey Hess [Wed, 7 Apr 2010 03:26:59 +0000 (23:26 -0400)]
remove note about more sort types possibly being available

Good plugins should document them :)

14 years agoquestion
Joey Hess [Wed, 7 Apr 2010 03:24:22 +0000 (23:24 -0400)]
question

14 years agoadd cpan link
Joey Hess [Wed, 7 Apr 2010 03:19:00 +0000 (23:19 -0400)]
add cpan link

14 years agodon't force a rebuild
Joey Hess [Wed, 7 Apr 2010 03:15:39 +0000 (23:15 -0400)]
don't force a rebuild

Rebuild can be needed sometimes, but not always, so undef.

14 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

14 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

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

14 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!)

14 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

14 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

14 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

14 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

14 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

14 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'

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

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

14 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

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

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

14 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.

14 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.

14 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!

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

14 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.

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

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

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

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

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

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

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

14 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

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

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

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

14 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

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

14 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

14 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

14 years agoHTML-encode meta title, description, guid on output, but not in the pagestate
Simon McVittie [Tue, 6 Apr 2010 00:31:38 +0000 (01:31 +0100)]
HTML-encode meta title, description, guid on output, but not in the pagestate

This makes them consistent with the rest of the meta keys. A wiki rebuild
will be needed on upgrade to this version; until the wiki is rebuilt,
double-escaping will occur in the titles of pages that have not changed.

14 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

14 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

14 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

14 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

14 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

14 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.

14 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.

14 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.

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

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

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

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

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

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

14 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.

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

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

14 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.

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

14 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

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

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

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

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

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

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

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

14 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.

14 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.

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

14 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

14 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

14 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.

14 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.

14 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