0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-24 18:12:53 +01:00
gitea/templates
Lunny Xiao cf2d332443
Refactor find forks and fix possible bugs that weak permissions check (#32528) (#32547)
Backport #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-19 04:08:32 +00:00
..
admin Fix some places which doesn't repsect org full name setting (#32243) (#32550) 2024-11-19 02:49:29 +00:00
api/packages/pypi Fix links in PyPI Simple Repository API page (#30594) 2024-04-20 01:15:14 +00:00
base Fix navbar + menu flashing on page load (#31281) (#31342) 2024-06-12 15:26:04 +00:00
custom
devtest Fix dropdown content overflow (#31610) (#32250) 2024-10-13 03:46:55 +00:00
explore Refactor web routes (#30519) 2024-04-17 08:31:37 +00:00
mail Remove unnecessary SanitizeHTML from code (#29575) 2024-03-04 12:02:45 +00:00
org Right align the "Settings" menu item in overflow-menu (#30764) (#30777) 2024-04-30 16:40:09 +08:00
package Avoid 500 panic error when uploading invalid maven package file (#31014) (#31027) 2024-05-20 07:10:27 +00:00
projects Remove .segment from .project-column (#31204) (#31239) 2024-06-04 09:45:50 +00:00
repo Refactor find forks and fix possible bugs that weak permissions check (#32528) (#32547) 2024-11-19 04:08:32 +00:00
shared Optimize runner-tags layout to enhance visual experience (#31258) (#31263) 2024-06-06 04:35:36 +08:00
status Initial support for colorblindness-friendly themes (#30625) 2024-04-24 00:18:41 +08:00
swagger API: enhance SearchIssues swagger docs (#32208) (#32298) 2024-10-21 08:32:34 +08:00
user Fix some places which doesn't repsect org full name setting (#32243) (#32550) 2024-11-19 02:49:29 +00:00
webhook Fix incorrect tailwind migration (#30007) 2024-03-22 20:51:29 +01:00
home.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-24 17:42:49 +01:00
install.tmpl Use forum.gitea.com instead of old URL (#31989) (#31992) 2024-09-07 03:47:23 +08:00
post-install.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00