]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/log
git.ikiwiki.info.git
16 years agopo: mark po_translatable_pages as a safe configuration setting
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>
16 years agopo: po_master_language and po_slave_languages are safe config settings
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>
16 years agopo: added license and copyright
intrigeri [Thu, 6 Nov 2008 12:01:33 +0000 (13:01 +0100)]
po: added license and copyright

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agoMerge commit 'upstream/master' into prv/po
intrigeri [Thu, 6 Nov 2008 11:32:41 +0000 (12:32 +0100)]
Merge commit 'upstream/master' into prv/po

16 years agoMerge commit 'upstream/po' 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>
16 years agofirst pass over code
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.

16 years agobackup refs to injected subs later
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.

16 years agominor layout changes
Joey Hess [Wed, 5 Nov 2008 20:09:04 +0000 (15:09 -0500)]
minor layout changes

16 years agoneed license
Joey Hess [Wed, 5 Nov 2008 20:02:22 +0000 (15:02 -0500)]
need license

16 years agoresponse
Joey Hess [Wed, 5 Nov 2008 19:58:35 +0000 (14:58 -0500)]
response

16 years agofixed one security problem, two more need review
Joey Hess [Wed, 5 Nov 2008 19:47:50 +0000 (14:47 -0500)]
fixed one security problem, two more need review

16 years agoavoid hitting the shell with system()
Joey Hess [Wed, 5 Nov 2008 19:45:45 +0000 (14:45 -0500)]
avoid hitting the shell with system()

16 years agoresponse
Joey Hess [Wed, 5 Nov 2008 19:35:41 +0000 (14:35 -0500)]
response

16 years agocomments and questions
Joey Hess [Wed, 5 Nov 2008 19:33:35 +0000 (14:33 -0500)]
comments and questions

16 years agominor wording improvements/changes
Joey Hess [Wed, 5 Nov 2008 19:22:02 +0000 (14:22 -0500)]
minor wording improvements/changes

16 years agoanother reason to require rebuilds (and not be marked safe)
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

16 years agoadd a link to pages for enhanced pagespecs
Joey Hess [Wed, 5 Nov 2008 18:55:32 +0000 (13:55 -0500)]
add a link to pages for enhanced pagespecs

16 years agosuggest po4a for po plugin
Joey Hess [Wed, 5 Nov 2008 18:54:25 +0000 (13:54 -0500)]
suggest po4a for po plugin

16 years agoMerge commit 'intrigeri/po'
Joey Hess [Wed, 5 Nov 2008 18:50:26 +0000 (13:50 -0500)]
Merge commit 'intrigeri/po'

16 years agoresponse
Joey Hess [Wed, 5 Nov 2008 18:30:26 +0000 (13:30 -0500)]
response

16 years agoadd a more useful example of a relative date ;-)
Joey Hess [Wed, 5 Nov 2008 18:21:16 +0000 (13:21 -0500)]
add a more useful example of a relative date ;-)

16 years agopo plugin: more detailed backlinks todo item
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>
16 years agouse error for two messages
Joey Hess [Wed, 5 Nov 2008 06:38:36 +0000 (01:38 -0500)]
use error for two messages

16 years agopo plugin(filter): redesign temp file management
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>
16 years agoMerge branch 'prv/po' into pub/po
intrigeri [Tue, 4 Nov 2008 22:39:35 +0000 (23:39 +0100)]
Merge branch 'prv/po' into pub/po

16 years agoMerge commit 'upstream/master' into prv/po
intrigeri [Tue, 4 Nov 2008 22:39:15 +0000 (23:39 +0100)]
Merge commit 'upstream/master' into prv/po

16 years agopo plugin: redesign refresh mechanism after master page update
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>
16 years agopo plugin: remove broken parentlinks for home page's translations
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>
16 years agopo plugin: updated doc/todo
intrigeri [Tue, 4 Nov 2008 18:24:37 +0000 (19:24 +0100)]
po plugin: updated doc/todo

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: aesthetics
intrigeri [Tue, 4 Nov 2008 18:23:58 +0000 (19:23 +0100)]
po plugin: aesthetics

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agomaintain list
Joey Hess [Tue, 4 Nov 2008 18:21:07 +0000 (13:21 -0500)]
maintain list

