intrigeri [Fri, 7 Nov 2008 23:09:06 +0000 (00:09 +0100)]
Merge branch 'prv/po' into pub/po
intrigeri [Fri, 7 Nov 2008 23:08:44 +0000 (00:08 +0100)]
po: started research on gettext/po4a security
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 7 Nov 2008 23:06:02 +0000 (00:06 +0100)]
Merge branch 'prv/po' into pub/po
intrigeri [Fri, 7 Nov 2008 23:05:35 +0000 (00:05 +0100)]
fixed link
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 7 Nov 2008 21:55:09 +0000 (22:55 +0100)]
Merge branch 'prv/po' into pub/po
intrigeri [Fri, 7 Nov 2008 21:53:53 +0000 (22:53 +0100)]
added symlink to pagespec/po in basewiki to fix the build
else basewiki_brokenlinks.t fails.
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 7 Nov 2008 21:19:34 +0000 (22:19 +0100)]
Merge commit 'upstream/master' into pub/po
intrigeri [Fri, 7 Nov 2008 21:19:24 +0000 (22:19 +0100)]
Merge commit 'upstream/master' into prv/po
intrigeri [Fri, 7 Nov 2008 21:17:54 +0000 (22:17 +0100)]
po: finished backlinks implementation
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 7 Nov 2008 20:39:55 +0000 (21:39 +0100)]
po: oops, removed debug output from testsuit
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 7 Nov 2008 20:27:00 +0000 (21:27 +0100)]
po: implemented linking/backlinks specification for po_link_to=negotiated
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 7 Nov 2008 20:24:00 +0000 (21:24 +0100)]
po: implemented linking specification in testcase
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 7 Nov 2008 20:23:23 +0000 (21:23 +0100)]
po: added pofiles() function, will use this soon
Signed-off-by: intrigeri <intrigeri@boum.org>
Joey Hess [Fri, 7 Nov 2008 17:22:01 +0000 (12:22 -0500)]
document wikistatedir, though it's still internal
http://josephturian.blogspot.com/ [Fri, 7 Nov 2008 16:21:04 +0000 (11:21 -0500)]
intrigeri [Fri, 7 Nov 2008 15:33:28 +0000 (16:33 +0100)]
po: write detailed specification of wished backlinks behaviour
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 7 Nov 2008 15:33:10 +0000 (16:33 +0100)]
po: add comments
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 7 Nov 2008 10:54:03 +0000 (11:54 +0100)]
Merge commit 'upstream/po' into prv/po
Joey Hess [Fri, 7 Nov 2008 01:49:52 +0000 (20:49 -0500)]
oops
Joey Hess [Fri, 7 Nov 2008 01:49:18 +0000 (20:49 -0500)]
txt: Do not encode quotes when filtering the txt, as that broke later parsing of any directives on the page.
Joey Hess [Thu, 6 Nov 2008 21:12:16 +0000 (16:12 -0500)]
response
Joey Hess [Thu, 6 Nov 2008 21:08:11 +0000 (16:08 -0500)]
meta: Plugin is now enabled by default since the basewiki uses it.
Joey Hess [Thu, 6 Nov 2008 21:05:23 +0000 (16:05 -0500)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Thu, 6 Nov 2008 21:05:10 +0000 (16:05 -0500)]
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.
http://josephturian.blogspot.com/ [Thu, 6 Nov 2008 20:52:27 +0000 (15:52 -0500)]
Joey Hess [Thu, 6 Nov 2008 18:56:41 +0000 (13:56 -0500)]
response
Joey Hess [Thu, 6 Nov 2008 18:51:01 +0000 (13:51 -0500)]
response
Joey Hess [Thu, 6 Nov 2008 18:46:43 +0000 (13:46 -0500)]
note copyright of po.pm
intrigeri [Thu, 6 Nov 2008 16:28:04 +0000 (17:28 +0100)]
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>
intrigeri [Thu, 6 Nov 2008 15:10:33 +0000 (16:10 +0100)]
po: misc responses to Joey
Signed-off-by: intrigeri <intrigeri@boum.org>
http://alcopop.org/me/openid/ [Thu, 6 Nov 2008 15:17:18 +0000 (10:17 -0500)]
intrigeri [Thu, 6 Nov 2008 14:54:55 +0000 (15:54 +0100)]
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>
http://mjr.towers.org.uk/ [Thu, 6 Nov 2008 14:27:47 +0000 (09:27 -0500)]
New bug report
intrigeri [Thu, 6 Nov 2008 13:21:31 +0000 (14:21 +0100)]
po: doc/todo update
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 6 Nov 2008 13:17:33 +0000 (14:17 +0100)]
po: use prep_writefile before creating any files in refreshpot and refreshpo
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 6 Nov 2008 13:12:05 +0000 (14:12 +0100)]
po: reported parentlinks misbehaviour in special case
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 6 Nov 2008 13:08:33 +0000 (14:08 +0100)]
po: syntax warning fix
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 6 Nov 2008 12:55:03 +0000 (13:55 +0100)]
po: fixed whitespace
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 6 Nov 2008 12:47:09 +0000 (13:47 +0100)]
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>
intrigeri [Thu, 6 Nov 2008 12:29:48 +0000 (13:29 +0100)]
po: mark po_translatable_pages as a safe configuration setting
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 6 Nov 2008 12:26:45 +0000 (13:26 +0100)]
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>
intrigeri [Thu, 6 Nov 2008 12:01:33 +0000 (13:01 +0100)]
po: added license and copyright
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 6 Nov 2008 11:34:47 +0000 (12:34 +0100)]
po: response
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 6 Nov 2008 11:32:41 +0000 (12:32 +0100)]
Merge commit 'upstream/master' into prv/po
intrigeri [Thu, 6 Nov 2008 11:28:31 +0000 (12:28 +0100)]
Merge commit 'upstream/po' into prv/po
Conflicts:
IkiWiki/Plugin/po.pm
doc/plugins/po.mdwn
Signed-off-by: intrigeri <intrigeri@boum.org>
Joey Hess [Wed, 5 Nov 2008 20:18:07 +0000 (15:18 -0500)]
first pass over code
Only change of note is quoting some strings in a regexp, just in case
(also avoids the . matching any character!)
Mostly whitespace changes of no consequence.
Joey Hess [Wed, 5 Nov 2008 20:09:54 +0000 (15:09 -0500)]
backup refs to injected subs later
In case two plugins both inject replacements for these subs,
backup the ref just before injecting to make sure the most
recent version is seen.
Joey Hess [Wed, 5 Nov 2008 20:09:04 +0000 (15:09 -0500)]
minor layout changes
Joey Hess [Wed, 5 Nov 2008 20:02:22 +0000 (15:02 -0500)]
need license
Joey Hess [Wed, 5 Nov 2008 19:58:35 +0000 (14:58 -0500)]
response
Joey Hess [Wed, 5 Nov 2008 19:47:50 +0000 (14:47 -0500)]
fixed one security problem, two more need review
Joey Hess [Wed, 5 Nov 2008 19:45:45 +0000 (14:45 -0500)]
avoid hitting the shell with system()
Joey Hess [Wed, 5 Nov 2008 19:35:41 +0000 (14:35 -0500)]
response
Joey Hess [Wed, 5 Nov 2008 19:33:35 +0000 (14:33 -0500)]
comments and questions
Joey Hess [Wed, 5 Nov 2008 19:22:02 +0000 (14:22 -0500)]
minor wording improvements/changes
Joey Hess [Wed, 5 Nov 2008 18:57:48 +0000 (13:57 -0500)]
another reason to require rebuilds (and not be marked safe)
the plugin changes html filenames, so requiring a manual transition to
enable
Joey Hess [Wed, 5 Nov 2008 18:55:32 +0000 (13:55 -0500)]
add a link to pages for enhanced pagespecs
Joey Hess [Wed, 5 Nov 2008 18:54:25 +0000 (13:54 -0500)]
suggest po4a for po plugin
Joey Hess [Wed, 5 Nov 2008 18:50:26 +0000 (13:50 -0500)]
Merge commit 'intrigeri/po'
Joey Hess [Wed, 5 Nov 2008 18:30:26 +0000 (13:30 -0500)]
response
Joey Hess [Wed, 5 Nov 2008 18:21:16 +0000 (13:21 -0500)]
add a more useful example of a relative date ;-)
intrigeri [Wed, 5 Nov 2008 11:50:42 +0000 (12:50 +0100)]
po plugin: more detailed backlinks todo item
Signed-off-by: intrigeri <intrigeri@boum.org>
Joey Hess [Wed, 5 Nov 2008 06:38:36 +0000 (01:38 -0500)]
use error for two messages
intrigeri [Wed, 5 Nov 2008 00:36:44 +0000 (01:36 +0100)]
po plugin(filter): redesign temp file management
... in a way compatible with various File::Temp versions.
The result is far from being perfect (see comments in the code for details),
but it does work.
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Tue, 4 Nov 2008 22:39:35 +0000 (23:39 +0100)]
Merge branch 'prv/po' into pub/po
intrigeri [Tue, 4 Nov 2008 22:39:15 +0000 (23:39 +0100)]
Merge commit 'upstream/master' into prv/po
intrigeri [Tue, 4 Nov 2008 22:32:32 +0000 (23:32 +0100)]
po plugin: redesign refresh mechanism after master page update
manually triggering IkiWiki::refresh() was at least dubious, and more or less
buggy (it randomly broke the whole backlinks feature); thinking a bit more to
add the necessary bits to @needsbuild seems like a better way. don't play with
ikiwiki's internals if not absolutely needed.
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Tue, 4 Nov 2008 19:05:21 +0000 (20:05 +0100)]
po plugin: remove broken parentlinks for home page's translations
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Tue, 4 Nov 2008 18:24:37 +0000 (19:24 +0100)]
po plugin: updated doc/todo
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Tue, 4 Nov 2008 18:23:58 +0000 (19:23 +0100)]
po plugin: aesthetics
Signed-off-by: intrigeri <intrigeri@boum.org>
Joey Hess [Tue, 4 Nov 2008 18:21:07 +0000 (13:21 -0500)]
maintain list
Joey Hess [Tue, 4 Nov 2008 18:19:15 +0000 (13:19 -0500)]
response
intrigeri [Tue, 4 Nov 2008 16:56:42 +0000 (17:56 +0100)]
po plugin: fix preview for PO files
As a trick, use editcontent hook to mark the page as unfiltered, to force our
filter() sub's to proceed again.
Signed-off-by: intrigeri <intrigeri@boum.org>
Jason Blevins [Tue, 4 Nov 2008 16:37:50 +0000 (11:37 -0500)]
Question excluding images in inline pagespec
Jason Blevins [Tue, 4 Nov 2008 16:19:14 +0000 (11:19 -0500)]
Fix reference link
Jason Blevins [Tue, 4 Nov 2008 16:16:58 +0000 (11:16 -0500)]
Added experimental code, metamail, pandoc, and path plugins
Jason Blevins [Tue, 4 Nov 2008 16:05:55 +0000 (11:05 -0500)]
Forum response
Thomas Schwinge [Tue, 4 Nov 2008 10:22:30 +0000 (11:22 +0100)]
Undo too much quoting.
Thomas Schwinge [Tue, 4 Nov 2008 10:18:37 +0000 (11:18 +0100)]
Bug in the txt plugin.
neale [Tue, 4 Nov 2008 03:08:49 +0000 (22:08 -0500)]
trackpad registered a click on save
neale [Tue, 4 Nov 2008 03:07:58 +0000 (22:07 -0500)]
Joey Hess [Mon, 3 Nov 2008 21:42:48 +0000 (16:42 -0500)]
add news item for ikiwiki 2.68
Joey Hess [Mon, 3 Nov 2008 21:42:06 +0000 (16:42 -0500)]
releasing version 2.68
intrigeri [Mon, 3 Nov 2008 19:11:44 +0000 (14:11 -0500)]
updated repository location
intrigeri [Mon, 3 Nov 2008 00:42:44 +0000 (01:42 +0100)]
response
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Mon, 3 Nov 2008 00:35:58 +0000 (01:35 +0100)]
Merge branch 'prv/po' into pub/po
intrigeri [Mon, 3 Nov 2008 00:33:33 +0000 (01:33 +0100)]
notes and wiki-gardening about pagetitle vs. meta title
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Mon, 3 Nov 2008 00:21:06 +0000 (01:21 +0100)]
po plugin: updated doc+todo
Signed-off-by: intrigeri <intrigeri@boum.org>
Jason Blevins [Sun, 2 Nov 2008 23:56:12 +0000 (18:56 -0500)]
Note about prefix_directives
intrigeri [Sun, 2 Nov 2008 23:52:27 +0000 (00:52 +0100)]
po plugin: slave pages link to the master's discussion page
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Sun, 2 Nov 2008 22:12:43 +0000 (23:12 +0100)]
po plugin: replace %hash=undef with undef %hash
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Sun, 2 Nov 2008 22:10:59 +0000 (23:10 +0100)]
po plugin: updated todo / doc
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Sun, 2 Nov 2008 20:35:52 +0000 (21:35 +0100)]
po plugin: force utf-8 encoding in POT files
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Sun, 2 Nov 2008 19:13:14 +0000 (20:13 +0100)]
po: now uses inject
intrigeri [Sun, 2 Nov 2008 19:15:21 +0000 (20:15 +0100)]
Merge branch 'prv/po' into pub/po
intrigeri [Sun, 2 Nov 2008 19:08:38 +0000 (20:08 +0100)]
po plugin: fix linking from a translation to its master page
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Sun, 2 Nov 2008 17:54:53 +0000 (18:54 +0100)]
po plugin: fix targetpage for home page's translations
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Sun, 2 Nov 2008 17:54:04 +0000 (18:54 +0100)]
po plugin: added test cases for index.*
(Translatable index is currently buggy, let's fix this.)
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Sun, 2 Nov 2008 17:51:00 +0000 (18:51 +0100)]
po plugin: removed last (?) bit of deprecated custom hook
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Sun, 2 Nov 2008 17:48:56 +0000 (18:48 +0100)]
po plugin: replace targetpage hook with wrapper function
Signed-off-by: intrigeri <intrigeri@boum.org>