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
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
httplib
ldap
log
mahonia
mailer
middleware Fix #543 2014-11-24 18:47:59 -05:00
process
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