intrigeri
b19d0d3d24
Merge commit 'upstream/po' into prv/po
2008-11-12 01:08:57 +01:00
Joey Hess
3937e1fb16
patch and a few comments
2008-11-11 18:33:04 -05:00
Joey Hess
0d1593a201
Merge commit 'intrigeri/po' into po
2008-11-11 17:52:51 -05:00
Joey Hess
2a56ec6644
Merge branch 'master' into po
2008-11-11 17:52:32 -05:00
intrigeri
ef536f46bd
po/todo: bug report about linking to subpages from translation pages
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-11 23:08:13 +01:00
intrigeri
b7a4e5a51c
po/todo: fixed internal links
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-11 22:29:41 +01:00
intrigeri
18c086ec04
po/todo: added note about backlinks not being updated
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-11 20:04:58 +01:00
intrigeri
4c45dfce19
po/todo: update
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-11 17:30:19 +01: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
intrigeri
f0e796d9a1
po(change): fix uninitialized variables when running IkiWiki::refresh()
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-11 16:04:40 +01:00
intrigeri
43a1d36378
po: added HOMEPAGEURL template variable, documented when to use it
...
Hopefully all links should now be consistent with the chosen linking behavior,
but who knows...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-11 15:27:39 +01:00
intrigeri
18331e9261
po/todo: added bug report for weird Perl warnings
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-11 15:25:23 +01:00
intrigeri
6a9dafdc1d
po/todo: updated page formats, broken links, documentation
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-11 05:17:26 +01:00
intrigeri
3d8d47d785
Merge commit 'upstream/master' into prv/po
2008-11-11 04:40:24 +01:00
intrigeri
8c47f16dcc
po: help request
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-11 04:39:51 +01:00
intrigeri
f2dc003cfb
po/doc: first fuzzy-testing results for po4a and msgmerge
...
Chapter #1 , in which we learn po4a could help to DoS ikiwiki + po,
whereas msgmerge seems reluctant to cooperate.
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-11 03:23:02 +01:00
intrigeri
e397888a77
po/doc: more security research results
...
Apart of the fuzzying part, I'm done with what I can do without help.
The "Running po4a on untrusted content" section needs at least a quick glance
from an experimented Perl programmer.
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-10 23:52:50 +01:00
Joey Hess
5c0d43999f
response
2008-11-10 13:30:20 -05:00
intrigeri
812f775e0a
Merge commit 'upstream/master' into prv/po
2008-11-10 15:41:29 +01: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
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
86edd539f4
po/todo: mostly security research
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-08 02:13:37 +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
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
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
61a01d3388
po: write detailed specification of wished backlinks behaviour
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-07 16:33:28 +01: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
56fd048210
response
2008-11-06 13:51:01 -05:00
intrigeri
daa04ae436
po: fix link to homepage in special case
...
... by wrapping IkiWiki::urlto in order to workaround hard-coded
/index.$config{htmlext}, which is wrong when usedirs=0 and po_link_to=current
and translatable homepage
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06 17:28:04 +01:00
intrigeri
725dae7353
po: misc responses to Joey
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06 16:29:46 +01:00
intrigeri
8b001dbb00
po: redesign (once more) automatic POT/PO files update
...
Now use the change hook to update these files, check them into VCS, and trigger
IkiWiki::refresh as needed. The needsbuild hook's help was required to prevent
infinite looping.
This more rigorous way of doing this fixes recentchanges (that was previously
not updated in some cases), and probably is a better long-term solution than the
two previously tested ones.
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06 15:54:55 +01:00
intrigeri
c8cc03c824
po: doc/todo update
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06 14:22:54 +01:00
intrigeri
802be94104
po: use prep_writefile before creating any files in refreshpot and refreshpo
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06 14:17:33 +01:00
intrigeri
a4cbfce763
po: reported parentlinks misbehaviour in special case
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06 14:12:05 +01:00
intrigeri
769be3d48e
po: po_link_to is safe, and fallbacks to a working value if needed
...
warnings are displayed if it is set to an invalid or incompatible value
(e.g. po_link_to=negotiated and disabled usedirs)
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06 13:47:09 +01:00
intrigeri
419de149a6
po: mark po_translatable_pages as a safe configuration setting
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06 13:29:48 +01:00
intrigeri
34afa2c07d
po: po_master_language and po_slave_languages are safe config settings
...
... and check their validity in checkconfig
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06 13:26:45 +01:00
intrigeri
c96dd00480
po: added license and copyright
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06 13:01:33 +01:00
intrigeri
256b3aeba8
po: response
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06 12:34:47 +01:00
intrigeri
e7f508c5ac
Merge commit 'upstream/master' into prv/po
2008-11-06 12:32:41 +01:00
intrigeri
1f54c13ec2
Merge commit 'upstream/po' into prv/po
...
Conflicts:
IkiWiki/Plugin/po.pm
doc/plugins/po.mdwn
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06 12:28:31 +01:00
Joey Hess
fe580240d4
need license
2008-11-05 15:02:22 -05:00
Joey Hess
b609ae76ed
response
2008-11-05 14:58:35 -05:00
Joey Hess
6fbe214d91
fixed one security problem, two more need review
2008-11-05 14:47:50 -05:00
Joey Hess
7e95723dad
avoid hitting the shell with system()
2008-11-05 14:45:45 -05: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
b76ee8a96d
minor wording improvements/changes
2008-11-05 14:22:02 -05:00