0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-24 20:26:49 +01:00
gitea/routers/api/v1/repo
Lunny Xiao fe49cb0243
Fix get reviewers' bug (#32415)
This PR rewrites `GetReviewer` function and move it to service layer.

Reviewers should not be watchers, so that this PR removed all watchers
from reviewers. When the repository is under an organization, the pull
request unit read permission will be checked to resolve the bug of
#32394

Fix #32394
2024-11-22 10:44:48 -05:00
..
action.go Set owner id to zero when GetRegistrationToken for repo (#31725) 2024-07-29 18:46:45 +00:00
avatar.go
blob.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
branch.go Remove duplicate empty repo check in delete branch API (#32569) 2024-11-20 01:05:06 +00:00
collaborators.go Fix get reviewers' bug (#32415) 2024-11-22 10:44:48 -05:00
commits.go Fix bug in getting merged pull request by commit (#32079) 2024-09-24 01:00:09 +00:00
compare.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
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 Refactor names (#31405) 2024-06-19 06:32:45 +08:00
git_ref.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
hook_test.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
hook.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
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 Refactor names (#31405) 2024-06-19 06:32:45 +08:00
issue_dependency.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
issue_label.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
issue_pin.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
issue_reaction.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
issue_stopwatch.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
issue_subscription.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
issue_tracked_time.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
issue.go Fix milestone deadline and date related problems (#32339) 2024-11-05 07:46:40 +00:00
key.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
label.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
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 Refactor names (#31405) 2024-06-19 06:32:45 +08:00
notes.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
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 Refactor names (#31405) 2024-06-19 06:32:45 +08:00
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 Refactor names (#31405) 2024-06-19 06:32:45 +08:00
subscriber.go
tag.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
teams.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
topic.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
transfer.go
tree.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
wiki.go Enable more revive linter rules (#30608) 2024-04-22 11:48:42 +00:00