]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/log
git.ikiwiki.info.git
15 years agoMerge commit 'upstream/master' into pub/master
intrigeri [Thu, 13 Nov 2008 18:09:47 +0000 (19:09 +0100)]
Merge commit 'upstream/master' into pub/master

15 years agoreported my need for a global renamepage hook
intrigeri [Thu, 13 Nov 2008 03:32:02 +0000 (04:32 +0100)]
reported my need for a global renamepage hook

Signed-off-by: intrigeri <intrigeri@boum.org>
15 years agoadd news item for ikiwiki 2.70
Joey Hess [Wed, 12 Nov 2008 23:08:10 +0000 (18:08 -0500)]
add news item for ikiwiki 2.70

15 years agoreleasing version 2.70 2.70
Joey Hess [Wed, 12 Nov 2008 23:01:46 +0000 (18:01 -0500)]
releasing version 2.70

15 years agonote fix versions
Joey Hess [Wed, 12 Nov 2008 22:35:21 +0000 (17:35 -0500)]
note fix versions

15 years agocheck for invalid utf-8, and toss it back to avoid crashes
Joey Hess [Wed, 12 Nov 2008 22:19:41 +0000 (17:19 -0500)]
check for invalid utf-8, and toss it back to avoid crashes

Since ikiwiki uses open :utf8, perl assumes that files contain valid utf-8.
If it turns out to be malformed it may later crash while processing strings
read from them, with 'Malformed UTF-8 character (fatal)'.

As at least a quick fix, use utf8::valid as soon as data is read, and if
it's not valid, call encode_utf8 on the string, thus clearing the utf-8
flag. This may cause follow-on encoding problems, but will avoid this
crash, and the input file was broken anyway, so GIGO is a reasonable
response. (I looked at calling decode_utf8 after, but it seemed to cause
more trouble than it was worth. BTW, use open ':encoding(utf8)' avaoids
this problem, but the corrupted data later causes Storable to crash when
writing the index.)

This is a quick fix, clearly imperfect:
- It might be better to explicitly call decode_utf8 when reading files,
  rather than using the IO layer.
- Data read other than by readfile() can still sneak in bad utf-8. While
  ikiwiki does very little file input not using it, stdin for the CGI
  would be one way.

15 years agoadd news item for ikiwiki 2.69
Joey Hess [Wed, 12 Nov 2008 02:07:06 +0000 (21:07 -0500)]
add news item for ikiwiki 2.69

15 years agodocument other files in .ikiwiki 2.69
Joey Hess [Wed, 12 Nov 2008 02:01:16 +0000 (21:01 -0500)]
document other files in .ikiwiki

15 years agomake unlockwiki drop the cgilock
Joey Hess [Wed, 12 Nov 2008 01:48:02 +0000 (20:48 -0500)]
make unlockwiki drop the cgilock

This is necessary so that things that fork to the background,
like pinger, and inline ping, don't block other cgis from running.

Note that websetup also calls unlockwiki, before refreshing / rebuilding
the wiki. It makes perfect sense for that not to block other cgis.

15 years agopagetitle vs meta: announcing a working prototype
intrigeri [Wed, 12 Nov 2008 00:06:17 +0000 (01:06 +0100)]
pagetitle vs meta: announcing a working prototype

Signed-off-by: intrigeri <intrigeri@boum.org>
15 years agoresponse
Joey Hess [Tue, 11 Nov 2008 23:34:18 +0000 (18:34 -0500)]
response

15 years agolockwiki changes
Joey Hess [Tue, 11 Nov 2008 20:54:52 +0000 (15:54 -0500)]
lockwiki changes

* Stop busy-waiting in lockwiki, as this could delay ikiwiki from waking up
  for up to one second. The bailout code is no longer needed.
* Remove support for unused optional wait parameter from lockwiki.

15 years agoO_CREATE needs mode
Joey Hess [Tue, 11 Nov 2008 20:53:55 +0000 (15:53 -0500)]
O_CREATE needs mode

