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/modules/templates
Lunny Xiao 9df573bddc
Fix context cache bug & enable context cache for dashabord commits' authors(#26991) (#27017)
backport #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
..
eval Use a general Eval function for expressions in templates. (#23927) 2 years ago
scopedtmpl Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
vars Implement FSFE REUSE for golang files (#21840) 2 years ago
base.go Improve template system and panic recovery (#24461) 2 years ago
dynamic.go Use a general approach to access custom/static/builtin assets (#24022) 2 years ago
helper.go Fix context cache bug & enable context cache for dashabord commits' authors(#26991) (#27017) 1 year ago
helper_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
htmlrenderer.go Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
htmlrenderer_test.go Show friendly 500 error page to users and developers (#24110) 2 years ago
mailer.go Improve RunMode / dev mode (#24886) 2 years ago
static.go Use a general approach to access custom/static/builtin assets (#24022) 2 years ago
templates_bindata.go Implement FSFE REUSE for golang files (#21840) 2 years ago
util_avatar.go Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
util_dict.go Update go tool dependencies, restructure lint targets (#24239) 2 years ago
util_json.go Improve template helper (#24417) 2 years ago
util_misc.go Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
util_render.go Fix missing commit message body when the message has leading newlines (#25418) (#25422) 2 years ago
util_render_test.go Fix missing commit message body when the message has leading newlines (#25418) (#25422) 2 years ago
util_slice.go Improve template helper functions: string/slice (#24266) 2 years ago
util_string.go Improve template helper (#24417) 2 years ago
util_test.go Improve template helper functions: string/slice (#24266) 2 years ago