Commit Graph

13869 Commits (1820f07f04476e8be290aadeee140cd0a5a0dfed)

Author SHA1 Message Date
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
Joey Hess d2f56f7dea merged; notes 2010-07-23 14:29:17 -04:00
Joey Hess b5bd92e77e whitespace fixes and a typo 2010-07-23 14:26:57 -04:00
Joey Hess e5f67d3c8b Merge commit '862fc7c1ab1f7d709561bcb02fc8ede57b90a51b' 2010-07-23 14:24:48 -04:00
Joey Hess ef8a74fbc3 html 2010-07-23 14:22:18 -04:00
Joey Hess e3004912dd html 2010-07-23 14:19:54 -04:00
Joey Hess 055dfa00c6 html 2010-07-23 14:16:22 -04:00
Joey Hess 87d4ef453c Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2010-07-23 14:15:18 -04:00
Joey Hess 1b0bef6d49 template: Fix dependency tracking. Broken in version 3.20100427.
template_depends was adding a dependency on the source filename,
instead of on the page name when a template is a page. Such a
dependency doesn't work.
2010-07-23 14:14:25 -04:00