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/templates/repo
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
..
actions Fix the runs will not be displayed bug when the main branch have no workflows but other branches have (#28359) 1 year ago
branch Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
cite Update JS and PY dependencies (#27501) 1 year ago
code Fix more "locale" usages (#27259) 1 year ago
diff Improve CSS helper naming (#28769) 1 year ago
editor Revert "Fix EOL handling in web editor" (#28101) 1 year ago
find Always use `ctx.Locale.Tr` inside templates (#27231) 1 year ago
graph Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
issue Add non-JS fallback for reaction tooltips (#28785) 1 year ago
migrate Fix duplicate ID when deleting repo (#28520) 1 year ago
projects Use full width for project boards (#28225) 1 year ago
pulls Add `Hide/Show all checks` button to commit status check (#26284) 1 year ago
release Add download attribute to release attachments (#28739) 1 year ago
settings Add branch protection setting for ignoring stale approvals (#28498) 1 year ago
tag Fix more "locale" usages (#27259) 1 year ago
wiki Fix more "locale" usages (#27259) 1 year ago
activity.tmpl Fix more "locale" usages (#27259) 1 year ago
blame.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 1 year ago
branch_dropdown.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 1 year ago
clone_buttons.tmpl Fix more "locale" usages (#27259) 1 year ago
clone_script.tmpl Rework button coloring, add focus and active colors (#24507) 2 years ago
commit_load_branches_and_tags.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 1 year ago
commit_page.tmpl Fix margin in server signed signature verification view (#28379) 1 year ago
commit_status.tmpl Restore warning commit status (#27504) 1 year ago
commit_statuses.tmpl Add `Hide/Show all checks` button to commit status check (#26284) 1 year ago
commits.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 1 year ago
commits_list.tmpl Add `Hide/Show all checks` button to commit status check (#26284) 1 year ago
commits_list_small.tmpl Add `Hide/Show all checks` button to commit status check (#26284) 1 year ago
commits_table.tmpl Fix more "locale" usages (#27259) 1 year ago
create.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 1 year ago
create_helper.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 1 year ago
empty.tmpl Fix more "locale" usages (#27259) 1 year ago
file_info.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 1 year ago
forks.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 1 year ago
graph.tmpl Fix more "locale" usages (#27259) 1 year ago
header.tmpl Revamp repo header (#27760) 1 year ago
home.tmpl Add word-break to repo description in home page (#27924) 1 year ago
icon.tmpl cleanup repo details icons/labels (#27644) 1 year ago
packages.tmpl Fix inconsistent user profile layout across tabs (#25625) 2 years ago
release_tag_header.tmpl Improve RSS feed icons (#28368) 1 year ago
search.tmpl Fix 500 error of searching commits (#28576) 1 year ago
search_name.tmpl Clean template/helper.go (#23922) 2 years ago
shabox_badge.tmpl cleanup locale function usage (#27227) 1 year ago
sub_menu.tmpl Enable followCursor for language stats bar (#27713) 1 year ago
unicode_escape_prompt.tmpl cleanup locale function usage (#27227) 1 year ago
upload.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 1 year ago
user_cards.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 1 year ago
view_file.tmpl Add option to disable ambiguous unicode characters detection (#28454) 1 year ago
view_list.tmpl Add `Hide/Show all checks` button to commit status check (#26284) 1 year ago
watchers.tmpl Fix user-cards format (#24428) 2 years ago