16 years agoresponse
Joey Hess [Tue, 4 Nov 2008 18:19:15 +0000 (13:19 -0500)]
response

16 years agopo plugin: fix preview for PO files
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>
16 years agoQuestion excluding images in inline pagespec
Jason Blevins [Tue, 4 Nov 2008 16:37:50 +0000 (11:37 -0500)]
Question excluding images in inline pagespec

16 years agoFix reference link
Jason Blevins [Tue, 4 Nov 2008 16:19:14 +0000 (11:19 -0500)]
Fix reference link

16 years agoAdded experimental code, metamail, pandoc, and path plugins
Jason Blevins [Tue, 4 Nov 2008 16:16:58 +0000 (11:16 -0500)]
Added experimental code, metamail, pandoc, and path plugins

16 years agoForum response
Jason Blevins [Tue, 4 Nov 2008 16:05:55 +0000 (11:05 -0500)]
Forum response

16 years agoUndo too much quoting.
Thomas Schwinge [Tue, 4 Nov 2008 10:22:30 +0000 (11:22 +0100)]
Undo too much quoting.

16 years agoBug in the txt plugin.
Thomas Schwinge [Tue, 4 Nov 2008 10:18:37 +0000 (11:18 +0100)]
Bug in the txt plugin.

16 years agotrackpad registered a click on save
neale [Tue, 4 Nov 2008 03:08:49 +0000 (22:08 -0500)]
trackpad registered a click on save

16 years ago(no commit message)
neale [Tue, 4 Nov 2008 03:07:58 +0000 (22:07 -0500)]

16 years agoadd news item for ikiwiki 2.68
Joey Hess [Mon, 3 Nov 2008 21:42:48 +0000 (16:42 -0500)]
add news item for ikiwiki 2.68

16 years agoreleasing version 2.68 2.68
Joey Hess [Mon, 3 Nov 2008 21:42:06 +0000 (16:42 -0500)]
releasing version 2.68

16 years agoupdated repository location
intrigeri [Mon, 3 Nov 2008 19:11:44 +0000 (14:11 -0500)]
updated repository location

16 years agoresponse
intrigeri [Mon, 3 Nov 2008 00:42:44 +0000 (01:42 +0100)]
response

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agoMerge branch 'prv/po' into pub/po
intrigeri [Mon, 3 Nov 2008 00:35:58 +0000 (01:35 +0100)]
Merge branch 'prv/po' into pub/po

16 years agonotes and wiki-gardening about pagetitle vs. meta title
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>
16 years agopo plugin: updated doc+todo
intrigeri [Mon, 3 Nov 2008 00:21:06 +0000 (01:21 +0100)]
po plugin: updated doc+todo

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agoNote about prefix_directives
Jason Blevins [Sun, 2 Nov 2008 23:56:12 +0000 (18:56 -0500)]
Note about prefix_directives

16 years agopo plugin: slave pages link to the master's discussion page
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>
16 years agopo plugin: replace %hash=undef with undef %hash
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>
16 years agopo plugin: updated todo / doc
intrigeri [Sun, 2 Nov 2008 22:10:59 +0000 (23:10 +0100)]
po plugin: updated todo / doc

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: force utf-8 encoding in POT files
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>
16 years agopo: now uses inject
intrigeri [Sun, 2 Nov 2008 19:13:14 +0000 (20:13 +0100)]
po: now uses inject

16 years agoMerge branch 'prv/po' into pub/po
intrigeri [Sun, 2 Nov 2008 19:15:21 +0000 (20:15 +0100)]
Merge branch 'prv/po' into pub/po

