9ff4e1d2d9
* add API branch protection endpoint * lint * Change to use team names instead of ids. * Status codes. * fix * Fix * Add new branch protection options (BlockOnRejectedReviews, DismissStaleApprovals, RequireSignedCommits) * Do xorm query directly * fix xorm GetUserNamesByIDs * Add some tests * Improved GetTeamNamesByID * http status created for CreateBranchProtection * Correct status code in integration test Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: zeripath <art27@cantab.net> |
||
---|---|---|
.. | ||
admin_user.go | ||
attachment.go | ||
commit_status.go | ||
doc.go | ||
fork.go | ||
git_blob.go | ||
git_hook.go | ||
hook.go | ||
issue.go | ||
issue_comment.go | ||
issue_label.go | ||
issue_milestone.go | ||
issue_reaction.go | ||
issue_stopwatch.go | ||
issue_tracked_time.go | ||
lfs_lock.go | ||
miscellaneous.go | ||
notifications.go | ||
org.go | ||
org_member.go | ||
org_team.go | ||
org_type.go | ||
pull.go | ||
release.go | ||
repo.go | ||
repo_branch.go | ||
repo_collaborator.go | ||
repo_commit.go | ||
repo_file.go | ||
repo_key.go | ||
repo_refs.go | ||
repo_tag.go | ||
repo_topic.go | ||
repo_tree.go | ||
repo_watch.go | ||
status.go | ||
task.go | ||
user.go | ||
user_app.go | ||
user_email.go | ||
user_gpgkey.go | ||
user_key.go | ||
utils.go |