15 years agoavoid multiple ikiwiki cgi processes piling up, eating all memory, and thrashing
Joey Hess [Tue, 11 Nov 2008 20:40:04 +0000 (15:40 -0500)]
avoid multiple ikiwiki cgi processes piling up, eating all memory, and thrashing

Fixed by making the cgi wrapper wait on a cgilock.
If you had to set apache's MaxClients low to avoid ikiwiki thrashing
your server, you can now turn it up to a high value.

The downside to this is that a cgi call that doesn't need to call lockwiki
will be serialised by this so only one can run at a time. (For example,
do=search.) There are few such calls, and all of them call loadindex,
so each still eats gobs of memory, so serialising them still seems ok.

15 years agobzr: Fix dates for recentchanges.
Joey Hess [Tue, 11 Nov 2008 18:44:39 +0000 (13:44 -0500)]
bzr: Fix dates for recentchanges.

15 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Tue, 11 Nov 2008 18:40:50 +0000 (13:40 -0500)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

15 years agolet's stop sucking :-)
Joey Hess [Tue, 11 Nov 2008 18:40:02 +0000 (13:40 -0500)]
let's stop sucking :-)

15 years agopo: answered Joey's "create a new translation" question
intrigeri [Tue, 11 Nov 2008 16:17:56 +0000 (17:17 +0100)]
po: answered Joey's "create a new translation" question

... that I previously completely missed.

Signed-off-by: intrigeri <intrigeri@boum.org>
15 years agoadd item to watch list
http://edward.myopenid.com/ [Tue, 11 Nov 2008 12:59:06 +0000 (07:59 -0500)]
add item to watch list

15 years ago(no commit message)
bcdugga [Tue, 11 Nov 2008 05:23:20 +0000 (00:23 -0500)]

15 years agopo: help request
intrigeri [Tue, 11 Nov 2008 03:39:26 +0000 (04:39 +0100)]
po: help request

Signed-off-by: intrigeri <intrigeri@boum.org>
15 years agoremove redundant link munge
Joey Hess [Tue, 11 Nov 2008 02:47:29 +0000 (21:47 -0500)]
remove redundant link munge

This is not needed now that tagpage returns a page name starting with a
slash.

(Also fixes a minor bug that the edit links started with double slashes due
to the hack.)

15 years agotypo
Joey Hess [Tue, 11 Nov 2008 02:43:59 +0000 (21:43 -0500)]
typo

15 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Tue, 11 Nov 2008 00:49:37 +0000 (19:49 -0500)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

15 years agotag: Normalize tagbase so leading/trailing slashes in it don't break things.
Joey Hess [Tue, 11 Nov 2008 00:48:58 +0000 (19:48 -0500)]
tag: Normalize tagbase so leading/trailing slashes in it don't break things.

15 years agoreply
Jon Dowland [Mon, 10 Nov 2008 23:38:45 +0000 (23:38 +0000)]
reply

15 years agoMerge branch 'master' of git://git.ikiwiki.info
Jon Dowland [Mon, 10 Nov 2008 23:35:00 +0000 (23:35 +0000)]
Merge branch 'master' of git://git.ikiwiki.info

15 years agoresponse
Joey Hess [Mon, 10 Nov 2008 23:34:35 +0000 (18:34 -0500)]
response

15 years agoadd discussion on this tip
Jon Dowland [Mon, 10 Nov 2008 23:34:09 +0000 (23:34 +0000)]
add discussion on this tip

15 years agospecifying the user in recentchanges for anon git pushes
http://alcopop.org/me/openid/ [Mon, 10 Nov 2008 23:30:08 +0000 (18:30 -0500)]
specifying the user in recentchanges for anon git pushes

15 years agoupdate my userpage (and try out git pushes)
Jon Dowland [Mon, 10 Nov 2008 23:24:22 +0000 (23:24 +0000)]
update my userpage (and try out git pushes)