16 years agopo plugin: fix linking from a translation to its master page
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>
16 years agopo plugin: fix targetpage for home page's translations
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>
16 years agopo plugin: added test cases for index.*
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>
16 years agopo plugin: removed last (?) bit of deprecated custom hook
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>
16 years agopo plugin: replace targetpage hook with wrapper function
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>
16 years agoRevert "added the targetpage hook"
intrigeri [Sun, 2 Nov 2008 17:34:10 +0000 (18:34 +0100)]
Revert "added the targetpage hook"

This reverts commit fc299df955879bf958aa78338ba64d56a7df17a9.
Such functionality can now be achieved using the inject() function.

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: replace tweakurlpath hook with a wrapper function
intrigeri [Sun, 2 Nov 2008 17:29:23 +0000 (18:29 +0100)]
po plugin: replace tweakurlpath hook with a wrapper function

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopreprocess text before htmlizing it
Joey Hess [Sun, 2 Nov 2008 17:21:15 +0000 (12:21 -0500)]
preprocess text before htmlizing it

16 years agoRevert "added hook urlpath" and "rename urlpath hook into tweakurlpath..."
intrigeri [Sun, 2 Nov 2008 17:08:50 +0000 (18:08 +0100)]
Revert "added hook urlpath" and "rename urlpath hook into tweakurlpath..."

This reverts commits d9b9022c13af3aa6c469df05beaa293fcf33cafc and
39d44d443d2271ec8787e6192b8b5811bee41ebf. This functionality should now be
achieved using the new inject() function.

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: added TODO about charset/encoding in new translations
intrigeri [Sun, 2 Nov 2008 17:07:01 +0000 (18:07 +0100)]
po plugin: added TODO about charset/encoding in new translations

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: replace tweakbestlink hook with a wrapper function
intrigeri [Sun, 2 Nov 2008 16:56:15 +0000 (17:56 +0100)]
po plugin: replace tweakbestlink hook with a wrapper function

... thanks to the new inject() feature.

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agoRevert "added the tweakbestlink hook"
intrigeri [Sun, 2 Nov 2008 16:33:32 +0000 (17:33 +0100)]
Revert "added the tweakbestlink hook"

This reverts commit e51089e11fc1093a253fc13ebfbd5d55912eba59.
The new "inject()" feature should replace this ad-hoc hook.

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: added testsuite
intrigeri [Sun, 2 Nov 2008 15:46:09 +0000 (16:46 +0100)]
po plugin: added testsuite

I want to have an easy way to know if I break something when I'll convert custom
added hooks to the new "inject" feature. It will also be useful after this
conversion, to trigger an alert when IkiWiki's internals change enough to break
my wrapper functions.

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agodisable istranslatable memoization
intrigeri [Sun, 2 Nov 2008 15:44:42 +0000 (16:44 +0100)]
disable istranslatable memoization

It makes some test cases cry once every two tries; this may be related to the
artificial way the testsuite is run, or not. In the meantime, stop memoizing
this function.

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agoMerge commit 'origin/master' into prv/po
intrigeri [Sun, 2 Nov 2008 12:11:00 +0000 (13:11 +0100)]
Merge commit 'origin/master' into prv/po

16 years agoAdd patch
http://www.cse.unsw.edu.au/~willu/ [Sun, 2 Nov 2008 10:47:19 +0000 (05:47 -0500)]
Add patch

16 years agoThoughts
http://www.cse.unsw.edu.au/~willu/ [Sun, 2 Nov 2008 10:23:25 +0000 (05:23 -0500)]
Thoughts

16 years ago(no commit message)
http://thewordnerd.info/ [Fri, 31 Oct 2008 23:34:49 +0000 (19:34 -0400)]

16 years ago(no commit message)
http://thewordnerd.info/ [Fri, 31 Oct 2008 23:06:26 +0000 (19:06 -0400)]

16 years agorename
Joey Hess [Fri, 31 Oct 2008 22:02:03 +0000 (18:02 -0400)]
rename

