wiki:HackergotchiPlugin

Adds user-specific icons to the timeline view

Notice: This plugin is unmaintained and available for adoption.

Description

Notes

Adds user-specific icons to the timeline view.

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

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.

defect

3 / 7

enhancement

0 / 3

Download

Download the zipped source from here.

The plugin is also available on PyPi.

Source

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

Installation

General instructions on installing Trac plugins can be found on the TracPlugins page.

Recent Changes

16756 by rjollos on 2017-08-25 18:48:36
TracHackergotchi 1.2: Run autopep8 on codebase
14558 by rjollos on 2015-04-22 17:39:09
Update link in README with new attachment format.
11248 by rjollos on 2012-02-05 09: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.

(more)

Author/Contributors

Author: coderanger
Maintainer: none (needsadoption)
Contributors:

Last modified 7 years ago Last modified on Aug 25, 2017, 6:41:01 PM

Attachments (1)

Download all attachments as: .zip