forgejo/routers/api/v1
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
..
activitypub Update tool dependencies, lock govulncheck and actionlint (#25655) 2023-07-09 11:58:06 +00:00
admin Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
misc Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
notify Fix bugs related to notification endpoints (#25548) 2023-06-28 10:26:56 -04:00
org Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
packages Add missing 404 response to Swagger (#27038) 2023-09-13 10:37:54 +08:00
repo Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
settings Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
swagger refactor(API): refactor secret creation and update functionality (#26751) 2023-08-28 13:08:19 +08:00
user Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
utils New webhook trigger for receiving Pull Request review requests (#24481) 2023-05-24 22:06:27 -04:00
api.go Extract auth middleware from service (#27028) 2023-09-12 08:15:16 +02:00
auth.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
auth_windows.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00