15 years agoadd a robots.txt
Joey Hess [Mon, 10 Nov 2008 23:08:09 +0000 (18:08 -0500)]
add a robots.txt

Yahoo! has been pounding on ikiwiki.cgi again. While I'd prefer ikiwiki to
generate sites that avoided robots hitting it in other ways, I'm adding a
robots.txt, at least temporarily.

15 years agoAdd rel=nofollow to recentchanges_links for the same (weak) reasons it was earlier...
Joey Hess [Mon, 10 Nov 2008 23:05:30 +0000 (18:05 -0500)]
Add rel=nofollow to recentchanges_links for the same (weak) reasons it was earlier added to edit links.

15 years agoreorg to avoid broken link in basewiki
Joey Hess [Mon, 10 Nov 2008 22:40:03 +0000 (17:40 -0500)]
reorg to avoid broken link in basewiki

ikiwiki/markdown is a basewiki page and shouldn't link to pages in tips.

Instead, make the tips link to it, so backlinks will point back to them.
While I'm at it, move the info about the emacs mode to a tip.

15 years agoresponse
Joey Hess [Mon, 10 Nov 2008 18:30:20 +0000 (13:30 -0500)]
response

15 years agoreorganize vim syntax highlighting info
Joey Hess [Mon, 10 Nov 2008 18:19:22 +0000 (13:19 -0500)]
reorganize vim syntax highlighting info

There was already a tip about it; move the plasticboy version to there.

15 years agovim syntax file linked
http://a1fie.livejournal.com/ [Mon, 10 Nov 2008 06:44:19 +0000 (01:44 -0500)]
vim syntax file linked

15 years agoFix the link() pagespec to match links that are internally recorded as absolute.
Joey Hess [Sun, 9 Nov 2008 20:31:57 +0000 (15:31 -0500)]
Fix the link() pagespec to match links that are internally recorded as absolute.

This fixes a problem exposed by the recent change to tags
(a2839de9362187b67b0e3a564461e272e64fd9b4). That recorded tag links as
absolute by including a leading slash in the link. The same could also be
done with an absolute wikilink.

In either case, link() would not match such links, unless the leading slash
was included in the link to match. But that's not right, because pagespecs
match absolute by default. So strip the leading slash.

Note that to keep any existing `link(/foo)` pagespecs working after this
change, the leading slash is removed from there, too.

15 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Sat, 8 Nov 2008 17:35:28 +0000 (12:35 -0500)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

15 years agofix link to Jason Blevins user page
AlexandreDupas [Sat, 8 Nov 2008 16:28:25 +0000 (11:28 -0500)]
fix link to Jason Blevins user page

15 years agoquestion about the format directive and relation with htmlize hooks
AlexandreDupas [Sat, 8 Nov 2008 16:04:27 +0000 (11:04 -0500)]
question about the format directive and relation with htmlize hooks

15 years agodocument wikistatedir, though it's still internal
Joey Hess [Fri, 7 Nov 2008 17:22:01 +0000 (12:22 -0500)]
document wikistatedir, though it's still internal

15 years ago(no commit message)
http://josephturian.blogspot.com/ [Fri, 7 Nov 2008 16:21:04 +0000 (11:21 -0500)]

15 years agooops
Joey Hess [Fri, 7 Nov 2008 01:49:52 +0000 (20:49 -0500)]
oops

15 years agotxt: Do not encode quotes when filtering the txt, as that broke later parsing of...
Joey Hess [Fri, 7 Nov 2008 01:49:18 +0000 (20:49 -0500)]
txt: Do not encode quotes when filtering the txt, as that broke later parsing of any directives on the page.

15 years agoresponse
Joey Hess [Thu, 6 Nov 2008 21:12:16 +0000 (16:12 -0500)]
response

15 years agometa: Plugin is now enabled by default since the basewiki uses it.
Joey Hess [Thu, 6 Nov 2008 21:08:11 +0000 (16:08 -0500)]
meta: Plugin is now enabled by default since the basewiki uses it.

