ikiwiki.git
12 years agoAllow underlaydir to be overridden without messing up inclusion of other underlays...
Joey Hess [Thu, 7 May 2009 18:02:52 +0000 (14:02 -0400)] 
Allow underlaydir to be overridden without messing up inclusion of other underlays via add_underlay.

12 years agoikiwiki-transition: If passed a nonexistant srcdir, or one not containing .ikiwiki...
Joey Hess [Thu, 7 May 2009 00:46:26 +0000 (20:46 -0400)] 
ikiwiki-transition: If passed a nonexistant srcdir, or one not containing .ikiwiki, abort with an error rather than creating it.

12 years agoadd NEWS
Joey Hess [Wed, 6 May 2009 17:17:01 +0000 (13:17 -0400)] 
add NEWS

12 years agoremove old news pages
Joey Hess [Wed, 6 May 2009 17:16:29 +0000 (13:16 -0400)] 
remove old news pages

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

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

12 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

12 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

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

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

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

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

12 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

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

12 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

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

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

12 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

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

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

12 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?

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

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

12 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

12 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

12 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

12 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

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

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

12 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

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

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

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

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

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

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

12 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

12 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/

12 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

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

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

12 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

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

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

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

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

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

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

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

12 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

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

12 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

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

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

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

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

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

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

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

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

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

12 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 )

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

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

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

12 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

12 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

12 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

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

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

12 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

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

12 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

12 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>
12 years ago(no commit message)
simonraven [Mon, 20 Apr 2009 09:04:53 +0000 (05:04 -0400)] 

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

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

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

12 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

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

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

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

12 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