1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/routers/api/v1
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
..
activitypub
admin Improve template system and panic recovery (#24461) 2023-05-04 14:36:34 +08:00
misc Improve template system and panic recovery (#24461) 2023-05-04 14:36:34 +08:00
notify
org Fix admin team access mode value in team_unit table (#24012) 2023-04-13 21:06:10 +02:00
packages Add RPM registry (#23380) 2023-05-05 20:33:37 +00:00
repo Require at least one unit to be enabled (#24189) 2023-05-06 17:39:06 +08:00
settings
swagger Add API for gitignore templates (#22783) 2023-04-27 11:51:20 +08:00
user
utils
api.go Add API for gitignore templates (#22783) 2023-04-27 11:51:20 +08:00
auth_windows.go
auth.go