Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-24 18:56:11 +01:00
forgejo/routers/repo
Chri-s a2a49c93c7 Added checks for protected branches in pull requests (#3544)
* Added checks for protected branches in pull requests

Signed-off-by: Christian Wulff <NChris@posteo.net>

* Moved check for protected branch into new function CheckUserAllowedToMerge

Signed-off-by: Christian Wulff <NChris@posteo.net>

* Removed merge conflict lines from last commit

Signed-off-by: Christian Wulff <NChris@posteo.net>

* Explicit check for error type in ViewIssue

Signed-off-by: Christian Wulff <NChris@posteo.net>
2018-03-13 11:46:14 +08:00
..
activity.go Handle refactor (#3339) 2018-01-10 23:34:17 +02:00
attachment.go Log attachment blocked events (#3615) 2018-03-05 08:51:10 +08:00
branch.go Handle refactor (#3339) 2018-01-10 23:34:17 +02:00
commit.go Handle refactor (#3339) 2018-01-10 23:34:17 +02:00
download.go Handle refactor (#3339) 2018-01-10 23:34:17 +02:00
editor.go Handle refactor (#3339) 2018-01-10 23:34:17 +02:00
http.go Handle refactor (#3339) 2018-01-10 23:34:17 +02:00
issue.go Added checks for protected branches in pull requests (#3544) 2018-03-13 11:46:14 +08:00
issue_label.go Add label descriptions (#3662) 2018-03-13 10:03:55 +08:00
issue_label_test.go Unit tests for routers/repo/issue_label (#3198) 2017-12-15 23:11:02 +02:00
issue_stopwatch.go Handle refactor (#3339) 2018-01-10 23:34:17 +02:00
issue_timetrack.go Handle refactor (#3339) 2018-01-10 23:34:17 +02:00
issue_watch.go Handle refactor (#3339) 2018-01-10 23:34:17 +02:00
main_test.go Unit tests for wiki routers (#3022) 2017-11-30 17:52:15 +02:00
middlewares.go Handle refactor (#3339) 2018-01-10 23:34:17 +02:00
pull.go Fix branch deletion for squash or rebase merged pull requests (#3425) 2018-01-30 14:29:39 +02:00
release.go Handle refactor (#3339) 2018-01-10 23:34:17 +02:00
release_test.go Fix missing branch in release bug (#3108) 2017-12-08 13:22:02 +08:00
repo.go Handle refactor (#3339) 2018-01-10 23:34:17 +02:00
search.go Handle refactor (#3339) 2018-01-10 23:34:17 +02:00
setting.go Handle refactor (#3339) 2018-01-10 23:34:17 +02:00
setting_protected_branch.go Handle refactor (#3339) 2018-01-10 23:34:17 +02:00
settings_test.go Writable deploy keys (closes #671) (#3225) 2018-01-07 00:55:53 +02:00
view.go Handle refactor (#3339) 2018-01-10 23:34:17 +02:00
webhook.go Handle refactor (#3339) 2018-01-10 23:34:17 +02:00
wiki.go Fix rendering of wiki page list if wiki repo contains other files (#3454) 2018-02-05 16:56:30 +02:00
wiki_test.go Improve wiki test (#3493) 2018-02-13 11:19:49 +02:00