gitea/routers/web
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 Refactor AddParam to AddParamIfExist (#29834) 2024-03-16 10:20:13 +01:00
auth Make "/user/login" page redirect if the current user has signed in (#29583) 2024-03-05 02:12:03 +00:00
devtest Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
events Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
explore Refactor AddParam to AddParamIfExist (#29834) 2024-03-16 10:20:13 +01:00
feed Rename Str2html to SanitizeHTML and clarify its behavior (#29516) 2024-03-01 10:16:19 +00:00
healthcheck Always enable caches (#28527) 2023-12-19 09:29:05 +00:00
misc Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
org Refactor AddParam to AddParamIfExist (#29834) 2024-03-16 10:20:13 +01:00
repo Refactor AddParam to AddParamIfExist (#29834) 2024-03-16 10:20:13 +01:00
shared Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
user Refactor AddParam to AddParamIfExist (#29834) 2024-03-16 10:20:13 +01:00
base.go Fix panic in storageHandler (#27446) 2023-10-06 13:23:14 +00:00
githttp.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
goget.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
home.go migrate some more "OptionalBool" to "Option[bool]" (#29479) 2024-02-29 18:52:49 +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 Use Get but not Post to get actions artifacts (#29734) 2024-03-12 11:53:53 +01:00
webfinger.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00