gitea/routers/web
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
..
admin Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
auth Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
devtest Add auto-expanding running actions step (#30058) 2024-12-22 18:57:17 +00:00
events Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
explore Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
feed Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
healthcheck Always enable caches (#28527) 2023-12-19 09:29:05 +00:00
misc Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
org Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
repo Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
shared Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
user Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
base.go Fix missing signature key error when pulling Docker images with SERVE_DIRECT enabled (#32365) 2024-10-31 15:28:25 +00:00
githttp.go Fix LFS route mock, realm, middleware names (#32488) 2024-11-13 16:58:09 +08:00
goget.go Refactor RepoRefByType (#32413) 2024-11-05 06:35:54 +00:00
home.go Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
metrics.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
nodeinfo.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
passkey.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
swagger_json.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
web.go Refactor request context (#32956) 2024-12-24 11:43:57 +08:00
webfinger.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00