gitea/modules/repository
silverwind cc129d2ca2
Make AvatarRenderedSizeFactor configurable and set it to 3 (#17951)
Save a bit of bandwidth by only requesting 3-times the rendered avatar
size. Factor 4 is only really beneficial on a handful of mobile phones
and I don't think they are the primary device we design for.

Configurability contributed by zeripath.

Fixes: https://github.com/go-gitea/gitea/pull/17422
Fixes: https://github.com/go-gitea/gitea/issues/16287

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2021-12-16 10:18:38 +08:00
..
commits.go Make AvatarRenderedSizeFactor configurable and set it to 3 (#17951) 2021-12-16 10:18:38 +08:00
commits_test.go Make AvatarRenderedSizeFactor configurable and set it to 3 (#17951) 2021-12-16 10:18:38 +08:00
create.go Some repository refactors (#17950) 2021-12-12 23:48:20 +08:00
create_test.go
generate.go Some repository refactors (#17950) 2021-12-12 23:48:20 +08:00
hooks.go
init.go Some repository refactors (#17950) 2021-12-12 23:48:20 +08:00
main_test.go
push.go
repo.go