0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-27 19:54:03 +01:00
gitea/templates/repo
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>
2023-01-16 16:00:22 +08:00
..
branch Fix button in branch list, avoid unexpected page jump before restore branch actually done (#21562) 2022-11-24 20:29:43 +08:00
cite Copy citation file content, in APA and BibTex format, on repo home page (#19999) 2022-11-11 18:02:50 +01:00
diff Restore function to "Show more" buttons (#22399) 2023-01-13 13:50:32 +08:00
editor Rename almost all Ctx functions (#22071) 2022-12-10 10:46:31 +08:00
find
graph Rename almost all Ctx functions (#22071) 2022-12-10 10:46:31 +08:00
issue Supports wildcard protected branch (#20825) 2023-01-16 16:00:22 +08:00
migrate Remove useless "Cancel" buttons (#21872) 2022-12-05 20:38:34 +08:00
projects Optimize html templates (#22080) 2022-12-09 21:34:51 +08:00
pulls Add option to prohibit fork if user reached maximum limit of repositories (#21848) 2022-12-27 15:21:14 -06:00
release Add Feed for Releases and Tags (#21696) 2022-12-21 15:06:26 -06:00
settings Supports wildcard protected branch (#20825) 2023-01-16 16:00:22 +08:00
wiki
activity.tmpl
blame.tmpl Show syntax lexer name in file view/blame (#21814) 2022-11-19 13:08:06 +02:00
branch_dropdown.tmpl Fix branch dropdown shifting on page load (#21428) 2022-10-19 13:39:55 +08:00
clone_buttons.tmpl
clone_script.tmpl
commit_page.tmpl Rename actions to operations on UI (#22067) 2022-12-08 21:14:09 +08:00
commit_status.tmpl
commit_statuses.tmpl
commits.tmpl
commits_list.tmpl Change commits-table column width (#21564) 2022-10-25 18:00:37 +01:00
commits_list_small.tmpl
commits_table.tmpl
create.tmpl
empty.tmpl
file_info.tmpl Show syntax lexer name in file view/blame (#21814) 2022-11-19 13:08:06 +02:00
forks.tmpl
graph.tmpl
header.tmpl Rename almost all Ctx functions (#22071) 2022-12-10 10:46:31 +08:00
home.tmpl Rename actions to operations on UI (#22067) 2022-12-08 21:14:09 +08:00
icon.tmpl
packages.tmpl
search.tmpl
shabox_badge.tmpl
sub_menu.tmpl Render number of commits in repo page in a user friendly way (#21786) 2022-11-13 00:55:19 -05:00
unicode_escape_prompt.tmpl
upload.tmpl
user_cards.tmpl
view_file.tmpl Ensure that plain files are rendered correctly even when containing ambiguous characters (#22017) 2022-12-17 22:22:25 +02:00
view_list.tmpl
watchers.tmpl