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/web_src/js/features
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>
1 year ago
..
admin Use appSubUrl for OAuth2 callback URL tip (#28266) 1 year ago
comp Update JS dependencies (#27922) 1 year ago
captcha.js
citation.js Don't show unnecessary citation JS error on UI (#28433) 1 year ago
clipboard.js Clipboard copy enhancements (#27669) 1 year ago
codeeditor.js Update JS dependencies (#28537) 1 year ago
colorpicker.js
common-global.js Polyfill SubmitEvent for PaleMoon (#28441) 1 year ago
common-issue-list.js Polyfill SubmitEvent for PaleMoon (#28441) 1 year ago
common-issue-list.test.js Use vitest globals (#27102) 1 year ago
common-organization.js
contextpopup.js
copycontent.js Use fetch helpers instead of fetch (#27026) 1 year ago
dropzone.js
emoji.js Update JS and PY dependencies (#27501) 1 year ago
eventsource.sharedworker.js
file-fold.js Update JS dependencies (#27922) 1 year ago
heatmap.js Remove fomantic loader module (#26670) 1 year ago
imagediff.js Replace ajax with fetch, improve image diff (#27267) 1 year ago
install.js Use fetch helpers instead of fetch (#27026) 1 year ago
notification.js Fix notification list bugs (#25781) 2 years ago
org-team.js Update JS dependencies (#27922) 1 year ago
pull-view-file.js Update JS dependencies (#27922) 1 year ago
repo-branch.js
repo-code.js
repo-code.test.js Use vitest globals (#27102) 1 year ago
repo-commit.js Add `Hide/Show all checks` button to commit status check (#26284) 1 year ago
repo-common.js Improve "language stats" UI (#26968) 1 year ago
repo-diff-commit.js Use fetch helpers instead of fetch (#27026) 1 year ago
repo-diff-commitselect.js Add commits dropdown in PR files view and allow commit by commit review (#25528) 2 years ago
repo-diff-filetree.js
repo-diff.js Polyfill SubmitEvent for PaleMoon (#28441) 1 year ago
repo-editor.js Update JS dependencies (#27922) 1 year ago
repo-findfile.js Update JS dependencies (#27922) 1 year ago
repo-findfile.test.js Use vitest globals (#27102) 1 year ago
repo-graph.js
repo-home.js Fix edit topic UI (#27925) 1 year ago
repo-issue-content.js Improve issue history dialog and make poster can delete their own history (#27323) 1 year ago
repo-issue-list.js Hide archived labels by default from the suggestions when assigning labels for an issue (#27451) 1 year ago
repo-issue-pr-form.js
repo-issue-pr-status.js Fix the overflow style for "Hide all checks" (#27932) 1 year ago
repo-issue.js Fix incorrect URL for "Reference in New Issue" (#28716) 1 year ago
repo-legacy.js Update JS dependencies (#27922) 1 year ago
repo-migrate.js Use fetch helpers instead of fetch (#27026) 1 year ago
repo-migration.js Use "input" event instead of "keyup" event for migration form (#26602) 2 years ago
repo-projects.js Fix duplicate project board when hitting `enter` key (#27746) 1 year ago
repo-release.js
repo-settings.js Add branch protection setting for ignoring stale approvals (#28498) 1 year ago
repo-template.js
repo-unicode-escape.js
repo-wiki.js Improve wiki sidebar and TOC (#25460) 2 years ago
sshkey-helper.js
stopwatch.js
tablesort.js
tribute.js Avoiding accessing undefined mentionValues (#26461) 2 years ago
user-auth-webauthn.js Use fetch helpers instead of fetch (#27026) 1 year ago
user-auth.js Show the mismatched ROOT_URL warning on the sign-in page if OAuth2 is enabled (#25947) 2 years ago
user-settings.js