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 Fix links in PyPI Simple Repository API page (#30594) 2024-04-20 01:15:14 +00:00
base Fix dropdown menu header and mobile view (#33108) 2025-01-05 21:20:22 +00:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
devtest De-emphasize signed commits (#31160) 2024-12-28 04:18:30 +08:00
explore Refactor template ctx and render utils (#32422) 2024-11-05 14:04:26 +08:00
mail Remove unnecessary SanitizeHTML from code (#29575) 2024-03-04 12:02:45 +00:00
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 Remove urls from translations (#31950) 2024-09-02 18:36:24 +00:00
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 Fix incorrect tailwind migration (#30007) 2024-03-22 20:51:29 +01:00
home.tmpl Remove urls from translations (#31950) 2024-09-02 18:36:24 +00:00
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