intrigeri [Sat, 18 Oct 2008 14:22:37 +0000 (16:22 +0200)]
syntax.t: skip po since it uses a perl module not in build deps
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Sat, 18 Oct 2008 00:49:32 +0000 (02:49 +0200)]
po plugin: todo++
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Wed, 15 Oct 2008 05:23:06 +0000 (07:23 +0200)]
po plugin: only refresh private module variables when needed
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Wed, 15 Oct 2008 05:12:28 +0000 (07:12 +0200)]
po plugin: add correct dependencies on pages using OTHERLANGUAGES
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Wed, 15 Oct 2008 05:11:13 +0000 (07:11 +0200)]
po plugin: todo++
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Wed, 15 Oct 2008 05:06:35 +0000 (07:06 +0200)]
po plugin: bugfix (OTHERLANGUAGES)
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Wed, 15 Oct 2008 04:47:06 +0000 (06:47 +0200)]
po plugin: initial implementation of automatic POT/PO update
The updated or created PO files are put under version control.
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Wed, 15 Oct 2008 03:36:24 +0000 (05:36 +0200)]
po plugin: todo++ more security checks needed
... when creating new files.
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Wed, 15 Oct 2008 03:27:28 +0000 (05:27 +0200)]
po plugin: rebuild %translations after having created missing POT/PO files
This is not needed yet, but when newly created POT/PO files are added to
%pagesources and other data structures, we'll need this.
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Wed, 15 Oct 2008 03:22:41 +0000 (05:22 +0200)]
po plugin: create missing POT/PO files in needsbuild hook
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Wed, 15 Oct 2008 00:42:08 +0000 (02:42 +0200)]
po plugin: documentation work
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Wed, 15 Oct 2008 00:25:34 +0000 (02:25 +0200)]
po plugin: added and documented PERCENTTRANSLATED template variable
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Wed, 15 Oct 2008 00:13:56 +0000 (02:13 +0200)]
po plugin: make translation percentage available in OTHERLANGUAGES loop
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Tue, 14 Oct 2008 23:25:01 +0000 (01:25 +0200)]
po plugin: documented custom PageSpec tests, reorganized doc a bit
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Tue, 14 Oct 2008 23:23:19 +0000 (01:23 +0200)]
po plugin: added currentlang() custom PageSpec function
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Tue, 14 Oct 2008 23:05:22 +0000 (01:05 +0200)]
po plugin: todo update wrt. newly translatable pages
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Tue, 14 Oct 2008 22:35:17 +0000 (00:35 +0200)]
po plugin: added lang() custom PageSpec function
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Tue, 14 Oct 2008 22:34:25 +0000 (00:34 +0200)]
po plugin: todo++ : security note about system()
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Tue, 14 Oct 2008 22:10:32 +0000 (00:10 +0200)]
po plugin: updated todo wrt. automatic POT/PO update/creation
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Tue, 14 Oct 2008 22:05:52 +0000 (00:05 +0200)]
po plugin: make any slave page dependent on the corresponding master page
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Tue, 14 Oct 2008 21:58:21 +0000 (23:58 +0200)]
po plugin: bugfix - only refresh POT/PO for translatable pages
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Tue, 14 Oct 2008 21:55:46 +0000 (23:55 +0200)]
po plugin: do not trust po4a functions return value
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Tue, 14 Oct 2008 21:54:26 +0000 (23:54 +0200)]
po plugin: todo++: create POT/PO when the plugin is enabled
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Tue, 14 Oct 2008 15:21:03 +0000 (17:21 +0200)]
po plugin: updated doc to reflect current status of automatic PO files update
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Tue, 14 Oct 2008 15:17:24 +0000 (17:17 +0200)]
po plugin: refresh PO files when a master page is updated
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Tue, 14 Oct 2008 14:36:01 +0000 (16:36 +0200)]
po plugin: refresh POT files when a master page is updated
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Tue, 14 Oct 2008 13:24:58 +0000 (15:24 +0200)]
po plugin: build %translations in needsbuild hook rather than scan
... because we'll need this data to refresh POT/PO files in needsbuild hook
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Mon, 13 Oct 2008 20:07:21 +0000 (22:07 +0200)]
po plugin: created OTHERLANGUAGES template loop
It currently only provides basic translations/master pages links.
Updated documentation accordingly.
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Mon, 13 Oct 2008 16:21:59 +0000 (18:21 +0200)]
po plugin: po_slave_languages is a hash, rather than a hash of hashes
The latter seems to be unsupported by ikiwiki config system.
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Mon, 13 Oct 2008 15:22:49 +0000 (17:22 +0200)]
po plugin: fix formatting in documentation
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Mon, 13 Oct 2008 15:19:56 +0000 (17:19 +0200)]
po plugin: build %translations at scan time
... so that we can consider it as complete at preprocess time
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Sat, 11 Oct 2008 01:41:12 +0000 (03:41 +0200)]
po plugin: memoize istranslatable and _istranslation
Both functions are called very often, and:
- istranslatable has no side effect
- _istranslation is the helper function, without any side effect, for the
istranslation function
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Sat, 11 Oct 2008 01:02:43 +0000 (03:02 +0200)]
po plugin[filter]: avoid converting more than once per destfile
Only the first filter function call on a given {page,destpage} must convert it
from the PO file, subsequent calls must leave the passed $content unmodified.
Else, preprocessing loops are the rule.
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Sat, 11 Oct 2008 01:01:59 +0000 (03:01 +0200)]
po plugin: bugfix (calling function in wrong module)
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 10 Oct 2008 19:56:40 +0000 (21:56 +0200)]
po plugin: added *.pot to wiki_file_prune_regexps
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 10 Oct 2008 19:47:20 +0000 (21:47 +0200)]
po plugin: move translatable pages to setup file, refactor
Replaced [[!translatable]] directive with po_translatable_pages setting.
Moved istranslatable/istranslation code to helper functions leaving place for
future caching and/or memoization. The PageSpec functions still work.
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 10 Oct 2008 19:03:21 +0000 (21:03 +0200)]
po plugin: added note about not publishing .pot files
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 10 Oct 2008 17:29:16 +0000 (19:29 +0200)]
po plugin: added todo note about optimization
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 10 Oct 2008 16:08:00 +0000 (18:08 +0200)]
po plugin: allow pagestate update (bugfix)
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 10 Oct 2008 16:01:06 +0000 (18:01 +0200)]
po plugin: respect documented convention to store pagestate
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 10 Oct 2008 15:39:28 +0000 (17:39 +0200)]
po plugin: update doc (move finished item from todo)
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 10 Oct 2008 15:37:14 +0000 (17:37 +0200)]
po plugin: implemented po_link_to=current
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 10 Oct 2008 15:10:40 +0000 (17:10 +0200)]
po plugin: added istranslatable() pagespec function, and use it
(do not name non-translatable pages index.LL.html)
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 10 Oct 2008 13:48:35 +0000 (15:48 +0200)]
po plugin: implemented po_link_to=negotiated
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 10 Oct 2008 13:35:55 +0000 (15:35 +0200)]
po plugin: rewrite internal linking specification
(not implemented yet)
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 10 Oct 2008 13:16:04 +0000 (15:16 +0200)]
po plugin: implement linking specification in one of the main cases
i.e. in case usedirs is enabled and po_link_to_current_language is disabled
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 10 Oct 2008 12:46:48 +0000 (14:46 +0200)]
rename urlpath hook into tweakurlpath for consistency's sake
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 10 Oct 2008 12:30:31 +0000 (14:30 +0200)]
added the tweakbestlink hook
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 10 Oct 2008 11:57:48 +0000 (13:57 +0200)]
po plugin: add po_link_to_current_language option, check config
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Wed, 8 Oct 2008 18:31:46 +0000 (20:31 +0200)]
po plugin: use pagespec_match() instead of direct match_istranslation calls
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Wed, 8 Oct 2008 13:02:30 +0000 (15:02 +0200)]
po plugin: added [[!translatable]] directive
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Wed, 8 Oct 2008 12:37:43 +0000 (14:37 +0200)]
po plugin: clearer file naming specs
i.e. clarify that master pages do not have to obey a special naming convention,
so that migration from/to this plugin is smooth
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Wed, 8 Oct 2008 12:30:50 +0000 (14:30 +0200)]
po plugin: add one more pagespec function to the specification
(not implemented yet)
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Wed, 8 Oct 2008 09:47:37 +0000 (11:47 +0200)]
po plugin: linking behavior specification
(no implementation yet)
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Tue, 7 Oct 2008 22:50:10 +0000 (00:50 +0200)]
added hook urlpath
This hook can be used to modify the internal urls generated by ikiwiki.
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Tue, 7 Oct 2008 20:39:17 +0000 (22:39 +0200)]
po plugin: switch to page.LL.html naming convention
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Tue, 7 Oct 2008 20:20:07 +0000 (22:20 +0200)]
po plugin: enhance documentation
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Tue, 7 Oct 2008 20:08:28 +0000 (22:08 +0200)]
po plugin: name rendered master pages like slave ones (page.html.LL)
Apache's content negotiation transparently redirects any old URL (page.html) to
the new one, depending on the client preferred language (i.e. a German browser
will be fed with page.html.de). Transition to this naming convention is then
really smooth.
This naming convention allows one to deliberately display the master page, even
if her browser is configured for another language.
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Mon, 6 Oct 2008 01:42:26 +0000 (03:42 +0200)]
po plugin: initial documentation, along with huge TODO list
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Sun, 5 Oct 2008 19:34:43 +0000 (21:34 +0200)]
po plugin: reworked available options
- renamed po_supported_languages to po_slave_languages
- added po_master_language option, which will soon be useful
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Sun, 5 Oct 2008 17:56:53 +0000 (19:56 +0200)]
po plugin: htmlize translated content as if it was the same type as the master page
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Sun, 5 Oct 2008 17:42:43 +0000 (19:42 +0200)]
po plugin: convert PO to master page's type in filter hook
Master page's type htmlize hook should also be run in po's htmlize hook,
but let's proceed step by step.
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Sun, 5 Oct 2008 15:14:30 +0000 (17:14 +0200)]
po plugin: factorize most checks into a new match_istranslation PageSpec
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Sun, 5 Oct 2008 02:11:02 +0000 (04:11 +0200)]
po plugin: initial work
- .po is a new supported wiki page type
- PO files are rendered verbatim into HTML
- override targetpage to ease Content Negotiation
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Sun, 5 Oct 2008 02:05:24 +0000 (04:05 +0200)]
added the targetpage hook
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Sat, 4 Oct 2008 14:11:08 +0000 (16:11 +0200)]
intrigeri [Sat, 4 Oct 2008 14:10:39 +0000 (16:10 +0200)]
fix
http://hendry.iki.fi/ [Sat, 18 Oct 2008 13:21:24 +0000 (09:21 -0400)]
google plugin linked
http://xma.myopenid.com/ [Sat, 18 Oct 2008 11:10:10 +0000 (07:10 -0400)]
Joey Hess [Sat, 18 Oct 2008 02:04:43 +0000 (22:04 -0400)]
fix url
Joey Hess [Sat, 18 Oct 2008 01:59:27 +0000 (21:59 -0400)]
update
Joey Hess [Sat, 18 Oct 2008 01:54:42 +0000 (21:54 -0400)]
tweak recentchanges permalink code
Need to handle the case where url is not set.
Joey Hess [Sat, 18 Oct 2008 01:49:55 +0000 (21:49 -0400)]
Patch for anchor-based change permalinks in recent changes feed
from JasonBlevins
Joey Hess [Sat, 18 Oct 2008 01:29:05 +0000 (21:29 -0400)]
add missing getsetup hook
Joey Hess [Sat, 18 Oct 2008 01:21:07 +0000 (21:21 -0400)]
make relativedate work for the dates on the recentchanges page
Having a always current relative date on recentchanges is very, very nice.
Joey Hess [Sat, 18 Oct 2008 01:16:27 +0000 (21:16 -0400)]
response
Joey Hess [Sat, 18 Oct 2008 01:02:12 +0000 (21:02 -0400)]
response
Joey Hess [Sat, 18 Oct 2008 00:47:32 +0000 (20:47 -0400)]
relativedate: New javascript-alicious plugin that makes all dates display relative, in a very nice way, if I say so myself.
Joey Hess [Sat, 18 Oct 2008 00:28:24 +0000 (20:28 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Sat, 18 Oct 2008 00:28:18 +0000 (20:28 -0400)]
Add an underlay for javascript, and add ikiwiki.js containing some utility code.
* Add an underlay for javascript, and add ikiwiki.js containing some utility
code.
* toggle: Stop embedding the full toggle code on each page using it, and
move it to toggle.js in the javascript underlay.
Joey Hess [Fri, 17 Oct 2008 23:53:04 +0000 (19:53 -0400)]
add_underlay: avoid adding the same underlay twice
http://jblevins.org/ [Fri, 17 Oct 2008 23:52:42 +0000 (19:52 -0400)]
Patch for anchor-based change permalinks in recent changes feed
http://xma.myopenid.com/ [Fri, 17 Oct 2008 22:34:28 +0000 (18:34 -0400)]
http://xma.myopenid.com/ [Fri, 17 Oct 2008 22:30:03 +0000 (18:30 -0400)]
Joey Hess [Fri, 17 Oct 2008 17:18:04 +0000 (13:18 -0400)]
add news item for ikiwiki 2.67
Joey Hess [Fri, 17 Oct 2008 17:17:31 +0000 (13:17 -0400)]
releasing version 2.67
http://alcopop.org/me/openid/ [Fri, 17 Oct 2008 15:00:37 +0000 (11:00 -0400)]
PaulePanter [Fri, 17 Oct 2008 12:33:48 +0000 (08:33 -0400)]
response
Joey Hess [Thu, 16 Oct 2008 22:20:41 +0000 (18:20 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Thu, 16 Oct 2008 22:20:16 +0000 (18:20 -0400)]
aggregate: Avoid bug that caused immediate expiration of items with a date in the future.
Joey Hess [Thu, 16 Oct 2008 21:20:17 +0000 (17:20 -0400)]
only darcs add files not yet in version control
pesco [Thu, 16 Oct 2008 20:20:08 +0000 (16:20 -0400)]
darcs rcs_add fixed.
http://xma.myopenid.com/ [Thu, 16 Oct 2008 18:56:28 +0000 (14:56 -0400)]
That's good news for me then ! Thank you.
Joey Hess [Thu, 16 Oct 2008 18:00:35 +0000 (14:00 -0400)]
response
Joey Hess [Thu, 16 Oct 2008 17:59:44 +0000 (13:59 -0400)]
response
Joey Hess [Thu, 16 Oct 2008 16:53:33 +0000 (12:53 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
http://xma.myopenid.com/ [Thu, 16 Oct 2008 13:45:49 +0000 (09:45 -0400)]
creating Darcs as the RCS ?
http://xma.myopenid.com/ [Thu, 16 Oct 2008 13:27:20 +0000 (09:27 -0400)]
Testing [[ikiwiki]] formatting rules
http://alcopop.org/me/openid/ [Thu, 16 Oct 2008 11:51:04 +0000 (07:51 -0400)]
Bundle::IkiWiki?
http://xma.myopenid.com/ [Thu, 16 Oct 2008 09:14:58 +0000 (05:14 -0400)]
Update