gitea/modules/templates
wxiaoguang 2a828e2798
Clarify path param naming ()
In history (from some legacy frameworks), both `:name` and `name` are
supported as path path name, `:name` is an alias to `name`.

To make code consistent, now we should only use `name` but not `:name`.

Also added panic check in related functions to make sure the name won't
be abused in case some downstreams still use them.
..
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 Clarify path param naming ()
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 ()