06 Feb, 2013

1 commit

  • Using the API library to create or update a merge request at the moment a 404 error is returned.
    This is fine when the merge request in question does not exist, but does not provide good
    information that for example a required attribute is missing.
    A status code of 400 (Bad request) is returned when creating or updating a merge request
    when either `source_branch` or `target_branch` is missing. A status code of 409 is returned
    when `source_branch` and `target_branch` are the same. Tests are added for these cases.
    Sebastian Ziebell
     

01 Feb, 2013

1 commit

  • The attempt to revoke project access for a user that was not member of the
    project results in a 500 Internal Server error where it actually should
    result in a 200 OK since after the operation, the user is not member of
    the project. This turns the operation into an idempotent call that can
    be repeated with no ill effects.
    
    Updated the spec and changed the code accordingly. However, the result differs
    slightly, as we can't return the users project access level if the user was not
    member. I'm not aware if anybody relies on the result of this call.
    
    Fixes #2832
    Felix Gilcher
     

28 Jan, 2013

5 commits


27 Jan, 2013

1 commit


25 Jan, 2013

2 commits


24 Jan, 2013

10 commits


23 Jan, 2013

1 commit


22 Jan, 2013

1 commit


19 Jan, 2013

1 commit


18 Jan, 2013

2 commits


17 Jan, 2013

1 commit


16 Jan, 2013

3 commits


15 Jan, 2013

11 commits