gitea/modules/templates
wxiaoguang a163c53a60
Refactor template & test related code ()
Move some legacy code from "base" package to proper packages.
..
eval Use a general Eval function for expressions in templates. ()
scopedtmpl Replace `interface{}` with `any` ()
vars Implement FSFE REUSE for golang files ()
base.go Replace `util.SliceXxx` with `slices.Xxx` ()
dynamic.go Use a general approach to access custom/static/builtin assets ()
helper.go Refactor template & test related code ()
helper_test.go Refactor template & test related code ()
htmlrenderer.go Refactor template & test related code ()
htmlrenderer_test.go Show friendly 500 error page to users and developers ()
mailer.go Refactor names ()
static.go Use a general approach to access custom/static/builtin assets ()
templates_bindata.go Implement FSFE REUSE for golang files ()
util_avatar.go Refactor markup render system ()
util_date.go Update golangci-lint to v1.62.2, fix issues ()
util_date_legacy.go Refactor template ctx and render utils ()
util_date_test.go Refactor DateUtils and merge TimeSince ()
util_dict.go Use `Set[Type]` instead of `map[Type]bool/struct{}`. ()
util_format.go Refactor template & test related code ()
util_format_test.go Refactor template & test related code ()
util_json.go Improve template helper ()
util_misc.go Refactor names ()
util_render.go Fix issue title rendering and refactor legacy function names ()
util_render_legacy.go Refactor template ctx and render utils ()
util_render_test.go Fix issue title rendering and refactor legacy function names ()
util_slice.go Improve template helper functions: string/slice ()
util_string.go Do not display `attestation-manifest` and use short sha256 instead of full sha256 ()
util_test.go Improve template helper functions: string/slice ()