An error occurred fetching the project authors.
  1. 14 Feb, 2013 2 commits
  2. 13 Feb, 2013 3 commits
  3. 12 Feb, 2013 1 commit
    • Sebastian Ziebell's avatar
      API: changed status codes for project hooks functions · 7cc4339f
      Sebastian Ziebell authored
      Different status codes in the API lib are returned on hook creation, update or deletion.
      If a required parameter is not given (e.g. `url` in `/projects/:id/hooks/:hook_id`) status
      code 400 (Bad request) is returned. On hook deletion a 200 status code is returned, regardless if
      the hook is present or not. This makes the DELETE function an idempotent operation. Appropriate tests
      are added to check these status codes.
      7cc4339f
  4. 09 Feb, 2013 1 commit
  5. 08 Feb, 2013 3 commits
  6. 01 Feb, 2013 1 commit
    • Felix Gilcher's avatar
      Don't crash when removing a user that's not project member · ce6436b9
      Felix Gilcher authored
      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
      ce6436b9
  7. 31 Jan, 2013 1 commit
  8. 18 Jan, 2013 1 commit
  9. 17 Jan, 2013 1 commit
  10. 04 Jan, 2013 1 commit
  11. 02 Jan, 2013 1 commit
  12. 22 Dec, 2012 1 commit
  13. 21 Dec, 2012 2 commits
  14. 20 Dec, 2012 1 commit
  15. 23 Nov, 2012 2 commits
  16. 09 Nov, 2012 1 commit
  17. 12 Oct, 2012 1 commit
    • jozefvaclavik's avatar
      Update lib/api/projects.rb · d1a18d03
      jozefvaclavik authored
      Added methods for listing one project hook and editing hooks.
      GET /project/:id/hooks/:hook_id
      PUT /project/:id/hooks/:hook_id
      d1a18d03
  18. 08 Oct, 2012 2 commits
  19. 21 Sep, 2012 3 commits
  20. 16 Sep, 2012 2 commits
  21. 10 Sep, 2012 3 commits
  22. 08 Sep, 2012 2 commits
  23. 06 Sep, 2012 1 commit
  24. 05 Sep, 2012 3 commits