gitea/routers/web/repo
Lunny Xiao 39d51e7c82
Automerge supports deleting branch automatically after merging ()
Resolve  
~Depends on #27151~

- [x] It will display a checkbox of deleting the head branch on the pull
request view page when starting an auto-merge task.
- [x] Add permission check before deleting the branch
- [x] Add delete branch comment for those closing pull requests because
of head branch or base branch was deleted.
- [x] Merge `RetargetChildrenOnMerge` and `AddDeletePRBranchComment`
into `service.DeleteBranch`.
2025-01-10 03:51:03 +08:00
..
actions workflow_dispatch use workflow from trigger branch () 2025-01-05 21:47:18 +08:00
setting Clarify path param naming () 2024-12-24 13:47:45 +00:00
activity.go Refactor template & test related code () 2024-12-22 15:33:19 +00:00
attachment.go Clarify path param naming () 2024-12-24 13:47:45 +00:00
blame.go GitHub like repo home page () 2024-12-06 14:29:04 +00:00
branch.go Automerge supports deleting branch automatically after merging () 2025-01-10 03:51:03 +08:00
cherry_pick.go Clarify path param naming () 2024-12-24 13:47:45 +00:00
code_frequency.go Refactor template & test related code () 2024-12-22 15:33:19 +00:00
commit.go Refactor pagination () 2024-12-30 01:57:38 +00:00
compare.go Refactor "string truncate" () 2024-12-26 11:56:03 +08:00
contributors.go Refactor template & test related code () 2024-12-22 15:33:19 +00:00
download.go Use gitrepo.GetTreePathLatestCommit to get file lastest commit instead from latest commit cache () 2024-12-30 03:30:01 +00:00
editor.go Refactor template & test related code () 2024-12-22 15:33:19 +00:00
editor_test.go Clarify path param naming () 2024-12-24 13:47:45 +00:00
find.go Refactor template & test related code () 2024-12-22 15:33:19 +00:00
fork.go Refactor template & test related code () 2024-12-22 15:33:19 +00:00
githttp.go Clarify path param naming () 2024-12-24 13:47:45 +00:00
githttp_test.go Fix http protocol auth () 2023-11-02 22:14:33 +08:00
helper.go Add option to filter board cards by labels and assignees () 2024-09-12 03:53:40 +00:00
issue.go Merge updatecommentattachment functions () 2024-12-30 18:21:57 +00:00
issue_comment.go Use `CloseIssue` and `ReopenIssue` instead of `ChangeStatus` () 2024-12-25 07:38:30 +00:00
issue_content_history.go Refactor DateUtils and merge TimeSince () 2024-11-04 11:30:00 +00:00
issue_dependency.go Refactor names () 2024-06-19 06:32:45 +08:00
issue_label.go Refactor template & test related code () 2024-12-22 15:33:19 +00:00
issue_label_test.go Refactor tests () 2024-12-29 01:05:56 +00:00
issue_list.go Use `CloseIssue` and `ReopenIssue` instead of `ChangeStatus` () 2024-12-25 07:38:30 +00:00
issue_lock.go Move context from modules to services () 2024-02-27 08:12:22 +01:00
issue_new.go Use project's redirect url instead of composing url () 2024-12-31 19:19:53 +08:00
issue_page_meta.go Filter reviews of one pull request in memory instead of database to reduce slow response because of lacking database index () 2025-01-07 10:50:09 +08:00
issue_pin.go Clarify path param naming () 2024-12-24 13:47:45 +00:00
issue_poster.go Move some functions from issue.go to standalone files () 2024-11-11 04:28:54 +00:00
issue_stopwatch.go Issue time estimate, meaningful time tracking () 2024-12-05 13:07:53 +00:00
issue_suggestions.go Fix suggestions for issues () 2024-10-30 20:06:36 +00:00
issue_test.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
issue_timetrack.go Clarify path param naming () 2024-12-24 13:47:45 +00:00
issue_view.go Clarify path param naming () 2024-12-24 13:47:45 +00:00
issue_watch.go Refactor template & test related code () 2024-12-22 15:33:19 +00:00
main_test.go make writing main test easier () 2023-09-28 01:38:53 +00:00
middlewares.go Move context from modules to services () 2024-02-27 08:12:22 +01:00
migrate.go Refactor template & test related code () 2024-12-22 15:33:19 +00:00
milestone.go Refactor pagination () 2024-12-30 01:57:38 +00:00
packages.go Refactor pagination () 2024-12-30 01:57:38 +00:00
patch.go Refactor template & test related code () 2024-12-22 15:33:19 +00:00
projects.go Use project's redirect url instead of composing url () 2024-12-31 19:19:53 +08:00
projects_test.go Clarify path param naming () 2024-12-24 13:47:45 +00:00
pull.go Automerge supports deleting branch automatically after merging () 2025-01-10 03:51:03 +08:00
pull_review.go Refactor template & test related code () 2024-12-22 15:33:19 +00:00
pull_review_test.go Refactor older tests to use testify () 2025-01-09 09:21:47 +08:00
recent_commits.go Refactor template & test related code () 2024-12-22 15:33:19 +00:00
release.go Refactor pagination () 2024-12-30 01:57:38 +00:00
release_test.go Move context from modules to services () 2024-02-27 08:12:22 +01:00
render.go Refactor markup render system () 2024-11-24 16:18:57 +08:00
repo.go Clean up legacy form CSS styles () 2025-01-03 04:01:19 +00:00
search.go Fix bleve fuzziness search () 2025-01-03 00:32:02 +08:00
search_test.go Improve grep search () 2024-05-03 09:13:48 +00:00
topic.go Move context from modules to services () 2024-02-27 08:12:22 +01:00
treelist.go Move context from modules to services () 2024-02-27 08:12:22 +01:00
view.go add submodule diff links () 2025-01-08 01:38:30 +00:00
view_file.go Support "merge upstream branch" (Sync fork) () 2024-12-06 21:10:35 +00:00
view_home.go fix empty repo updated time () 2025-01-07 01:54:06 +08:00
view_readme.go GitHub like repo home page () 2024-12-06 14:29:04 +00:00
view_test.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
wiki.go Refactor pagination () 2024-12-30 01:57:38 +00:00
wiki_test.go Refactor older tests to use testify () 2025-01-09 09:21:47 +08:00