|
Last change
on this file was
14558,
checked in by Ryan J Ollos, 8 years ago
|
|
Update link in README with new attachment format.
|
-
Property svn:mime-type set to
text/x-rst
|
|
File size:
1.5 KB
|
| Rev | Line | |
|---|
| [3691] | 1 | Notes |
|---|
| 2 | ===== |
|---|
| 3 | Adds user-specific icons to the timeline view. |
|---|
| 4 | |
|---|
| [14558] | 5 | .. image:: http://trac-hacks.org/raw-attachment/wiki/HackergotchiPlugin/hackergotchi.png |
|---|
| [3691] | 6 | |
|---|
| 7 | Providers |
|---|
| 8 | ========= |
|---|
| 9 | |
|---|
| 10 | Identicon |
|---|
| 11 | --------- |
|---|
| 12 | |
|---|
| 13 | Locally generate identicons__ using the author information. This provider |
|---|
| 14 | requires PIL__ to be installed. |
|---|
| 15 | |
|---|
| 16 | __ http://www.docuverse.com/blog/donpark/2007/01/18/visual-security-9-block-ip-identification |
|---|
| 17 | __ http://pythonware.com/products/pil/ |
|---|
| 18 | |
|---|
| 19 | Identicon implementation is courtesy of `Shin Adachi <shn@glucose.jp>`_. |
|---|
| 20 | |
|---|
| 21 | Gravatar |
|---|
| 22 | -------- |
|---|
| 23 | |
|---|
| 24 | Uses the Gravatar.com__ service to generate images. |
|---|
| 25 | |
|---|
| 26 | __ http://gravatar.com |
|---|
| 27 | |
|---|
| 28 | Configuration |
|---|
| 29 | ============= |
|---|
| 30 | |
|---|
| 31 | All configuration options go in the ``[hackergotchi]`` section. |
|---|
| 32 | |
|---|
| 33 | ``providers`` : *optional, default: GravatarHackergotchiProvider, IdenticonHackergotchiProvider* |
|---|
| 34 | Order to try providers when looking for an image. Any providers enabled |
|---|
| 35 | but not listed will be tried in a pseudo-random order. |
|---|
| 36 | |
|---|
| 37 | ``gravatar_default`` : *optional, default: identicon* |
|---|
| 38 | Value to pass along to Gravatar to use if the email doesn't match |
|---|
| 39 | anything. Valid values are ``identicon``, ``monsterid``, ``wavatar``, |
|---|
| 40 | or a URL to an image. In the first three cases, a icon will be |
|---|
| 41 | procedurally generated. |
|---|
| 42 | |
|---|
| 43 | To enable the plugin:: |
|---|
| 44 | |
|---|
| 45 | [components] |
|---|
| 46 | hackergotchi.* = enabled |
|---|
| 47 | |
|---|
| 48 | Example |
|---|
| 49 | ======= |
|---|
| 50 | |
|---|
| 51 | To never use the Gravatar provider:: |
|---|
| 52 | |
|---|
| 53 | [hackergotchi] |
|---|
| 54 | providers = IdenticonHackergotchiProvider |
|---|
| 55 | |
|---|
| 56 | [components] |
|---|
| 57 | hackergotchi.* = enabled |
|---|
| 58 | hackergotchi.providers.GravatarHackergotchiProvider = disabled |
|---|
| 59 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.