diff options
Diffstat (limited to 'doc/todo')
-rw-r--r-- | doc/todo/avatar.mdwn | 40 | ||||
-rw-r--r-- | doc/todo/mirrorlist_with_per-mirror_usedirs_settings.mdwn | 11 |
2 files changed, 14 insertions, 37 deletions
diff --git a/doc/todo/avatar.mdwn b/doc/todo/avatar.mdwn index 91f924fa1..7fa3762da 100644 --- a/doc/todo/avatar.mdwn +++ b/doc/todo/avatar.mdwn @@ -3,6 +3,9 @@ It would be nice if ikiwiki, particularly [[plugins/comments]] (but also, ideally, recentchanges) supported user avatar icons. +> Update: Done for comments, but not for anything else, and the directive +> below would be a nice addition. --[[Joey]] + Idea is to add a directive that displays a small avatar image for a user. Pass it a user's the email address, openid, username, or the md5 hash of their email address: @@ -26,40 +29,3 @@ not have a gravatar, uses a cute auto-generated "wavatar" avatar. The `gravitar_options` setting in the setup file can be used to specify additional options to pass. So for example if you want to use wavatars everywhere, set it to "default=wavatar". - -The avatars are provided by various sites. For email addresses, it uses a -[gravatar](http://gravatar.com/). For a wiki username, the -user's email address is looked up and the gravatar for that user is -displayed. (Of course, the user has to have filled in their email address -on their Preferences page for that to work. Also, when the user changes -their email address in Preferences, the gravatar won't change until the -wiki is rebuilt.) - -For openid, openavatar sucked and is now dead. So we need to use an email -address instead, I guess. Problem is that the email address of a given -openid is only known when that user is logged in and making a change. -And we don't want to leak an openid user's email into a page either. -Hmm. Suppose the gravatar hash could be calculated from the email address -and embedded instead of the openid? That would work for comments, -but not if the directive were used elsewhere. - -Or, for openid, could use <http://paulisageek.com/openidavatar>. Which -works fine, but users are not likely to figure out what they need to do to -get an avatar associated with their openid. - ---- - -Alternative, not overdesigned approach: - -Modify comments plugin to have an option to display avatars. - -When posting a comment, fill in the avatarhash field in the template. -The hash is calculated from the user's email address. If the user's email -is not known, skip it. - -End. :P - ---- - -[libravatar](https://launchpad.net/libravatar) is a federated avatar -system. Young but might be the right way to get avatars eventually. diff --git a/doc/todo/mirrorlist_with_per-mirror_usedirs_settings.mdwn b/doc/todo/mirrorlist_with_per-mirror_usedirs_settings.mdwn index c164cf54a..baad063ef 100644 --- a/doc/todo/mirrorlist_with_per-mirror_usedirs_settings.mdwn +++ b/doc/todo/mirrorlist_with_per-mirror_usedirs_settings.mdwn @@ -77,9 +77,20 @@ and decided this time it was really needed to implement this feature. >>>>> rewrite warning) mirrorlist branch. Please review, please pull. >>>>> --[[intrigeri]] +>>>>>> Ping? I've merged 3.20110321 in my `mirrorlist` branch and +>>>>>> checked it still works properly. --[[intrigeri]] + >>>>> concerning goto/cgiurl, what about having that as the default in >>>>> mirrorlist, but keeping ``nousedirs|file:///home/intrigeri/wiki`` and >>>>> ``usedirs|http://example.com/wiki`` valid for cgi-less cases? >>>>> that would keep typical installation with a clutter-less configuration, >>>>> and support more individual setups too. >>>>> --[[chrysn]] + +>>>>>> I would not mind. On the other hand Joey was concerned about +>>>>>> cluttering the code to support edge cases, which I fully +>>>>>> understand. The case you (chrysn) are describing being even +>>>>>> more specific than the one I was initially talking of, I think +>>>>>> this should not block the merge of the branch I have been +>>>>>> proposing. Support for the usecase you are suggesting can +>>>>>> always be added later if needed. --[[intrigeri]] |