Adds user-specific icons to the Trac timeline view.
Project description
Notes
Adds user-specific icons to the timeline view.
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