You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/services
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>
1 year ago
..
agit Rename almost all Ctx functions (#22071) 2 years ago
asymkey Implement FSFE REUSE for golang files (#21840) 2 years ago
attachment Add API management for issue/pull and comment attachments (#21783) 2 years ago
auth refactor auth interface to return error when verify failure (#22119) 1 year ago
automerge refactor some functions to support ctx as first parameter (#21878) 2 years ago
context Implement FSFE REUSE for golang files (#21840) 2 years ago
convert Use context parameter in models/git (#22367) 1 year ago
cron Add doctor command for full GC of LFS (#21978) 2 years ago
externalaccount Implement FSFE REUSE for golang files (#21840) 2 years ago
forms Secrets storage with SecretKey encrypted (#22142) 2 years ago
gitdiff Implement FSFE REUSE for golang files (#21840) 2 years ago
issue Always reuse transaction (#22362) 1 year ago
lfs Use context parameter in models/git (#22367) 1 year ago
mailer refactor some functions to support ctx as first parameter (#21878) 2 years ago
markup Implement FSFE REUSE for golang files (#21840) 2 years ago
migrations Check primary keys for all tables and drop ForeignReference (#21721) 2 years ago
mirror Implement FSFE REUSE for golang files (#21840) 2 years ago
org Implement FSFE REUSE for golang files (#21840) 2 years ago
packages refactor auth interface to return error when verify failure (#22119) 1 year ago
pull Use context parameter in models/git (#22367) 1 year ago
release Add API management for issue/pull and comment attachments (#21783) 2 years ago
repository Use context parameter in models/git (#22367) 1 year ago
task Implement FSFE REUSE for golang files (#21840) 2 years ago
user Unify hashing for avatar (#22289) 1 year ago
webhook Restructure `webhook` module (#22256) 1 year ago
wiki Implement FSFE REUSE for golang files (#21840) 2 years ago