27 Feb, 2013

8 commits


26 Feb, 2013

1 commit


21 Feb, 2013

3 commits


20 Feb, 2013

9 commits


18 Feb, 2013

3 commits


16 Feb, 2013

1 commit

  • When a user is not authorized to see the list of hooks for a project, he is
    still able to access the hooks separately. For example if access to
    `GET /projects/:id/hooks` fails and returns a `403 Unauthorized` error it is
    still possible to access a hook directly via `GET /projects/:id/hooks/:hook_id`.
    
    Fixes access, also added tests to check access and status codes of hooks.
    Sebastian Ziebell
     

14 Feb, 2013

4 commits


13 Feb, 2013

6 commits


12 Feb, 2013

1 commit

  • 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.
    Sebastian Ziebell
     

08 Feb, 2013

4 commits