gitea/routers/api/v1
John Olheiser 8cd3237a9e
Better repo API unit checks (#21130)
This PR would presumably
Fix #20522
Fix #18773
Fix #19069
Fix #21077

Fix #13622

-----

1. Check whether unit type is currently enabled
2. Check if it _will_ be enabled via opt
3. Allow modification as necessary


Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
2022-09-28 00:23:58 +02:00
..
activitypub Go 1.19 format (#20758) 2022-08-30 21:15:45 -05:00
admin Move some files into models' sub packages (#20262) 2022-08-25 10:31:57 +08:00
misc Share HTML template renderers and create a watcher framework (#20218) 2022-08-28 10:43:25 +01:00
notify Move some files into models' sub packages (#20262) 2022-08-25 10:31:57 +08:00
org [API] teamSearch show teams with no members if user is admin (#21204) 2022-09-19 20:02:29 +08:00
packages Add support for Vagrant packages (#20930) 2022-08-29 15:04:45 +08:00
repo Better repo API unit checks (#21130) 2022-09-28 00:23:58 +02:00
settings Make mirror feature more configurable (#16957) 2021-09-07 17:49:36 +02:00
swagger Move some files into models' sub packages (#20262) 2022-08-25 10:31:57 +08:00
user Go 1.19 format (#20758) 2022-08-30 21:15:45 -05:00
utils Webhook for Wiki changes (#20219) 2022-09-04 20:54:23 +01:00
api.go Go 1.19 format (#20758) 2022-08-30 21:15:45 -05:00
auth_windows.go Let web and API routes have different auth methods group (#19168) 2022-03-28 12:46:28 +08:00
auth.go Remove legacy +build: constraint (#19582) 2022-05-02 23:22:45 +08:00