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/user
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
..
action.go Refactor names (#31405) 8 months ago
app.go Clarify path param naming (#32969) 2 months ago
avatar.go Fix bug on avatar (#31008) 9 months ago
block.go Add user blocking (#29028) 12 months ago
email.go Move context from modules to services (#29440) 1 year ago
follower.go Clarify path param naming (#32969) 2 months ago
gpg_key.go Clarify path param naming (#32969) 2 months ago
helper.go Clarify path param naming (#32969) 2 months ago
hook.go Refactor names (#31405) 8 months ago
key.go Clarify path param naming (#32969) 2 months ago
repo.go refactor: remove redundant err declarations (#32381) 4 months ago
runners.go Move context from modules to services (#29440) 1 year ago
settings.go Move context from modules to services (#29440) 1 year ago
star.go Reject star-related requests if stars are disabled (#33208) 3 weeks ago
user.go Clarify path param naming (#32969) 2 months ago
watch.go Add user blocking (#29028) 12 months ago