wiki:HackergotchiPlugin

Version 5 (modified by rjollos, 18 months ago) (diff)

Needs a maintainer.

Adds user-specific icons to the timeline view

Description

Notes

Adds user-specific icons to the timeline view.

http://trac-hacks.org/attachment/wiki/HackergotchiPlugin/hackergotchi.png?format=raw

Providers

Identicon

Locally generate identicons using the author information. This provider requires PIL to be installed.

Identicon implementation is courtesy of Shin Adachi.

Gravatar

Uses the Gravatar.com service to generate images.

Configuration

All configuration options go in the [hackergotchi] section.

providers : optional, default: GravatarHackergotchiProvider, IdenticonHackergotchiProvider
Order to try providers when looking for an image. Any providers enabled but not listed will be tried in a pseudo-random order.
gravatar_default : optional, default: identicon
Value to pass along to Gravatar to use if the email doesn't match anything. Valid values are identicon, monsterid, wavatar, or a URL to an image. In the first three cases, a icon will be procedurally generated.

To enable the plugin:

[components]
hackergotchi.* = enabled

Example

To never use the Gravatar provider:

[hackergotchi]
providers = IdenticonHackergotchiProvider

[components]
hackergotchi.* = enabled
hackergotchi.providers.GravatarHackergotchiProvider = disabled

Other plugins

The plugin SubscriberListPlugin uses the icons provided by this plugin.

Bugs/Feature Requests

Existing bugs and feature requests for HackergotchiPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out HackergotchiPlugin from here using Subversion, or browse the source with Trac.

Recent Changes

[11248] by rjollos on 2012-02-05 10:25:07
Fixes #6765: Attempt to fix "Cannot operate on a closed cursor." error by passing the db object rather than the cursor object to the subfunction. The assumption here is that the db object is going out of scope.

I wasn't able to reproduce the issue with Trac 0.11 in a development environment. Please report back if this fixes the issue for you.

[3692] by coderanger on 2008-05-17 03:22:01
setup.py changes.
[3691] by coderanger on 2008-05-17 03:16:51
Initial import.

Author/Contributors

Author: coderanger
Maintainer: none
Contributors:

Attachments (1)

Download all attachments as: .zip