ikiwiki/IkiWiki/Plugin
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
..
404.pm add missing getsetup hook 2010-07-13 15:23:44 -04:00
aggregate.pm fix var name 2011-03-21 16:40:11 -04:00
amazon_s3.pm setup file ordering 2010-02-12 06:35:52 -05:00
anonok.pm Group related plugins into sections in the setup file, and drop unused rcs plugins from the setup file. 2010-02-11 22:24:15 -05:00
attachment.pm remove second parameter to include_javascript 2011-01-02 18:33:05 -04:00
autoindex.pm autoindex: default to autoindex_commit=1 as intended 2011-01-22 22:37:46 +00:00
blogspam.pm blogspam: Don't check modifications from admins for spam, and also allow the blogspam_pagespec to do other matches against who the user is. 2011-01-24 16:59:15 -04:00
brokenlinks.pm brokenlinks: use pagespec_match_list 2009-10-09 13:35:11 -04:00
bzr.pm Add a second parameter to the rcs_diff hook, and avoid bloating memory reading in enormous commits. 2010-12-29 19:58:49 -04:00
calendar.pm needsbuild hook interface changed; the hooks should now return the modified array of things that need built. (Backwards compatability code keeps plugins using the old interface working.) 2010-09-07 12:08:59 -04:00
camelcase.pm Avoid %links accumulating duplicates. (For TOVA) 2009-05-06 00:27:24 -04:00
color.pm remove unnecessary and troublesome filter calls 2010-07-04 15:06:48 -04:00
comments.pm look up avatar at comment post time 2011-03-30 11:24:01 -04:00
conditional.pm remove unnecessary and troublesome filter calls 2010-07-04 15:06:48 -04:00
creole.pm format plugin categorization 2010-02-12 01:10:36 -05:00
cutpaste.pm cutpaste: Fix bug that occured in some cases involving inlines when text was pasted on a page before being cut. 2010-09-15 16:24:50 -04:00
cvs.pm Add a second parameter to the rcs_diff hook, and avoid bloating memory reading in enormous commits. 2010-12-29 19:58:49 -04:00
darcs.pm darcs: Fix multiple issues preventing rcs_diff from working. 2011-03-02 12:39:58 -04:00
date.pm setup file ordering 2010-02-12 06:35:52 -05:00
ddate.pm finalise version 3.00 of the plugin api 2008-12-23 16:34:19 -05:00
editdiff.pm fix pagediff to not display as "preview" 2010-05-06 22:19:14 -04:00
editpage.pm editpage: Avoid inheriting internal page types. 2011-02-01 21:01:26 -04:00
edittemplate.pm edittemplate: Fix crash if using a .tmpl file or other non-page file as a template for a new page. 2010-11-20 14:54:43 -04:00
embed.pm finalise version 3.00 of the plugin api 2008-12-23 16:34:19 -05:00
external.pm 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. 2010-09-14 15:37:45 -04:00
favicon.pm finalise version 3.00 of the plugin api 2008-12-23 16:34:19 -05:00
filecheck.pm make use of precompiled regex objects 2010-11-20 00:02:49 +00:00
flattr.pm Revert "insert flattr javascript via sanitize, not format hook" 2010-08-12 18:18:35 -04:00
format.pm txt: Fix display when used inside a format directive. 2010-10-25 22:37:34 -04:00
fortune.pm setup file ordering 2010-02-12 06:35:52 -05:00
getsource.pm use cgitemplate, remove misctemplate 2011-01-05 17:15:38 -04:00
git.pm git: Fix bug involving attempting to web revert a commit that included changes to attachments. 2010-12-29 20:19:58 -04:00
goodstuff.pm repolist: New plugin to support the rel=vcs-* microformat. 2009-01-07 16:07:46 -05:00
google.pm Add placeholder text in search form (in html5 mode only). 2010-05-02 13:49:56 -04:00
goto.pm use cgitemplate, remove misctemplate 2011-01-05 17:15:38 -04:00
graphviz.pm Use Digest::SHA built into perl rather than external Digest::SHA1 to simplify dependencies. Closes: #591040 2010-07-31 15:54:25 -04:00
haiku.pm setup file ordering 2010-02-12 06:35:52 -05:00
highlight.pm Update highlight plugin for highlight api. 2010-12-29 13:05:20 -04:00
hnb.pm hnb: Fixed broken use of mkstemp that had caused dangling temp files, and prevented actually rendering hnb files. 2010-06-27 13:49:51 -04:00
html.pm format plugin categorization 2010-02-12 01:10:36 -05:00
htmlbalance.pm htmlbalance: be compatible with HTML::Tree 4.0 2010-09-26 22:33:54 +01:00
htmlscrubber.pm 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. 2010-11-12 00:00:54 -04:00
htmltidy.pm htmltidy: Avoid breaking the sidebar when websetup is running. 2011-02-03 12:49:13 -04:00
httpauth.pm httpauth: Avoid redirecting the user to the cgiauthurl if they already have a login session. 2010-08-30 18:33:00 -04:00
img.pm use one-parameter form of urlto 2010-11-29 15:07:26 -04:00
inline.pm inline: allow assigning an id to postform/feedlink 2011-02-22 17:33:07 -04:00
link.pm bugfix: record email-like links as page links 2010-06-23 14:05:57 -04:00
linkmap.pm setup file ordering 2010-02-12 06:35:52 -05:00
listdirectives.pm needsbuild hook interface changed; the hooks should now return the modified array of things that need built. (Backwards compatability code keeps plugins using the old interface working.) 2010-09-07 12:08:59 -04:00
localstyle.pm localstyle: New plugin, allows overrding the toplevel local.css with one that is closer to a page. 2009-11-09 13:39:05 -05:00
lockedit.pm stop using REMOTE_ADDR 2010-06-23 16:35:51 -04:00
map.pm map: don't create useless </ul><ul> sequences 2011-02-09 14:39:28 -04:00
mdwn.pm format plugin categorization 2010-02-12 01:10:36 -05:00
mercurial.pm Add a second parameter to the rcs_diff hook, and avoid bloating memory reading in enormous commits. 2010-12-29 19:58:49 -04:00
meta.pm meta plugin: script support 2011-03-28 13:08:20 -04:00
mirrorlist.pm use a div, not a p .. and in html5, a nav 2010-05-02 14:41:20 -04:00
moderatedcomments.pm stop using REMOTE_ADDR 2010-06-23 16:35:51 -04:00
monotone.pm Add a second parameter to the rcs_diff hook, and avoid bloating memory reading in enormous commits. 2010-12-29 19:58:49 -04:00
more.pm more: Add pages parameter to limit where the more is displayed. (thanks, dark) 2010-11-16 15:00:04 -04:00
norcs.pm Add a second parameter to the rcs_diff hook, and avoid bloating memory reading in enormous commits. 2010-12-29 19:58:49 -04:00
opendiscussion.pm Group related plugins into sections in the setup file, and drop unused rcs plugins from the setup file. 2010-02-11 22:24:15 -05:00
openid.pm use cgitemplate, remove misctemplate 2011-01-05 17:15:38 -04:00
orphans.pm setup file ordering 2010-02-12 06:35:52 -05:00
otl.pm format plugin categorization 2010-02-12 01:10:36 -05:00
pagecount.pm setup file ordering 2010-02-12 06:35:52 -05:00
pagestats.pm typo 2010-04-15 14:45:03 -04:00
pagetemplate.pm finalise version 3.00 of the plugin api 2008-12-23 16:34:19 -05:00
parentlinks.pm indent 2010-12-25 13:23:23 -04:00
passwordauth.pm stop using REMOTE_ADDR 2010-06-23 16:35:51 -04:00
pingee.pm setup file ordering 2010-02-12 06:35:52 -05:00
pinger.pm pinger: avoid pinging our own local path, too 2010-11-23 23:14:38 +00:00
po.pm fix targetpage replacement to support 3 argument form 2011-03-24 19:44:32 -04:00
poll.pm use one-parameter form of urlto 2010-11-29 15:07:26 -04:00
polygen.pm setup file ordering 2010-02-12 06:35:52 -05:00
postsparkline.pm setup file ordering 2010-02-12 06:35:52 -05:00
prettydate.pm typo 2009-07-01 13:45:28 -04:00
progress.pm setup file ordering 2010-02-12 06:35:52 -05:00
rawhtml.pm format plugin categorization 2010-02-12 01:10:36 -05:00
recentchanges.pm Only unlink excess recentchanges from srcdir if not in transientdir 2011-01-07 20:13:01 +00:00
recentchangesdiff.pm Add a second parameter to the rcs_diff hook, and avoid bloating memory reading in enormous commits. 2010-12-29 19:58:49 -04:00
relativedate.pm Use local paths when including Javascript 2010-11-23 00:06:07 +00:00
remove.pm use one-parameter form of urlto 2010-11-29 15:07:26 -04:00
rename.pm rename: Fix crash when renaming a page that is linked to by a page in an underlay. 2011-01-22 10:20:38 -04:00
repolist.pm add section information 2010-02-12 04:22:15 -05:00
rsync.pm setup file ordering 2010-02-12 06:35:52 -05:00
search.pm use cgitemplate, remove misctemplate 2011-01-05 17:15:38 -04:00
shortcut.pm setup file ordering 2010-02-12 06:35:52 -05:00
sidebar.pm Revert po vs. template kludges. 2010-07-11 11:03:41 +02:00
signinedit.pm Group related plugins into sections in the setup file, and drop unused rcs plugins from the setup file. 2010-02-11 22:24:15 -05:00
skeleton.pm.example needsbuild hook interface changed; the hooks should now return the modified array of things that need built. (Backwards compatability code keeps plugins using the old interface working.) 2010-09-07 12:08:59 -04:00
smiley.pm smiley: warn instead of error for missing smileys 2010-08-13 17:58:21 -04:00
sortnaturally.pm Added missing registration of checkconfig hook. 2010-10-31 10:12:01 -04:00
sparkline.pm Use Digest::SHA built into perl rather than external Digest::SHA1 to simplify dependencies. Closes: #591040 2010-07-31 15:54:25 -04:00
svn.pm Add a second parameter to the rcs_diff hook, and avoid bloating memory reading in enormous commits. 2010-12-29 19:58:49 -04:00
table.pm call preprocess in scan mode hooks before scan hooks 2010-08-30 15:06:58 -04:00
tag.pm tag: default to tag_autocreate_commit=1 as intended 2011-01-07 20:11:38 +00:00
template.pm template_depends: throw nice error message when template cannot be found 2010-09-27 15:58:01 -04:00
testpagespec.pm setup file ordering 2010-02-12 06:35:52 -05:00
teximg.pm teximg: Use `\[` and `\]` instead of not recommended `$$`. 2010-12-26 14:46:29 -04:00
textile.pm format plugin categorization 2010-02-12 01:10:36 -05:00
theme.pm needsbuild hook interface changed; the hooks should now return the modified array of things that need built. (Backwards compatability code keeps plugins using the old interface working.) 2010-09-07 12:08:59 -04:00
tla.pm rcs_commit and rcs_commit_staged api changes 2010-06-23 19:04:36 -04:00
toc.pm setup file ordering 2010-02-12 06:35:52 -05:00
toggle.pm Use local paths when including Javascript 2010-11-23 00:06:07 +00:00
transient.pm avoid uninitialized value warning when running -dumpsetup 2011-02-25 17:32:36 -04:00
txt.pm txt: Fix display when used inside a format directive. 2010-10-25 22:37:34 -04:00
typography.pm remove unnecessary IkiWiki:: 2010-02-12 04:01:04 -05:00
underlay.pm remove add_templates option 2010-04-22 14:35:00 -04:00
version.pm needsbuild hook interface changed; the hooks should now return the modified array of things that need built. (Backwards compatability code keeps plugins using the old interface working.) 2010-09-07 12:08:59 -04:00
websetup.pm use cgitemplate, remove misctemplate 2011-01-05 17:15:38 -04:00
wikitext.pm format plugin categorization 2010-02-12 01:10:36 -05:00
wmd.pm Use local paths when including Javascript 2010-11-23 00:06:07 +00:00