Commit Graph

15085 Commits (3b8fc54717a2c094129278d82f79d36d286718b3)

Author SHA1 Message Date
https://www.google.com/accounts/o8/id?id=AItOawnMo1_nHs4bHqY86quWrM6MkeJlFMyZdj8 347902f4a4 2011-04-02 00:16:19 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnMo1_nHs4bHqY86quWrM6MkeJlFMyZdj8 133bfdbfc2 2011-04-02 00:15:07 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnMo1_nHs4bHqY86quWrM6MkeJlFMyZdj8 d88c69bcbf 2011-04-01 15:55:12 -04:00
Joey Hess 065b7e93c8 new bug 2011-04-01 11:49:48 -04:00
Joey Hess 02d30b1552 Merge remote-tracking branch 'levitte/master' 2011-03-30 14:12:14 -04:00
Joey Hess 5bdc7f4645 document fix I'm about to merge 2011-03-30 14:11:38 -04:00
Joey Hess fcc1ab53ff add levitte 2011-03-30 14:06:56 -04:00
Joey Hess b58db6f68c update 2011-03-30 11:51:01 -04:00
Joey Hess 21f3eb5bc0 fix 2011-03-30 11:32:47 -04:00
Joey Hess bb44bac175 look up avatar at comment post time
There is a tension between looking up the avatar at post time
and build time. I have not yet decided which is better.

Lookup at build time has the benefit that if a user changes their
email address, or sets up their own federated libravatar
server, on rebuild their new avatar will show up.

It also allows getting a https version of the avatar easily if
the site was using http but was changed to use https.

And it can look up avatars for posts that have already been made.
Which is a nice thing, especially as we roll this out, eh?

But it has a drawback, that it depends on the sessiondb contents
for emails and so rebuilding a site w/o that will lose info.

And, it means dns lookups every time a comment is rendered. A page
with a lot of comments on it would render them all whenever another is
posted or the page is changed, and that could significantly slow things
down. (This could be amelorated by caching the lookups.)

Since I'm undecided, I have moved it into a function that could be called
either way. Currently looking up only at post time.
2011-03-30 11:24:01 -04:00
Joey Hess 51e8a4eeda check site url for https
HTTPS won't be set when rebuilding a site at the command line
2011-03-30 11:00:55 -04:00
Richard Levitte 9b5a5c1823 * IkiWiki/Plugin/monotone.pm: monotone v0.48 has a small error that
affects rcs_getctime.  A small adjustment takes care of that.
2011-03-30 16:59:01 +02:00
Richard Levitte 83de1e4f1d * IkiWiki/Plugin/monotone.pm: implement rcs_getmtime 2011-03-30 16:56:15 +02:00
Joey Hess 5013e6b0bd update for libravatar support
* comments: Add avatar picture of comment author, using Libravatar::URL
  when available. The avatar is looked up based on  (Thanks, Francois Marier)
* Recommend libgravatar-url-perl, which contains Libravatar::URL.
2011-03-30 10:55:36 -04:00
Joey Hess f4262696ad robustness fix
Don't fail if libravatar fails for some reason. Reasons I can think
of:

