1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-16 15:14:24 +00:00
gitea/routers/api/v1
Bo-Yi Wu 6459c50278
fix(api): refactor branch and tag existence checks (#30618)
- Update branch existence check to also include tag existence check
- Adjust error message for branch/tag existence check

ref: https://github.com/go-gitea/gitea/pull/30349

---------

Signed-off-by: appleboy <appleboy.tw@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io>
2024-04-22 00:19:59 +02:00
..
activitypub Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
admin Fix empty field login_name in API response JSON when creating user (#30511) 2024-04-16 13:13:00 +08:00
misc Refactor cache and disable go-chi cache (#30417) 2024-04-13 08:38:44 +00:00
notify Clean up log messages (#30313) 2024-04-07 19:17:06 +08:00
org Add API for Variables (#29520) 2024-03-28 20:40:35 +00:00
packages remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00
repo fix(api): refactor branch and tag existence checks (#30618) 2024-04-22 00:19:59 +02:00
settings Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
shared Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
swagger feat(api): implement branch/commit comparison API (#30349) 2024-04-16 11:45:04 +08:00
user Add setting to disable user features when user login type is not plain (#29615) 2024-03-29 16:05:41 +01:00
utils Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
api.go Clarify permission "HasAccess" behavior (#30585) 2024-04-20 03:15:04 +00:00