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.
gitea/services
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>
2 years ago
..
actions Add a new column schedule_id for action_run to track (#26975) 2 years ago
agit Move notification interface to services layer (#26915) 2 years ago
asymkey move repository deletion to service layer (#26948) 2 years ago
attachment move repository deletion to service layer (#26948) 2 years ago
auth Reduce usage of `db.DefaultContext` (#27073) 2 years ago
automerge Improve queue and logger context (#24924) 2 years ago
context Fix the display of org level badges (#26504) 2 years ago
convert Reduce usage of `db.DefaultContext` (#27073) 2 years ago
cron Artifacts retention and auto clean up (#26131) 2 years ago
externalaccount Move some functions to service layer (#26969) 2 years ago
feed move repository deletion to service layer (#26948) 2 years ago
forms Check blocklist for emails when adding them to account (#26812) 2 years ago
gitdiff move repository deletion to service layer (#26948) 2 years ago
indexer Update status and code index after changing the default branch (#27018) 2 years ago
issue Replace 'userxx' with 'orgxx' in all test files when the user type is org (#27052) 2 years ago
lfs Bump github.com/golang-jwt/jwt to v5 (#25975) 2 years ago
mailer Load reviewer before sending notification (#27063) 2 years ago
markup Move web/api context related testing function into a separate package (#26859) 2 years ago
migrations Move some functions to service layer (#26969) 2 years ago
mirror Move notification interface to services layer (#26915) 2 years ago
notify Update status and code index after changing the default branch (#27018) 2 years ago
org move repository deletion to service layer (#26948) 2 years ago
packages move repository deletion to service layer (#26948) 2 years ago
pull move repository deletion to service layer (#26948) 2 years ago
release move repository deletion to service layer (#26948) 2 years ago
repository Reduce usage of `db.DefaultContext` (#27073) 2 years ago
secrets Refactor secrets modification logic (#26873) 2 years ago
task move repository deletion to service layer (#26948) 2 years ago
uinotification Move notification interface to services layer (#26915) 2 years ago
user Reduce usage of `db.DefaultContext` (#27073) 2 years ago
webhook move repository deletion to service layer (#26948) 2 years ago
wiki move repository deletion to service layer (#26948) 2 years ago