1
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-01-06 17:17:44 +03:00
gitea/routers/web/user
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
..
setting Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
avatar.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
code.go Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
home_test.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
home.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
notification.go Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
package.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
profile.go Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
search.go Add DISABLE_ORGANIZATIONS_PAGE and DISABLE_CODE_PAGE settings for explore pages and fix an issue related to user search (#32288) 2024-10-22 13:09:19 +08:00
stop_watch.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00