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/templates
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
..
admin Support performance trace (#32973) 1 month ago
api/packages/pypi Fix links in PyPI Simple Repository API page (#30594) 10 months ago
base Fix dropdown menu header and mobile view (#33108) 2 months ago
custom Add footer extra links template (#9576) 5 years ago
devtest De-emphasize signed commits (#31160) 2 months ago
explore Refactor template ctx and render utils (#32422) 4 months ago
mail Remove unnecessary SanitizeHTML from code (#29575) 12 months ago
org Worktime tracking for the organization level (#19808) 3 weeks ago
package Trivial fixes (#33304) 1 month ago
projects Refactor repo-projects.ts (#32892) 2 months ago
repo Fix commit status events (#33320) 3 weeks ago
shared Correct bot label `vertical-align` (#33477) 3 weeks ago
status Remove urls from translations (#31950) 6 months ago
swagger Reject star-related requests if stars are disabled (#33208) 3 weeks ago
user Worktime tracking for the organization level (#19808) 3 weeks ago
webhook Fix incorrect tailwind migration (#30007) 11 months ago
home.tmpl Remove urls from translations (#31950) 6 months ago
install.tmpl Supplement and Improvement for #32558 (#32585) 3 months ago
post-install.tmpl Optimize the installation page (#32994) 2 months ago