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 e5a8ebc0ed
Require at least one unit to be enabled (#24189)
Don't remember why the previous decision that `Code` and `Release` are
non-disable units globally. Since now every unit include `Code` could be
disabled, maybe we should have a new rule that the repo should have at
least one unit. So any unit could be disabled.

Fixes #20960
Fixes #7525

---------

Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: yp05327 <576951401@qq.com>
1 year ago
..
actions Support upload `outputs` and use `needs` context on Actions (#24230) 1 year ago
activities Localize activity heatmap (except tooltip) (#24131) 1 year ago
admin Implement FSFE REUSE for golang files (#21840) 2 years ago
asymkey Merge setting.InitXXX into one function with options (#24389) 1 year ago
auth Fix 500 error if there is a name conflict when edit authentication source (#23832) 1 year ago
avatars Avoid warning for system setting when start up (#23054) 1 year ago
db Improve milestone filter on issues page (#22423) 1 year ago
dbfs Merge setting.InitXXX into one function with options (#24389) 1 year ago
fixtures Allow adding new files to an empty repo (#24164) 1 year ago
git Use more specific test methods (#24265) 1 year ago
issues Merge setting.InitXXX into one function with options (#24389) 1 year ago
migrations Merge setting.InitXXX into one function with options (#24389) 1 year ago
organization Add owner team permission check test (#24096) 1 year ago
packages Add RPM registry (#23380) 1 year ago
perm Rename `repo.GetOwner` to `repo.LoadOwner` (#22967) 1 year ago
project Improve GetBoards and getDefaultBoard (#22981) 1 year ago
pull refactor some functions to support ctx as first parameter (#21878) 2 years ago
repo Fix unclear `IsRepositoryExist` logic (#24374) 1 year ago
secret Secrets storage with SecretKey encrypted (#22142) 2 years ago
system Avoid warning for system setting when start up (#23054) 1 year ago
unit Require at least one unit to be enabled (#24189) 1 year ago
unittest Merge setting.InitXXX into one function with options (#24389) 1 year ago
user Add Debian package registry (#24426) 1 year ago
webhook Fix incorrect webhook time and use relative-time to display it (#24477) 1 year ago
error.go Implement FSFE REUSE for golang files (#21840) 2 years ago
fixture_generation.go Implement FSFE REUSE for golang files (#21840) 2 years ago
fixture_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
main_test.go Merge setting.InitXXX into one function with options (#24389) 1 year ago
migrate.go Check primary keys for all tables and drop ForeignReference (#21721) 2 years ago
migrate_test.go Check primary keys for all tables and drop ForeignReference (#21721) 2 years ago
org.go refactor some functions to support ctx as first parameter (#21878) 2 years ago
org_team.go Remove org users who belong to no teams (#24247) 1 year ago
org_team_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
org_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
repo.go Require at least one unit to be enabled (#24189) 1 year ago
repo_collaboration.go refactor some functions to support ctx as first parameter (#21878) 2 years ago
repo_collaboration_test.go Rename `repo.GetOwner` to `repo.LoadOwner` (#22967) 1 year ago
repo_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
repo_transfer.go Fix unclear `IsRepositoryExist` logic (#24374) 1 year ago
repo_transfer_test.go Rename almost all Ctx functions (#22071) 2 years ago