forgejo/routers/repo
6543 505e456f26
Protect default branch against deletion (#11115)
Although default branch is not offered for deletion in the templates, we need to prevent it both at the router level and in the pre-receive hook.

Co-authored-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Lauris BH <lauris@nix.lv>
2020-05-06 12:08:45 +01:00
..
activity.go
attachment.go
blame.go Load Repo Topics on blame view (#11307) 2020-05-05 22:51:49 +01:00
branch.go Protect default branch against deletion (#11115) 2020-05-06 12:08:45 +01:00
commit.go
compare.go Show pull request selection even when unrelated branches (#11239) 2020-05-02 16:06:01 +08:00
download.go
editor.go
editor_test.go
http.go Prevent clones and pushes to disabled wiki (#11131) 2020-04-19 15:26:58 +01:00
issue.go [API] ListIssues add filter for milestones (#10148) 2020-04-30 01:15:39 -03:00
issue_dependency.go
issue_label.go
issue_label_test.go
issue_lock.go
issue_stopwatch.go
issue_timetrack.go
issue_watch.go
lfs.go
main_test.go
middlewares.go
milestone.go
pull.go Add a way to mark Conversation (code comment) resolved (#11037) 2020-04-18 10:50:25 -03:00
pull_review.go Add a way to mark Conversation (code comment) resolved (#11037) 2020-04-18 10:50:25 -03:00
release.go Add single release page and latest redirect (#11102) 2020-04-18 11:47:15 -03:00
release_test.go
repo.go Fix orgs not being displayed on create repo form (#11279) 2020-05-03 18:08:24 -03:00
search.go
setting.go
setting_protected_branch.go Prevent merge of outdated PRs on protected branches (#11012) 2020-04-16 22:00:36 -03:00
settings_test.go
topic.go
view.go Load Repo Topics on blame view (#11307) 2020-05-05 22:51:49 +01:00
webhook.go
wiki.go
wiki_test.go