Joey Hess [Fri, 12 Nov 2010 06:06:21 +0000 (02:06 -0400)]
comments: Make postcomment() pagespec work when previewing a comment.
(cherry picked from commit
78de33d2eaf8a187b610685f70e60b7d5946374f)
Conflicts:
debian/changelog
Joey Hess [Fri, 12 Nov 2010 06:05:09 +0000 (02:05 -0400)]
Fix htmlscrubber_skip to be matched on the source page, not the page it is inlined into. Should allow setting to "* and !comment(*)" to scrub comments, but leave your blog posts unscrubbed, etc.
(cherry picked from commit
289b30a47d548326aad9c1dc5252fc0269494c87)
Conflicts:
debian/changelog
Joey Hess [Fri, 12 Nov 2010 06:03:47 +0000 (02:03 -0400)]
Set isPermaLink="no" for guids in rss feeds.
The rss spec says that unless the attribute is set, guid elements *are*
permalinks. The problem with that is that if [[meta permalink=]] is used,
as is done with aggregated posts, that goes into the link element, and
apparently some rss readers prefer the not-really-permalink in the guid
element when linking to the post.
Without meta permalink, the link and guid elements have the same content,
so it should be ok, in that case too for the guid to not be a permalink.
(Checked and this does not flood aggregators.)
(cherry picked from commit
894d09ba9482dd53448986f487ca0f372083fee4)
Conflicts:
debian/changelog
Joey Hess [Wed, 29 Sep 2010 15:58:45 +0000 (11:58 -0400)]
Fix test suite failure on other side of date line.
(cherry picked from commit
2df92a956af2ed6b4ac3c2c3de01c56bb08e2368)
Joey Hess [Fri, 12 Nov 2010 05:55:11 +0000 (01:55 -0400)]
websetup: Fix defaults of checkboxes in advanced mode.
So formbuilder has an annoying glitch, that setting the value of a
checkbox, even without force, will override the value currently on the
form. Thus the guards against changing checkbox values when a form has been
submitted.
But those guards also prevented the checkboxes for advanced items getting
the right value when going into advanced mode.
Note that if the user makes changes to advanced mode stuff and leaves
advanced mode, those changes are lost. That seems reasonable so I didn't
change it -- and it made this fix simple.
(cherry picked from commit
cfbd272c8bdbb96b6e92449f4d940fb2b72aa651)
Conflicts:
debian/changelog
Joey Hess [Fri, 12 Nov 2010 05:54:29 +0000 (01:54 -0400)]
websetup: Fix saving of advanced mode changes.
The showadvanced field was not known to formbuilder when hitting the save
changes button.
(cherry picked from commit
274219ecc865f9bdcb65ad26e4750fa90dfaa670)
Conflicts:
debian/changelog
Craig Lennox [Sat, 30 Oct 2010 16:34:00 +0000 (12:34 -0400)]
Added missing registration of checkconfig hook.
(cherry picked from commit
cf2e3cb7d9d825ec2e517acdbc61e2502b5a87df)
Joey Hess [Fri, 12 Nov 2010 05:46:30 +0000 (01:46 -0400)]
external: Disable RPC::XML's "smart" encoding, which sent ints for strings that contained only a number, fixing a longstanding crash of the rst plugin.
(cherry picked from commit
0ff945ddf19010b890458face057505f7b48b572)
Conflicts:
debian/changelog
Joey Hess [Fri, 12 Nov 2010 05:44:00 +0000 (01:44 -0400)]
blogspam: Fix crash when content contained utf-8.
I also tried setting RPC::XML::ENCODING but that did not prevent the crash,
and it seems that blogspam.net doesn't like getting xml encoded in unicode,
since it mis-flagged comments as spammy that way that are normally allowed
through.
(cherry picked from commit
e0898ae1a8e64a12c4e47b3f922d6cf1fad4f31c)
Conflicts:
debian/changelog
doc/bugs/blog_spam_plugin_not_allowing_non-ASCII_chars__63__.mdwn
Joey Hess [Fri, 12 Nov 2010 05:40:42 +0000 (01:40 -0400)]
openid: Syntax tweak to the javascript code to make it work with MSIE 7 (and MSIE 8 in compat mode). Thanks to Iain McLaren for reporting the bug and providing access to debug it.
(cherry picked from commit
9744c11f806cc72436b1d7b813fc194136e60db0)
Conflicts:
debian/changelog
Joey Hess [Sun, 15 Aug 2010 15:58:00 +0000 (11:58 -0400)]
add news item for ikiwiki 3.
20100815
Joey Hess [Sun, 15 Aug 2010 15:53:37 +0000 (11:53 -0400)]
releasing version 3.
20100815
Joey Hess [Sun, 15 Aug 2010 15:43:21 +0000 (11:43 -0400)]
Fix po test suite to not assume ikiwiki's underlay is already installed. Closes: #593047
(cherry picked from commit
5664401fbcd0694539ec8274d2df11b3e5db1e48)
Joey Hess [Wed, 4 Aug 2010 13:26:43 +0000 (09:26 -0400)]
releasing version 3.
20100804
Joey Hess [Wed, 4 Aug 2010 12:24:47 +0000 (08:24 -0400)]
Fixes a bug that prevented matching deleted pages when using the page() PageSpec.
Joey Hess [Wed, 4 Aug 2010 12:09:11 +0000 (08:09 -0400)]
bug isolated
Joey Hess [Mon, 2 Aug 2010 18:37:02 +0000 (14:37 -0400)]
resp
http://liw.fi/ [Mon, 2 Aug 2010 18:35:07 +0000 (18:35 +0000)]
intrigeri [Mon, 2 Aug 2010 14:00:37 +0000 (16:00 +0200)]
explored possible ways to do it, got trapped.
intrigeri [Mon, 2 Aug 2010 13:14:33 +0000 (15:14 +0200)]
both are now fixed in my po branch.
intrigeri [Mon, 2 Aug 2010 01:23:30 +0000 (03:23 +0200)]
ack²
Joey Hess [Sun, 1 Aug 2010 16:36:44 +0000 (12:36 -0400)]
comment
Joey Hess [Sun, 1 Aug 2010 16:25:35 +0000 (12:25 -0400)]
response
Joey Hess [Sun, 1 Aug 2010 16:22:27 +0000 (12:22 -0400)]
pot files maybe..
Joey Hess [Sun, 1 Aug 2010 16:18:57 +0000 (12:18 -0400)]
close, cannot reproduce
Joey Hess [Sat, 31 Jul 2010 19:55:31 +0000 (15:55 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Sat, 31 Jul 2010 19:54:25 +0000 (15:54 -0400)]
Use Digest::SHA built into perl rather than external Digest::SHA1 to simplify dependencies. Closes: #591040
intrigeri [Fri, 30 Jul 2010 14:19:50 +0000 (16:19 +0200)]
eventually got rid of the double rebuild issue. please have a look.
intrigeri [Fri, 30 Jul 2010 11:15:33 +0000 (13:15 +0200)]
resubmitted patch to po4a upstream
intrigeri [Fri, 30 Jul 2010 10:55:28 +0000 (12:55 +0200)]
fixed by the last po4a release
intrigeri [Thu, 29 Jul 2010 14:37:17 +0000 (16:37 +0200)]
todo++
intrigeri [Thu, 29 Jul 2010 14:34:57 +0000 (16:34 +0200)]
fixed broken link
intrigeri [Thu, 29 Jul 2010 14:33:57 +0000 (16:33 +0200)]
remove spurious map directive
intrigeri [Thu, 29 Jul 2010 14:32:56 +0000 (16:32 +0200)]
Move po todo/bugs to dedicated pages.
intrigeri [Thu, 29 Jul 2010 14:18:59 +0000 (16:18 +0200)]
found the root cause of the "bug"
http://kerravonsen.dreamwidth.org/ [Thu, 29 Jul 2010 02:47:26 +0000 (02:47 +0000)]
what approach to take for pagination?
intrigeri [Wed, 28 Jul 2010 18:07:44 +0000 (20:07 +0200)]
todo++ (?)
intrigeri [Wed, 28 Jul 2010 17:48:40 +0000 (19:48 +0200)]
researched a bit the next po bug
intrigeri [Wed, 28 Jul 2010 17:23:24 +0000 (19:23 +0200)]
currently unreproducible
intrigeri [Wed, 28 Jul 2010 17:13:57 +0000 (19:13 +0200)]
reply
intrigeri [Wed, 28 Jul 2010 17:08:47 +0000 (19:08 +0200)]
po todo update: this has been fixed already.
Joey Hess [Mon, 26 Jul 2010 21:53:06 +0000 (17:53 -0400)]
remove debug code
Joey Hess [Mon, 26 Jul 2010 20:24:17 +0000 (16:24 -0400)]
Add new disable hook, allowing plugins to perform cleanup after they have been disabled.
Joey Hess [Mon, 26 Jul 2010 20:23:10 +0000 (16:23 -0400)]
use new disable hook
clean up xapian db when plugin is disabled
Joey Hess [Mon, 26 Jul 2010 17:30:45 +0000 (13:30 -0400)]
avoid generating receive wrapper if there are no untrusted committers
The wrapper is pointless in that configuration. Also, the code for it
doesn't compile w/o untrusted commiters to test. :)
Joey Hess [Mon, 26 Jul 2010 00:18:02 +0000 (20:18 -0400)]
meta: Allow syntax closer to html meta to be used.
The idea here is that <meta name="foo" description="bar">
can be written like [[!meta name="foo" description="bar">.
Of course, [[!meta foo=bar]] is still supported; this new feature
provides some DWIM when trying to directly convert a meta tag into
a meta directive.
Joey Hess [Sun, 25 Jul 2010 17:09:12 +0000 (13:09 -0400)]
Revert refactment
Joey Hess [Sun, 25 Jul 2010 17:07:30 +0000 (13:07 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Sat, 24 Jul 2010 21:34:19 +0000 (17:34 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Sat, 24 Jul 2010 21:33:59 +0000 (17:33 -0400)]
move wrapper building loop into Wrapper.pm
http://sirireiter.dk/ [Sat, 24 Jul 2010 20:14:11 +0000 (20:14 +0000)]
Single escape (not double escape) square bracket.
Joey Hess [Sat, 24 Jul 2010 10:18:19 +0000 (06:18 -0400)]
git: Fix gitweb historyurl examples so "diff to current" links work. (Thanks jrayhawk)
Joey Hess [Sat, 24 Jul 2010 09:23:52 +0000 (05:23 -0400)]
response
Joey Hess [Sat, 24 Jul 2010 09:22:33 +0000 (05:22 -0400)]
Merge remote branch 'intrigeri/po'
Joey Hess [Sat, 24 Jul 2010 09:22:20 +0000 (05:22 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
intrigeri [Sat, 24 Jul 2010 09:19:28 +0000 (11:19 +0200)]
Merge remote branch 'upstream/master' into prv/po
intrigeri [Sat, 24 Jul 2010 09:18:57 +0000 (11:18 +0200)]
answering joey
Joey Hess [Fri, 23 Jul 2010 18:30:15 +0000 (14:30 -0400)]
whitespace
Joey Hess [Fri, 23 Jul 2010 18:29:17 +0000 (14:29 -0400)]
merged; notes
Joey Hess [Fri, 23 Jul 2010 18:26:57 +0000 (14:26 -0400)]
whitespace fixes and a typo
Joey Hess [Fri, 23 Jul 2010 18:24:48 +0000 (14:24 -0400)]
Joey Hess [Fri, 23 Jul 2010 18:22:18 +0000 (14:22 -0400)]
html
Joey Hess [Fri, 23 Jul 2010 18:19:54 +0000 (14:19 -0400)]
html
Joey Hess [Fri, 23 Jul 2010 18:16:22 +0000 (14:16 -0400)]
html
Joey Hess [Fri, 23 Jul 2010 18:15:18 +0000 (14:15 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Fri, 23 Jul 2010 18:14:25 +0000 (14:14 -0400)]
template: Fix dependency tracking. Broken in version 3.
20100427.
template_depends was adding a dependency on the source filename,
instead of on the page name when a template is a page. Such a
dependency doesn't work.
intrigeri [Tue, 20 Jul 2010 11:48:37 +0000 (13:48 +0200)]
Implemented, please merge.
intrigeri [Mon, 19 Jul 2010 23:49:48 +0000 (01:49 +0200)]
todo update
Joey Hess [Fri, 23 Jul 2010 17:24:15 +0000 (13:24 -0400)]
add tipjar link to sidebar
and flattr button, as an experiment
Joey Hess [Fri, 23 Jul 2010 16:49:34 +0000 (12:49 -0400)]
add flattr button
Joey Hess [Thu, 22 Jul 2010 20:59:40 +0000 (16:59 -0400)]
add news item for ikiwiki 3.
20100722
Joey Hess [Thu, 22 Jul 2010 20:59:11 +0000 (16:59 -0400)]
releasing version 3.
20100722
Joey Hess [Thu, 22 Jul 2010 20:48:38 +0000 (16:48 -0400)]
merge translation updates from l10n site
Joey Hess [Thu, 22 Jul 2010 19:02:04 +0000 (15:02 -0400)]
Avoid showing 'Add a comment' link at the bottom of the comment post form.
Since misctemplate is called with a page context, the comments plugin
thinks it should add that, as well as the comment link in the actionbar.
I kept the comment link because a quick link back to the comments to a page
is sorta useful.
intrigeri [Tue, 20 Jul 2010 11:40:34 +0000 (13:40 +0200)]
po.t: fix expected results
As index.{es,fr} don't exist, po::refreshpofiles copies them from the basewiki
underlay before running msgmerge. msgmerge marks as obsolete the translation
strings that came from the basewiki po files, but the link plugin
does not make the difference between obsolete and up-to-date links.
$links{'index.fr'} and $links{'index.es'} are therefore expected to contain
SandBox and ikiwiki.
intrigeri [Tue, 20 Jul 2010 11:39:47 +0000 (13:39 +0200)]
Added tests for po::pofiles.
intrigeri [Tue, 20 Jul 2010 11:24:25 +0000 (13:24 +0200)]
Run checkconfig after loading the po plugin, else state is not populated.
The pofiles function relies on @slavelanguages to have been populated by po's
checkconfig hook.
intrigeri [Tue, 20 Jul 2010 00:26:23 +0000 (02:26 +0200)]
po: optimization
No need to use "keys %{$config{po_slave_languages}}" repeatedly:
the slave languages codes list is already cached in @slavelanguages.
intrigeri [Tue, 20 Jul 2010 00:25:17 +0000 (02:25 +0200)]
Support ordered po_slave_languages as discussed previously.
Backward compatibility is still supported.
http://jeremiahfoster.com/ [Mon, 19 Jul 2010 09:16:32 +0000 (09:16 +0000)]
http://jeremiahfoster.com/ [Mon, 19 Jul 2010 09:16:09 +0000 (09:16 +0000)]
http://jeremiahfoster.com/ [Mon, 19 Jul 2010 09:15:30 +0000 (09:15 +0000)]
Added example
http://jeremiahfoster.com/ [Mon, 19 Jul 2010 09:12:39 +0000 (09:12 +0000)]
Added second question.
Javier Rojas [Mon, 19 Jul 2010 06:14:47 +0000 (01:14 -0500)]
typo
Javier Rojas [Mon, 19 Jul 2010 06:11:28 +0000 (01:11 -0500)]
Merge branch 'master' of git://git.ikiwiki.info
Javier Rojas [Mon, 19 Jul 2010 06:11:22 +0000 (01:11 -0500)]
new syntax file for ikiwiki files in vim
http://weakish.myopenid.com/ [Mon, 19 Jul 2010 04:33:37 +0000 (04:33 +0000)]
fix link syntax
http://weakish.myopenid.com/ [Mon, 19 Jul 2010 04:31:08 +0000 (04:31 +0000)]
link to 404 plugin
http://weakish.myopenid.com/ [Mon, 19 Jul 2010 04:28:55 +0000 (04:28 +0000)]
remove lighttpd doc: lighttpd send 200 to dynamic error pages. Thus this plugin doesn't work with it w/o modification.
http://weakish.myopenid.com/ [Mon, 19 Jul 2010 04:24:15 +0000 (04:24 +0000)]
update url
Joey Hess [Mon, 19 Jul 2010 00:03:04 +0000 (20:03 -0400)]
Revert "po_slave_languages can now be a hash, if order matters."
This reverts commit
4cf185e781a5f94373b30ec9a0e10dfb626b6d86.
That commit broke t/po.t (probably the test case only is testing too
close the the old implementation and needs correcting).
Also, we have not decided how to want to represent it yet, so I'm not
ready for this change.
Conflicts:
IkiWiki/Plugin/po.pm
doc/plugins/po.mdwn
Joey Hess [Sun, 18 Jul 2010 23:43:25 +0000 (19:43 -0400)]
merge fix for selflink po problem
Joey Hess [Sun, 18 Jul 2010 23:42:06 +0000 (19:42 -0400)]
response on po_slave_languages structure
Joey Hess [Sun, 18 Jul 2010 23:37:14 +0000 (19:37 -0400)]
typo
Joey Hess [Sun, 18 Jul 2010 23:35:16 +0000 (19:35 -0400)]
Merge remote branch 'intrigeri/po'
Joey Hess [Sun, 18 Jul 2010 23:33:10 +0000 (19:33 -0400)]
noticed a bug in the po plugin
(I should probably put this in bugs/, but I am not sure if intregriti
watches there..)