0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-27 18:54:21 +01:00
gitea/models
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
..
fixtures Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
migrations Approvals at Branch Protection (#5350) 2018-12-11 19:28:37 +08:00
access.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
access_test.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
action.go
action_list.go
action_test.go
admin.go
admin_test.go
attachment.go
attachment_test.go
branches.go Approvals at Branch Protection (#5350) 2018-12-11 19:28:37 +08:00
branches_test.go
consistency.go
error.go
error_oauth2.go
external_login_user.go
git_diff.go
git_diff_test.go
gpg_key.go
gpg_key_test.go
graph.go
graph_test.go
helper.go
issue.go ensure that the closed_at is set for closed (#5449) 2018-12-02 15:43:01 -05:00
issue_assignees.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
issue_assignees_test.go
issue_comment.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
issue_comment_test.go
issue_dependency.go
issue_dependency_test.go
issue_indexer.go
issue_label.go
issue_label_test.go
issue_list.go
issue_list_test.go
issue_mail.go
issue_milestone.go Milestone issues and pull requests (#5293) 2018-11-29 09:46:30 +08:00
issue_milestone_test.go
issue_reaction.go
issue_reaction_test.go
issue_stopwatch.go
issue_stopwatch_test.go
issue_test.go
issue_tracked_time.go
issue_tracked_time_test.go
issue_user.go
issue_user_test.go
issue_watch.go
issue_watch_test.go
lfs.go
lfs_lock.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
login_source.go
mail.go
main_test.go
models.go
models_sqlite.go
models_test.go
notification.go
notification_test.go
oauth2.go
org.go
org_team.go Approvals at Branch Protection (#5350) 2018-12-11 19:28:37 +08:00
org_team_test.go Approvals at Branch Protection (#5350) 2018-12-11 19:28:37 +08:00
org_test.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
pull.go Approvals at Branch Protection (#5350) 2018-12-11 19:28:37 +08:00
pull_test.go
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 fix forgot deletion of notification when delete repository (#5506) 2018-12-10 22:01:01 +02:00
repo_activity.go
repo_branch.go
repo_collaboration.go
repo_collaboration_test.go
repo_editor.go
repo_indexer.go
repo_issue.go
repo_list.go
repo_list_test.go
repo_mirror.go Add option to disable automatic mirror syncing. (#5242) 2018-11-08 18:58:02 -05:00
repo_permission.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
repo_permission_test.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
repo_redirect.go
repo_redirect_test.go
repo_test.go
repo_unit.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
repo_watch.go
repo_watch_test.go
review.go Approvals at Branch Protection (#5350) 2018-12-11 19:28:37 +08:00
review_test.go Show review summary in pull requests (#5132) 2018-11-22 15:17:36 +02:00
ssh_key.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
ssh_key_test.go
star.go
star_test.go
status.go
status_test.go
test_fixtures.go
token.go
token_test.go
topic.go fix topic name length on database (#5493) 2018-12-08 14:27:30 +02:00
topic_test.go
twofactor.go
u2f.go
u2f_test.go
unit.go Fix create team, update team missing units (#5188) 2018-11-10 14:45:32 -05:00
unit_tests.go
update.go
update_test.go
user.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
user_follow.go
user_follow_test.go
user_heatmap.go Fixing MSSQL timestamp type (#5511) 2018-12-11 10:05:24 +08:00
user_heatmap_test.go
user_mail.go
user_mail_test.go
user_openid.go
user_openid_test.go
user_test.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
webhook.go
webhook_dingtalk.go
webhook_discord.go
webhook_slack.go
webhook_test.go
wiki.go
wiki_test.go