* too old version to do openid lookups (fall back to email lookup)
* network problem perhaps
2011-03-30 10:54:24 -04:00
Joey Hess c8cf2d1ed7 indentation 2011-03-30 10:48:57 -04:00
Joey Hess ea166ca334 Merge remote-tracking branch 'remotes/fmarier/libravatar-in-comments' 2011-03-30 10:44:38 -04:00
Joey Hess 080a4cb579 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2011-03-30 10:36:46 -04:00
Joey Hess 5a6553a300 add fmarier's repo 2011-03-30 10:36:01 -04:00
Francois Marier e2e1b1cd20 comments: add OpenID-based avatars (libravatar.org)
This requires version 1.04 or later of Libravatar::URL.
2011-03-30 20:59:18 +13:00
Francois Marier 83056abb87 comments: serve avatars over https in https wikis 2011-03-30 20:59:17 +13:00
Francois Marier 7723e94218 comments: add avatar picture of comment author
Use Libravatar::URL to pull the avatar picture for the comment
author if we have an email address for him/her.
2011-03-30 20:59:17 +13:00
intrigeri 3e5197c967 Reply. 2011-03-29 11:23:01 +02:00
intrigeri 4a61258caf Ping. 2011-03-29 11:23:01 +02:00
intrigeri 8909e7ed69 Fixed upstream => done. 2011-03-29 11:23:01 +02:00
intrigeri a2463a58fb Cannot reproduce. Joey, more info please? 2011-03-29 11:23:01 +02:00
intrigeri 9bdd9bc4d4 Need more info. 2011-03-29 11:23:01 +02:00
Joey Hess 0204dabccf CVE assigned 2011-03-28 19:10:08 -04:00
Joey Hess 116672d7d7 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2011-03-28 13:09:14 -04:00
Joey Hess e548b0c245 changelog 2011-03-28 13:09:03 -04:00
Giuseppe Bilotta 7e7dea078b meta plugin: script support
(cherry picked from commit 44c5b27f88fdbfb4fdd061f600039e490eaeff92)
2011-03-28 13:08:20 -04:00
Giuseppe Bilotta 144540f546 use real name 2011-03-28 19:00:25 +02:00
Joey Hess 370767bd1f severity analysis update 2011-03-28 12:56:20 -04:00
Joey Hess 81abc4adfe yaml is needed as a build dep now 2011-03-28 12:49:24 -04:00
Joey Hess eddfc5bf47 alt stylesheets will not be showing up in browser
To show them securely, I'd have to lock the css_market page, and
disable scrubbing of the page. Don't want to do that.
2011-03-28 12:44:33 -04:00
Joey Hess 7bc87c8b92 add news item for ikiwiki 3.20110328 2011-03-28 12:31:40 -04:00
Joey Hess 232c8a6dfc releasing version 3.20110328 2011-03-28 12:30:57 -04:00
Joey Hess be02a80b7a meta: Security fix; don't allow alternative stylesheets to be added on pages where the htmlscrubber is enabled. 2011-03-28 12:21:12 -04:00
Joey Hess a0e31f38d5 comment: Better fix to avoid showing comments of subpages, while not breaking manual inlining of comments. 2011-03-28 11:53:55 -04:00
Joey Hess 6908406989 Revert "comment: Don't show comments of subpages on parent pages. (Fixes bug introduced in version 3.20100505.)"
This reverts commit b34d31142b.

This was the wrong approach. It broke inlining of comment(*) on eg, a
toplevel comment page.
2011-03-28 11:42:21 -04:00
tschwinge 32b704aee6 Create page. 2011-03-28 09:14:05 +00:00
Joey Hess 9df8971e57 Yaml formatted setup files are now produced by default
This has been a while coming. It turns out that non-excutable setup files
have a number of benefits. Also, I find YAML setup files easier to edit
myself, and I suspect many users will prefer not needing to deal with
perl syntax.
2011-03-24 21:30:18 -04:00
Joey Hess 7821965ef0 fix targetpage replacement to support 3 argument form
Oddly, this hadn't caused any visible breakage. Possibly inline,
which is the only thing to use targetpage, resolves the function
to the "real" one before po gets loaded?
2011-03-24 19:44:32 -04:00
Joey Hess f39d02583a avoid stomping on inline's rootpage sub if it's not already present
If the inline plugin is not being loaded, or is perhaps loaded after po
(when IkiWiki::Setup::getsetup loads all the plugins, for example),
po should not inject its custom rootpage sub, as that will lead to a
redefinition error message when inline loads.
2011-03-24 17:55:03 -04:00
Joey Hess 9f7f128090 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2011-03-24 13:37:40 -04:00
Joey Hess 78c750f2d2 Add timezone setting in setup file. This alows time zone to be configured via the web. 2011-03-24 13:36:16 -04:00
http://smcv.pseudorandom.co.uk/ 8a8277faf8 in practice this is enabled by default, because recentchanges uses it 2011-03-24 16:10:43 +00:00
http://smcv.pseudorandom.co.uk/ a8743f7987 this was merged, fix cross-references to other plugins 2011-03-24 16:07:16 +00:00
http://smcv.pseudorandom.co.uk/ 36e258203c rename plugins/contrib/transient.mdwn to plugins/transient.mdwn 2011-03-24 16:05:13 +00:00
Jörg Sommer f787c254fa ikiwiki manual: fix a little spelling mistake 2011-03-23 17:57:11 +01:00