intrigeri [Wed, 12 Nov 2008 00:12:13 +0000 (01:12 +0100)]
Merge commit 'upstream/master' into pub/master
intrigeri [Wed, 12 Nov 2008 00:06:17 +0000 (01:06 +0100)]
pagetitle vs meta: announcing a working prototype
Signed-off-by: intrigeri <intrigeri@boum.org>
Joey Hess [Tue, 11 Nov 2008 23:34:18 +0000 (18:34 -0500)]
response
Joey Hess [Tue, 11 Nov 2008 20:54:52 +0000 (15:54 -0500)]
lockwiki changes
* Stop busy-waiting in lockwiki, as this could delay ikiwiki from waking up
for up to one second. The bailout code is no longer needed.
* Remove support for unused optional wait parameter from lockwiki.
Joey Hess [Tue, 11 Nov 2008 20:53:55 +0000 (15:53 -0500)]
O_CREATE needs mode
Joey Hess [Tue, 11 Nov 2008 20:40:04 +0000 (15:40 -0500)]
avoid multiple ikiwiki cgi processes piling up, eating all memory, and thrashing
Fixed by making the cgi wrapper wait on a cgilock.
If you had to set apache's MaxClients low to avoid ikiwiki thrashing
your server, you can now turn it up to a high value.
The downside to this is that a cgi call that doesn't need to call lockwiki
will be serialised by this so only one can run at a time. (For example,
do=search.) There are few such calls, and all of them call loadindex,
so each still eats gobs of memory, so serialising them still seems ok.
Joey Hess [Tue, 11 Nov 2008 18:44:39 +0000 (13:44 -0500)]
bzr: Fix dates for recentchanges.
Joey Hess [Tue, 11 Nov 2008 18:40:50 +0000 (13:40 -0500)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Tue, 11 Nov 2008 18:40:02 +0000 (13:40 -0500)]
let's stop sucking :-)
intrigeri [Tue, 11 Nov 2008 16:17:56 +0000 (17:17 +0100)]
po: answered Joey's "create a new translation" question
... that I previously completely missed.
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Tue, 11 Nov 2008 13:14:07 +0000 (14:14 +0100)]
Merge commit 'upstream/master' into pub/master
http://edward.myopenid.com/ [Tue, 11 Nov 2008 12:59:06 +0000 (07:59 -0500)]
add item to watch list
intrigeri [Tue, 11 Nov 2008 11:57:42 +0000 (12:57 +0100)]
Merge commit 'upstream/master' into pub/master
bcdugga [Tue, 11 Nov 2008 05:23:20 +0000 (00:23 -0500)]
intrigeri [Tue, 11 Nov 2008 03:42:00 +0000 (04:42 +0100)]
Merge commit 'upstream/master' into pub/master
intrigeri [Tue, 11 Nov 2008 03:39:26 +0000 (04:39 +0100)]
po: help request
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Tue, 11 Nov 2008 03:39:51 +0000 (04:39 +0100)]
Merge commit 'upstream/master' into pub/master
Joey Hess [Tue, 11 Nov 2008 02:47:29 +0000 (21:47 -0500)]
remove redundant link munge
This is not needed now that tagpage returns a page name starting with a
slash.
(Also fixes a minor bug that the edit links started with double slashes due
to the hack.)
Joey Hess [Tue, 11 Nov 2008 02:43:59 +0000 (21:43 -0500)]
typo
intrigeri [Tue, 11 Nov 2008 02:29:27 +0000 (03:29 +0100)]
Merge commit 'upstream/master' into pub/master
Joey Hess [Tue, 11 Nov 2008 00:49:37 +0000 (19:49 -0500)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Tue, 11 Nov 2008 00:48:58 +0000 (19:48 -0500)]
tag: Normalize tagbase so leading/trailing slashes in it don't break things.
Jon Dowland [Mon, 10 Nov 2008 23:38:45 +0000 (23:38 +0000)]
reply
Jon Dowland [Mon, 10 Nov 2008 23:35:00 +0000 (23:35 +0000)]
Merge branch 'master' of git://git.ikiwiki.info
Joey Hess [Mon, 10 Nov 2008 23:34:35 +0000 (18:34 -0500)]
response
Jon Dowland [Mon, 10 Nov 2008 23:34:09 +0000 (23:34 +0000)]
add discussion on this tip
http://alcopop.org/me/openid/ [Mon, 10 Nov 2008 23:30:08 +0000 (18:30 -0500)]
specifying the user in recentchanges for anon git pushes
Jon Dowland [Mon, 10 Nov 2008 23:24:22 +0000 (23:24 +0000)]
update my userpage (and try out git pushes)
Joey Hess [Mon, 10 Nov 2008 23:08:09 +0000 (18:08 -0500)]
add a robots.txt
Yahoo! has been pounding on ikiwiki.cgi again. While I'd prefer ikiwiki to
generate sites that avoided robots hitting it in other ways, I'm adding a
robots.txt, at least temporarily.
Joey Hess [Mon, 10 Nov 2008 23:05:30 +0000 (18:05 -0500)]
Add rel=nofollow to recentchanges_links for the same (weak) reasons it was earlier added to edit links.
Joey Hess [Mon, 10 Nov 2008 22:40:03 +0000 (17:40 -0500)]
reorg to avoid broken link in basewiki
ikiwiki/markdown is a basewiki page and shouldn't link to pages in tips.
Instead, make the tips link to it, so backlinks will point back to them.
While I'm at it, move the info about the emacs mode to a tip.
intrigeri [Mon, 10 Nov 2008 20:34:03 +0000 (21:34 +0100)]
Merge commit 'upstream/master' into pub/master
Joey Hess [Mon, 10 Nov 2008 18:30:20 +0000 (13:30 -0500)]
response
Joey Hess [Mon, 10 Nov 2008 18:19:22 +0000 (13:19 -0500)]
reorganize vim syntax highlighting info
There was already a tip about it; move the plasticboy version to there.
intrigeri [Mon, 10 Nov 2008 11:21:40 +0000 (12:21 +0100)]
Merge commit 'upstream/master' into pub/master
http://a1fie.livejournal.com/ [Mon, 10 Nov 2008 06:44:19 +0000 (01:44 -0500)]
vim syntax file linked
Joey Hess [Sun, 9 Nov 2008 20:31:57 +0000 (15:31 -0500)]
Fix the link() pagespec to match links that are internally recorded as absolute.
This fixes a problem exposed by the recent change to tags
(
a2839de9362187b67b0e3a564461e272e64fd9b4). That recorded tag links as
absolute by including a leading slash in the link. The same could also be
done with an absolute wikilink.
In either case, link() would not match such links, unless the leading slash
was included in the link to match. But that's not right, because pagespecs
match absolute by default. So strip the leading slash.
Note that to keep any existing `link(/foo)` pagespecs working after this
change, the leading slash is removed from there, too.
Joey Hess [Sat, 8 Nov 2008 17:35:28 +0000 (12:35 -0500)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
intrigeri [Sat, 8 Nov 2008 17:03:04 +0000 (18:03 +0100)]
Merge commit 'upstream/master' into pub/master
AlexandreDupas [Sat, 8 Nov 2008 16:28:25 +0000 (11:28 -0500)]
fix link to Jason Blevins user page
intrigeri [Sat, 8 Nov 2008 16:07:13 +0000 (17:07 +0100)]
Merge commit 'upstream/master' into pub/master
AlexandreDupas [Sat, 8 Nov 2008 16:04:27 +0000 (11:04 -0500)]
question about the format directive and relation with htmlize hooks
intrigeri [Fri, 7 Nov 2008 20:29:36 +0000 (21:29 +0100)]
Merge commit 'upstream/master' into pub/master
Joey Hess [Fri, 7 Nov 2008 17:22:01 +0000 (12:22 -0500)]
document wikistatedir, though it's still internal
http://josephturian.blogspot.com/ [Fri, 7 Nov 2008 16:21:04 +0000 (11:21 -0500)]
intrigeri [Fri, 7 Nov 2008 10:52:19 +0000 (11:52 +0100)]
Merge commit 'upstream/master' into pub/master
Joey Hess [Fri, 7 Nov 2008 01:49:52 +0000 (20:49 -0500)]
oops
Joey Hess [Fri, 7 Nov 2008 01:49:18 +0000 (20:49 -0500)]
txt: Do not encode quotes when filtering the txt, as that broke later parsing of any directives on the page.
Joey Hess [Thu, 6 Nov 2008 21:12:16 +0000 (16:12 -0500)]
response
Joey Hess [Thu, 6 Nov 2008 21:08:11 +0000 (16:08 -0500)]
meta: Plugin is now enabled by default since the basewiki uses it.
Joey Hess [Thu, 6 Nov 2008 21:05:23 +0000 (16:05 -0500)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Thu, 6 Nov 2008 21:05:10 +0000 (16:05 -0500)]
aggregate: Try to query XML::Feed for the base url when derelevatising links. Since this needs the just released XML::Feed 0.3, as well as a not yet released XML::RSS, it will fall back to the old method if no xml:base info is available.
http://josephturian.blogspot.com/ [Thu, 6 Nov 2008 20:52:27 +0000 (15:52 -0500)]
Joey Hess [Thu, 6 Nov 2008 18:56:41 +0000 (13:56 -0500)]
response
Joey Hess [Thu, 6 Nov 2008 18:51:01 +0000 (13:51 -0500)]
response
intrigeri [Thu, 6 Nov 2008 15:30:49 +0000 (16:30 +0100)]
Merge branch 'pub/po' into pub/master
intrigeri [Thu, 6 Nov 2008 15:30:44 +0000 (16:30 +0100)]
Merge commit 'upstream/master' into pub/master
intrigeri [Thu, 6 Nov 2008 15:29:47 +0000 (16:29 +0100)]
Merge commit 'upstream/master' into pub/master
intrigeri [Thu, 6 Nov 2008 15:10:33 +0000 (16:10 +0100)]
po: misc responses to Joey
Signed-off-by: intrigeri <intrigeri@boum.org>
http://alcopop.org/me/openid/ [Thu, 6 Nov 2008 15:17:18 +0000 (10:17 -0500)]
intrigeri [Thu, 6 Nov 2008 14:54:55 +0000 (15:54 +0100)]
po: redesign (once more) automatic POT/PO files update
Now use the change hook to update these files, check them into VCS, and trigger
IkiWiki::refresh as needed. The needsbuild hook's help was required to prevent
infinite looping.
This more rigorous way of doing this fixes recentchanges (that was previously
not updated in some cases), and probably is a better long-term solution than the
two previously tested ones.
Signed-off-by: intrigeri <intrigeri@boum.org>
http://mjr.towers.org.uk/ [Thu, 6 Nov 2008 14:27:47 +0000 (09:27 -0500)]
New bug report
intrigeri [Thu, 6 Nov 2008 13:21:31 +0000 (14:21 +0100)]
po: doc/todo update
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 6 Nov 2008 13:17:33 +0000 (14:17 +0100)]
po: use prep_writefile before creating any files in refreshpot and refreshpo
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 6 Nov 2008 13:12:05 +0000 (14:12 +0100)]
po: reported parentlinks misbehaviour in special case
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 6 Nov 2008 13:08:33 +0000 (14:08 +0100)]
po: syntax warning fix
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 6 Nov 2008 12:55:03 +0000 (13:55 +0100)]
po: fixed whitespace
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 6 Nov 2008 12:47:09 +0000 (13:47 +0100)]
po: po_link_to is safe, and fallbacks to a working value if needed
warnings are displayed if it is set to an invalid or incompatible value
(e.g. po_link_to=negotiated and disabled usedirs)
Signed-off-by: intrigeri <intrigeri@boum.org>
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>
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>
intrigeri [Thu, 6 Nov 2008 12:01:33 +0000 (13:01 +0100)]
po: added license and copyright
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 6 Nov 2008 11:37:57 +0000 (12:37 +0100)]
Merge commit 'upstream/master' into pub/master
intrigeri [Thu, 6 Nov 2008 11:34:47 +0000 (12:34 +0100)]
po: response
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 6 Nov 2008 11:32:41 +0000 (12:32 +0100)]
Merge commit 'upstream/master' 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>
intrigeri [Thu, 6 Nov 2008 11:02:55 +0000 (12:02 +0100)]
Merge commit 'upstream/master' into pub/master
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.
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.
Joey Hess [Wed, 5 Nov 2008 20:09:04 +0000 (15:09 -0500)]
minor layout changes
Joey Hess [Wed, 5 Nov 2008 20:02:22 +0000 (15:02 -0500)]
need license
Joey Hess [Wed, 5 Nov 2008 19:58:35 +0000 (14:58 -0500)]
response
Joey Hess [Wed, 5 Nov 2008 19:47:50 +0000 (14:47 -0500)]
fixed one security problem, two more need review
Joey Hess [Wed, 5 Nov 2008 19:45:45 +0000 (14:45 -0500)]
avoid hitting the shell with system()
Joey Hess [Wed, 5 Nov 2008 19:35:41 +0000 (14:35 -0500)]
response
Joey Hess [Wed, 5 Nov 2008 19:33:35 +0000 (14:33 -0500)]
comments and questions
Joey Hess [Wed, 5 Nov 2008 19:22:02 +0000 (14:22 -0500)]
minor wording improvements/changes
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
Joey Hess [Wed, 5 Nov 2008 18:55:32 +0000 (13:55 -0500)]
add a link to pages for enhanced pagespecs
Joey Hess [Wed, 5 Nov 2008 18:54:25 +0000 (13:54 -0500)]
suggest po4a for po plugin
Joey Hess [Wed, 5 Nov 2008 18:50:26 +0000 (13:50 -0500)]
Merge commit 'intrigeri/po'
Joey Hess [Wed, 5 Nov 2008 18:30:26 +0000 (13:30 -0500)]
response
Joey Hess [Wed, 5 Nov 2008 18:21:16 +0000 (13:21 -0500)]
add a more useful example of a relative date ;-)
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>
Joey Hess [Wed, 5 Nov 2008 06:38:36 +0000 (01:38 -0500)]
use error for two messages
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>
intrigeri [Tue, 4 Nov 2008 22:39:35 +0000 (23:39 +0100)]
Merge branch 'prv/po' into pub/po
intrigeri [Tue, 4 Nov 2008 22:39:15 +0000 (23:39 +0100)]
Merge commit 'upstream/master' into prv/po
intrigeri [Tue, 4 Nov 2008 22:37:51 +0000 (23:37 +0100)]
Merge commit 'upstream/master' into pub/master
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>
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>