0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-09-12 12:19:38 +02:00
gitea/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>
2023-05-06 17:39:06 +08:00
..
actions
activities
admin
asymkey Merge setting.InitXXX into one function with options (#24389) 2023-05-04 11:55:35 +08:00
auth
avatars
db
dbfs Merge setting.InitXXX into one function with options (#24389) 2023-05-04 11:55:35 +08:00
fixtures
git
issues Merge setting.InitXXX into one function with options (#24389) 2023-05-04 11:55:35 +08:00
migrations Merge setting.InitXXX into one function with options (#24389) 2023-05-04 11:55:35 +08:00
organization
packages Add RPM registry (#23380) 2023-05-05 20:33:37 +00:00
perm
project
pull
repo
secret
system
unit Require at least one unit to be enabled (#24189) 2023-05-06 17:39:06 +08:00
unittest Merge setting.InitXXX into one function with options (#24389) 2023-05-04 11:55:35 +08:00
user
webhook Fix incorrect webhook time and use relative-time to display it (#24477) 2023-05-03 19:53:43 -04:00
error.go
fixture_generation.go
fixture_test.go
main_test.go Merge setting.InitXXX into one function with options (#24389) 2023-05-04 11:55:35 +08:00
migrate.go
migrate_test.go
org.go
org_team.go
org_team_test.go
org_test.go
repo.go Require at least one unit to be enabled (#24189) 2023-05-06 17:39:06 +08:00
repo_collaboration.go
repo_collaboration_test.go
repo_test.go
repo_transfer.go
repo_transfer_test.go