1
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-05-02 21:48:10 +00:00
gitea/templates
Henrique Corrêa d0f4e92563
Reject star-related requests if stars are disabled ()
This PR fixes .

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 () 2025-01-21 18:57:07 +00:00
api/packages/pypi Fix links in PyPI Simple Repository API page () 2024-04-20 01:15:14 +00:00
base Fix dropdown menu header and mobile view () 2025-01-05 21:20:22 +00:00
custom
devtest De-emphasize signed commits () 2024-12-28 04:18:30 +08:00
explore Refactor template ctx and render utils () 2024-11-05 14:04:26 +08:00
mail Remove unnecessary SanitizeHTML from code () 2024-03-04 12:02:45 +00:00
org Worktime tracking for the organization level () 2025-02-03 01:51:12 +08:00
package Trivial fixes () 2025-01-17 08:55:02 +00:00
projects Refactor repo-projects.ts () 2024-12-19 08:37:12 +00:00
repo Fix commit status events () 2025-02-04 03:25:59 +00:00
shared Correct bot label vertical-align () 2025-02-02 18:42:30 +00:00
status Remove urls from translations () 2024-09-02 18:36:24 +00:00
swagger Reject star-related requests if stars are disabled () 2025-02-04 13:21:23 +08:00
user Worktime tracking for the organization level () 2025-02-03 01:51:12 +08:00
webhook Fix incorrect tailwind migration () 2024-03-22 20:51:29 +01:00
home.tmpl Remove urls from translations () 2024-09-02 18:36:24 +00:00
install.tmpl Supplement and Improvement for () 2024-11-21 02:42:37 +00:00
post-install.tmpl Optimize the installation page () 2024-12-31 04:49:26 +00:00