29 Jan, 2016

1 commit

  • This is expected to improve compatibility with reverse-proxies.
    
    Still, for full compatibility, regarding redirections, we still may
    need to set the default url options with the proxy host.
    
    Signed-off-by: Rafael Reggiani Manzo <rr.manzo@gmail.com>
    Heitor
     

23 Nov, 2015

2 commits


19 Nov, 2015

1 commit


18 Nov, 2015

1 commit


14 Aug, 2015

1 commit


08 Jul, 2015

1 commit


06 Jul, 2015

1 commit


22 Jun, 2015

1 commit


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
     

16 Jun, 2015

2 commits


21 May, 2015

3 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

1 commit


27 Feb, 2015

1 commit


23 Feb, 2015

1 commit


12 Feb, 2015

5 commits


10 Dec, 2014

1 commit


01 Dec, 2014

1 commit


08 Oct, 2014

1 commit


13 Sep, 2014

1 commit


07 Aug, 2014

1 commit


05 Jun, 2014

1 commit

  • This conversion is done by Transpec 2.2.1 with the following command:
        transpec
    
    * 258 conversions
        from: it { should ... }
          to: it { is_expected.to ... }
    
    * 82 conversions
        from: obj.should
          to: expect(obj).to
    
    * 16 conversions
        from: describe 'some model' { }
          to: describe 'some model', :type => :model { }
    
    * 12 conversions
        from: describe 'some controller' { }
          to: describe 'some controller', :type => :controller { }
    
    * 11 conversions
        from: describe 'some routing' { }
          to: describe 'some routing', :type => :routing { }
    
    * 8 conversions
        from: describe 'some helper' { }
          to: describe 'some helper', :type => :helper { }
    
    * 7 conversions
        from: be_false
          to: be_falsey
    
    * 6 conversions
        from: be_true
          to: be_truthy
    
    * 6 conversions
        from: it { should_not ... }
          to: it { is_expected.not_to ... }
    
    * 4 conversions
        from: obj.should_not
          to: expect(obj).not_to
    
    For more details: https://github.com/yujinakayama/transpec#supported-conversions
    
    Signed off by: Rafael Reggiani Manzo <rr.manzo@gmail.com>
    Renan Fichberg
     

22 Apr, 2014

3 commits


09 Mar, 2014

1 commit


26 Feb, 2014

2 commits


28 Jan, 2014

2 commits


21 Jan, 2014

2 commits