0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-09 19:42:09 +01:00
gitea/routers/api/v1/misc
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
..
gitignore.go Add API for gitignore templates (#22783) 2023-04-27 11:51:20 +08:00
label_templates.go Add API for Label templates (#24602) 2023-05-23 18:10:23 +08:00
licenses.go Add API for License templates (#23009) 2023-04-26 02:08:28 -04:00
markup.go Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
markup_test.go Move web/api context related testing function into a separate package (#26859) 2023-09-01 11:26:07 +00:00
nodeinfo.go Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
signing.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
version.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00