1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-16 15:14:24 +00:00
gitea/routers/web/admin
wxiaoguang e0ea3811c4
Refactor AddParam to AddParamIfExist (#29834)
When read the code: `pager.AddParam(ctx, "search", "search")`, the
question always comes: What is it doing? Where is the value from? Why
"search" / "search" ?

Now it is clear: `pager.AddParamIfExist("search", ctx.Data["search"])`
2024-03-16 10:20:13 +01:00
..
admin_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
admin.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
applications.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
auths.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
config.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
diagnosis.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
emails.go migrate some more "OptionalBool" to "Option[bool]" (#29479) 2024-02-29 18:52:49 +00:00
hooks.go remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
notice.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
orgs.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
packages.go remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00
queue_tester.go Improve queue and logger context (#24924) 2023-05-26 07:31:55 +00:00
queue.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
repos.go Refactor AddParam to AddParamIfExist (#29834) 2024-03-16 10:20:13 +01:00
runners.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
stacktrace.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
users_test.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
users.go Add a warning for disallowed email domains (#29658) 2024-03-11 06:07:36 +00:00