ikiwiki.git
15 years agoreleasing version 3.12 3.12
Joey Hess [Wed, 6 May 2009 17:13:54 +0000 (13:13 -0400)]
releasing version 3.12

15 years agoremove pagespec_match_list override for external
Joey Hess [Wed, 6 May 2009 17:13:01 +0000 (13:13 -0400)]
remove pagespec_match_list override for external

Not needed since it returns a list of pages, not a fail/success object.

15 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Wed, 6 May 2009 17:07:06 +0000 (13:07 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

15 years agoexternal: Fix pagespec_match and pagespec_match_list. Closes: #527281
Joey Hess [Wed, 6 May 2009 16:57:37 +0000 (12:57 -0400)]
external: Fix pagespec_match and pagespec_match_list. Closes: #527281

15 years ago(no commit message)
http://smcv.pseudorandom.co.uk/ [Wed, 6 May 2009 10:11:53 +0000 (06:11 -0400)]

15 years agoremove test page (see /sandbox)
Jon Dowland [Wed, 6 May 2009 09:13:21 +0000 (10:13 +0100)]
remove test page (see /sandbox)

15 years agoAvoid %links accumulating duplicates. (For TOVA)
Joey Hess [Wed, 6 May 2009 03:40:09 +0000 (23:40 -0400)]
Avoid %links accumulating duplicates. (For TOVA)

This is sorta an optimisation, and sorta a bug fix. In one
test case I have available, it can speed a page build up from 3
minutes to 3 seconds.

The root of the problem is that $links{$page} contains arrays of
links, rather than hashes of links. And when a link is found,
it is just pushed onto the array, without checking for dups.

Now, the array is emptied before scanning a page, so there
should not be a lot of opportunity for lots of duplicate links
to pile up in it. But, in some cases, they can, and if there
are hundreds of duplicate links in the array, then scanning it
for matching links, as match_link and some other code does,
becomes much more expensive than it needs to be.

Perhaps the real right fix would be to change the data structure
to a hash. But, the list of links is never accessed like that,
you always want to iterate through it.

I also looked at deduping the list in saveindex, but that does
a lot of unnecessary work, and doesn't completly solve the problem.

So, finally, I decided to add an add_link function that handles deduping,
and make ikiwiki-transition remove the old dup links.

15 years agodecruft
Joey Hess [Wed, 6 May 2009 03:27:29 +0000 (23:27 -0400)]
decruft

15 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Wed, 6 May 2009 03:26:15 +0000 (23:26 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

15 years agomeh
http://ghee.livejournal.com/ [Wed, 6 May 2009 03:09:20 +0000 (23:09 -0400)]
meh

15 years agoremove cruft that crept in during a debugging session
Joey Hess [Wed, 6 May 2009 00:13:40 +0000 (20:13 -0400)]
remove cruft that crept in during a debugging session

15 years agoinline: Minor optimisation.
Joey Hess [Wed, 6 May 2009 00:06:50 +0000 (20:06 -0400)]
inline: Minor optimisation.

When finding the pageurl, it was calling bestlink unnecessarily.
Since at this point $page contains the full name of the page that
is being inlined, there is no need to do bestlink's scan
for it.

This is only a minor optimisation, since bestlink is only called
once per displayed, inlined page.

15 years agoresponse
Joey Hess [Tue, 5 May 2009 18:28:42 +0000 (14:28 -0400)]
response

15 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Tue, 5 May 2009 18:25:08 +0000 (14:25 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

15 years agoresponse
Joey Hess [Tue, 5 May 2009 18:24:55 +0000 (14:24 -0400)]
response

15 years agominor: fix URL
http://lj.rossia.org/users/imz/ [Tue, 5 May 2009 18:24:41 +0000 (14:24 -0400)]
minor: fix URL

15 years agoalmost offtopic: is this actually a violation?
http://lj.rossia.org/users/imz/ [Tue, 5 May 2009 18:21:38 +0000 (14:21 -0400)]
almost offtopic: is this actually a violation?

15 years ago(no commit message)
http://liw.fi/ [Tue, 5 May 2009 18:16:57 +0000 (14:16 -0400)]

15 years agoikiwiki-makerepo: Avoid using abs_path, as it apparently fails on nonexistant directo...
Joey Hess [Tue, 5 May 2009 18:15:28 +0000 (14:15 -0400)]
ikiwiki-makerepo: Avoid using abs_path, as it apparently fails on nonexistant directories with some broken perl versions.

15 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Tue, 5 May 2009 17:57:00 +0000 (13:57 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

15 years agominor: trying to format the "verbatims" correctly
http://lj.rossia.org/users/imz/ [Tue, 5 May 2009 17:46:25 +0000 (13:46 -0400)]
minor: trying to format the "verbatims" correctly

15 years agoadded a clarifiaction about my understanding of what happens
http://lj.rossia.org/users/imz/ [Tue, 5 May 2009 17:44:18 +0000 (13:44 -0400)]
added a clarifiaction about my understanding of what happens

15 years agoa problem with /etc/ikiwiki/auto.setup, perl and non-existent paths
http://lj.rossia.org/users/imz/ [Tue, 5 May 2009 17:39:59 +0000 (13:39 -0400)]
a problem with /etc/ikiwiki/auto.setup, perl and non-existent paths

15 years ago(no commit message)
http://stefano.zacchiroli.myopenid.com/ [Tue, 5 May 2009 08:41:15 +0000 (04:41 -0400)]

15 years agoturn python-support back on
Joey Hess [Mon, 4 May 2009 23:17:59 +0000 (19:17 -0400)]
turn python-support back on

Should wait to upload until ikiwiki is fixed in testing.

15 years agoadd news item for ikiwiki 3.11
Joey Hess [Mon, 4 May 2009 20:35:59 +0000 (16:35 -0400)]
add news item for ikiwiki 3.11

15 years agoreleasing version 3.11 3.11
Joey Hess [Mon, 4 May 2009 20:33:10 +0000 (16:33 -0400)]
releasing version 3.11

15 years agoAvoid using python-support. Closes: #525086
Joey Hess [Mon, 4 May 2009 18:41:21 +0000 (14:41 -0400)]
Avoid using python-support. Closes: #525086

Uses new debhelper feature to turn off python-support.

The tiny python module included herein certianly doesn't
need all the python-support nonsense.

15 years agoresponse
Joey Hess [Mon, 4 May 2009 18:34:05 +0000 (14:34 -0400)]
response

15 years agoHTML5 story update
Kai Hendry [Mon, 4 May 2009 09:08:27 +0000 (11:08 +0200)]
HTML5 story update

15 years agoanon commit test
Kai Hendry [Mon, 4 May 2009 08:41:14 +0000 (10:41 +0200)]
anon commit test

15 years ago(no commit message)
simonraven [Sun, 3 May 2009 01:21:39 +0000 (21:21 -0400)]

15 years agoa clarifying comment about a tool which is referred to
http://lj.rossia.org/users/imz/ [Sat, 2 May 2009 17:30:17 +0000 (13:30 -0400)]
a clarifying comment about a tool which is referred to

15 years agopublished at http://github.com/jmtd/ikiwiki_todolist/
http://jmtd.net/ [Sat, 2 May 2009 13:26:37 +0000 (09:26 -0400)]
published at github.com/jmtd/ikiwiki_todolist/

15 years agoWIP todo list javascript in a demonstratable state
http://jmtd.net/ [Sat, 2 May 2009 11:54:00 +0000 (07:54 -0400)]
WIP todo list javascript in a demonstratable state

15 years agopersonal experience
http://schmonz.livejournal.com/ [Thu, 30 Apr 2009 19:18:40 +0000 (15:18 -0400)]
personal experience

15 years agopasswordauth/discussion: Cosmetics
Jérémy Bobbio [Wed, 29 Apr 2009 22:24:41 +0000 (00:24 +0200)]
passwordauth/discussion: Cosmetics

15 years agopasswordauth/discussion: Document an attempt of using Apache::AuthenHook for a restri...
Jérémy Bobbio [Wed, 29 Apr 2009 22:21:37 +0000 (00:21 +0200)]
passwordauth/discussion: Document an attempt of using Apache::AuthenHook for a restricted wiki

15 years ago(no commit message)
albertlash [Tue, 28 Apr 2009 23:42:18 +0000 (19:42 -0400)]

15 years ago(no commit message)
simonraven [Tue, 28 Apr 2009 23:12:52 +0000 (19:12 -0400)]

15 years ago(no commit message)
simonraven [Tue, 28 Apr 2009 23:11:38 +0000 (19:11 -0400)]

15 years ago(no commit message)
simonraven [Tue, 28 Apr 2009 21:46:21 +0000 (17:46 -0400)]

15 years ago(no commit message)
simonraven [Tue, 28 Apr 2009 20:42:35 +0000 (16:42 -0400)]

15 years ago(no commit message)
simonraven [Tue, 28 Apr 2009 20:14:44 +0000 (16:14 -0400)]

15 years agos/choosen/chosen/
simonraven [Tue, 28 Apr 2009 05:41:12 +0000 (01:41 -0400)]
s/choosen/chosen/

15 years agotranslation.mdwn: Typo fixes. Closes: #525753
Joey Hess [Mon, 27 Apr 2009 17:57:35 +0000 (13:57 -0400)]
translation.mdwn: Typo fixes. Closes: #525753

15 years agomention po plugin
Joey Hess [Mon, 27 Apr 2009 17:56:56 +0000 (13:56 -0400)]
mention po plugin

15 years agoUpdated Danish translation from Jonas Smedegaard. Closes: #525751
Joey Hess [Mon, 27 Apr 2009 17:54:48 +0000 (13:54 -0400)]
Updated Danish translation from Jonas Smedegaard. Closes: #525751

15 years agoupated spanish translation
Víctor Moral [Mon, 27 Apr 2009 08:18:58 +0000 (10:18 +0200)]
upated spanish translation

15 years agoremoved
TimBosse [Mon, 27 Apr 2009 14:12:22 +0000 (10:12 -0400)]
removed

15 years ago(no commit message)
TimBosse [Mon, 27 Apr 2009 03:58:47 +0000 (23:58 -0400)]

15 years ago(no commit message)
TimBosse [Mon, 27 Apr 2009 03:51:30 +0000 (23:51 -0400)]

15 years ago(no commit message)
TimBosse [Mon, 27 Apr 2009 03:50:08 +0000 (23:50 -0400)]

15 years agohtmlscrubber?
http://jmtd.net/ [Sun, 26 Apr 2009 21:08:10 +0000 (17:08 -0400)]
htmlscrubber?

15 years ago(no commit message)
simonraven [Sun, 26 Apr 2009 20:17:41 +0000 (16:17 -0400)]

15 years ago(no commit message)
http://stefano.zacchiroli.myopenid.com/ [Sun, 26 Apr 2009 17:50:33 +0000 (13:50 -0400)]

15 years ago(no commit message)
simonraven [Sat, 25 Apr 2009 19:57:31 +0000 (15:57 -0400)]

15 years agoadd a ' ' to prevent autosmiley eating a )
Jon Dowland [Fri, 24 Apr 2009 13:44:28 +0000 (14:44 +0100)]
add a ' ' to prevent autosmiley eating a )

15 years agoanother backlinks issue
Jon Dowland [Fri, 24 Apr 2009 13:41:25 +0000 (14:41 +0100)]
another backlinks issue

15 years agobacklinks issue
Jon Dowland [Fri, 24 Apr 2009 13:40:07 +0000 (14:40 +0100)]
backlinks issue

15 years agointeractive todo lists todo item
Jon Dowland [Fri, 24 Apr 2009 13:34:32 +0000 (14:34 +0100)]
interactive todo lists todo item

15 years agonew todo item: more flexible inline postform
Jon Dowland [Fri, 24 Apr 2009 13:26:45 +0000 (14:26 +0100)]
new todo item: more flexible inline postform

15 years ago(no commit message)
NicolasLimare [Fri, 24 Apr 2009 09:48:03 +0000 (05:48 -0400)]

15 years agosimplifiy
Joey Hess [Thu, 23 Apr 2009 20:40:45 +0000 (16:40 -0400)]
simplifiy

15 years agoRevert "pagespec_match_list * optimisation"
Joey Hess [Thu, 23 Apr 2009 20:35:56 +0000 (16:35 -0400)]
Revert "pagespec_match_list * optimisation"

This reverts commit 2f96c49bd1826ecb213ae025ad456a714aa04863.

I forgot about internal pages. We don't want * matching them!

I left the optimisation in pagecount, where it used to live.
Internal pages probably don't matter when they're just being
counted.

15 years agoavoid using pagespec_match_list here
Joey Hess [Thu, 23 Apr 2009 20:26:54 +0000 (16:26 -0400)]
avoid using pagespec_match_list here

I forgot to check if it was called from preprocess, and it is
not; it's called by a format hook. If an error is thrown from
a format hook, wiki build fails, so we don't want that.

15 years agosimplify
Joey Hess [Thu, 23 Apr 2009 20:23:52 +0000 (16:23 -0400)]
simplify

15 years agopagespec_match_list * optimisation
Joey Hess [Thu, 23 Apr 2009 20:20:18 +0000 (16:20 -0400)]
pagespec_match_list * optimisation

Add an optimisation for the semi-common case of a "*" pagespec. Can
avoid doing any real processing in this case.

15 years agoformatting
Joey Hess [Thu, 23 Apr 2009 20:14:35 +0000 (16:14 -0400)]
formatting

15 years agotypo
Joey Hess [Thu, 23 Apr 2009 20:13:40 +0000 (16:13 -0400)]
typo

15 years agopagespec_match_list added and used in most appropriate places
Joey Hess [Thu, 23 Apr 2009 19:45:30 +0000 (15:45 -0400)]
pagespec_match_list added and used in most appropriate places

* pagespec_match_list: New API function, matches pages in a list
  and throws an error if the pagespec is bad.
* inline, brokenlinks, calendar, linkmap, map, orphans, pagecount,
  pagestate, postsparkline: Display a handy error message if the pagespec
  is erronious.

15 years agocomments: Add link to comment post form to allow user to sign in if they wish to...
Joey Hess [Thu, 23 Apr 2009 18:56:10 +0000 (14:56 -0400)]
comments: Add link to comment post form to allow user to sign in if they wish to, if the configuration makes signin optional for commenting.

15 years agopagespec error/failure distinction and error display by inline
Joey Hess [Thu, 23 Apr 2009 18:07:28 +0000 (14:07 -0400)]
pagespec error/failure distinction and error display by inline

* Add IkiWiki::ErrorReason objects, and modify pagespecs to return
  them in cases where they fail to match due to a configuration or syntax
  error.
* inline: Display a handy error message if the inline cannot display any
  pages due to such an error.

This is perhaps somewhat incomplete, as other users of pagespecs do not
display the error, and will eventually need similar modifications to inline.
I should probably factor out a pagespec_match_all function and make it throw
ErrorReasons.

15 years agorelativedate: Deal with clock skew.
Joey Hess [Thu, 23 Apr 2009 17:39:42 +0000 (13:39 -0400)]
relativedate: Deal with clock skew.

If the server has a clock running a bit ahead of the web browsing client,
relativedate could cause somewhat confusing displays like "3 seconds from now"
for just posted things.

As a hack, avoid displaying times in the future if they're less than a
small slip forward. I chose 30 minutes because both client and server could
be wrong in different directions, while it's still close enough that "just
now" is not horribly wrong.

15 years agotwo problems
Joey Hess [Wed, 22 Apr 2009 20:12:54 +0000 (16:12 -0400)]
two problems

15 years agoplan of attack
Joey Hess [Wed, 22 Apr 2009 20:00:36 +0000 (16:00 -0400)]
plan of attack

15 years agofix id
Joey Hess [Wed, 22 Apr 2009 19:38:50 +0000 (15:38 -0400)]
fix id

15 years agoclarify
Joey Hess [Wed, 22 Apr 2009 19:36:40 +0000 (15:36 -0400)]
clarify

15 years agowebsetup: If setup fails, restore old setup file.
Joey Hess [Wed, 22 Apr 2009 18:05:37 +0000 (14:05 -0400)]
websetup: If setup fails, restore old setup file.

15 years agodocument how to get to the moderation page
Joey Hess [Wed, 22 Apr 2009 17:35:17 +0000 (13:35 -0400)]
document how to get to the moderation page

15 years agoblogspam: Load RPC::XML library in checkconfig, so that an error can be printed at...
Joey Hess [Wed, 22 Apr 2009 17:33:20 +0000 (13:33 -0400)]
blogspam: Load RPC::XML library in checkconfig, so that an error can be printed at that point if it's not available, allowing the admin to see it during wiki setup. Closes: #520015

15 years agowebsetup: Display stderr in browser if ikiwiki setup fails.
Joey Hess [Wed, 22 Apr 2009 17:31:56 +0000 (13:31 -0400)]
websetup: Display stderr in browser if ikiwiki setup fails.

15 years agoupdated spanish translation
Víctor Moral [Wed, 22 Apr 2009 07:23:50 +0000 (09:23 +0200)]
updated spanish translation

15 years agoAdd python:Depends to control file. Closes: #525086
Joey Hess [Wed, 22 Apr 2009 01:46:01 +0000 (21:46 -0400)]
Add python:Depends to control file. Closes: #525086

15 years agoresponse
Joey Hess [Mon, 20 Apr 2009 17:47:53 +0000 (13:47 -0400)]
response

15 years agopagetitle_function_does_not_respect_meta_titles: proposal
intrigeri [Mon, 20 Apr 2009 17:00:12 +0000 (19:00 +0200)]
pagetitle_function_does_not_respect_meta_titles: proposal

15 years agopo: answered Joey, at last
intrigeri [Mon, 20 Apr 2009 09:52:16 +0000 (11:52 +0200)]
po: answered Joey, at last

Signed-off-by: intrigeri <intrigeri@boum.org>
15 years ago(no commit message)
simonraven [Mon, 20 Apr 2009 09:04:53 +0000 (05:04 -0400)]

15 years agoclarification, response
Joey Hess [Sun, 19 Apr 2009 19:19:43 +0000 (15:19 -0400)]
clarification, response

15 years agotypo
simonraven [Sun, 19 Apr 2009 17:29:53 +0000 (13:29 -0400)]
typo

15 years ago(no commit message)
simonraven [Sun, 19 Apr 2009 17:28:57 +0000 (13:28 -0400)]

15 years agoadd news item for ikiwiki 3.10
Joey Hess [Sun, 19 Apr 2009 02:52:17 +0000 (22:52 -0400)]
add news item for ikiwiki 3.10

15 years agoreleasing version 3.10 3.10
Joey Hess [Sun, 19 Apr 2009 02:51:25 +0000 (22:51 -0400)]
releasing version 3.10

15 years agotypo - but it bugged me...
http://furicle.pip.verisignlabs.com/ [Thu, 16 Apr 2009 21:11:54 +0000 (17:11 -0400)]
typo - but it bugged me...

15 years ago(no commit message)
http://furicle.pip.verisignlabs.com/ [Thu, 16 Apr 2009 20:55:49 +0000 (16:55 -0400)]

15 years agoit's a wiki, so yes
Joey Hess [Wed, 15 Apr 2009 18:45:23 +0000 (14:45 -0400)]
it's a wiki, so yes

15 years ago(no commit message)
http://furicle.pip.verisignlabs.com/ [Wed, 15 Apr 2009 17:55:37 +0000 (13:55 -0400)]

15 years ago(no commit message)
http://furicle.pip.verisignlabs.com/ [Wed, 15 Apr 2009 17:50:28 +0000 (13:50 -0400)]

15 years agoJust dumb keyboard hammering
http://furicle.pip.verisignlabs.com/ [Wed, 15 Apr 2009 17:48:21 +0000 (13:48 -0400)]
Just dumb keyboard hammering

15 years agoJust dumb keyboard hammering
http://furicle.pip.verisignlabs.com/ [Wed, 15 Apr 2009 17:46:42 +0000 (13:46 -0400)]
Just dumb keyboard hammering