gitea/routers/web/repo/setting
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
..
avatar.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
collaboration.go Move RepoTransfer from models to models/repo sub package (#32506) 2024-12-18 11:44:16 +08:00
default_branch.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
deploy_key.go Move delete deploy keys into service layer (#32201) 2024-12-18 04:10:38 +00:00
git_hooks.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
lfs.go Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
protected_branch.go Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
protected_tag.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
runners.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
secrets.go Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
setting.go Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
settings_test.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
variables.go Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
webhook.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00