Commit Graph

6521 Commits (408d483dc2938af527100f2201ceea0efb5019af)

Author SHA1 Message Date
intrigeri 408d483dc2 reported my need for a global renamepage hook
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-13 04:38:48 +01:00
Joey Hess 699aa79c2e add news item for ikiwiki 2.70 2008-11-12 18:08:10 -05:00
Joey Hess 97cb036811 note fix versions 2008-11-12 17:35:21 -05:00
Joey Hess 716560b7f1 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.
2008-11-12 17:30:54 -05:00
Joey Hess 2c858c9c95 add news item for ikiwiki 2.69 2008-11-11 21:07:06 -05:00
Joey Hess 2ab3132d3b document other files in .ikiwiki 2008-11-11 21:01:16 -05:00
intrigeri 521d76e508 pagetitle vs meta: announcing a working prototype
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-12 01:10:09 +01:00
Joey Hess 50b95a0742 response 2008-11-11 18:34:18 -05:00
Joey Hess d1b22b2524 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.
2008-11-11 15:54:52 -05:00
Joey Hess 6611f3a2d9 bzr: Fix dates for recentchanges. 2008-11-11 13:44:47 -05:00
Joey Hess 72a2fa9441 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-11-11 13:40:50 -05:00
Joey Hess 700c4bef29 let's stop sucking :-) 2008-11-11 13:40:02 -05:00
intrigeri fb9130c18c po: answered Joey's "create a new translation" question
... that I previously completely missed.

Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-11 17:17:56 +01:00
http://edward.myopenid.com/ 71ea77a780 add item to watch list 2008-11-11 07:59:06 -05:00
bcdugga ebd9f4ce8a 2008-11-11 00:23:20 -05:00
intrigeri 8c47f16dcc po: help request
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-11 04:39:51 +01:00
Jon Dowland 17731892ec reply 2008-11-10 23:38:45 +00:00
Jon Dowland 81a87988c4 Merge branch 'master' of git://git.ikiwiki.info 2008-11-10 23:35:00 +00:00
Joey Hess 183270a845 response 2008-11-10 18:34:35 -05:00
Jon Dowland f28069a05c add discussion on this tip 2008-11-10 23:34:09 +00:00
http://alcopop.org/me/openid/ 91315207cf specifying the user in recentchanges for anon git pushes 2008-11-10 18:30:08 -05:00
Jon Dowland c1fa07ad4f update my userpage (and try out git pushes) 2008-11-10 23:24:22 +00:00
Joey Hess 1ea66c3d3f 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.
2008-11-10 18:08:09 -05:00
Joey Hess d5853f3e33 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.
2008-11-10 17:40:03 -05:00
Joey Hess 5c0d43999f response 2008-11-10 13:30:20 -05:00
Joey Hess 4287a02069 reorganize vim syntax highlighting info
There was already a tip about it; move the plasticboy version to there.
2008-11-10 13:19:22 -05:00
http://a1fie.livejournal.com/ 02ee6d40d4 vim syntax file linked 2008-11-10 01:44:19 -05:00
AlexandreDupas e7d04199ec fix link to Jason Blevins user page 2008-11-08 11:28:25 -05:00
AlexandreDupas 4991cb441e question about the format directive and relation with htmlize hooks 2008-11-08 11:04:27 -05:00
http://josephturian.blogspot.com/ 32b86c5f5b 2008-11-07 11:21:04 -05:00
Joey Hess 11d377af81 txt: Do not encode quotes when filtering the txt, as that broke later parsing of any directives on the page. 2008-11-06 20:49:18 -05:00
Joey Hess 96d52b82ed response 2008-11-06 16:12:16 -05:00
Joey Hess db5ea4d4f0 meta: Plugin is now enabled by default since the basewiki uses it. 2008-11-06 16:08:11 -05:00
http://josephturian.blogspot.com/ dc8929e2f0 2008-11-06 15:52:27 -05:00
Joey Hess 3689d28f3a response 2008-11-06 13:56:41 -05:00
Joey Hess 56fd048210 response 2008-11-06 13:51:01 -05:00
intrigeri 725dae7353 po: misc responses to Joey
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06 16:29:46 +01:00
http://alcopop.org/me/openid/ 98ffa6e155 2008-11-06 10:17:18 -05:00
http://mjr.towers.org.uk/ 81846ef42e New bug report 2008-11-06 09:27:47 -05:00
intrigeri 256b3aeba8 po: response
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06 12:34:47 +01:00
Joey Hess 466ceb1394 response 2008-11-05 14:35:41 -05:00
Joey Hess d6ac704500 comments and questions 2008-11-05 14:33:35 -05:00
Joey Hess f258902a21 response 2008-11-05 13:30:26 -05:00
Joey Hess ab729c78b2 add a more useful example of a relative date ;-) 2008-11-05 13:21:16 -05:00
Joey Hess 4dc4c9586d maintain list 2008-11-04 13:21:07 -05:00
Joey Hess 43a83e103e response 2008-11-04 13:19:15 -05:00
Jason Blevins c197cc34b0 Question excluding images in inline pagespec 2008-11-04 11:37:50 -05:00
Jason Blevins a0401960c7 Fix reference link 2008-11-04 11:19:14 -05:00
Jason Blevins d175961d41 Added experimental code, metamail, pandoc, and path plugins 2008-11-04 11:16:58 -05:00
Jason Blevins 5f4b41076c Forum response 2008-11-04 11:05:55 -05:00