1
0
Fork 0
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 Rename almost all Ctx functions (#22071) 2022-12-10 10:46:31 +08:00
asymkey
attachment Add API management for issue/pull and comment attachments (#21783) 2022-12-09 14:35:56 +08:00
auth refactor auth interface to return error when verify failure (#22119) 2022-12-28 13:53:28 +08:00
automerge
context
convert Restructure `webhook` module (#22256) 2023-01-01 23:23:15 +08:00
cron Add doctor command for full GC of LFS (#21978) 2022-12-15 20:44:16 +00:00
externalaccount
forms Secrets storage with SecretKey encrypted (#22142) 2022-12-20 17:07:13 +08:00
gitdiff
issue Rename almost all Ctx functions (#22071) 2022-12-10 10:46:31 +08:00
lfs Move `convert` package to services (#22264) 2022-12-29 10:57:15 +08:00
mailer
markup
migrations Check primary keys for all tables and drop ForeignReference (#21721) 2022-12-23 19:35:43 +08:00
mirror
org
packages refactor auth interface to return error when verify failure (#22119) 2022-12-28 13:53:28 +08:00
pull Support template for merge message description (#22248) 2022-12-29 14:40:20 +02:00
release Add API management for issue/pull and comment attachments (#21783) 2022-12-09 14:35:56 +08:00
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