0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-02-21 00:34:26 +01:00
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>
2025-02-04 13:21:23 +08:00
..
admin Support performance trace (#32973) 2025-01-21 18:57:07 +00:00
api/packages/pypi
base Fix dropdown menu header and mobile view (#33108) 2025-01-05 21:20:22 +00:00
custom
devtest De-emphasize signed commits (#31160) 2024-12-28 04:18:30 +08:00
explore
mail
org Worktime tracking for the organization level (#19808) 2025-02-03 01:51:12 +08:00
package Trivial fixes (#33304) 2025-01-17 08:55:02 +00:00
projects Refactor repo-projects.ts (#32892) 2024-12-19 08:37:12 +00:00
repo Fix commit status events (#33320) 2025-02-04 03:25:59 +00:00
shared Correct bot label vertical-align (#33477) 2025-02-02 18:42:30 +00:00
status
swagger Reject star-related requests if stars are disabled (#33208) 2025-02-04 13:21:23 +08:00
user Worktime tracking for the organization level (#19808) 2025-02-03 01:51:12 +08:00
webhook
home.tmpl
install.tmpl Supplement and Improvement for #32558 (#32585) 2024-11-21 02:42:37 +00:00
post-install.tmpl Optimize the installation page (#32994) 2024-12-31 04:49:26 +00:00