gitea/templates
Lunny Xiao 4f879a00df
Refactor find forks and fix possible bugs that weak permissions check (#32528)
- Move models/GetForks to services/FindForks
- Add doer as a parameter of FindForks to check permissions
- Slight performance optimization for get forks API with batch loading
of repository units
- Add tests for forking repository to organizations

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-11-18 03:06:25 +00:00
..
admin Refactor DateUtils and merge TimeSince (#32409) 2024-11-04 11:30:00 +00:00
api/packages/pypi Fix links in PyPI Simple Repository API page (#30594) 2024-04-20 01:15:14 +00:00
base Refactor language menu and dom utils (#32450) 2024-11-08 14:04:24 +08:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
devtest Refactor DateUtils and merge TimeSince (#32409) 2024-11-04 11:30:00 +00: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 Refactor template ctx and render utils (#32422) 2024-11-05 14:04:26 +08:00
package Refactor template ctx and render utils (#32422) 2024-11-05 14:04:26 +08:00
projects Refactor template ctx and render utils (#32422) 2024-11-05 14:04:26 +08:00
repo Refactor find forks and fix possible bugs that weak permissions check (#32528) 2024-11-18 03:06:25 +00:00
shared Refactor template ctx and render utils (#32422) 2024-11-05 14:04:26 +08:00
status Remove urls from translations (#31950) 2024-09-02 18:36:24 +00:00
swagger Refactor render system (#32492) 2024-11-14 05:02:11 +00:00
user Refactor template ctx and render utils (#32422) 2024-11-05 14:04:26 +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 Use forum.gitea.com instead of old URL (#31989) 2024-09-06 07:20:30 +00:00
post-install.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00