15 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Thu, 6 Nov 2008 21:05:23 +0000 (16:05 -0500)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

15 years agoaggregate: Try to query XML::Feed for the base url when derelevatising links. Since...
Joey Hess [Thu, 6 Nov 2008 21:05:10 +0000 (16:05 -0500)]
aggregate: Try to query XML::Feed for the base url when derelevatising links. Since this needs the just released XML::Feed 0.3, as well  as a not yet released XML::RSS, it will fall back to the old method if no xml:base info is available.

15 years ago(no commit message)
http://josephturian.blogspot.com/ [Thu, 6 Nov 2008 20:52:27 +0000 (15:52 -0500)]

15 years agoresponse
Joey Hess [Thu, 6 Nov 2008 18:56:41 +0000 (13:56 -0500)]
response

15 years agoresponse
Joey Hess [Thu, 6 Nov 2008 18:51:01 +0000 (13:51 -0500)]
response

15 years agopo: misc responses to Joey
intrigeri [Thu, 6 Nov 2008 15:10:33 +0000 (16:10 +0100)]
po: misc responses to Joey

Signed-off-by: intrigeri <intrigeri@boum.org>
15 years ago(no commit message)
http://alcopop.org/me/openid/ [Thu, 6 Nov 2008 15:17:18 +0000 (10:17 -0500)]

15 years agoNew bug report
http://mjr.towers.org.uk/ [Thu, 6 Nov 2008 14:27:47 +0000 (09:27 -0500)]
New bug report

15 years agopo: response
intrigeri [Thu, 6 Nov 2008 11:34:47 +0000 (12:34 +0100)]
po: response

Signed-off-by: intrigeri <intrigeri@boum.org>
15 years agoresponse
Joey Hess [Wed, 5 Nov 2008 19:35:41 +0000 (14:35 -0500)]
response

15 years agocomments and questions
Joey Hess [Wed, 5 Nov 2008 19:33:35 +0000 (14:33 -0500)]
comments and questions

15 years agoresponse
Joey Hess [Wed, 5 Nov 2008 18:30:26 +0000 (13:30 -0500)]
response

15 years agoadd a more useful example of a relative date ;-)
Joey Hess [Wed, 5 Nov 2008 18:21:16 +0000 (13:21 -0500)]
add a more useful example of a relative date ;-)

15 years agouse error for two messages
Joey Hess [Wed, 5 Nov 2008 06:38:36 +0000 (01:38 -0500)]
use error for two messages

15 years agoMerge commit 'upstream/master' into pub/master
intrigeri [Tue, 4 Nov 2008 22:37:51 +0000 (23:37 +0100)]
Merge commit 'upstream/master' into pub/master

15 years agomaintain list
Joey Hess [Tue, 4 Nov 2008 18:21:07 +0000 (13:21 -0500)]
maintain list

15 years agoresponse
Joey Hess [Tue, 4 Nov 2008 18:19:15 +0000 (13:19 -0500)]
response

15 years agoQuestion excluding images in inline pagespec
Jason Blevins [Tue, 4 Nov 2008 16:37:50 +0000 (11:37 -0500)]
Question excluding images in inline pagespec

15 years agoFix reference link
Jason Blevins [Tue, 4 Nov 2008 16:19:14 +0000 (11:19 -0500)]
Fix reference link

15 years agoAdded experimental code, metamail, pandoc, and path plugins
Jason Blevins [Tue, 4 Nov 2008 16:16:58 +0000 (11:16 -0500)]
Added experimental code, metamail, pandoc, and path plugins

15 years agoForum response
Jason Blevins [Tue, 4 Nov 2008 16:05:55 +0000 (11:05 -0500)]
Forum response

15 years agoMerge commit 'upstream/master'
intrigeri [Tue, 4 Nov 2008 11:33:30 +0000 (12:33 +0100)]
Merge commit 'upstream/master'

