summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-11-17link to stuffhttp://smcv.pseudorandom.co.uk/
2008-11-17htmlbalance: new plugin that balances tags by parsing and re-serializingSimon McVittie
2008-11-13reported my need for a global renamepage hookintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-12add news item for ikiwiki 2.70Joey Hess
2008-11-12releasing version 2.70Joey Hess
2008-11-12note fix versionsJoey Hess
2008-11-12check for invalid utf-8, and toss it back to avoid crashesJoey Hess
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.
2008-11-11add news item for ikiwiki 2.69Joey Hess
2008-11-11document other files in .ikiwikiJoey Hess
2008-11-11make unlockwiki drop the cgilockJoey Hess
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.
2008-11-12pagetitle vs meta: announcing a working prototypeintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-11responseJoey Hess
2008-11-11lockwiki changesJoey Hess
* 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.
2008-11-11O_CREATE needs modeJoey Hess
2008-11-11avoid multiple ikiwiki cgi processes piling up, eating all memory, and thrashingJoey Hess
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.
2008-11-11bzr: Fix dates for recentchanges.Joey Hess
2008-11-11Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.infoJoey Hess
2008-11-11let's stop sucking :-)Joey Hess
2008-11-11po: answered Joey's "create a new translation" questionintrigeri
... that I previously completely missed. Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-11add item to watch listhttp://edward.myopenid.com/
2008-11-11(no commit message)bcdugga
2008-11-11po: help requestintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-10remove redundant link mungeJoey Hess
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.)
2008-11-10typoJoey Hess
2008-11-10Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.infoJoey Hess
2008-11-10tag: Normalize tagbase so leading/trailing slashes in it don't break things.Joey Hess
2008-11-10replyJon Dowland
2008-11-10Merge branch 'master' of git://git.ikiwiki.infoJon Dowland
2008-11-10responseJoey Hess
2008-11-10add discussion on this tipJon Dowland
2008-11-10specifying the user in recentchanges for anon git pusheshttp://alcopop.org/me/openid/
2008-11-10update my userpage (and try out git pushes)Jon Dowland
2008-11-10add a robots.txtJoey Hess
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.
2008-11-10Add rel=nofollow to recentchanges_links for the same (weak) reasons it was ↵Joey Hess
earlier added to edit links.
2008-11-10reorg to avoid broken link in basewikiJoey Hess
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.
2008-11-10responseJoey Hess
2008-11-10reorganize vim syntax highlighting infoJoey Hess
There was already a tip about it; move the plasticboy version to there.
2008-11-10vim syntax file linkedhttp://a1fie.livejournal.com/
2008-11-09Fix the link() pagespec to match links that are internally recorded as absolute.Joey Hess
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.
2008-11-08Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.infoJoey Hess
2008-11-08fix link to Jason Blevins user pageAlexandreDupas
2008-11-08question about the format directive and relation with htmlize hooksAlexandreDupas
2008-11-07document wikistatedir, though it's still internalJoey Hess
2008-11-07(no commit message)http://josephturian.blogspot.com/
2008-11-06oopsJoey Hess
2008-11-06txt: Do not encode quotes when filtering the txt, as that broke later ↵Joey Hess
parsing of any directives on the page.
2008-11-06responseJoey Hess
2008-11-06meta: Plugin is now enabled by default since the basewiki uses it.Joey Hess
2008-11-06Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.infoJoey Hess
2008-11-06aggregate: Try to query XML::Feed for the base url when derelevatising ↵Joey Hess
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.