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/models
Giteabot f13a294b47
More `db.DefaultContext` refactor (#27265) (#27347)
Backport #27265 by @JakobDev

Part of #27065

This PR touches functions used in templates. As templates are not static
typed, errors are harder to find, but I hope I catch it all. I think
some tests from other persons do not hurt.

Co-authored-by: JakobDev <jakobdev@gmx.de>
1 year ago
..
actions Redefine the meaning of column is_active to make Actions Registration Token generation easier (#27143) (#27304) 1 year ago
activities More `db.DefaultContext` refactor (#27265) (#27347) 1 year ago
admin Next round of `db.DefaultContext` refactor (#27089) 1 year ago
asymkey Another round of `db.DefaultContext` refactor (#27103) (#27262) 1 year ago
auth Next round of `db.DefaultContext` refactor (#27089) 1 year ago
avatars Fix context cache bug & enable context cache for dashabord commits' authors (#26991) 1 year ago
db Improve DeleteByID (#26904) 1 year ago
dbfs Fix content holes in Actions task logs file (#25560) 2 years ago
fixtures Fix more yaml lint errors (#27284) (#27288) 1 year ago
git More `db.DefaultContext` refactor (#27265) (#27347) 1 year ago
issues More `db.DefaultContext` refactor (#27265) (#27347) 1 year ago
migrations Add Index to `comment.dependent_issue_id` (#27325) (#27340) 1 year ago
organization Another round of `db.DefaultContext` refactor (#27103) (#27262) 1 year ago
packages move repository deletion to service layer (#26948) 1 year ago
perm move repository deletion to service layer (#26948) 1 year ago
project More `db.DefaultContext` refactor (#27265) (#27347) 1 year ago
pull refactor some functions to support ctx as first parameter (#21878) 2 years ago
repo More `db.DefaultContext` refactor (#27265) (#27347) 1 year ago
secret Refactor secrets modification logic (#26873) 1 year ago
shared/types Display owner of a runner as a tooltip instead of static text (#24377) 2 years ago
system Another round of `db.DefaultContext` refactor (#27103) (#27262) 1 year ago
unit Use `Set[Type]` instead of `map[Type]bool/struct{}`. (#26804) 1 year ago
unittest Replace `interface{}` with `any` (#25686) 2 years ago
user Another round of `db.DefaultContext` refactor (#27103) (#27262) 1 year ago
webhook Replace `interface{}` with `any` (#25686) 2 years ago
error.go Sync branches into databases (#22743) 2 years ago
fixture_generation.go Fix yaml test (#27297) (#27303) 1 year ago
fixture_test.go Fix yaml test (#27297) (#27303) 1 year ago
main_test.go move repository deletion to service layer (#26948) 1 year ago
org.go refactor some functions to support ctx as first parameter (#21878) 2 years ago
org_team.go Use db.WithTx for AddTeamMember to avoid ctx abuse (#27095) 1 year ago
org_team_test.go Reduce usage of `db.DefaultContext` (#27073) 1 year ago
org_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
repo.go move repository deletion to service layer (#26948) 1 year ago
repo_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
repo_transfer.go Next round of `db.DefaultContext` refactor (#27089) 1 year ago
repo_transfer_test.go Next round of `db.DefaultContext` refactor (#27089) 1 year ago