gitea/routers/web/user
JakobDev 76659b1114
Reduce usage of `db.DefaultContext` (#27073)
Part of #27065

This reduces the usage of `db.DefaultContext`. I think I've got enough
files for the first PR. When this is merged, I will continue working on
this.

Considering how many files this PR affect, I hope it won't take to long
to merge, so I don't end up in the merge conflict hell.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2023-09-14 17:09:32 +00:00
..
setting Reduce usage of `db.DefaultContext` (#27073) 2023-09-14 17:09:32 +00:00
avatar.go Set `X-Gitea-Debug` header once (#23361) 2023-03-08 15:40:04 -05:00
code.go Show the repo count in code tab on both user profile and org page. (#27048) 2023-09-13 18:47:35 +08:00
home.go Replace `util.SliceXxx` with `slices.Xxx` (#26958) 2023-09-07 09:37:47 +00:00
home_test.go Move web/api context related testing function into a separate package (#26859) 2023-09-01 11:26:07 +00:00
main_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
notification.go Use more `IssueList` instead of `[]*Issue` (#26369) 2023-08-07 19:26:40 +00:00
package.go Show always repo count in header (#26842) 2023-09-06 08:49:36 +00:00
profile.go Count only visible repos on profile (#25928) 2023-08-11 13:08:05 -04:00
search.go Reduce usage of `db.DefaultContext` (#27073) 2023-09-14 17:09:32 +00:00
stop_watch.go Move `convert` package to services (#22264) 2022-12-29 10:57:15 +08:00
task.go Replace `interface{}` with `any` (#25686) 2023-07-04 18:36:08 +00:00