forgejo/routers/repo
Jonas Franz 9681c83734 Approvals at Branch Protection (#5350)
* Add branch protection for approvals

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add required approvals

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add missing comments and fmt

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add type = approval and group by reviewer_id to review

* Prevent users from adding negative review limits

* Add migration for approval whitelists

Signed-off-by: Jonas Franz <info@jonasfranz.software>
2018-12-11 19:28:37 +08:00
..
activity.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
attachment.go
branch.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
commit.go
download.go Add raw blob endpoint to get objects by SHA ID (#5334) 2018-11-18 13:45:40 -05:00
editor.go
http.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
issue.go Approvals at Branch Protection (#5350) 2018-12-11 19:28:37 +08:00
issue_dependency.go
issue_label.go
issue_label_test.go
issue_stopwatch.go
issue_timetrack.go
issue_watch.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
main_test.go
middlewares.go Add whitespace handling to PR-comparsion (#4683) 2018-08-14 13:49:33 -04:00
milestone.go Milestone issues and pull requests (#5293) 2018-11-29 09:46:30 +08:00
pull.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
pull_review.go Add comment replies (#5104) 2018-10-22 16:13:35 -04:00
release.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
release_test.go
repo.go
search.go
setting.go Allow to add organization members as collaborators on organization owned repositories (#4748) 2018-11-30 10:49:55 +02:00
setting_protected_branch.go Approvals at Branch Protection (#5350) 2018-12-11 19:28:37 +08:00
settings_test.go An inactive user shouldn't be able to be added as a collaborator (#4535) 2018-08-07 13:01:06 +03:00
topic.go
view.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
webhook.go Slack webhook channel name cannot be empty or just contain an hashtag (#4786) 2018-09-10 10:31:08 -04:00
wiki.go Fix empty wiki (#5504) 2018-12-09 17:45:44 -05:00
wiki_test.go