forgejo/modules/context
Jason Song 7adc2de464
Use context parameter in models/git (#22367)
After #22362, we can feel free to use transactions without
`db.DefaultContext`.

And there are still lots of models using `db.DefaultContext`, I think we
should refactor them carefully and one by one.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-01-09 11:50:54 +08:00
..
access_log.go
api.go refactor auth interface to return error when verify failure (#22119) 2022-12-28 13:53:28 +08:00
api_org.go
api_test.go
auth.go
captcha.go
context.go refactor auth interface to return error when verify failure (#22119) 2022-12-28 13:53:28 +08:00
csrf.go
form.go
org.go
package.go Rename almost all Ctx functions (#22071) 2022-12-10 10:46:31 +08:00
pagination.go
permission.go
private.go
repo.go Use context parameter in models/git (#22367) 2023-01-09 11:50:54 +08:00
response.go
utils.go
xsrf.go
xsrf_test.go