forgejo/routers/repo
Lauris BH 0a5dc640a1 Make branch deletion URL more like GitHub's, fixes #1397 (#1994)
* Make branch deletion URL more like GitHub's, fixes #1397

* Add PR branch deletion integration test

* Do not allow deleting protected branch

* Change http error code to 403 if user has no write rights to repository

* Add check to not panic if forked repository has alrady been deleted
2017-06-21 09:00:03 +08:00
..
attachment.go
branch.go Make branch deletion URL more like GitHub's, fixes #1397 (#1994) 2017-06-21 09:00:03 +08:00
commit.go
download.go
editor.go
http.go
issue.go Make branch deletion URL more like GitHub's, fixes #1397 (#1994) 2017-06-21 09:00:03 +08:00
issue_label.go
issue_watch.go
middlewares.go
pull.go Make branch deletion URL more like GitHub's, fixes #1397 (#1994) 2017-06-21 09:00:03 +08:00
release.go
repo.go
setting.go
view.go
webhook.go
wiki.go