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/user/setting
Lunny Xiao ebff0513db
Fix context cache bug & enable context cache for dashabord commits' authors (#26991)
Unfortunately, when a system setting hasn't been stored in the database,
it cannot be cached.
Meanwhile, this PR also uses context cache for push email avatar display
which should avoid to read user table via email address again and again.

According to my local test, this should reduce dashboard elapsed time
from 150ms -> 80ms .
1 year ago
..
security Move web JSON functions to web context and simplify code (#26132) 2 years ago
account.go Move web JSON functions to web context and simplify code (#26132) 2 years ago
account_test.go Move web/api context related testing function into a separate package (#26859) 1 year ago
adopt.go Move createrepository from module to service layer (#26927) 1 year ago
applications.go Move web JSON functions to web context and simplify code (#26132) 2 years ago
keys.go Move web JSON functions to web context and simplify code (#26132) 2 years ago
main_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
oauth2.go Implement FSFE REUSE for golang files (#21840) 2 years ago
oauth2_common.go Show always repo count in header (#26842) 1 year ago
packages.go Add Chef package registry (#22554) 2 years ago
profile.go Fix context cache bug & enable context cache for dashabord commits' authors (#26991) 1 year ago
runner.go Add user level action runners (#24995) 2 years ago
webhooks.go Move web JSON functions to web context and simplify code (#26132) 2 years ago