08 Jun, 2016

5 commits


20 Apr, 2016

2 commits


18 Apr, 2016

2 commits


16 Apr, 2016

1 commit


15 Apr, 2016

1 commit

  • As we are using multiple cache fragments for one action, we need to
    specify action_suffixes so rails create different keys for each
    fragment.
    
    Signed-off-by: Rafael Reggiani Manzo <rr.manzo@protonmail.com>
    Diego Araújo
     

11 Apr, 2016

2 commits

  • The repository/notify_push feature was making post request directly
    using Rack::Test methods, which is not optimal when we have Capybara to
    handle all the driver setup and flexibility for us.
    
    Change it to use Capybara methods, and fix all the steps accordingly. To
    make things easier, add some helper methods to deal with headers in
    different drivers.
    
    Also fix a small clarity issue in the notify_push unity tests that also
    have to set headers.
    Daniel
     
  • Ensure webhook requests are only accepted after proper verification of
    expected headers, repository address and branch, using the newly
    implemented library.
    
    To that effect, split up the logic to extract that information from
    requests to it's own class, and use it in the notify_push action.
    
    Also, add factories to make better testing of the notify_push action
    possible, such as a factory similar to a real request from Gitlab, and
    one for the Kalibro Client repository on Gitlab.
    
    Adding other hook providers should be quite a lot easier after this is
    applied.
    Daniel
     

22 Feb, 2016

1 commit


20 Jan, 2016

1 commit


25 Nov, 2015

1 commit


19 Nov, 2015

2 commits


09 Nov, 2015

1 commit

  •   * Renamed ProjectAttributes' column hidden to public and inverted
        default values
      * Implemented Project#"public_or_owned_by_user"
      * All features now create ProjectAttributes after creating a Project
      * Implemented ProjectAttributes#project and ProjectAttributes#project=
      * Fix Project#attributes to return nil when there is no
        ProjectAttribute
      * Fixes #263
    
    Signed off by: Diego Araújo <diegoamc90@gmail.com>
    Heitor
     

06 Nov, 2015

2 commits


26 Oct, 2015

8 commits


24 Aug, 2015

1 commit


14 Aug, 2015

1 commit


08 Jul, 2015

2 commits


06 Jul, 2015

2 commits


22 Jun, 2015

2 commits


17 Jun, 2015

1 commit

  • new and create action can be acessed both with or without a project. This
    enables to have repositories the two ways.
    
    The behaviour for the back had to change from going back to a specific project
    page. To the all projects pages since some repositories may not have a
    project_id.
    
    With the routes, many helpers had to get fixed together with acceptance
    tests steps (for this a new step was created in order to be able to create
    RepositoryAttributes).
    
    Finally the JS for repository state retrieval needed fixes since it builds the
    route withot any helper. Same thing for the JS that prevents infinite state
    queries.
    
    Signed off by: Rafael Reggiani Manzo <rr.manzo@gmail.com>
    Pedro
     

22 May, 2015

2 commits