gitea/services/issue
Lunny Xiao cf1a38b03d
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
..
assignee.go Fix get reviewers' bug (#32415) (#32616) 2024-11-23 12:42:58 +08:00
assignee_test.go Remove deadcode under models/issues (#28536) 2023-12-19 20:12:02 +01:00
comments.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
commit.go Enable more `revive` linter rules (#30608) 2024-04-22 11:48:42 +00:00
commit_test.go Replace 'userxx' with 'orgxx' in all test files when the user type is org (#27052) 2023-09-14 02:59:53 +00:00
content.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
issue.go Fix various problems around projects board view (#30696) (#30902) 2024-05-08 15:46:21 +00:00
issue_test.go Penultimate round of `db.DefaultContext` refactor (#27414) 2023-10-11 04:24:07 +00:00
label.go Penultimate round of `db.DefaultContext` refactor (#27414) 2023-10-11 04:24:07 +00:00
label_test.go Next round of `db.DefaultContext` refactor (#27089) 2023-09-16 14:39:12 +00:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
milestone.go Penultimate round of `db.DefaultContext` refactor (#27414) 2023-10-11 04:24:07 +00:00
milestone_test.go Penultimate round of `db.DefaultContext` refactor (#27414) 2023-10-11 04:24:07 +00:00
pull.go Update misspell to 0.5.1 and add `misspellings.csv` (#30573) 2024-04-27 08:03:49 +00:00
reaction.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
reaction_test.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
status.go Fix 500 error when `state` params is set when editing issue/PR by API (#31880) (#31952) 2024-09-01 18:38:10 +00:00
template.go Refactor issue template parsing and fix API endpoint (#29069) 2024-02-12 05:04:10 +00:00