﻿ticket	summary	type	release	owner	status	created	modified	_description	_reporter
8547	Adding hackergotchies to tickets and comments	defect	0.11		new	2011-02-28T18:23:56+01:00	2015-04-22T19:50:46+02:00	"Hello!

I've written a quick patch (svn diff attached) that would add hackergotchi to ticket owner/reporter and comments authors. Please let me know if you have any thoughts on it...

Cheers!
Denis."	Denis
5539	Correct the size of the identicons	defect	0.11		new	2009-07-21T17:07:11+02:00	2015-04-22T19:50:46+02:00	Currently the identicons are three times bigger than the should be. I've attached a patch that resizes the identicons before returning the image. This way the HackergotchiPlugin can be used in other plugins in CSS `background-image` statements.	Sebastian Krysmanski
5392	gravatar not shown due to email address not converted to lowercase before hashing	defect	0.11		new	2009-06-18T02:34:31+02:00	2015-04-22T19:50:46+02:00	"Gravatar converts all emailadresses registered to lowercase,
this TracHack does not.

In several of the reference implementations for Gravatar on the Gravatar website 
you can see that the emailaddress has to be converted to lowercase before it is hashed,
right now, if a cased email adress is used somewhere it will cause gravatar to show the default
instead of the gravatar you have registered for this emailadress."	ppetermann
5300	Add an provider for the 'trac' user	enhancement	0.11		new	2009-05-29T12:32:40+02:00	2015-04-22T19:50:46+02:00	"I'm often using the `trac-admin` command to update the wiki pages of my projects. These updates are done by a user named ""trac"". So I thought it would be nice to assign a special icon to this user.

I've attached a patch that achieves this. The file `trac.png` must be placed in the `htdocs` directory."	Sebastian Krysmanski
4336	Crash In Timeline with Bitten	defect	0.11		new	2008-12-26T13:16:38+01:00	2015-04-22T19:50:46+02:00	"Having hackergotchi and bitten enabled, when timeline shows bitten events, it crashes with: ""!AttributeError: '!NoneType' object has no attribute 'strip'""

I've followed trace to hackergotchi/web_ui.py 48

{{{
author = data['events'][n]['author'].strip()
}}}

And made it work with the attached patch. I'm not a python programmer, so I think it can be better done :D.

"	golo@…
3694	Cache identicon for performance	enhancement	0.11		new	2008-09-11T06:14:27+02:00	2015-04-22T19:50:46+02:00	I think this plugin should  support caching of each identicon.	ghama
3693	Change where to display identicons	enhancement	0.11		new	2008-09-11T06:09:43+02:00	2015-04-22T19:50:46+02:00	"I wanted to change where to display icons.

Here is the patch (Please change its option name as you like):
{{{
#!diff
*** /home/ghama/web_ui.py      2008-09-11 12:53:03.000000000 +0900
--- hackergotchi/web_ui.py      2008-09-11 13:00:07.000000000 +0900
***************
*** 20,27 ****
--- 20,30 ----
      providers = OrderedExtensionsOption('hackergotchi', 'providers', 
                                          IHackergotchiProvider,
                                          default='GravatarHackergotchiProvider, IdenticonHackergotchiProvider')
  
+     place = Option('hackergotchi', 'place', default='itemtop',
+                     doc='where to show identicon [itemtop|nearname]')
+ 
      implements(ITemplateStreamFilter, ITemplateProvider)
      
      anon_re = re.compile('([^<]+?)\s+<([^>]+)>', re.U)
      
***************
*** 61,69 ****
                  
                  # Output the combined stream
                  return itertools.chain(elm.generate(), stream)
              
!             stream |= Transformer('//div[@id=""content""]/dl/dt/a/span[@class=""time""]').filter(f)
              add_stylesheet(req, 'hackergotchi/hackergotchi.css')
          return stream
      
      # ITemplateProvider methods
--- 64,76 ----
                  
                  # Output the combined stream
                  return itertools.chain(elm.generate(), stream)
              
!             if self.place == 'nearname':
!                 selector = '//div[@id=""content""]/dl/dt/a/span[@class=""author""]'
!             else:
!                 selector = '//div[@id=""content""]/dl/dt/a/span[@class=""time""]'
!             stream |= Transformer(selector).filter(f)
              add_stylesheet(req, 'hackergotchi/hackergotchi.css')
          return stream
      
}}}"	ghama
