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
Zettat123 aa3c76159a
Fix duplicate status check contexts (#30660) (#30776)
Backport #30660.

Caused by #30076.

There may be some duplicate status check contexts when setting status
checks for a branch protection rule. The duplicate contexts should be
removed.

Before:
<img

src="https://github.com/go-gitea/gitea/assets/15528715/97f4de2d-4868-47a3-8a99-5a180f9ac0a3"
width="600px" />

After:
<img

src="https://github.com/go-gitea/gitea/assets/15528715/ff7289c5-9793-4090-ba31-e8cb3c85f8a3"
width="600px" />
11 months ago
..
actions Interpolate runs-on with variables when scheduling tasks(#30640) (#30672) 11 months ago
activities Performance improvements for pull request list page (#29900) (#29972) 12 months ago
admin Next round of `db.DefaultContext` refactor (#27089) 2 years ago
asymkey Fix missing 0 prefix of GPG key id (#30245) (#30247) 12 months ago
auth Fix wrong table name (#30557) (#30652) 11 months ago
avatars Refactor system setting (#27000) (#27452) 1 year ago
db Fix misuse of `TxContext` (#30061) (#30062) 12 months ago
dbfs Fix content holes in Actions task logs file (#25560) 2 years ago
fixtures Fix template error when comment review doesn't exist (#29888) (#29889) 1 year ago
git Fix duplicate status check contexts (#30660) (#30776) 11 months ago
issues Use db.ListOptions directly instead of Paginator interface to make iteasier to use and fix performance of /pulls and /issues (#29990) (#30447) 11 months ago
migrations Fix wrong table name (#30557) (#30652) 11 months ago
organization Check the token's owner and repository when registering a runner (#30406) (#30412) 11 months ago
packages Fix incorrect relative/absolute URL usages (#29531) (#29547) 1 year ago
perm Users with `read` permission of pull requests can be assigned too (#27263) (#29372) 1 year ago
project Fix comment permissions (#28213) (#28216) 1 year ago
pull refactor some functions to support ctx as first parameter (#21878) 2 years ago
repo Users with `read` permission of pull requests can be assigned too (#27263) (#29372) 1 year ago
secret Make runs-on support variable expression (#29468) (#29782) 1 year ago
shared/types Display owner of a runner as a tooltip instead of static text (#24377) 2 years ago
system Increase "version" when update the setting value to a same value as before (#28243) (#28244) 1 year ago
unit Use `Set[Type]` instead of `map[Type]bool/struct{}`. (#26804) 2 years ago
unittest Workaround to clean up old reviews on creating a new one (#28554) (#29264) 1 year ago
user Fix user id column case (#29863) (#29867) 1 year ago
webhook Fix comment permissions (#28213) (#28216) 1 year ago
error.go Forbid removing the last admin user (#28337) (#28793) 1 year 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) 2 years 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) 2 years ago
org_team_test.go Reduce usage of `db.DefaultContext` (#27073) 2 years ago
org_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
repo.go Refactor system setting (#27000) (#27452) 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) 2 years ago
repo_transfer_test.go Next round of `db.DefaultContext` refactor (#27089) 2 years ago