0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-02-03 23:44:36 +01:00
gitea/services/repository
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
..
archiver
files Use complete SHA to create and query commit status (#22244) 2022-12-27 21:12:49 +08:00
adopt_test.go
adopt.go
avatar_test.go Unify hashing for avatar (#22289) 2023-01-02 22:46:39 +01:00
avatar.go Unify hashing for avatar (#22289) 2023-01-02 22:46:39 +01:00
branch.go
cache.go
check.go
fork_test.go Add option to prohibit fork if user reached maximum limit of repositories (#21848) 2022-12-27 15:21:14 -06:00
fork.go Add option to prohibit fork if user reached maximum limit of repositories (#21848) 2022-12-27 15:21:14 -06:00
hooks.go
lfs.go
main_test.go
push.go
repository_test.go
repository.go
review_test.go
review.go
template.go
transfer_test.go
transfer.go