16 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Fri, 31 Oct 2008 22:00:58 +0000 (18:00 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

16 years ago(no commit message)
alexander [Fri, 31 Oct 2008 21:53:57 +0000 (17:53 -0400)]

16 years ago(no commit message)
alexander [Fri, 31 Oct 2008 21:52:42 +0000 (17:52 -0400)]

16 years agoreorg
Joey Hess [Fri, 31 Oct 2008 21:22:55 +0000 (17:22 -0400)]
reorg

16 years agotypo
Joey Hess [Fri, 31 Oct 2008 21:21:22 +0000 (17:21 -0400)]
typo

16 years agoformat: New plugin, allows embedding differntly formatted text inside a page (ie...
Joey Hess [Fri, 31 Oct 2008 20:42:20 +0000 (16:42 -0400)]
format: New plugin, allows embedding differntly formatted text inside a page (ie, otl inside a mdwn page, or syntax highlighted code inside a page).

16 years agorequire srcdir and destdir params when --render used w/o --setup
Joey Hess [Thu, 30 Oct 2008 19:05:58 +0000 (15:05 -0400)]
require srcdir and destdir params when --render used w/o --setup

The srcdir is needed by --render, so if --setup is not specified, read it
at the command line.

16 years agofix --setup --render
Joey Hess [Thu, 30 Oct 2008 18:59:37 +0000 (14:59 -0400)]
fix --setup --render

In this mode, rebuild mode should not be on

16 years agoset ctime in --render mode if not known
Joey Hess [Thu, 30 Oct 2008 18:50:33 +0000 (14:50 -0400)]
set ctime in --render mode if not known

Avoids some uninitialised value warnings.

16 years agoresponse
Joey Hess [Thu, 30 Oct 2008 18:14:57 +0000 (14:14 -0400)]
response

16 years agoresponse
Joey Hess [Thu, 30 Oct 2008 17:46:49 +0000 (13:46 -0400)]
response

16 years agodon't rely on plugin load order when determining generated directives
Joey Hess [Thu, 30 Oct 2008 17:41:19 +0000 (13:41 -0400)]
don't rely on plugin load order when determining generated directives

Instead, shortcuts will explicitly be marked as such when registered, and
listdirectives can filter them out.

16 years agostart discussion of the plugin
jwalzer [Thu, 30 Oct 2008 16:27:09 +0000 (12:27 -0400)]
start discussion of the plugin

16 years agoopml-Plugin - Stub-Page
jwalzer [Thu, 30 Oct 2008 16:22:51 +0000 (12:22 -0400)]
opml-Plugin - Stub-Page

16 years ago(no commit message)
http://lollipopman.myopenid.com/ [Thu, 30 Oct 2008 12:28:28 +0000 (08:28 -0400)]

16 years agoquestion about relative links?
jwalzer [Thu, 30 Oct 2008 09:51:01 +0000 (05:51 -0400)]
question about relative links?

16 years agoUserpage setup
jwalzer [Thu, 30 Oct 2008 09:37:51 +0000 (05:37 -0400)]
Userpage setup

16 years ago(no commit message)
jwalzer [Thu, 30 Oct 2008 09:34:13 +0000 (05:34 -0400)]

16 years ago(no commit message)
jwalzer [Thu, 30 Oct 2008 09:31:49 +0000 (05:31 -0400)]

16 years ago(no commit message)
jwalzer [Thu, 30 Oct 2008 09:30:35 +0000 (05:30 -0400)]

16 years agoForum question
Jason Blevins [Thu, 30 Oct 2008 03:25:34 +0000 (23:25 -0400)]
Forum question

16 years agoSuggest user stylesheets
Jason Blevins [Thu, 30 Oct 2008 03:21:25 +0000 (23:21 -0400)]
Suggest user stylesheets

16 years agoNote on fix
http://www.cse.unsw.edu.au/~willu/ [Thu, 30 Oct 2008 00:02:02 +0000 (20:02 -0400)]
Note on fix

16 years agooops
Joey Hess [Wed, 29 Oct 2008 22:06:35 +0000 (18:06 -0400)]
oops

16 years agoresponse
Joey Hess [Wed, 29 Oct 2008 22:06:00 +0000 (18:06 -0400)]
response