You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers/api/v1
Henrique Corrêa d0f4e92563
Reject star-related requests if stars are disabled (#33208)
This PR fixes #33205.

If stars are disabled:
* The `.../repo/stars` page returns a 403 Forbidden error
* Star-related API endpoints return a 403 Forbidden error saying `Stars are disabled.`
* Same for action endpoints

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
3 weeks ago
..
activitypub Remove SHA1 for support for ssh rsa signing (#31857) 6 months ago
admin Inclusion of rename organization api (#33303) 3 weeks ago
misc Fix markup render regression and fix some tests (#32640) 3 months ago
notify Clarify path param naming (#32969) 2 months ago
org Inclusion of rename organization api (#33303) 3 weeks ago
packages remove util.OptionalBool and related functions (#29513) 12 months ago
repo Reject star-related requests if stars are disabled (#33208) 3 weeks ago
settings Move context from modules to services (#29440) 1 year ago
shared Refactor names (#31405) 8 months ago
swagger Inclusion of rename organization api (#33303) 3 weeks ago
user Reject star-related requests if stars are disabled (#33208) 3 weeks ago
utils Add tests for webhook and fix some webhook bugs (#33396) 4 weeks ago
api.go Reject star-related requests if stars are disabled (#33208) 3 weeks ago