You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/models
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">
1 year ago
..
actions Cancel previous runs of the same PR automatically (#29961) 1 year ago
activities Performance improvements for pull request list page (#29900) 1 year ago
admin Next round of `db.DefaultContext` refactor (#27089) 2 years ago
asymkey Fix some pending problems (#29985) 1 year ago
auth remove util.OptionalBool and related functions (#29513) 1 year ago
avatars Replace 10 more gt- classes with tw- (#29945) 1 year ago
db Fix misuse of `TxContext` (#30061) 1 year ago
dbfs make writing main test easier (#27270) 2 years ago
fixtures Add default board to new projects, remove uncategorized pseudo-board (#29874) 1 year ago
git Move from `max( id )` to `max( index )` for latest commit statuses (#30076) 1 year ago
issues Prevent re-review and dismiss review actions on closed and merged PRs (#30065) 1 year ago
migrations Add default board to new projects, remove uncategorized pseudo-board (#29874) 1 year ago
organization Respect DEFAULT_ORG_MEMBER_VISIBLE setting when adding creator to org (#30013) 1 year ago
packages Fix incorrect relative/absolute URL usages (#29531) 1 year ago
perm Add user blocking (#29028) 1 year ago
project Add default board to new projects, remove uncategorized pseudo-board (#29874) 1 year ago
pull Add support for sha256 repositories (#23894) 1 year ago
repo Do some performance optimize for issues list and view issue/pull (#29515) 1 year ago
secret Make runs-on support variable expression (#29468) 1 year ago
shared/types Refactor locale&string&template related code (#29165) 1 year ago
system Refactor deletion (#28610) 1 year ago
unit Make actions default enabled for newly created repository if global configuraion enabled (#27482) 1 year ago
unittest Workaround to clean up old reviews on creating a new one (#28554) 1 year ago
user Fix user id column case (#29863) 1 year ago
webhook Store webhook event in database (#29145) 1 year ago
error.go Add merge style `fast-forward-only` (#28954) 1 year ago
fixture_generation.go Replace more db.DefaultContext (#27628) 1 year ago
fixture_test.go Replace more db.DefaultContext (#27628) 1 year ago
main_test.go make writing main test easier (#27270) 2 years ago
org.go Add user blocking (#29028) 1 year ago
org_team.go Add user blocking (#29028) 1 year ago
org_team_test.go Add user blocking (#29028) 1 year ago
org_test.go Add user blocking (#29028) 1 year ago
repo.go Refactor deletion (#28610) 1 year ago
repo_test.go Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
repo_transfer.go Add user blocking (#29028) 1 year ago