16 Jun, 2015

1 commit

  • Created javascript to show and hide the branch field.
    Created javascript to fetch the branches of a valid url of a git
    repository.
    New route repository_branches to communicate with kalibro_client.
    
    TODO: Fix acceptance tests.
    TODO: Handle errors on javascript.
    TODO: Extract javascript code to assets.
    TODO: Create a white list for the action branches of the repository's
    controller.
    
    Signed off by: Pedro Scocco <pedroscocco@gmail.com>
    Diego Camarinha
     

10 Jun, 2015

1 commit


08 Jun, 2015

1 commit


22 May, 2015

5 commits


21 May, 2015

6 commits


27 Apr, 2015

1 commit

  • Error handling for finding resources in controllers used a find_resource
    method. It was broken and was letting code pass-through after errors. In
    addition, cases for find methods for things other than simple IDs
    weren't handled.
    
    Replace it with an error handler in ApplicationController capturing
    RecordNotFound exceptions and returning the appropriate error pages (or
    JSON).
    
    Also, fix usages of find that should throw errors (using ActiveRecord
    methods ending with !) but didn't.
    
    Correspondly, fix all the tests that mocked the find_resource method,
    and correct expectations where needed.
    
    Signed-off-by: Daniel Miranda <danielkza2@gmail.com>
    Diego Camarinha
     

17 Apr, 2015

5 commits


27 Feb, 2015

1 commit


26 Feb, 2015

2 commits


24 Feb, 2015

3 commits


23 Feb, 2015

2 commits


12 Feb, 2015

12 commits