gitea/services
Gusted 96797fed31
Unify hashing for avatar (#22289)
- Unify the hashing code for repository and user avatars into a
function.
- Use a sane hash function instead of MD5.
- Only require hashing once instead of twice(w.r.t. hashing for user
avatar).
- Improve the comment for the hashing code of why it works.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Yarden Shoham <hrsi88@gmail.com>
2023-01-02 22:46:39 +01:00
..
agit
asymkey
attachment
auth
automerge
context
convert Restructure webhook module (#22256) 2023-01-01 23:23:15 +08:00
cron
externalaccount
forms
gitdiff
issue
lfs
mailer
markup
migrations
mirror
org
packages
pull
release
repository Unify hashing for avatar (#22289) 2023-01-02 22:46:39 +01:00
task
user Unify hashing for avatar (#22289) 2023-01-02 22:46:39 +01:00
webhook Restructure webhook module (#22256) 2023-01-01 23:23:15 +08:00
wiki