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 Move accessmode into models/perm (#17828) 2021-11-28 12:58:28 +01:00
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 Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
repo.go Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00