gitea/routers/api/v1
KN4CK3R 044c754ea5
Add `context.Context` to more methods (#21546)
This PR adds a context parameter to a bunch of methods. Some helper
`xxxCtx()` methods got replaced with the normal name now.

Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-11-19 16:12:33 +08:00
..
activitypub Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2022-10-24 20:29:17 +01:00
admin Move some files into models' sub packages (#20262) 2022-08-25 10:31:57 +08:00
misc Add `context.Context` to more methods (#21546) 2022-11-19 16:12:33 +08:00
notify Add `context.Context` to more methods (#21546) 2022-11-19 16:12:33 +08:00
org Add `context.Context` to more methods (#21546) 2022-11-19 16:12:33 +08:00
packages Add support for Vagrant packages (#20930) 2022-08-29 15:04:45 +08:00
repo Add `context.Context` to more methods (#21546) 2022-11-19 16:12:33 +08:00
settings
swagger Add API endpoint to get changed files of a PR (#21177) 2022-09-29 04:27:20 +02:00
user Add `context.Context` to more methods (#21546) 2022-11-19 16:12:33 +08:00
utils Add Webhook authorization header (#20926) 2022-11-03 20:23:20 +02:00
api.go Add some documentation to packages (#21648) 2022-11-12 18:59:15 +00:00
auth.go Remove legacy `+build:` constraint (#19582) 2022-05-02 23:22:45 +08:00
auth_windows.go Let web and API routes have different auth methods group (#19168) 2022-03-28 12:46:28 +08:00