0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-01-26 08:25:35 +01:00
HeCorr c49823c2b6
api: respect DISABLE_STARS config option
- add APIGone response type
- re-generate Swagger spec

if stars are disabled:
  - render 404 page on /repo/stars
  - return 410 error on star-related API endpoints and actions
  - return empty value on star model functions (StarRepo, IsStaring, GetStargazers)
2025-01-10 20:01:33 -03:00
..
2024-12-24 13:47:45 +00:00
2024-12-24 11:43:57 +08:00
2024-12-24 13:47:45 +00:00
2024-12-24 11:43:57 +08:00
2024-10-10 03:48:21 +00:00
2024-12-24 13:47:45 +00:00
2024-12-24 11:43:57 +08:00
2024-12-30 01:57:38 +00:00
2024-12-24 11:43:57 +08:00
2025-01-10 01:31:49 +00:00
2024-12-24 13:47:45 +00:00