Commit Graph

9014 Commits (80a630a3fb64c4fe9ef7ac6d38962c2959c05fbd)

Author SHA1 Message Date
http://alcopop.org/me/openid/ c4634dfc92 update for rename of users/jondowland.mdwn to users/jon.mdwn 2008-12-02 10:00:39 -05:00
http://alcopop.org/me/openid/ 1d55c73d41 update for rename of users/jondowland.mdwn to users/jon.mdwn 2008-12-02 10:00:38 -05:00
http://alcopop.org/me/openid/ 3cf1e3931d update for rename of users/jondowland.mdwn to users/jon.mdwn 2008-12-02 10:00:36 -05:00
http://alcopop.org/me/openid/ e7594b33eb update for rename of users/jondowland.mdwn to users/jon.mdwn 2008-12-02 10:00:35 -05:00
http://alcopop.org/me/openid/ 0053777bae update for rename of users/jondowland.mdwn to users/jon.mdwn 2008-12-02 10:00:33 -05:00
http://alcopop.org/me/openid/ be3d73335e update for rename of users/jondowland.mdwn to users/jon.mdwn 2008-12-02 10:00:29 -05:00
http://alcopop.org/me/openid/ 157f184262 update for rename of users/jondowland.mdwn to users/jon.mdwn 2008-12-02 10:00:28 -05:00
http://alcopop.org/me/openid/ d3984de8a1 update for rename of users/jondowland.mdwn to users/jon.mdwn 2008-12-02 10:00:27 -05:00
http://alcopop.org/me/openid/ 4c1848c3a2 rename users/jondowland.mdwn to users/jon.mdwn 2008-12-02 10:00:10 -05:00
Blanko 1a0147b6b3 2008-12-02 08:21:02 -05:00
Jon Dowland 369f4f86bc add note to consider tagbase when trying to match tagged pages 2008-12-01 15:47:29 +00:00
http://alcopop.org/me/openid/ e156758766 simplify example 2008-11-29 10:24:04 -05:00
http://alcopop.org/me/openid/ b683c70b44 update with examples 2008-11-29 10:19:26 -05:00
http://alcopop.org/me/openid/ 13d938d351 behaviour of inline with meta-provided times 2008-11-29 09:06:04 -05:00
Joey Hess 9986650ecf response 2008-11-28 17:40:41 -08:00
Joey Hess 93a43084d0 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-11-28 08:53:35 -08:00
Joey Hess c9646ac23c German translation update from Kai Wasserbäch. Closes: #507056 2008-11-28 08:52:56 -08:00
http://hadleywickham.myopenid.com/ 708ff7870d 2008-11-27 18:53:18 -05:00
http://smcv.pseudorandom.co.uk/ e69095504c 2008-11-27 05:56:36 -05:00
http://smcv.pseudorandom.co.uk/ ec03c89f3e Move some more discussion here 2008-11-27 05:42:07 -05:00
http://smcv.pseudorandom.co.uk/ 92efb9c000 Move some discussion to discussion/ 2008-11-27 05:39:16 -05:00
http://smcv.pseudorandom.co.uk/ 7a7f4a3cb6 Move some discussion from comments page to here 2008-11-27 05:38:37 -05:00
http://smcv.pseudorandom.co.uk/ 7592a6f5b6 I don't think putting proxy.py in the system Python path is appropriate 2008-11-27 05:26:28 -05:00
http://smcv.pseudorandom.co.uk/ d056a01a55 Fix formatting by adding `...` 2008-11-27 05:15:00 -05:00
intrigeri 3190e5cea7 Merge commit 'upstream/master' into prv/po 2008-11-13 04:39:53 +01:00
intrigeri 5eed0fd97d po(change): reset renamed pages status at a better time
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-13 04:37:26 +01:00
intrigeri d795a295c9 po: initial infrastructure to deal with renamed master page
This is a skeleton that does nothing yet.
See the comments in the code for an overview of the issue that arises, due to
the renamepage hook never being called globally.

Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-13 03:55:55 +01:00
intrigeri c390056eb2 po(delete): added hook, and function skeleton
Not implemented yet, 'cos the renamepage hook has to come first.
Else translations would be deleted on rename, what a shame.

Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-13 01:38:22 +01:00
intrigeri cb1fe44f5d po(change): avoid losing information before guessing the same...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-13 01:07:52 +01:00
intrigeri 8745d67f06 po(istranslatablefile): extracted this from istranslatable
... will need this soon to deal with master file deletion.

Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-13 00:56:23 +01:00
intrigeri c51202c11e po.t: cleanup
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-13 00:54:51 +01:00
intrigeri 40324175aa po/todo: added test results
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-13 00:54:46 +01:00
Joey Hess 699aa79c2e add news item for ikiwiki 2.70 2008-11-12 18:08:10 -05:00
Joey Hess 31a1a3215b releasing version 2.70 2008-11-12 18:01:46 -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
intrigeri 190c641c8a po(otherlanguages): return pages that should exist
... instead of already existing ones.
This fixes the "missing otherlanguages links on master pages just created via
the CGI" bug.

Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-12 23:27:30 +01:00
intrigeri 36312b13b4 po: memoized istranslatable, eventually
And enjoy a 10% rebuild time enhancement on a complex wiki full of maps and
other pseudo-dynamic content, with some other costly plugins enabled. So it
could well mean 20% on a more usual wiki.

Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-12 22:32:47 +01:00
intrigeri 10c4e858b8 po(change): flush Memoize cache, to fix bug after rename/remove
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-12 21:18:48 +01:00
intrigeri 776be85a22 po/todo: first pass of robustness tests, added todo for remove/rename
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-12 20:13:40 +01:00
intrigeri c440a39ba4 po(htmlize): ignore PO files not managed by this plugin
This way, the po plugin will not appropriate PO files it is not responsible for,
and PO files existing before this plugin was enabled can coexist peacefully with
our own ones.

Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-12 18:06:04 +01:00
intrigeri 2f27eb9693 po: ooops, fixed just introduced bug
(I just removed in istranslation and _istranslation the dependency on
istranslatable... which broke things in a subtle way, hard to see at the first
glance.)

Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-12 17:52:00 +01:00
intrigeri e18a9d9a88 parentlinks: fixed links when po plugin is enabled
(and usedirs is disabled)

Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-12 17:36:00 +01:00
intrigeri aed42eb34a po: fix istranslation/istranslatable for pages starting with /
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-12 17:29:12 +01:00
intrigeri f4815e3b12 po(mybestlink): fixed when fed with path beginning with /
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-12 16:54:51 +01:00
intrigeri 86c58119e0 po/todo: added robustness tests that have to be done
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-12 15:54:20 +01:00
intrigeri eba2dee941 po: compute internal links from a slave page relative to its master page
e.g. a link appearing on a slave page links to its masterpage's subpages.

Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-12 15:04:50 +01: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
Joey Hess ecd4f0ee55 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.
2008-11-11 20:48:02 -05:00