intrigeri
45694a8623
t/po.t: removed debug lines
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-10 19:40:54 +01: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
intrigeri
864bc2d9d0
po(otherlanguagesloop): start factorizing
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-10 18:38:25 +01:00
intrigeri
812f775e0a
Merge commit 'upstream/master' into prv/po
2008-11-10 15:41:29 +01:00
intrigeri
1255acc02c
po: finish abstracting %filtered by putting it into a blackbox
...
i.e. it is invisible for everyone but its accessors/mutators
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-10 15:30:49 +01:00
intrigeri
38cdda66d7
po: actually use pofiles() function, to enhance code clarity
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-10 15:09:56 +01:00
intrigeri
5575786803
po: abstract "doing something for the same page in every other language"
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-10 14:55:21 +01:00
intrigeri
532ec56a5f
po: abstract implementation details for %translations building and resetting
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-10 13:56:46 +01:00
intrigeri
3174b4c6f3
po: abstract %filtered implementation details
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-10 13:51:00 +01:00
intrigeri
00732f19b9
po: clarify error messages
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-10 13:22:50 +01:00
intrigeri
6fc898df75
po: clarify code with some comments
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-10 13:14:42 +01:00
intrigeri
aef1b0f503
po: prevent a slave page to depend on itself
...
It has never caused harm yet, but it might in the future.
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-10 12:48:27 +01:00
http://a1fie.livejournal.com/
02ee6d40d4
vim syntax file linked
2008-11-10 01:44:19 -05:00
Joey Hess
7f80e52543
Fix the link() pagespec to match links that are internally recorded as absolute.
...
This fixes a problem exposed by the recent change to tags
(a2839de936
). 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-09 15:31:57 -05:00
intrigeri
44bb872a97
po/todo(security): many research results
...
... and some questions to Joey (hint: look for your name)
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-08 22:08:50 +01:00
intrigeri
646d7bf6a3
po(refreshpot): define the input charset before read()'ing
...
... to prevent the use of Encode::Guess::guess_encoding() in
Locale::Po4a::Transtractor (just a minor security measure, dependent on po4a
internals, but we have no reason to think Encode::Guess is not safe).
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-08 21:32:04 +01:00
Joey Hess
d552b28430
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
2008-11-08 12:35:28 -05:00
AlexandreDupas
e7d04199ec
fix link to Jason Blevins user page
2008-11-08 11:28:25 -05:00
intrigeri
7691899da0
Merge branch 'prv/po' into pub/po
2008-11-08 17:08:36 +01:00
AlexandreDupas
4991cb441e
question about the format directive and relation with htmlize hooks
2008-11-08 11:04:27 -05:00
intrigeri
41d13673c6
po/todo++: support other file formats than markdown
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-08 12:21:54 +01:00
intrigeri
0c19796a5e
Merge branch 'prv/po' into pub/po
2008-11-08 02:14:26 +01:00
intrigeri
86edd539f4
po/todo: mostly security research
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-08 02:13:37 +01:00
intrigeri
8327b85f1e
Merge branch 'prv/po' into pub/po
2008-11-08 00:09:06 +01:00
intrigeri
3c6c129100
po: started research on gettext/po4a security
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-08 00:08:44 +01:00
intrigeri
438e5ef733
Merge branch 'prv/po' into pub/po
2008-11-08 00:06:02 +01:00
intrigeri
f8fee76f99
fixed link
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-08 00:05:35 +01:00
intrigeri
cdd3d2416b
Merge branch 'prv/po' into pub/po
2008-11-07 22:55:09 +01:00
intrigeri
17bab92c31
added symlink to pagespec/po in basewiki to fix the build
...
else basewiki_brokenlinks.t fails.
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-07 22:53:53 +01:00
intrigeri
f652af11fd
Merge commit 'upstream/master' into pub/po
2008-11-07 22:19:34 +01:00
intrigeri
339478ba47
Merge commit 'upstream/master' into prv/po
2008-11-07 22:19:24 +01:00
intrigeri
a0ac346079
po: finished backlinks implementation
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-07 22:17:54 +01:00
intrigeri
d1e5affbc2
po: oops, removed debug output from testsuit
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-07 21:39:55 +01:00
intrigeri
34ab884242
po: implemented linking/backlinks specification for po_link_to=negotiated
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-07 21:27:00 +01:00
intrigeri
14415a2b67
po: implemented linking specification in testcase
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-07 21:24:00 +01:00
intrigeri
3e341e64c2
po: added pofiles() function, will use this soon
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-07 21:23:23 +01:00
Joey Hess
fb89bfd26b
document wikistatedir, though it's still internal
2008-11-07 12:23:30 -05:00
http://josephturian.blogspot.com/
32b86c5f5b
2008-11-07 11:21:04 -05:00
intrigeri
61a01d3388
po: write detailed specification of wished backlinks behaviour
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-07 16:33:28 +01:00
intrigeri
4879a7f033
po: add comments
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-07 16:33:10 +01:00
intrigeri
d843b2ce88
Merge commit 'upstream/po' into prv/po
2008-11-07 11:54:03 +01:00
Joey Hess
bc705245ca
oops
2008-11-06 20:49:52 -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
Joey Hess
72c03656f9
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
2008-11-06 16:05:23 -05:00
Joey Hess
ecf2399f4f
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.
2008-11-06 16:05:10 -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