0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-01-11 15:47:39 +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-29 01:05:56 +00:00
2024-12-29 01:05:56 +00:00
2024-06-11 18:47:45 +00:00
2025-01-10 06:00:06 +00:00
2025-01-10 06:00:06 +00:00
2024-12-30 14:35:46 -08:00
2024-12-30 14:35:46 -08:00