1. 13 2月, 2013 3 次提交
  2. 12 2月, 2013 3 次提交
  3. 11 2月, 2013 2 次提交
  4. 10 2月, 2013 1 次提交
  5. 09 2月, 2013 4 次提交
  6. 08 2月, 2013 2 次提交
    • S
      Adding a project hook returns status code 400 if url is not given · 9544f903
      Sebastian Ziebell 提交于
      When adding a project hook a url must be specified or a 400 error code is returned
      
      * Specs added to check status code on handling project hooks
      * refactored code, extracted a method
      9544f903
    • S
      API: refined status code handling when adding or updating a project member · 818caf0b
      Sebastian Ziebell 提交于
      When a user is added to a project that is already a member of, a status code 201 is now returned to
      signal an idempotent operation. If something fails then instead of returning error code 404 different
      more specific error codes are returned. Status code 400 (Bad request) is returned when a required
      attribute, e.g. `access_level` is not given or 422 if there is a semantic error, e.g. should
      the `access_level` have an unsupported value.
      
      Specs are added to check these status codes.
      818caf0b
  7. 07 2月, 2013 6 次提交
  8. 06 2月, 2013 1 次提交
    • S
      Creating or updating a MR returns more informative status codes. · 413952ff
      Sebastian Ziebell 提交于
      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.
      413952ff
  9. 05 2月, 2013 10 次提交
  10. 04 2月, 2013 5 次提交
  11. 02 2月, 2013 2 次提交
  12. 01 2月, 2013 1 次提交