15 years agoUndo too much quoting.
Thomas Schwinge [Tue, 4 Nov 2008 10:22:30 +0000 (11:22 +0100)]
Undo too much quoting.

15 years agoBug in the txt plugin.
Thomas Schwinge [Tue, 4 Nov 2008 10:18:37 +0000 (11:18 +0100)]
Bug in the txt plugin.

15 years agotrackpad registered a click on save
neale [Tue, 4 Nov 2008 03:08:49 +0000 (22:08 -0500)]
trackpad registered a click on save

15 years ago(no commit message)
neale [Tue, 4 Nov 2008 03:07:58 +0000 (22:07 -0500)]

15 years agoadd news item for ikiwiki 2.68
Joey Hess [Mon, 3 Nov 2008 21:42:48 +0000 (16:42 -0500)]
add news item for ikiwiki 2.68

15 years agoreleasing version 2.68 2.68
Joey Hess [Mon, 3 Nov 2008 21:42:06 +0000 (16:42 -0500)]
releasing version 2.68

15 years agoupdated repository location
intrigeri [Mon, 3 Nov 2008 19:11:44 +0000 (14:11 -0500)]
updated repository location

15 years agoMerge commit 'origin'
intrigeri [Mon, 3 Nov 2008 18:47:55 +0000 (19:47 +0100)]
Merge commit 'origin'

15 years agoresponse
intrigeri [Mon, 3 Nov 2008 00:42:44 +0000 (01:42 +0100)]
response

Signed-off-by: intrigeri <intrigeri@boum.org>
15 years agoMerge branch 'prv/po' into pub/po
intrigeri [Mon, 3 Nov 2008 00:35:58 +0000 (01:35 +0100)]
Merge branch 'prv/po' into pub/po

15 years agonotes and wiki-gardening about pagetitle vs. meta title
intrigeri [Mon, 3 Nov 2008 00:33:33 +0000 (01:33 +0100)]
notes and wiki-gardening about pagetitle vs. meta title

Signed-off-by: intrigeri <intrigeri@boum.org>
15 years agopo plugin: updated doc+todo
intrigeri [Mon, 3 Nov 2008 00:21:06 +0000 (01:21 +0100)]
po plugin: updated doc+todo

Signed-off-by: intrigeri <intrigeri@boum.org>
15 years agoNote about prefix_directives
Jason Blevins [Sun, 2 Nov 2008 23:56:12 +0000 (18:56 -0500)]
Note about prefix_directives

15 years agopo plugin: slave pages link to the master's discussion page
intrigeri [Sun, 2 Nov 2008 23:52:27 +0000 (00:52 +0100)]
po plugin: slave pages link to the master's discussion page

Signed-off-by: intrigeri <intrigeri@boum.org>
15 years agopo plugin: replace %hash=undef with undef %hash
intrigeri [Sun, 2 Nov 2008 22:12:43 +0000 (23:12 +0100)]
po plugin: replace %hash=undef with undef %hash

Signed-off-by: intrigeri <intrigeri@boum.org>
15 years agopo plugin: updated todo / doc
intrigeri [Sun, 2 Nov 2008 22:10:59 +0000 (23:10 +0100)]
po plugin: updated todo / doc

Signed-off-by: intrigeri <intrigeri@boum.org>
15 years agopo plugin: force utf-8 encoding in POT files
intrigeri [Sun, 2 Nov 2008 20:35:52 +0000 (21:35 +0100)]
po plugin: force utf-8 encoding in POT files

Signed-off-by: intrigeri <intrigeri@boum.org>
15 years agopo: now uses inject
intrigeri [Sun, 2 Nov 2008 19:13:14 +0000 (20:13 +0100)]
po: now uses inject

15 years agoMerge branch 'prv/po' into pub/po
intrigeri [Sun, 2 Nov 2008 19:15:21 +0000 (20:15 +0100)]
Merge branch 'prv/po' into pub/po

