06 Jun, 2013

1 commit


04 Jun, 2013

1 commit


23 May, 2013

1 commit


14 May, 2013

1 commit


07 May, 2013

2 commits


06 May, 2013

1 commit


02 May, 2013

1 commit


01 May, 2013

1 commit


10 Apr, 2013

1 commit


01 Apr, 2013

1 commit


25 Mar, 2013

1 commit


07 Mar, 2013

1 commit


06 Mar, 2013

1 commit


05 Mar, 2013

2 commits


27 Feb, 2013

3 commits


21 Feb, 2013

2 commits


20 Feb, 2013

5 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

5 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

3 commits