Commit Graph

13677 Commits (163fc34db7f29bc75a05c54b83c2a00c5ad899c2)

Author SHA1 Message Date
intrigeri 46a997db16 Revert "Added a rescan hook."
This reverts commit 25447bccae.
2010-08-02 13:14:33 +02:00
intrigeri 352c62a8de po: ignore non-existent translations in otherlanguages* 2010-08-02 13:10:28 +02:00
intrigeri d8a99e97ad po: avoid bringing duplicates into %links 2010-08-02 12:52:46 +02:00
intrigeri d9f0b56a41 po(mybestlink): avoid linking to non-existent translation pages. 2010-08-02 12:52:10 +02:00
intrigeri 22d9822437 Merge remote branch 'upstream/master' into prv/po 2010-08-02 11:18:35 +02:00
intrigeri e083e4caa8 ack² 2010-08-02 03:23:30 +02:00
Joey Hess 7a1d5632b8 comment 2010-08-01 12:36:44 -04:00
Joey Hess 2ab89b4462 response 2010-08-01 12:25:35 -04:00
Joey Hess 9d62c6382a pot files maybe.. 2010-08-01 12:22:27 -04:00
Joey Hess b2571bb50d close, cannot reproduce 2010-08-01 12:18:57 -04:00
Joey Hess b766ff0044 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2010-07-31 15:55:31 -04:00
Joey Hess fee00fdb7a Use Digest::SHA built into perl rather than external Digest::SHA1 to simplify dependencies. Closes: #591040 2010-07-31 15:54:25 -04:00
intrigeri 543bc7af8b eventually got rid of the double rebuild issue. please have a look. 2010-07-30 16:23:02 +02:00
intrigeri 5948bb01cb po: rescan converted content on refresh too. 2010-07-30 16:20:12 +02:00
intrigeri b09b8621b2 po: use rescan hook instead of rebuilding twice.
The po rescan hook re-runs the scan hooks, and runs the preprocess ones in scan
mode, both on the po-to-markup converted content. This way, plugins such as meta
are given a chance to gather correct information, rather than ugly/buggy escaped
data it did gather from unconverted PO files.
2010-07-30 16:14:30 +02:00
intrigeri 25447bccae Added a rescan hook.
This is needed for the po plugin vs. e.g. meta titles.

In order to get rid of the ugly "rebuilding all pages to fix meta titles" thing,
Joey suggested to make "po, at scan time, re-run the scan hooks, passing them
modified content (either converted from po to mdwn or with the escaped stuff
cheaply de-escaped)". This would unfortunately not work, as the meta plugin
gathers its data using the preprocess hook in scan mode: it would overwrite with
buggy data the correct data we would have forced it to gather in po's scan hook.

We then need a hook that runs *after* the preprocess hook has been run in scan
mode, but *before* any page rendering is started. Hence this one.
2010-07-30 16:14:23 +02:00
intrigeri 1fe87a0808 resubmitted patch to po4a upstream 2010-07-30 13:15:33 +02:00
intrigeri 5e716ca62a fixed by the last po4a release 2010-07-30 12:55:28 +02:00
intrigeri b298fdd78c todo++ 2010-07-29 16:37:17 +02:00
intrigeri ad2722399e fixed broken link 2010-07-29 16:34:57 +02:00
intrigeri d3fc6d797b remove spurious map directive 2010-07-29 16:33:57 +02:00
intrigeri 6c4caf8211 Move po todo/bugs to dedicated pages. 2010-07-29 16:32:56 +02:00
intrigeri 927558ee44 found the root cause of the "bug" 2010-07-29 16:18:59 +02:00
http://kerravonsen.dreamwidth.org/ 4bc3839df8 what approach to take for pagination? 2010-07-29 02:47:26 +00:00
intrigeri ccf80cfa8a todo++ (?) 2010-07-28 20:07:44 +02:00
intrigeri 0ceac714d5 researched a bit the next po bug 2010-07-28 19:48:40 +02:00
intrigeri d1733089d0 currently unreproducible 2010-07-28 19:23:24 +02:00
intrigeri 6d9026bf28 reply 2010-07-28 19:13:57 +02:00
intrigeri 1a3e6bf3e2 po todo update: this has been fixed already. 2010-07-28 19:08:47 +02:00
Joey Hess d1a5d00156 remove debug code 2010-07-26 17:53:06 -04:00
Joey Hess c401b6958a Add new disable hook, allowing plugins to perform cleanup after they have been disabled. 2010-07-26 16:33:42 -04:00
Joey Hess b300bc9650 use new disable hook
clean up xapian db when plugin is disabled
2010-07-26 16:23:10 -04:00
Joey Hess aa78c142b8 avoid generating receive wrapper if there are no untrusted committers
The wrapper is pointless in that configuration. Also, the code for it
doesn't compile w/o untrusted commiters to test. :)
2010-07-26 13:30:45 -04:00
Joey Hess dd9d117894 meta: Allow syntax closer to html meta to be used.
The idea here is that <meta name="foo" description="bar">
can be written like [[!meta name="foo" description="bar">.
Of course, [[!meta foo=bar]] is still supported; this new feature
provides some DWIM when trying to directly convert a meta tag into
a meta directive.
2010-07-25 20:18:02 -04:00
Joey Hess 80903dff49 Revert refactment 2010-07-25 13:09:12 -04:00
Joey Hess 170e930f9d Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2010-07-25 13:07:30 -04:00
https://www.google.com/accounts/o8/id?id=AItOawlYXeKSEBoSCzES7o5VYiSratG5RfNucL0 2860a34dc4 2010-07-25 16:53:17 +00:00
https://www.google.com/accounts/o8/id?id=AItOawlYXeKSEBoSCzES7o5VYiSratG5RfNucL0 b374530add 2010-07-25 16:42:37 +00:00
https://www.google.com/accounts/o8/id?id=AItOawlYXeKSEBoSCzES7o5VYiSratG5RfNucL0 dc68dfed39 2010-07-25 16:38:19 +00:00
https://www.google.com/accounts/o8/id?id=AItOawlYXeKSEBoSCzES7o5VYiSratG5RfNucL0 f48500b47e 2010-07-25 16:36:31 +00:00
Joey Hess cba6935f55 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2010-07-24 17:34:19 -04:00
Joey Hess 0aa621a833 move wrapper building loop into Wrapper.pm 2010-07-24 17:33:59 -04:00
http://sirireiter.dk/ 84677e01f2 Single escape (not double escape) square bracket. 2010-07-24 20:14:11 +00:00
Joey Hess a7454c0e32 git: Fix gitweb historyurl examples so "diff to current" links work. (Thanks jrayhawk) 2010-07-24 06:18:19 -04:00
Joey Hess cab8a79568 response 2010-07-24 05:23:52 -04:00
Joey Hess 52f09a63a1 Merge remote branch 'intrigeri/po' 2010-07-24 05:22:33 -04:00
Joey Hess a47444fd97 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2010-07-24 05:22:20 -04:00
intrigeri 2f71e7f8f5 Merge remote branch 'upstream/master' into prv/po 2010-07-24 11:19:28 +02:00
intrigeri 11bd781a9d answering joey 2010-07-24 11:18:57 +02:00
Joey Hess 855fad15e5 whitespace 2010-07-23 14:30:15 -04:00