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.
Lunny Xiao 2782c14396
Supports wildcard protected branch (#20825)
This PR introduce glob match for protected branch name. The separator is
`/` and you can use `*` matching non-separator chars and use `**` across
separator.

It also supports input an exist or non-exist branch name as matching
condition and branch name condition has high priority than glob rule.

Should fix #2529 and #15705

screenshots

<img width="1160" alt="image"
src="https://user-images.githubusercontent.com/81045/205651179-ebb5492a-4ade-4bb4-a13c-965e8c927063.png">

Co-authored-by: zeripath <art27@cantab.net>
1 year ago
..
branch Fix button in branch list, avoid unexpected page jump before restore branch actually done (#21562) 2 years ago
cite Copy citation file content, in APA and BibTex format, on repo home page (#19999) 2 years ago
diff Restore function to "Show more" buttons (#22399) 1 year ago
editor Rename almost all Ctx functions (#22071) 1 year ago
find Refactor `i18n` to `locale` (#20153) 2 years ago
graph Rename almost all Ctx functions (#22071) 1 year ago
issue Supports wildcard protected branch (#20825) 1 year ago
migrate Remove useless "Cancel" buttons (#21872) 1 year ago
projects Optimize html templates (#22080) 1 year ago
pulls Add option to prohibit fork if user reached maximum limit of repositories (#21848) 1 year ago
release Add Feed for Releases and Tags (#21696) 1 year ago
settings Supports wildcard protected branch (#20825) 1 year ago
wiki Webhook for Wiki changes (#20219) 2 years ago
activity.tmpl Respect user's locale when rendering the date range in the repo activity page (#21410) 2 years ago
blame.tmpl Show syntax lexer name in file view/blame (#21814) 2 years ago
branch_dropdown.tmpl Fix branch dropdown shifting on page load (#21428) 2 years ago
clone_buttons.tmpl Rework repo buttons (#20602) 2 years ago
clone_script.tmpl Make the vscode clone link respect transport protocol (#20557) 2 years ago
commit_page.tmpl Rename actions to operations on UI (#22067) 1 year ago
commit_status.tmpl Change commit status icons to SVG (#20736) 2 years ago
commit_statuses.tmpl Improve commit status icons (#21124) 2 years ago
commits.tmpl Rework repo buttons (#20602) 2 years ago
commits_list.tmpl Change `commits-table` column width (#21564) 2 years ago
commits_list_small.tmpl Add whitespace removal inside template curly brackes (#20853) 2 years ago
commits_table.tmpl Add whitespace removal inside template curly brackes (#20853) 2 years ago
create.tmpl Remove cancel button in repo creation page (#21381) 2 years ago
empty.tmpl Add default value for clone URLs (#20600) 2 years ago
file_info.tmpl Show syntax lexer name in file view/blame (#21814) 2 years ago
forks.tmpl Add whitespace removal inside template curly brackes (#20853) 2 years ago
graph.tmpl Add whitespace removal inside template curly brackes (#20853) 2 years ago
header.tmpl Rename almost all Ctx functions (#22071) 1 year ago
home.tmpl Rename actions to operations on UI (#22067) 1 year ago
icon.tmpl Do not display org avatar near icon for internal repos (#13957) 3 years ago
packages.tmpl Add Package Registry (#16510) 2 years ago
search.tmpl Add user/organization code search (#19977) 2 years ago
shabox_badge.tmpl Refactor `i18n` to `locale` (#20153) 2 years ago
sub_menu.tmpl Render number of commits in repo page in a user friendly way (#21786) 2 years ago
unicode_escape_prompt.tmpl Switch Unicode Escaping to a VSCode-like system (#19990) 2 years ago
upload.tmpl Refactor `i18n` to `locale` (#20153) 2 years ago
user_cards.tmpl Localize all timestamps (#21440) 2 years ago
view_file.tmpl Ensure that plain files are rendered correctly even when containing ambiguous characters (#22017) 1 year ago
view_list.tmpl Add whitespace removal inside template curly brackes (#20853) 2 years ago
watchers.tmpl Add class to page content to unify top margin (#13766) 4 years ago