You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers/web/user/setting
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>
1 year ago
..
security Move web JSON functions to web context and simplify code (#26132) 2 years ago
account.go Reduce usage of `db.DefaultContext` (#27073) 1 year ago
account_test.go Move web/api context related testing function into a separate package (#26859) 1 year ago
adopt.go Move createrepository from module to service layer (#26927) 1 year ago
applications.go Move web JSON functions to web context and simplify code (#26132) 2 years ago
keys.go Reduce usage of `db.DefaultContext` (#27073) 1 year ago
main_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
oauth2.go Implement FSFE REUSE for golang files (#21840) 2 years ago
oauth2_common.go Show always repo count in header (#26842) 1 year ago
packages.go Add Chef package registry (#22554) 2 years ago
profile.go Reduce usage of `db.DefaultContext` (#27073) 1 year ago
runner.go Add user level action runners (#24995) 2 years ago
webhooks.go Move web JSON functions to web context and simplify code (#26132) 2 years ago