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
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
..
api Reject star-related requests if stars are disabled (#33208) 3 weeks ago
common Support performance trace (#32973) 1 month ago
install Refactor request context (#32956) 2 months ago
private User facing messages for AGit errors (#33012) 4 weeks ago
utils Refactor older tests to use testify (#33140) 2 months ago
web Reject star-related requests if stars are disabled (#33208) 3 weeks ago
init.go Prepare for support performance trace (#33286) 1 month ago