mirror of
1
Fork 0
forgejo/modules
Andrew Burns 35b02997f8 Fix Gravatar images in web view (like commit listing)
Related to #700

In the original bug report it was referencing only the sytem avatar images for setup users (like in the header); however the problem also persists with things like commit history.

This commit fixes the `tool.AvatarLink` function so that it also uses the already existing `avatar.HashEmail` function.

I also refactored the `tool.AvatarLink` method some to make the control flow more apparent and adhere better to DRY (there were multiple calls to the `EncodeMd5` function that the `HashEmail` function call replaced, now there is only one.)
2014-12-05 11:02:59 -07:00
..
asn1-ber Remove ldap dep 2014-09-07 20:04:47 -04:00
auth more on change avatar 2014-11-21 12:51:36 -05:00
avatar HashEmail function should also remove spaces 2014-12-05 10:58:49 -07:00
base Fix Gravatar images in web view (like commit listing) 2014-12-05 11:02:59 -07:00
cron mirror fix 2014-11-30 18:35:05 -05:00
git Fix diff css style, hooks \r char 2014-10-11 18:20:07 -04:00
httplib #634 2014-11-18 15:13:08 -05:00
ldap Fix test cases 2014-09-07 20:11:13 -04:00
log Feature: Integrate crypto/tls/generate_cert.go command 2014-09-22 17:30:58 -04:00
mahonia Fix test cases 2014-09-07 20:11:13 -04:00
mailer check for smtp AUTH extension 2014-10-31 21:52:03 -04:00
middleware Fix #543 2014-11-24 18:47:59 -05:00
process New UI merge in progress 2014-07-26 00:24:27 -04:00
setting fix #580 2014-11-30 02:26:29 -05:00
social mirror fix on oauth2 2014-11-28 21:38:35 -05:00
ssh more on change avatar 2014-11-21 12:51:36 -05:00
uuid Add uuid 2014-06-29 16:39:06 -04:00