Commit graph

11 commits

Author SHA1 Message Date
Mark Chao
8c24e78b99 wording 2018-06-06 21:01:43 +09:00
Nick Thomas
96b355dca0 Merge branch 'jej/add-protected-branch-policy' into 'master'
Add protected branch policy

See merge request gitlab-org/gitlab-ce!17982
2018-03-27 14:31:54 +00:00
James Edwards-Jones
3cefa9ea6d ProtectedBranch API omits empty declared params 2018-03-26 14:56:14 +01:00
James Edwards-Jones
b6a4c0181b API uses ProtectedBranchPolicy for destroy/create 2018-03-26 10:29:53 +01:00
James Edwards-Jones
a47565aa14 Updated grape to 1.0.2 to remove workaround 2018-03-26 01:43:43 +01:00
Mark Fletcher
5a160b05ed Fix protected branches API to accept name parameter with dot 2018-01-19 20:07:44 +00:00
James Edwards-Jones
1d47ae1365 CE backport of ProtectedBranches API changes
In EE we now allow individual users/groups to be set on POST, which required some refactoring.
See https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/3516
2017-12-07 11:58:50 +00:00
James Edwards-Jones
d6dd9d712a Fix ProtectedBranch access level validations
Before an access_level was required in EE even when an
it had been set for a user/group.
2017-11-24 13:20:56 +00:00
Robert Schilling
dcd4ea473c Update remaining endpoints 2017-08-28 17:10:30 +02:00
Robert Speicher
4edfad9678 Enable Layout/TrailingWhitespace cop and auto-correct offenses 2017-08-15 13:44:37 -04:00
Eric
fb5b2d8d0e Extending API for protected branches 2017-08-02 10:16:17 +00:00