gitea/templates/repo
Brecht Van Lommel a9343896f4
Option to delay conflict checking of old pull requests until page view (#27779)
`[repository.pull-request] DELAY_CHECK_FOR_INACTIVE_DAYS` is a new
setting to delay the mergeable check for pull requests that have been
inactive for the specified number of days.

This avoids potentially long delays for big repositories with many pull
requests. and reduces system load overall when there are many
repositories or pull requests.

When viewing the PR, checking will start immediately and the PR merge
box will automatically reload when complete. Accessing the PR through
the API will also start checking immediately.

The default value of `7` provides a balance between system load, and
keeping behavior similar to what it was before both for users and API
access. With `0` all conflict checking will be delayed, while `-1`
always checks immediately to restore the previous behavior.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-04-24 19:26:57 +00:00
..
actions Fix vertical centering of file tree icons and use entryIcon for submodules/symlinks (#34137) 2025-04-09 18:10:16 -07:00
branch Fix markdown render behaviors (#34122) 2025-04-05 11:56:48 +08:00
cite Fix Citation modal responsiveness and clipboard copy (#29799) 2024-03-15 02:38:13 +00:00
code Auto expand "New PR" form (#33971) 2025-03-24 14:28:02 +00:00
diff Fix various trivial frontend problems (#34263) 2025-04-24 09:11:54 +08:00
editor Refactor markup and pdf-viewer to use new init framework (#33772) 2025-03-03 11:49:15 -08:00
find Fix word overflow in file search page (#32695) 2024-12-03 16:52:25 +00:00
graph Fix button alignments and remove unnecessary styles (#34206) 2025-04-16 08:14:10 +00:00
issue Option to delay conflict checking of old pull requests until page view (#27779) 2025-04-24 19:26:57 +00:00
migrate Fix various trivial frontend problems (#34263) 2025-04-24 09:11:54 +08:00
projects Add fullscreen mode as a more efficient operation way to view projects (#34081) 2025-04-23 13:42:22 +08:00
pulls Check user/org repo limit instead of doer (#34147) 2025-04-07 23:45:31 -07:00
release Display when a release attachment was uploaded (#34261) 2025-04-22 23:03:49 +08:00
settings Fix various trivial frontend problems (#34263) 2025-04-24 09:11:54 +08:00
tag Fix some trivial problems (#34237) 2025-04-18 22:56:50 +08:00
wiki Fix various UI problems (#34243) 2025-04-19 08:43:22 +00:00
activity.tmpl Implement recent commits graph (#29210) 2024-02-24 10:22:51 +00:00
blame.tmpl Fix incorrect file links (#34189) 2025-04-13 12:27:31 -07:00
branch_dropdown.tmpl Refactor dropdown ellipsis (#34123) 2025-04-05 03:21:11 +00:00
clone_buttons.tmpl Rearrange Clone Panel (#31142) 2024-12-11 21:54:30 +08:00
clone_panel.tmpl Fix button alignments and remove unnecessary styles (#34206) 2025-04-16 08:14:10 +00:00
code_frequency.tmpl Refactor web routes (#30519) 2024-04-17 08:31:37 +00:00
commit_load_branches_and_tags.tmpl Migrate gt-hidden to tw-hidden (#30046) 2024-03-24 18:23:38 +00:00
commit_page.tmpl Fix markdown render behaviors (#34122) 2025-04-05 11:56:48 +08:00
commit_sign_badge.tmpl Do not show unnecessary commit sign lock icon (#33387) 2025-01-25 19:32:35 +08:00
commit_status.tmpl Restore warning commit status (#27504) 2023-10-08 22:16:06 +00:00
commit_statuses.tmpl [Fix] Resolve the problem of commit_statuses not being loaded at the top - right when switching files from the file tree (#34079) 2025-03-31 18:39:08 +00:00
commits_list_small.tmpl Fix markdown render behaviors (#34122) 2025-04-05 11:56:48 +08:00
commits_list.tmpl Fix incorrect file links (#34189) 2025-04-13 12:27:31 -07:00
commits_search_dropdown.tmpl Unify search boxes (#29530) 2024-03-14 23:24:59 +00:00
commits_table.tmpl Refactor context repository (#33202) 2025-01-12 03:39:46 +00:00
commits.tmpl Simplify context ref name (#33267) 2025-01-15 11:15:47 +08:00
contributors.tmpl Add "n commits" link to contributors in contributors graph page (#32799) 2024-12-12 19:02:54 +00:00
create_helper.tmpl Remove incorrect and unnecessary Escape from templates (#29394) 2024-02-25 14:02:20 +00:00
create.tmpl Refactor dropdown ellipsis (#34123) 2025-04-05 03:21:11 +00:00
empty.tmpl Fix repo empty guide (#33114) 2025-01-06 12:07:52 +08:00
file_info.tmpl Improve detecting empty files (#31332) 2024-06-13 01:06:46 +00:00
forks.tmpl Refactor find forks and fix possible bugs that weak permissions check (#32528) 2024-11-18 03:06:25 +00:00
graph.tmpl Fix button alignments and remove unnecessary styles (#34206) 2025-04-16 08:14:10 +00:00
header.tmpl Fix button alignments and remove unnecessary styles (#34206) 2025-04-16 08:14:10 +00:00
home_sidebar_bottom.tmpl Tweak repo sidebar (#32847) 2024-12-15 10:01:46 +00:00
home_sidebar_top.tmpl Fix incorrect file links (#34189) 2025-04-13 12:27:31 -07:00
home.tmpl Add file tree to file view page (#32721) 2025-03-15 16:26:49 +08:00
icon.tmpl Fix various trivial frontend problems (#34263) 2025-04-24 09:11:54 +08:00
latest_commit.tmpl Fix markdown render behaviors (#34122) 2025-04-05 11:56:48 +08:00
navbar.tmpl Add anonymous access support for private/unlisted repositories (#34051) 2025-03-29 13:26:41 +08:00
packages.tmpl Fix inconsistent user profile layout across tabs (#25625) 2023-07-06 18:59:24 +00:00
pulse.tmpl Fix various misalignments and overflows (#34227) 2025-04-17 10:32:41 +00:00
recent_commits.tmpl Refactor web routes (#30519) 2024-04-17 08:31:37 +00:00
release_tag_header.tmpl Fix button alignments and remove unnecessary styles (#34206) 2025-04-16 08:14:10 +00:00
search_name.tmpl Clean template/helper.go (#23922) 2023-04-07 03:31:41 -04:00
search.tmpl Unify search boxes (#29530) 2024-03-14 23:24:59 +00:00
star_unstar.tmpl Fix various trivial frontend problems (#34263) 2025-04-24 09:11:54 +08:00
sub_menu.tmpl Repo homepage styling tweaks (#33289) 2025-01-24 17:35:28 +00:00
unicode_escape_prompt.tmpl Replace some gt- classes with tw- (#29570) 2024-03-04 03:33:20 +00:00
upload.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
user_cards.tmpl Update the list of watchers and stargazers when clicking watch/unwatch or star/unstar (#32570) 2024-11-22 18:51:51 +00:00
view_content.tmpl Auto expand "New PR" form (#33971) 2025-03-24 14:28:02 +00:00
view_file_tree.tmpl Fix file tree issues (#33916) 2025-03-17 14:55:15 +00:00
view_file.tmpl Fix various trivial frontend problems (#34263) 2025-04-24 09:11:54 +08:00
view_list.tmpl Keep file tree view icons consistent with icon theme (#33921) 2025-04-06 19:35:08 +00:00
view.tmpl Add file tree to file view page (#32721) 2025-03-15 16:26:49 +08:00
watch_unwatch.tmpl Fix various trivial frontend problems (#34263) 2025-04-24 09:11:54 +08:00
watchers.tmpl Fix user-cards format (#24428) 2023-04-29 15:43:01 -04:00