gitea/models/issues
Kemal Zebari 242b331260
Prevent re-review and dismiss review actions on closed and merged PRs (#30065)
Resolves #29965.

---
Manually tested this by:
- Following the
[installation](https://docs.gitea.com/next/installation/install-with-docker#basics)
guide (but built a local Docker image instead)
- Creating 2 users, one who is the `Owner` of a newly-created repository
and the other a `Collaborator`
- Had the `Collaborator` create a PR that the `Owner` reviews
- `Collaborator` resolves conversation and `Owner` merges PR

And with this change we see that we can no longer see re-request review
button for the `Owner`:

<img width="1351" alt="Screenshot 2024-03-25 at 12 39 18 AM"
src="https://github.com/go-gitea/gitea/assets/60799661/bcd9c579-3cf7-474f-a51e-b436fe1a39a4">
2024-03-28 15:19:24 +00:00
..
assignees.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
assignees_test.go Remove deadcode under models/issues (#28536) 2023-12-19 20:12:02 +01:00
comment.go Do some performance optimize for issues list and view issue/pull (#29515) 2024-03-12 07:23:44 +00:00
comment_code.go Load attachments for code comments (#30124) 2024-03-27 04:44:26 +00:00
comment_list.go Do some performance optimize for issues list and view issue/pull (#29515) 2024-03-12 07:23:44 +00:00
comment_test.go
content_history.go Fix issue & comment history bugs (#29525) 2024-03-01 16:46:02 +00:00
content_history_test.go Fix issue & comment history bugs (#29525) 2024-03-01 16:46:02 +00:00
dependency.go
dependency_test.go
issue.go Performance improvements for pull request list page (#29900) 2024-03-21 14:13:08 +01:00
issue_index.go
issue_label.go
issue_label_test.go
issue_list.go Performance improvements for pull request list page (#29900) 2024-03-21 14:13:08 +01:00
issue_list_test.go
issue_lock.go
issue_project.go Add default board to new projects, remove uncategorized pseudo-board (#29874) 2024-03-27 20:54:32 +00:00
issue_search.go Use db.ListOptions directly instead of Paginator interface to make it easier to use and fix performance of /pulls and /issues (#29990) 2024-03-24 18:51:08 +00:00
issue_stats.go Use db.ListOptions directly instead of Paginator interface to make it easier to use and fix performance of /pulls and /issues (#29990) 2024-03-24 18:51:08 +00:00
issue_test.go Allow non-admin users to delete review requests (#29057) 2024-02-24 12:38:43 +00:00
issue_update.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
issue_user.go
issue_user_test.go
issue_watch.go
issue_watch_test.go
issue_xref.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
issue_xref_test.go
label.go Refactor label.IsArchived() (#29750) 2024-03-13 07:04:07 +01:00
label_test.go Remove deadcode under models/issues (#28536) 2023-12-19 20:12:02 +01:00
main_test.go
milestone.go remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00
milestone_list.go remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00
milestone_test.go remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00
pull.go Fix codeowner detected diff base branch to mergebase (#29783) 2024-03-15 05:13:09 +00:00
pull_list.go Refactor StringsToInt64s (#29967) 2024-03-21 15:07:35 +00:00
pull_test.go Refactor StringsToInt64s (#29967) 2024-03-21 15:07:35 +00:00
reaction.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
review.go Prevent re-review and dismiss review actions on closed and merged PRs (#30065) 2024-03-28 15:19:24 +00:00
review_list.go remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00
review_test.go Prevent re-review and dismiss review actions on closed and merged PRs (#30065) 2024-03-28 15:19:24 +00:00
stopwatch.go Remove deadcode under models/issues (#28536) 2023-12-19 20:12:02 +01:00
stopwatch_test.go
tracked_time.go remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00
tracked_time_test.go remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00