1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-25 08:59:31 -05:00
forgejo/routers/api/v1
wxiaoguang 7a550b3af2
Use ctx instead of db.DefaultContext in some packages(routers/services/modules) (#19163)
* Remove `db.DefaultContext` usage in routers, use `ctx` directly

* Use `ctx` directly if there is one, remove some `db.DefaultContext` in `services`

* Use ctx instead of db.DefaultContext for `cmd` and some `modules` packages

* fix incorrect context usage
2022-03-22 16:22:54 +01:00
..
admin Renamed ctx.User to ctx.Doer. (#19161) 2022-03-22 15:03:22 +08:00
misc format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
notify Renamed ctx.User to ctx.Doer. (#19161) 2022-03-22 15:03:22 +08:00
org Use ctx instead of db.DefaultContext in some packages(routers/services/modules) (#19163) 2022-03-22 16:22:54 +01:00
repo Use ctx instead of db.DefaultContext in some packages(routers/services/modules) (#19163) 2022-03-22 16:22:54 +01:00
settings Make mirror feature more configurable (#16957) 2021-09-07 17:49:36 +02:00
swagger Add API to get issue/pull comments and events (timeline) (#17403) 2022-01-01 22:12:25 +08:00
user Use ctx instead of db.DefaultContext in some packages(routers/services/modules) (#19163) 2022-03-22 16:22:54 +01:00
utils Use ctx instead of db.DefaultContext in some packages(routers/services/modules) (#19163) 2022-03-22 16:22:54 +01:00
api.go Renamed ctx.User to ctx.Doer. (#19161) 2022-03-22 15:03:22 +08:00