1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 16:44:26 +00:00
gitea/services/context
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
..
upload Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
access_log.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01: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
api.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
base_test.go Use strict protocol check when redirect (#29642) 2024-03-07 02:03:41 +00:00
base.go Use strict protocol check when redirect (#29642) 2024-03-07 02:03:41 +00:00
captcha.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01: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 Make PR form use toast to show error message (#29545) 2024-03-02 15:05:07 +00:00
context_template.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
context_test.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
context.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
csrf.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
org.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
package.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
pagination.go Refactor AddParam to AddParamIfExist (#29834) 2024-03-16 10:20:13 +01:00
permission.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
private.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
repo.go Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 2024-03-08 15:30:10 +08:00
response.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
user.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
utils.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
xsrf.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00