0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-24 11:58:17 +01:00
gitea/web_src/js
Jimmy Praet 5d3fdd1212
Add branch protection setting for ignoring stale approvals (#28498)
Fixes #27114.

* In Gitea 1.12 (#9532), a "dismiss stale approvals" branch protection
setting was introduced, for ignoring stale reviews when verifying the
approval count of a pull request.
* In Gitea 1.14 (#12674), the "dismiss review" feature was added.
* This caused confusion with users (#25858), as "dismiss" now means 2
different things.
* In Gitea 1.20 (#25882), the behavior of the "dismiss stale approvals"
branch protection was modified to actually dismiss the stale review.

For some users this new behavior of dismissing the stale reviews is not
desirable.

So this PR reintroduces the old behavior as a new "ignore stale
approvals" branch protection setting.

---------

Co-authored-by: delvh <dev.lh@web.de>
2024-01-15 07:20:01 +00:00
..
components Modernize merge button (#28140) 2024-01-15 00:00:47 +02:00
features Add branch protection setting for ignoring stale approvals (#28498) 2024-01-15 07:20:01 +00:00
markup Change katex limits (#27823) 2023-10-29 01:52:02 +00:00
modules Polyfill SubmitEvent for PaleMoon (#28441) 2023-12-15 07:26:36 +08:00
render
standalone
test
utils Polyfill SubmitEvent for PaleMoon (#28441) 2023-12-15 07:26:36 +08:00
vendor
webcomponents Polyfill SubmitEvent for PaleMoon (#28441) 2023-12-15 07:26:36 +08:00
bootstrap.js
index.js Hide archived labels by default from the suggestions when assigning labels for an issue (#27451) 2023-10-17 16:10:45 +02:00
jquery.js
svg.js Replace ajax with fetch, improve image diff (#27267) 2023-10-11 12:34:21 +00:00
svg.test.js
utils.js Replace ajax with fetch, improve image diff (#27267) 2023-10-11 12:34:21 +00:00
utils.test.js