gitea/modules/templates
wxiaoguang 2a828e2798
Clarify path param naming (#32969)
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.
2024-12-24 13:47:45 +00:00
..
eval
scopedtmpl
vars
base.go
dynamic.go
helper.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
helper_test.go Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
htmlrenderer.go Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
htmlrenderer_test.go
mailer.go
static.go
templates_bindata.go
util_avatar.go
util_date.go Update golangci-lint to v1.62.2, fix issues (#32845) 2024-12-15 02:31:07 +00:00
util_date_legacy.go
util_date_test.go
util_dict.go
util_format.go Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
util_format_test.go Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
util_json.go
util_misc.go
util_render.go
util_render_legacy.go
util_render_test.go
util_slice.go
util_string.go Do not display `attestation-manifest` and use short sha256 instead of full sha256 (#32851) 2024-12-16 10:22:49 +08:00
util_test.go