You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers/web/admin
Yarden Shoham 7c3196ceac
Avoid warning for system setting when start up (#23054) (#23116)
Backport #23054

Partially fix #23050

After #22294 merged, it always has a warning log like `cannot get
context cache` when starting up. This should not affect any real life
but it's annoying. This PR will fix the problem. That means when
starting up, getting the system settings will not try from the cache but
will read from the database directly.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
2 years ago
..
admin.go Implement FSFE REUSE for golang files (#21840) 2 years ago
admin_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
applications.go Implement FSFE REUSE for golang files (#21840) 2 years ago
auths.go Map OIDC groups to Orgs/Teams (#21441) 2 years ago
config.go Avoid warning for system setting when start up (#23054) (#23116) 2 years ago
emails.go Implement FSFE REUSE for golang files (#21840) 2 years ago
hooks.go Add main landmark to templates and adjust titles (#22670) 2 years ago
main_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
notice.go Implement FSFE REUSE for golang files (#21840) 2 years ago
orgs.go Implement FSFE REUSE for golang files (#21840) 2 years ago
packages.go Display unreferenced packages total size in package admin panel (#22498) 2 years ago
repos.go Show empty repos in Admin Repository Management page (#23114) (#23130) 2 years ago
runners.go Implement actions (#21937) 2 years ago
users.go Provide the ability to set password hash algorithm parameters (#22942) 2 years ago
users_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago