gitea/routers/api/v1/repo
Lunny Xiao cf1a38b03d
Some checks are pending
release-nightly / disk-clean (push) Waiting to run
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
Fix get reviewers' bug (#32415) (#32616)
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

Fix #32394
Backport #32415
2024-11-23 12:42:58 +08:00
..
action.go fix(api): owner ID should be zero when created repo secret (#31715) (#31811) 2024-08-10 00:21:51 +08:00
avatar.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
blob.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
branch.go Fix branch_protection api shows users/teams who has no readAccess (#30291) 2024-04-17 15:24:07 +02:00
collaborators.go Fix get reviewers' bug (#32415) (#32616) 2024-11-23 12:42:58 +08:00
commits.go Fix bug in getting merged pull request by commit (#32079) (#32117) 2024-09-25 00:12:02 +08:00
compare.go Fix compare api swagger (#30648) 2024-04-23 02:22:43 +00:00
file.go Fix missing signature key error when pulling Docker images with SERVE_DIRECT enabled (#32365) (#32397) 2024-11-01 03:53:59 +00:00
fork.go Refactor find forks and fix possible bugs that weak permissions check (#32528) (#32547) 2024-11-19 04:08:32 +00:00
git_hook.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
git_ref.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
hook_test.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
hook.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
issue_attachment.go Catch and handle unallowed file type errors in issue attachment API (#30791) (#30834) 2024-05-03 01:45:45 +08:00
issue_comment_attachment.go Catch and handle unallowed file type errors in issue attachment API (#30791) (#30834) 2024-05-03 01:45:45 +08:00
issue_comment.go Do some performance optimize for issues list and view issue/pull (#29515) 2024-03-12 07:23:44 +00:00
issue_dependency.go Fix missed doer (#30231) 2024-04-08 21:26:41 +00:00
issue_label.go Support using label names when changing issue labels (#30943) (#30958) 2024-05-13 14:28:11 +08:00
issue_pin.go Fix missed doer (#30231) 2024-04-08 21:26:41 +00:00
issue_reaction.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
issue_stopwatch.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
issue_subscription.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
issue_tracked_time.go Fix missed doer (#30231) 2024-04-08 21:26:41 +00:00
issue.go API: enhance SearchIssues swagger docs (#32208) (#32298) 2024-10-21 08:32:34 +08:00
key.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
label.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
language.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
migrate.go Fix "force private" logic (#31012) (#31021) 2024-05-20 10:27:52 +08:00
milestone.go remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00
mirror.go Add missed return after ctx.ServerError (#31130) (#31133) 2024-05-28 12:47:11 +02:00
notes.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
patch.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
pull_review.go Fix the logic of finding the latest pull review commit ID (#32139) (#32165) 2024-10-01 13:10:03 +09:00
pull.go Fix PR creation on forked repositories (#31863) (#32591) 2024-11-22 08:12:40 +00:00
release_attachment.go Add support for API blob upload of release attachments (#29507) 2024-03-02 17:02:01 +00:00
release_tags.go Protected tag is no internal server error (#30962) (#30970) 2024-05-14 07:15:36 +00:00
release.go Handle invalid target when creating releases using API (#31841) (#32043) 2024-09-17 02:23:40 +00:00
repo_test.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
repo.go Fix bug when a token is given public only (#32204) (#32218) 2024-10-09 02:16:37 +00:00
star.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
status.go Cache repository default branch commit status to reduce query on commit status table (#29444) 2024-03-06 12:17:19 +00:00
subscriber.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
tag.go Protected tag is no internal server error (#30962) (#30970) 2024-05-14 07:15:36 +00:00
teams.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
topic.go Refactor topic Find functions and add more tests for pagination (#30127) 2024-03-29 11:38:16 +08:00
transfer.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
tree.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
wiki.go Enable more revive linter rules (#30608) 2024-04-22 11:48:42 +00:00