Skip to main content

Adds user-specific icons to the Trac timeline view.

Project 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.

providersoptional, 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_defaultoptional, 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

TracHackergotchi-1.2.tar.gz (6.7 kB view hashes)

Uploaded Source

Built Distribution

TracHackergotchi-1.2-py2-none-any.whl (10.2 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page