forgejo/templates/repo
Lunny Xiao 2782c14396
Supports wildcard protected branch ()
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  and 

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>
2023-01-16 16:00:22 +08:00
..
branch
cite
diff Restore function to "Show more" buttons () 2023-01-13 13:50:32 +08:00
editor Rename almost all Ctx functions () 2022-12-10 10:46:31 +08:00
find
graph Rename almost all Ctx functions () 2022-12-10 10:46:31 +08:00
issue Supports wildcard protected branch () 2023-01-16 16:00:22 +08:00
migrate
projects Optimize html templates () 2022-12-09 21:34:51 +08:00
pulls Add option to prohibit fork if user reached maximum limit of repositories () 2022-12-27 15:21:14 -06:00
release Add Feed for Releases and Tags () 2022-12-21 15:06:26 -06:00
settings Supports wildcard protected branch () 2023-01-16 16:00:22 +08:00
wiki
activity.tmpl
blame.tmpl
branch_dropdown.tmpl
clone_buttons.tmpl
clone_script.tmpl
commit_page.tmpl Rename actions to operations on UI () 2022-12-08 21:14:09 +08:00
commit_status.tmpl
commit_statuses.tmpl
commits.tmpl
commits_list.tmpl
commits_list_small.tmpl
commits_table.tmpl
create.tmpl
empty.tmpl
file_info.tmpl
forks.tmpl
graph.tmpl
header.tmpl Rename almost all Ctx functions () 2022-12-10 10:46:31 +08:00
home.tmpl Rename actions to operations on UI () 2022-12-08 21:14:09 +08:00
icon.tmpl
packages.tmpl
search.tmpl
shabox_badge.tmpl
sub_menu.tmpl
unicode_escape_prompt.tmpl
upload.tmpl
user_cards.tmpl
view_file.tmpl Ensure that plain files are rendered correctly even when containing ambiguous characters () 2022-12-17 22:22:25 +02:00
view_list.tmpl
watchers.tmpl