15 years agopo plugin: fix linking from a translation to its master page
intrigeri [Sun, 2 Nov 2008 19:08:38 +0000 (20:08 +0100)]
po plugin: fix linking from a translation to its master page

Signed-off-by: intrigeri <intrigeri@boum.org>
15 years agopo plugin: fix targetpage for home page's translations
intrigeri [Sun, 2 Nov 2008 17:54:53 +0000 (18:54 +0100)]
po plugin: fix targetpage for home page's translations

Signed-off-by: intrigeri <intrigeri@boum.org>
15 years agopo plugin: added test cases for index.*
intrigeri [Sun, 2 Nov 2008 17:54:04 +0000 (18:54 +0100)]
po plugin: added test cases for index.*

(Translatable index is currently buggy, let's fix this.)

Signed-off-by: intrigeri <intrigeri@boum.org>
15 years agopo plugin: removed last (?) bit of deprecated custom hook
intrigeri [Sun, 2 Nov 2008 17:51:00 +0000 (18:51 +0100)]
po plugin: removed last (?) bit of deprecated custom hook

Signed-off-by: intrigeri <intrigeri@boum.org>
15 years agopo plugin: replace targetpage hook with wrapper function
intrigeri [Sun, 2 Nov 2008 17:48:56 +0000 (18:48 +0100)]
po plugin: replace targetpage hook with wrapper function

Signed-off-by: intrigeri <intrigeri@boum.org>
15 years agoRevert "added the targetpage hook"
intrigeri [Sun, 2 Nov 2008 17:34:10 +0000 (18:34 +0100)]
Revert "added the targetpage hook"

This reverts commit fc299df955879bf958aa78338ba64d56a7df17a9.
Such functionality can now be achieved using the inject() function.

Signed-off-by: intrigeri <intrigeri@boum.org>
15 years agopo plugin: replace tweakurlpath hook with a wrapper function
intrigeri [Sun, 2 Nov 2008 17:29:23 +0000 (18:29 +0100)]
po plugin: replace tweakurlpath hook with a wrapper function

Signed-off-by: intrigeri <intrigeri@boum.org>
15 years agopreprocess text before htmlizing it
Joey Hess [Sun, 2 Nov 2008 17:21:15 +0000 (12:21 -0500)]
preprocess text before htmlizing it

15 years agoRevert "added hook urlpath" and "rename urlpath hook into tweakurlpath..."
intrigeri [Sun, 2 Nov 2008 17:08:50 +0000 (18:08 +0100)]
Revert "added hook urlpath" and "rename urlpath hook into tweakurlpath..."

This reverts commits d9b9022c13af3aa6c469df05beaa293fcf33cafc and
39d44d443d2271ec8787e6192b8b5811bee41ebf. This functionality should now be
achieved using the new inject() function.

Signed-off-by: intrigeri <intrigeri@boum.org>
15 years agopo plugin: added TODO about charset/encoding in new translations
intrigeri [Sun, 2 Nov 2008 17:07:01 +0000 (18:07 +0100)]
po plugin: added TODO about charset/encoding in new translations

Signed-off-by: intrigeri <intrigeri@boum.org>
15 years agopo plugin: replace tweakbestlink hook with a wrapper function
intrigeri [Sun, 2 Nov 2008 16:56:15 +0000 (17:56 +0100)]
po plugin: replace tweakbestlink hook with a wrapper function

... thanks to the new inject() feature.

Signed-off-by: intrigeri <intrigeri@boum.org>
15 years agoRevert "added the tweakbestlink hook"
intrigeri [Sun, 2 Nov 2008 16:33:32 +0000 (17:33 +0100)]
Revert "added the tweakbestlink hook"

This reverts commit e51089e11fc1093a253fc13ebfbd5d55912eba59.
The new "inject()" feature should replace this ad-hoc hook.

Signed-off-by: intrigeri <intrigeri@boum.org>