0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-13 18:39:56 +01:00
gitea/services
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
..
actions Add new event commit status creation and webhook implementation (#27151) 2024-11-07 06:41:49 +00:00
agit Add reviewers selection to new pull request (#32403) 2024-11-09 04:48:31 +00:00
asymkey
attachment Include file extension checks in attachment API (#32151) 2024-11-06 21:34:32 +00:00
auth Fix basic auth with webauthn (#32531) 2024-11-16 17:52:16 +00:00
automerge Add new event commit status creation and webhook implementation (#27151) 2024-11-07 06:41:49 +00:00
context Refactor render system (#32492) 2024-11-14 05:02:11 +00:00
contexttest
convert Fix milestone deadline and date related problems (#32339) 2024-11-05 07:46:40 +00:00
cron
doctor Add a doctor check to disable the "Actions" unit for mirrors (#32424) 2024-11-10 23:37:24 +00:00
externalaccount
feed Move AddCollabrator and CreateRepositoryByExample to service layer (#32419) 2024-11-07 11:28:11 +08:00
forms Refactor sidebar assignee&milestone&project selectors (#32465) 2024-11-11 04:07:54 +08:00
gitdiff Reduce integration test overhead (#32475) 2024-11-14 19:28:46 +00:00
indexer
issue Add reviewers selection to new pull request (#32403) 2024-11-09 04:48:31 +00:00
lfs Fix LFS route mock, realm, middleware names (#32488) 2024-11-13 16:58:09 +08:00
mailer Add reviewers selection to new pull request (#32403) 2024-11-09 04:48:31 +00:00
markup
migrations
mirror Fix git error handling (#32401) 2024-11-02 11:20:22 +00:00
notify Add new event commit status creation and webhook implementation (#27151) 2024-11-07 06:41:49 +00:00
oauth2_provider Reimplement GetUserOrgsList to make it simple and clear (#32486) 2024-11-14 05:31:47 +00:00
org
packages Fix missing signature key error when pulling Docker images with SERVE_DIRECT enabled (#32365) 2024-10-31 15:28:25 +00:00
projects
pull Add reviewers selection to new pull request (#32403) 2024-11-09 04:48:31 +00:00
release Trim title before insert/update to database to match the size requirements of database (#32498) 2024-11-14 07:19:14 +00:00
repository Refactor find forks and fix possible bugs that weak permissions check (#32528) 2024-11-18 03:06:25 +00:00
secrets
task
uinotification
user
webhook Only provide the commit summary for Discord webhook push events (#32432) 2024-11-07 19:56:53 +00:00
webtheme
wiki