0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-02-05 16:43:25 +01:00
gitea/routers/api/v1/repo
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
..
action.go
avatar.go
blob.go
branch.go Make admins adhere to branch protection rules (#32248) 2024-10-23 12:39:43 +08:00
collaborators.go Move AddCollabrator and CreateRepositoryByExample to service layer (#32419) 2024-11-07 11:28:11 +08:00
commits.go Fix bug in getting merged pull request by commit (#32079) 2024-09-24 01:00:09 +00:00
compare.go
file.go Refactor RepoRefByType (#32413) 2024-11-05 06:35:54 +00:00
fork.go Refactor find forks and fix possible bugs that weak permissions check (#32528) 2024-11-18 03:06:25 +00:00
git_hook.go
git_ref.go
hook_test.go
hook.go
issue_attachment.go Include file extension checks in attachment API (#32151) 2024-11-06 21:34:32 +00:00
issue_comment_attachment.go Include file extension checks in attachment API (#32151) 2024-11-06 21:34:32 +00:00
issue_comment.go
issue_dependency.go
issue_label.go
issue_pin.go
issue_reaction.go
issue_stopwatch.go
issue_subscription.go
issue_tracked_time.go
issue.go Fix milestone deadline and date related problems (#32339) 2024-11-05 07:46:40 +00:00
key.go
label.go
language.go
license.go Support repo license (#24872) 2024-10-01 15:25:08 -04:00
main_test.go
migrate.go Support migration from AWS CodeCommit (#31981) 2024-09-11 07:49:42 +08:00
milestone.go Fix milestone deadline and date related problems (#32339) 2024-11-05 07:46:40 +00:00
mirror.go
notes.go
patch.go
pull_review.go Add reviewers selection to new pull request (#32403) 2024-11-09 04:48:31 +00:00
pull.go Add reviewers selection to new pull request (#32403) 2024-11-09 04:48:31 +00:00
release_attachment.go Include file extension checks in attachment API (#32151) 2024-11-06 21:34:32 +00:00
release_tags.go
release.go Handle invalid target when creating releases using API (#31841) 2024-09-12 07:47:31 +00:00
repo_test.go
repo.go Fix git error handling (#32401) 2024-11-02 11:20:22 +00:00
star.go
status.go
subscriber.go
tag.go
teams.go
topic.go
transfer.go
tree.go
wiki.go