forgejo/routers/web/repo
Gusted 266e0b2ce9
security: add permission check to 'delete branch after merge'
- Add a permission check that the doer has write permissions to the head
repository if the the 'delete branch after merge' is enabled when
merging a pull request.
- Unify the checks in the web and API router to `DeleteBranchAfterMerge`.
- Added integration tests.
2024-10-28 05:48:10 +01:00
..
actions Fix boolean inputs in workflow_dispatch; closes #5425 2024-10-01 09:22:43 +02:00
badges
flags
setting fix: don't cancel schedule workflows on push to main branch 2024-10-05 12:14:44 +02:00
activity.go
attachment.go
blame.go
branch.go
cherry_pick.go
code_frequency.go
commit.go feat(performance): remove BranchName in /:owner/:repo/commit/:commit 2024-08-08 22:29:42 +02:00
compare.go
contributors.go
download.go
editor.go
editor_test.go [TESTS] Fix usage of LoadRepoCommit 2024-08-26 08:03:48 +02:00
find.go
githttp.go Fix wrong last modify time (#32102) 2024-09-27 08:42:48 +02:00
githttp_test.go
helper.go
helper_test.go
issue.go feat: combine review requests comments 2024-10-25 22:57:32 +02:00
issue_content_history.go feat: Improve diff being generated 2024-08-26 13:58:17 +02:00
issue_dependency.go
issue_label.go
issue_label_test.go
issue_lock.go
issue_pin.go
issue_stopwatch.go
issue_test.go feat: combine review requests comments 2024-10-25 22:57:32 +02:00
issue_timetrack.go
issue_watch.go
main_test.go
middlewares.go
migrate.go feat(i18n): allow different translations of creation links and titles (#4829) 2024-08-07 16:54:05 +00:00
milestone.go
packages.go
patch.go
projects.go
projects_test.go
pull.go security: add permission check to 'delete branch after merge' 2024-10-28 05:48:10 +01:00
pull_review.go Revert "Prevent allow/reject reviews on merged/closed PRs" 2024-08-12 12:24:52 +01:00
pull_review_test.go
recent_commits.go
release.go
release_test.go
render.go
repo.go feat(i18n): allow different translations of creation links and titles (#4829) 2024-08-07 16:54:05 +00:00
search.go ui(code-search): fix to use CodeSearchMode 2024-09-16 16:20:55 +02:00
topic.go
treelist.go
view.go ui: fix go to citation button url (#4597) 2024-08-22 15:36:12 +00:00
view_test.go
wiki.go
wiki_test.go