]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/log
git.ikiwiki.info.git
15 years agorename: pass the CGI and session to the rename hook
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>
15 years agopo: use the new canrename hook to prevent translation renames in the CGI
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>
15 years agorename: implemented new canrename hook
intrigeri [Thu, 1 Jan 2009 15:48:43 +0000 (16:48 +0100)]
rename: implemented new canrename hook

Signed-off-by: intrigeri <intrigeri@boum.org>
15 years agoremove: implemented a new canremove hook; use it in the po plugin
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>
15 years agopo(todo): test results for markup languages support, thoughts about renaming/deleting
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>
15 years agoMerge commit 'upstream/master' into prv/po
intrigeri [Thu, 1 Jan 2009 12:34:00 +0000 (13:34 +0100)]
Merge commit 'upstream/master' into prv/po

15 years agoRender.pm: also use 'our' for $backlinks_calculated
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>
15 years agopo(myurlto): more robust run_by_editpage logic
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>
15 years agopo: some code/comments refactoring
intrigeri [Wed, 31 Dec 2008 23:58:06 +0000 (00:58 +0100)]
po: some code/comments refactoring

Signed-off-by: intrigeri <intrigeri@boum.org>
15 years agopo: follow new coding style (removed Vim folding markers
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>
15 years agopo: added postscan hook, to make pages depend on the pages linking to them
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>
15 years agoFix version.
JoshTriplett [Wed, 31 Dec 2008 23:10:18 +0000 (18:10 -0500)]
Fix version.

15 years agoformatting
Joey Hess [Wed, 31 Dec 2008 20:43:14 +0000 (15:43 -0500)]
formatting

15 years agofix link
Joey Hess [Wed, 31 Dec 2008 20:33:10 +0000 (15:33 -0500)]
fix link

15 years agofix link
Joey Hess [Wed, 31 Dec 2008 20:32:12 +0000 (15:32 -0500)]
fix link

15 years ago3.0 annoucement
Joey Hess [Wed, 31 Dec 2008 20:30:41 +0000 (15:30 -0500)]
3.0 annoucement

15 years agoformatting
Joey Hess [Wed, 31 Dec 2008 20:28:03 +0000 (15:28 -0500)]
formatting

15 years agoformatting
Joey Hess [Wed, 31 Dec 2008 20:27:52 +0000 (15:27 -0500)]
formatting

15 years agoadd news item for ikiwiki 3.00
Joey Hess [Wed, 31 Dec 2008 20:26:28 +0000 (15:26 -0500)]
add news item for ikiwiki 3.00

15 years agoreleasing version 3.00 3.00
Joey Hess [Wed, 31 Dec 2008 20:21:40 +0000 (15:21 -0500)]
releasing version 3.00

15 years agofix moveprefs transition
Joey Hess [Wed, 31 Dec 2008 19:54:22 +0000 (14:54 -0500)]
fix moveprefs transition

15 years agomove to correct location
Joey Hess [Wed, 31 Dec 2008 19:12:37 +0000 (14:12 -0500)]
move to correct location

15 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
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

15 years agoMerge branch 'next'
Joey Hess [Wed, 31 Dec 2008 18:33:10 +0000 (13:33 -0500)]
Merge branch 'next'

15 years agoneed_global_renamepage_hook: proposed solution implemented in my po branch
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>
15 years agopo/todo: reflect current link-related work status
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>
15 years agopo: new po_translation_status_in_links option
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>
15 years agopo(nicepagetitle): forgot to display %
intrigeri [Wed, 31 Dec 2008 15:34:08 +0000 (16:34 +0100)]
po(nicepagetitle): forgot to display %

Signed-off-by: intrigeri <intrigeri@boum.org>
15 years agopo(percenttranslated): fix issue with leading /
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>
15 years agopo(nicepagetitle): append translation status to links to translated pages
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>
15 years agopo: inject our own (currently a no-op) nicepagetitle function
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>
15 years agopo/todo: reflect current status of links-related work
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>
15 years agopo: fix redirect after edit, using a somehow tricky hack
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>
15 years agopo: delete translations of deleted master pages
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>
15 years ago* Now unofficial Ikiwiki backports for Ubuntu Intrepid
http://ptecza.myopenid.com/ [Wed, 31 Dec 2008 08:43:43 +0000 (03:43 -0500)]
* Now unofficial Ikiwiki backports for Ubuntu Intrepid

15 years agowebsetup: Avoid a crash when a new array setup item has been added in a new ikiwiki...
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.

15 years agomake sure value is defined before using it as 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

15 years agopo: remove debug statements
intrigeri [Tue, 30 Dec 2008 22:10:12 +0000 (23:10 +0100)]
po: remove debug statements

15 years agopo: remove renamed pages special handling, not needed anymore
intrigeri [Tue, 30 Dec 2008 22:00:46 +0000 (23:00 +0100)]
po: remove renamed pages special handling, not needed anymore

Thanks to the new rename hook behaviour, the whole renaming work is now done
by the rename plugin, and we don't need to remember which pages were renamed.

15 years agothe rename hook can now change the list of pages to rename
intrigeri [Tue, 30 Dec 2008 21:55:04 +0000 (22:55 +0100)]
the rename hook can now change the list of pages to rename

Signed-off-by: intrigeri <intrigeri@boum.org>
15 years agorenamed the renamepage hook to renamelink, added rename hook
intrigeri [Tue, 30 Dec 2008 20:36:40 +0000 (21:36 +0100)]
renamed the renamepage hook to renamelink, added rename hook

Signed-off-by: intrigeri <intrigeri@boum.org>
15 years agoFrench translation update from Philippe Batailler. Closes: #510216
Joey Hess [Tue, 30 Dec 2008 18:38:27 +0000 (13:38 -0500)]
French translation update from Philippe Batailler. Closes: #510216

15 years agopo.t: adapted a few tests to match the current ikiwiki behaviour
intrigeri [Tue, 30 Dec 2008 17:55:32 +0000 (18:55 +0100)]
po.t: adapted a few tests to match the current ikiwiki behaviour

Signed-off-by: intrigeri <intrigeri@boum.org>
15 years agoMerge commit 'upstream/master' into prv/po
intrigeri [Tue, 30 Dec 2008 17:24:36 +0000 (18:24 +0100)]
Merge commit 'upstream/master' into prv/po

Conflicts:

debian/control
debian/copyright
doc/ikiwiki/pagespec.mdwn

Signed-off-by: intrigeri <intrigeri@boum.org>
15 years agoplanning a future plugin
http://smcv.pseudorandom.co.uk/ [Mon, 29 Dec 2008 22:25:12 +0000 (17:25 -0500)]
planning a future plugin

15 years agoupdate
Joey Hess [Mon, 29 Dec 2008 20:58:20 +0000 (15:58 -0500)]
update

15 years agoMerge branch 'master' into next
Joey Hess [Mon, 29 Dec 2008 20:08:32 +0000 (15:08 -0500)]
Merge branch 'master' into next

15 years agohtmlbalance: Demand-load HTML::TreeBuilder to avoid failing test suite if it is not...
Joey Hess [Mon, 29 Dec 2008 20:08:18 +0000 (15:08 -0500)]
htmlbalance: Demand-load HTML::TreeBuilder to avoid failing test suite if it is not present.

15 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Mon, 29 Dec 2008 19:59:48 +0000 (14:59 -0500)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

15 years agosome initial instructions for publishing wikis on github
Joey Hess [Mon, 29 Dec 2008 19:58:54 +0000 (14:58 -0500)]
some initial instructions for publishing wikis on github

15 years ago(no commit message)
http://blog.mithis.net/ [Mon, 29 Dec 2008 07:01:49 +0000 (02:01 -0500)]

15 years ago(no commit message)
http://blog.mithis.net/ [Mon, 29 Dec 2008 06:26:34 +0000 (01:26 -0500)]

15 years ago1st comment spam
Joey Hess [Mon, 29 Dec 2008 03:31:22 +0000 (22:31 -0500)]
1st comment spam

15 years agoformatting
Joey Hess [Mon, 29 Dec 2008 03:23:15 +0000 (22:23 -0500)]
formatting

15 years agocomments: Add cache avoidance.
Joey Hess [Mon, 29 Dec 2008 03:20:22 +0000 (22:20 -0500)]
comments: Add cache avoidance.

This got lost when we added the jump-to-comment anchor.

15 years agoclarify cgiurl setting
Joey Hess [Mon, 29 Dec 2008 03:03:34 +0000 (22:03 -0500)]
clarify cgiurl setting

15 years agoReplace blank OpenID placeholder logo with an unofficial OpenID logo developed by...
Joey Hess [Sun, 28 Dec 2008 21:19:47 +0000 (16:19 -0500)]
Replace blank OpenID placeholder logo with an unofficial OpenID logo developed by Anna Hess. The official logo does not seem destined to be free.

15 years agoMerge branch 'master' into next
Joey Hess [Sun, 28 Dec 2008 20:12:11 +0000 (15:12 -0500)]
Merge branch 'master' into next

Conflicts:

debian/changelog
po/ikiwiki.pot

15 years agoadd news item for ikiwiki 2.72
Joey Hess [Sun, 28 Dec 2008 20:05:33 +0000 (15:05 -0500)]
add news item for ikiwiki 2.72

15 years agoreleasing version 2.72 2.72
Joey Hess [Sun, 28 Dec 2008 20:05:05 +0000 (15:05 -0500)]
releasing version 2.72

16 years agotypo
Joey Hess [Sat, 27 Dec 2008 02:45:12 +0000 (21:45 -0500)]
typo

16 years agoMerge branch 'master' into next
Joey Hess [Fri, 26 Dec 2008 21:11:13 +0000 (16:11 -0500)]
Merge branch 'master' into next

16 years agoinline: Run format hook first
Joey Hess [Fri, 26 Dec 2008 21:08:33 +0000 (16:08 -0500)]
inline: Run format hook first

inline has a format hook that is an optimisation hack. Until this hook
runs, the inlined content is not present on the page. This can prevent
other format hooks, that process that content, from acting on inlined
content. In bug ##509710, we discovered this happened commonly for the
embed plugin, but it could in theory happen for many other plugins (color,
cutpaste, etc) that use format to fill in special html after sanitization.

The ordering was essentially random (hash key order). That's kinda a good
thing, because hooks should be independent of other hooks and able to run
in any order. But for things like inline, that just doesn't work.

To fix the immediate problem, let's make hooks able to be registered as
running "first". There was already the ability to make them run "last".

Now, this simple first/middle/last ordering is obviously not going to work
if a lot of things need to run first, or last, since then we'll be back to
being unable to specify ordering inside those sets. But before worrying about
that too much, and considering dependency ordering, etc, observe how few
plugins use last ordering: Exactly one needs it. And, so far, exactly one
needs first ordering. So for now, KISS.

Another implementation note: I could have sorted the plugins with
first/last/middle as the primary key, and plugin name secondary, to get a
guaranteed stable order. Instead, I chose to preserve hash order. Two
opposing things pulled me toward that decision:

1. Since has order is randomish, it will ensure that no accidental
   ordering assumptions are made.
2. Assume for a minute that ordering matters a lot more than expected.
   Drastically changing the order a particular configuration uses could
   result in a lot of subtle bugs cropping up. (I hope this assumption is
   false, partly due to #1, but can't rule it out.)

16 years agoupdate
Joey Hess [Fri, 26 Dec 2008 20:29:04 +0000 (15:29 -0500)]
update

16 years agodeprecate embed plugin too
Joey Hess [Fri, 26 Dec 2008 20:27:49 +0000 (15:27 -0500)]
deprecate embed plugin too

I see that this plugin's lists of safe content are already well out of
date, and htmlscrubber_skip offers a non whitelist based approach, so let's
deprecate this plugin for 3.0.

16 years agoadd link to untrusted git push
Joey Hess [Fri, 26 Dec 2008 20:06:00 +0000 (15:06 -0500)]
add link to untrusted git push

16 years agoMerge branch 'master' into next
Joey Hess [Fri, 26 Dec 2008 19:07:25 +0000 (14:07 -0500)]
Merge branch 'master' into next

16 years agocomments: Deal with users entering unqualified or partial urls.
Joey Hess [Fri, 26 Dec 2008 19:07:19 +0000 (14:07 -0500)]
comments: Deal with users entering unqualified or partial urls.

People seem to be able to expect to enter www.foo.com and get away with it.
The resulting my.wiki/www.foo.com link was not ideal.

To fix it, use URI::Heuristic to expand such things into a real url. It
even looks up hostnames in the DNS if necessary.

16 years agoMerge branch 'master' into next
Joey Hess [Thu, 25 Dec 2008 21:36:16 +0000 (16:36 -0500)]
Merge branch 'master' into next

Conflicts:

IkiWiki/Plugin/googlecalendar.pm

16 years agogooglecalendar: Add runtime deprecation warning.
Joey Hess [Thu, 25 Dec 2008 21:31:58 +0000 (16:31 -0500)]
googlecalendar: Add runtime deprecation warning.

16 years agomore 3.0 docs, changelog
Joey Hess [Thu, 25 Dec 2008 00:55:43 +0000 (19:55 -0500)]
more 3.0 docs, changelog

16 years agomake ikiwiki-transition prefix_directives take a setup file
Joey Hess [Thu, 25 Dec 2008 00:43:07 +0000 (19:43 -0500)]
make ikiwiki-transition prefix_directives take a setup file

This is easier to remeber, and less error-prone than passing it all the
pages in the wiki.

16 years agoremove top-level directive page from basewiki
Joey Hess [Wed, 24 Dec 2008 21:29:31 +0000 (16:29 -0500)]
remove top-level directive page from basewiki

16 years agoremove deprecated googlecalendar plugin
Joey Hess [Wed, 24 Dec 2008 21:22:35 +0000 (16:22 -0500)]
remove deprecated googlecalendar plugin

16 years agoremove deprecated admin prefs
Joey Hess [Wed, 24 Dec 2008 21:16:03 +0000 (16:16 -0500)]
remove deprecated admin prefs

A new ikiwiki-transition moveprefs subcommand can pull the old data out of
the userdb and inject it into the setup file.

Note that it leaves the old values behind in the userdb too. I did this
because I didn't want to lose data if it fails writing the setup file for
some reason, and the old data in the userdb will only use a small amount of
space. Running the command multiple times will mostly not change anything.

16 years agotypo
Joey Hess [Wed, 24 Dec 2008 20:26:50 +0000 (15:26 -0500)]
typo

16 years agoclose
Joey Hess [Wed, 24 Dec 2008 01:08:01 +0000 (20:08 -0500)]
close

16 years agocamelcase: Add camelcase_ignore setting.
Joey Hess [Wed, 24 Dec 2008 00:11:03 +0000 (19:11 -0500)]
camelcase: Add camelcase_ignore setting.

16 years ago(no commit message)
http://puck.openid.org/ [Tue, 23 Dec 2008 23:05:38 +0000 (18:05 -0500)]

16 years ago(no commit message)
http://puck.openid.org/ [Tue, 23 Dec 2008 22:48:05 +0000 (17:48 -0500)]

16 years agoupdate
Joey Hess [Tue, 23 Dec 2008 22:36:57 +0000 (17:36 -0500)]
update

16 years agoMerge branch 'master' into next
Joey Hess [Tue, 23 Dec 2008 22:22:57 +0000 (17:22 -0500)]
Merge branch 'master' into next

Conflicts:

IkiWiki.pm

16 years agohack to avoid globlist deprecaton message false positive
Joey Hess [Tue, 23 Dec 2008 22:19:27 +0000 (17:19 -0500)]
hack to avoid globlist deprecaton message false positive

16 years agoupdate
Joey Hess [Tue, 23 Dec 2008 22:14:47 +0000 (17:14 -0500)]
update

16 years agoAdd deprecation warning for GlobLists, which will stop working in 3.0.
Joey Hess [Tue, 23 Dec 2008 22:13:57 +0000 (17:13 -0500)]
Add deprecation warning for GlobLists, which will stop working in 3.0.

16 years agoremove globlist support
Joey Hess [Tue, 23 Dec 2008 22:11:04 +0000 (17:11 -0500)]
remove globlist support

No transition code implemented, but I will probably make a 2.x release that
warns about found globlists.

16 years agofix to use prefix directives
Joey Hess [Tue, 23 Dec 2008 21:56:56 +0000 (16:56 -0500)]
fix to use prefix directives

16 years agofix to use prefix directives
Joey Hess [Tue, 23 Dec 2008 21:55:33 +0000 (16:55 -0500)]
fix to use prefix directives

16 years agoupdate
Joey Hess [Tue, 23 Dec 2008 21:52:46 +0000 (16:52 -0500)]
update

16 years agofinalise version 3.00 of the plugin api
Joey Hess [Tue, 23 Dec 2008 21:34:19 +0000 (16:34 -0500)]
finalise version 3.00 of the plugin api

16 years agoupdate
Joey Hess [Tue, 23 Dec 2008 21:29:31 +0000 (16:29 -0500)]
update

16 years agoMerge branch 'master' into next
Joey Hess [Tue, 23 Dec 2008 21:27:02 +0000 (16:27 -0500)]
Merge branch 'master' into next

16 years agofix a few directives using the old syntax
Joey Hess [Tue, 23 Dec 2008 21:25:52 +0000 (16:25 -0500)]
fix a few directives using the old syntax

I'm turning on prefix_directives for the live wiki now.

16 years agoenable prefix_directives by default
Joey Hess [Tue, 23 Dec 2008 21:24:43 +0000 (16:24 -0500)]
enable prefix_directives by default

16 years agobeginning docs for 3.0
Joey Hess [Tue, 23 Dec 2008 21:20:37 +0000 (16:20 -0500)]
beginning docs for 3.0

16 years agoenable aggregate_internal by default
Joey Hess [Tue, 23 Dec 2008 21:08:21 +0000 (16:08 -0500)]
enable aggregate_internal by default

16 years agoresponse
Joey Hess [Tue, 23 Dec 2008 18:27:16 +0000 (13:27 -0500)]
response

16 years agofix popcon graph link
Joey Hess [Tue, 23 Dec 2008 18:19:47 +0000 (13:19 -0500)]
fix popcon graph link

16 years agoAny other schools?
http://hendry.iki.fi/ [Tue, 23 Dec 2008 14:29:02 +0000 (09:29 -0500)]
Any other schools?

16 years agopo: make the dev timing clearer
intrigeri [Mon, 22 Dec 2008 23:24:48 +0000 (00:24 +0100)]
po: make the dev timing clearer