Joey Hess [Tue, 6 Jan 2009 02:27:50 +0000 (21:27 -0500)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Tue, 6 Jan 2009 02:26:47 +0000 (21:26 -0500)]
new gitweb url form fixes some bugs too
http://puck42.myopenid.com/ [Tue, 6 Jan 2009 02:03:42 +0000 (21:03 -0500)]
http://puck42.myopenid.com/ [Tue, 6 Jan 2009 02:02:43 +0000 (21:02 -0500)]
Joey Hess [Tue, 6 Jan 2009 00:09:43 +0000 (19:09 -0500)]
formatting
Joey Hess [Tue, 6 Jan 2009 00:07:40 +0000 (19:07 -0500)]
formatting
Joey Hess [Tue, 6 Jan 2009 00:05:43 +0000 (19:05 -0500)]
add news item for ikiwiki 3.01
Joey Hess [Tue, 6 Jan 2009 00:04:03 +0000 (19:04 -0500)]
releasing version 3.01
Joey Hess [Mon, 5 Jan 2009 23:52:58 +0000 (18:52 -0500)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Mon, 5 Jan 2009 23:26:09 +0000 (18:26 -0500)]
A recent change to gitweb removed support for the form of diffurl that many ikiwiki setups use. Document how to use the new url form.
http://hendry.iki.fi/ [Mon, 5 Jan 2009 21:31:50 +0000 (16:31 -0500)]
http://ptecza.myopenid.com/ [Mon, 5 Jan 2009 21:21:35 +0000 (16:21 -0500)]
* Switched to Text::Markdown. Thanks a lot!
Joey Hess [Mon, 5 Jan 2009 21:15:46 +0000 (16:15 -0500)]
analysis
Joey Hess [Mon, 5 Jan 2009 21:00:19 +0000 (16:00 -0500)]
markdown bug
http://ptecza.myopenid.com/ [Mon, 5 Jan 2009 16:20:35 +0000 (11:20 -0500)]
* Problem with URLs with parentheses
http://hendry.iki.fi/ [Mon, 5 Jan 2009 08:39:46 +0000 (03:39 -0500)]
openid bug?
Joey Hess [Sat, 3 Jan 2009 17:52:47 +0000 (12:52 -0500)]
yesno: Always accept English even when localised.
It seems to be a failing of i18n in unix that the translation stops at the
commands and the parameters to them, and ikiwiki is no exception with its
currently untranslated directives. So the little bit that's translated sticks
out like a sore thumb. It also breaks building of wikis if a different locale
happens to be set.
I suppose the best thing to do is either give up on the localisation of this
part completly, or make it recognise English in addition to the locale. I've
tenatively chosen the latter.
(Also accept 1 and 0 as input.)
Joey Hess [Sat, 3 Jan 2009 17:40:22 +0000 (12:40 -0500)]
Fix documentation about git hook to use right name. Closes: #510393
Joey Hess [Sat, 3 Jan 2009 17:35:26 +0000 (12:35 -0500)]
it falls back to using install
Joey Hess [Sat, 3 Jan 2009 17:31:48 +0000 (12:31 -0500)]
Revert "Add actual result for the example"
This reverts commit
be67d10a813ae37512daacbbab9815eecd5e94ef.
We don't demo directives on directive doc pages, to avoid doing unnecessary
work at build time (not a big deal here) and to avoid broken directives if
the plugin is not enabled.
This fact could probably be documented better, but I don't want to mention
it on every page..
Joey Hess [Fri, 2 Jan 2009 19:16:13 +0000 (14:16 -0500)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Fri, 2 Jan 2009 19:15:47 +0000 (14:15 -0500)]
ikiwiki-makerepo: Fix injecting of empty mercurial and bzr repositories. Closes: #510518
Joey Hess [Fri, 2 Jan 2009 19:11:41 +0000 (14:11 -0500)]
update
intrigeri [Fri, 2 Jan 2009 17:59:07 +0000 (18:59 +0100)]
po/todo: update
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 2 Jan 2009 17:57:50 +0000 (18:57 +0100)]
po(isvalidpo): more meaningful error message
... explaining how to go on with edit.
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 2 Jan 2009 17:51:32 +0000 (18:51 +0100)]
po: back to the cansave hook, as the form validation is not sufficient
Form validation works, but after trying to save invalid PO content, the user is
brought back to the page he/she was editing, without any single clue to explain
why it was not saved. The dedicated cansave hook is thus necessary.
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 2 Jan 2009 16:51:17 +0000 (17:51 +0100)]
po: first attempt to replace cansave hook with form validate tweaks
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 2 Jan 2009 16:25:54 +0000 (17:25 +0100)]
po/todo: update
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 2 Jan 2009 16:24:54 +0000 (17:24 +0100)]
po/i18n: move the function names out of the translatable strings
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 2 Jan 2009 15:54:03 +0000 (16:54 +0100)]
po: updated copyright years
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 2 Jan 2009 11:54:58 +0000 (12:54 +0100)]
po: added note about now implemented feature
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 2 Jan 2009 10:21:18 +0000 (11:21 +0100)]
meta branch merge required
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 2 Jan 2009 14:50:47 +0000 (15:50 +0100)]
po(formbuilder_setup): remove the rename/remove buttons on slave pages
This has to be done after the rename/remove plugins have added
their buttons, so we set this hook to be run last.
The canrename/canremove hooks already ensure this is forbidden
at the backend level, so this is only UI sugar.
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 2 Jan 2009 14:14:58 +0000 (15:14 +0100)]
po: avoid warnings and possible bugs with nested named subroutines
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 2 Jan 2009 14:01:06 +0000 (15:01 +0100)]
po/todo: update
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 2 Jan 2009 14:00:34 +0000 (15:00 +0100)]
po: gettext-ize error messages
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 2 Jan 2009 13:18:40 +0000 (14:18 +0100)]
po/todo: remove silly ideas.
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 2 Jan 2009 12:43:40 +0000 (13:43 +0100)]
po: do not allow to create pages of type po
The main reason to do so is to bypass the "favor the type of linking page on
page creation" logic, which is unsuitable when a broken link is clicked on
a slave (PO) page.
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 2 Jan 2009 12:43:08 +0000 (13:43 +0100)]
po/todo: added better implementation ideas
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 2 Jan 2009 11:50:51 +0000 (12:50 +0100)]
po/todo: remove completed item
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 2 Jan 2009 11:35:46 +0000 (12:35 +0100)]
po: cosmetic changes to percent translated display
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 2 Jan 2009 11:27:10 +0000 (12:27 +0100)]
po(formbuilder_setup): use a template to display the warning
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 2 Jan 2009 11:15:21 +0000 (12:15 +0100)]
po: test formbuilder_setup hook to warn about new master page's language
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 2 Jan 2009 11:14:55 +0000 (12:14 +0100)]
po/todo: added bugreport about new page's type
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 2 Jan 2009 10:22:54 +0000 (11:22 +0100)]
po: require ikiwiki plugin interface 3.0
Signed-off-by: intrigeri <intrigeri@boum.org>
mburmester [Fri, 2 Jan 2009 03:37:38 +0000 (22:37 -0500)]
bug reopened
http://openid.alexandrefranke.com/ [Thu, 1 Jan 2009 23:17:17 +0000 (18:17 -0500)]
Add actual result for the example
intrigeri [Thu, 1 Jan 2009 22:36:57 +0000 (23:36 +0100)]
po/todo: update
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 1 Jan 2009 22:33:16 +0000 (23:33 +0100)]
po: send msgfmt output to /dev/null, else it creates messages.mo files
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 1 Jan 2009 22:32:52 +0000 (23:32 +0100)]
po: fix error messages
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 1 Jan 2009 22:10:16 +0000 (23:10 +0100)]
po(cansave): check PO validity using new isvalidpo function
... because Po4a's parser does not care about malformed PO data.
Use gettext's msgfmt program instead.
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 1 Jan 2009 21:28:20 +0000 (22:28 +0100)]
debian/control: suggest gettext, which is used by the po plugin
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 1 Jan 2009 21:20:54 +0000 (22:20 +0100)]
skeleton plugin: added the canrename and canremove hooks
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 1 Jan 2009 21:18:27 +0000 (22:18 +0100)]
po(TODO): the plugin code will need to be gettextized, at some point
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 1 Jan 2009 21:16:43 +0000 (22:16 +0100)]
po(cansave): use po_to_markup to check PO validity
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 1 Jan 2009 20:56:36 +0000 (21:56 +0100)]
po: move most of filter code to its own function
Allow this new po_to_markup function to run in non-fatal mode,
we need this in our cansave hook.
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 1 Jan 2009 18:48:48 +0000 (19:48 +0100)]
po: register a (dummy) cansave hook
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 1 Jan 2009 18:48:27 +0000 (19:48 +0100)]
editpage: added a cansave hook
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 1 Jan 2009 17:04:37 +0000 (18:04 +0100)]
Pass src, srcfile, dest and destfile to the canrename hook.
This is not needed by the use I'm doing of it, but seems more consistent to me.
Future users of this hook may need this data to make their mind.
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 1 Jan 2009 16:56:51 +0000 (17:56 +0100)]
po: bugfix
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 1 Jan 2009 16:49:10 +0000 (17:49 +0100)]
po: fix canrename hook
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 1 Jan 2009 16:47:20 +0000 (17:47 +0100)]
rename: pass the CGI and session to the rename hook
The po plugin remame + canrename hook combination will need this.
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 1 Jan 2009 15:50:24 +0000 (16:50 +0100)]
po: use the new canrename hook to prevent translation renames in the CGI
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 1 Jan 2009 15:48:43 +0000 (16:48 +0100)]
rename: implemented new canrename hook
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 1 Jan 2009 15:38:16 +0000 (16:38 +0100)]
remove: implemented a new canremove hook; use it in the po plugin
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 1 Jan 2009 15:18:37 +0000 (16:18 +0100)]
po(todo): test results for markup languages support, thoughts about renaming/deleting
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 1 Jan 2009 12:34:00 +0000 (13:34 +0100)]
Merge commit 'upstream/master' into prv/po
http://www.cse.unsw.edu.au/~willu/ [Thu, 1 Jan 2009 12:33:36 +0000 (07:33 -0500)]
link to related bug
intrigeri [Thu, 1 Jan 2009 12:07:08 +0000 (13:07 +0100)]
Render.pm: also use 'our' for $backlinks_calculated
Since %backlinks are now declared with 'our', this variable must be as well.
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 1 Jan 2009 00:14:06 +0000 (01:14 +0100)]
po(myurlto): more robust run_by_editpage logic
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Wed, 31 Dec 2008 23:58:06 +0000 (00:58 +0100)]
po: some code/comments refactoring
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Wed, 31 Dec 2008 22:54:21 +0000 (23:54 +0100)]
po: follow new coding style (removed Vim folding markers
)
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Wed, 31 Dec 2008 21:27:12 +0000 (22:27 +0100)]
po: added postscan hook, to make pages depend on the pages linking to them
... so that nicepagetitle hook's effects, such as translation status displayed
in links, are updated when the linked page changes.
The replacement of 'my %backlinks' with 'our %backlinks' in Render.pm made this
work: previously, every postscan hook was called with an almost empty
%backlinks, which defeated all my attempts to implement this feature.
This feature hits performance a bit. Its cost was quite small in my real-world
use-cases (a few percents bigger refresh time), but could be bigger in worst
cases. Time will tell.
NB: this hack could also be used by my meta branch. It may even be a ikiwiki
optional feature.
Signed-off-by: intrigeri <intrigeri@boum.org>
JoshTriplett [Wed, 31 Dec 2008 23:10:18 +0000 (18:10 -0500)]
Fix version.
Joey Hess [Wed, 31 Dec 2008 20:43:14 +0000 (15:43 -0500)]
formatting
Joey Hess [Wed, 31 Dec 2008 20:33:10 +0000 (15:33 -0500)]
fix link
Joey Hess [Wed, 31 Dec 2008 20:32:12 +0000 (15:32 -0500)]
fix link
Joey Hess [Wed, 31 Dec 2008 20:30:41 +0000 (15:30 -0500)]
3.0 annoucement
Joey Hess [Wed, 31 Dec 2008 20:28:03 +0000 (15:28 -0500)]
formatting
Joey Hess [Wed, 31 Dec 2008 20:27:52 +0000 (15:27 -0500)]
formatting
Joey Hess [Wed, 31 Dec 2008 20:26:28 +0000 (15:26 -0500)]
add news item for ikiwiki 3.00
Joey Hess [Wed, 31 Dec 2008 20:21:40 +0000 (15:21 -0500)]
releasing version 3.00
Joey Hess [Wed, 31 Dec 2008 19:54:22 +0000 (14:54 -0500)]
fix moveprefs transition
Joey Hess [Wed, 31 Dec 2008 19:12:37 +0000 (14:12 -0500)]
move to correct location
Joey Hess [Wed, 31 Dec 2008 19:08:15 +0000 (14:08 -0500)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Wed, 31 Dec 2008 18:33:10 +0000 (13:33 -0500)]
Merge branch 'next'
intrigeri [Wed, 31 Dec 2008 10:53:15 +0000 (11:53 +0100)]
need_global_renamepage_hook: proposed solution implemented in my po branch
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Wed, 31 Dec 2008 16:10:33 +0000 (17:10 +0100)]
po/todo: reflect current link-related work status
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Wed, 31 Dec 2008 15:45:55 +0000 (16:45 +0100)]
po: new po_translation_status_in_links option
... to make configurable the last implemented feature.
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Wed, 31 Dec 2008 15:34:08 +0000 (16:34 +0100)]
po(nicepagetitle): forgot to display %
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Wed, 31 Dec 2008 15:31:18 +0000 (16:31 +0100)]
po(percenttranslated): fix issue with leading /
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Wed, 31 Dec 2008 14:45:05 +0000 (15:45 +0100)]
po(nicepagetitle): append translation status to links to translated pages
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Wed, 31 Dec 2008 14:37:25 +0000 (15:37 +0100)]
po: inject our own (currently a no-op) nicepagetitle function
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Wed, 31 Dec 2008 14:23:59 +0000 (15:23 +0100)]
po/todo: reflect current status of links-related work
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Wed, 31 Dec 2008 12:02:48 +0000 (13:02 +0100)]
po: fix redirect after edit, using a somehow tricky hack
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Tue, 30 Dec 2008 23:38:47 +0000 (00:38 +0100)]
po: delete translations of deleted master pages
Signed-off-by: intrigeri <intrigeri@boum.org>
http://ptecza.myopenid.com/ [Wed, 31 Dec 2008 08:43:43 +0000 (03:43 -0500)]
* Now unofficial Ikiwiki backports for Ubuntu Intrepid
Joey Hess [Wed, 31 Dec 2008 05:44:54 +0000 (00:44 -0500)]
websetup: Avoid a crash when a new array setup item has been added in a new ikiwiki release, and is thus not present in the setup file yet.
This happened with camelcase_ignore. The code tried to convert the undef
value for it into an array.
Joey Hess [Wed, 31 Dec 2008 05:08:46 +0000 (00:08 -0500)]
make sure value is defined before using it as an array
intrigeri [Tue, 30 Dec 2008 22:10:12 +0000 (23:10 +0100)]
po: remove debug statements