gitea/services/context
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
..
upload Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
access_log.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
api.go Refactor request context (#32956) 2024-12-24 11:43:57 +08:00
api_org.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
api_test.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
base.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
base_form.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
base_path.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
base_test.go Refactor request context (#32956) 2024-12-24 11:43:57 +08:00
captcha.go Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
context.go Refactor request context (#32956) 2024-12-24 11:43:57 +08:00
context_cookie.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
context_model.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
context_request.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
context_response.go Add sub issue list support (#32940) 2024-12-24 01:54:19 +00:00
context_template.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
context_test.go Refactor request context (#32956) 2024-12-24 11:43:57 +08:00
csrf.go Refactor CSRF token (#32216) 2024-10-10 03:48:21 +00:00
org.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
package.go Refactor request context (#32956) 2024-12-24 11:43:57 +08:00
pagination.go Add label/author/assignee filters to the user/org home issue list (#32779) 2024-12-11 06:33:24 +00:00
permission.go Allow maintainers to view and edit files of private repos when "Allow maintainers to edit" is enabled (#32215) 2024-10-11 19:08:19 +00:00
private.go Refactor request context (#32956) 2024-12-24 11:43:57 +08:00
repo.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
response.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
user.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
utils.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
xsrf.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
xsrf_test.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00