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
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
..
admin.go Display deprecated warning in admin panel pages as well as in the log file (#26094) 2 years ago
admin_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
applications.go Pre-register OAuth2 applications for git credential helpers (#26291) 2 years ago
auths.go Move web JSON functions to web context and simplify code (#26132) 2 years ago
config.go Move web JSON functions to web context and simplify code (#26132) 2 years ago
diagnosis.go Improve queue & process & stacktrace (#24636) 2 years ago
emails.go Move secrets and runners settings to actions settings (#24200) 2 years ago
hooks.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
notice.go Move secrets and runners settings to actions settings (#24200) 2 years ago
orgs.go Sort users and orgs on explore by recency by default (#24279) 2 years ago
packages.go Allow package cleanup from admin page (#25307) 2 years ago
queue.go Fix admin queue page title (#26409) 2 years ago
queue_tester.go Improve queue and logger context (#24924) 2 years ago
repos.go Move createrepository from module to service layer (#26927) 1 year ago
runners.go Move secrets and runners settings to actions settings (#24200) 2 years ago
stacktrace.go Move web JSON functions to web context and simplify code (#26132) 2 years ago
users.go Fix context cache bug & enable context cache for dashabord commits' authors (#26991) 1 year ago
users_test.go Move web/api context related testing function into a separate package (#26859) 1 year ago