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/models
Lunny Xiao 673cf6af76
make writing main test easier (#27270)
This PR removed `unittest.MainTest` the second parameter
`TestOptions.GiteaRoot`. Now it detects the root directory by current
working directory.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
9 months ago
..
actions Redefine the meaning of column is_active to make Actions Registration Token generation easier (#27143) 9 months ago
activities make writing main test easier (#27270) 9 months ago
admin Next round of `db.DefaultContext` refactor (#27089) 10 months ago
asymkey make writing main test easier (#27270) 9 months ago
auth make writing main test easier (#27270) 9 months ago
avatars make writing main test easier (#27270) 9 months ago
db make writing main test easier (#27270) 9 months ago
dbfs make writing main test easier (#27270) 9 months ago
fixtures Fix more yaml lint errors (#27284) 9 months ago
git make writing main test easier (#27270) 9 months ago
issues make writing main test easier (#27270) 9 months ago
migrations Fix more yaml lint errors (#27284) 9 months ago
organization make writing main test easier (#27270) 9 months ago
packages make writing main test easier (#27270) 9 months ago
perm make writing main test easier (#27270) 9 months ago
project make writing main test easier (#27270) 9 months ago
pull refactor some functions to support ctx as first parameter (#21878) 2 years ago
repo make writing main test easier (#27270) 9 months ago
secret Refactor secrets modification logic (#26873) 10 months ago
shared/types Display owner of a runner as a tooltip instead of static text (#24377) 1 year ago
system make writing main test easier (#27270) 9 months ago
unit Use `Set[Type]` instead of `map[Type]bool/struct{}`. (#26804) 10 months ago
unittest make writing main test easier (#27270) 9 months ago
user make writing main test easier (#27270) 9 months ago
webhook make writing main test easier (#27270) 9 months ago
error.go Sync branches into databases (#22743) 1 year ago
fixture_generation.go Fix yaml test (#27297) 9 months ago
fixture_test.go Fix yaml test (#27297) 9 months ago
main_test.go make writing main test easier (#27270) 9 months 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) 10 months ago
org_team_test.go Reduce usage of `db.DefaultContext` (#27073) 10 months ago
org_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
repo.go move repository deletion to service layer (#26948) 10 months ago
repo_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
repo_transfer.go Next round of `db.DefaultContext` refactor (#27089) 10 months ago
repo_transfer_test.go Next round of `db.DefaultContext` refactor (#27089) 10 months ago