08 Jun, 2016
5 commits
-
This reverts commit 4211de4d7a8af53111995500e4d7c225023e143c. The right way to set the subdirectory is by setting the Rack mount on config.ru or on the webserver like apache or nginx.
-
…of Rack, Warden and omniauth-remote-user
-
Signed off by: Daniel Miranda <danielkza2@gmail.com>
-
Signed-off-by: Heitor Reis Ribeiro <marcheing@gmail.com>
20 Apr, 2016
2 commits
-
It was still relying on repositories with no attributes while Repository#latest now relies on attributes to list just the public ones.
-
Unit tests cannot expects that models will always be fetched. But to make sure things are still well tested, verify the existence of a configuration, project and repository in the homepage feature.
18 Apr, 2016
2 commits
-
Signed-off-by: Heitor Reis <marcheing@gmail.com>
16 Apr, 2016
1 commit
-
It makes it harder for an user to mistakenly add a metric to their script that will never work. Signed-off-by: Eduardo Araújo <duduktamg@hotmail.com>
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>
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.
-
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.
22 Feb, 2016
1 commit
-
It previously kept running forever if the processing never succeeded. Signed-off-by: Daniel Miranda <danielkza2@gmail.com>
20 Jan, 2016
1 commit
-
Signed off by: Daniel Miranda <danielkza2@gmail.com>
25 Nov, 2015
1 commit
-
Signed off by: Eduardo Araújo <duduktamg@hotmail.com>
19 Nov, 2015
2 commits
-
* Creates a step to create a ruby configuration with the Saikuro metric * Define new factories for a saikuro metric and saikuro metric configuration
-
* Also fixed a typo on a repository step that waits for an errored processing Signed off by: Diego Araújo <diegoamc90@gmail.com> Signed off by: Eduardo Araújo <duduktamg@hotmail.com>
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>
06 Nov, 2015
2 commits
-
Signed off by: Diego Araújo <diegoamc90@gmail.com>
-
Signed off by: Diego Araújo <diegoamc90@gmail.com>
26 Oct, 2015
8 commits
-
* Now it is correctly checking for the names of the files in the repositories#show page Signed off by: Diego Araújo <diegoamc90@gmail.com>
-
* Also renamed some step definitions to explicitly use tree metric configurations or hotspot metric configurations * Also added translations for the cases when there are no metric configurations of each type * Showing name and code on the table for hotspot metric configurations * When adding a hotspot metric configuration, the weight will be Signed off by: Diego Araújo <diegoamc90@gmail.com>
-
It checks for the messages of the given HotspotMetricResults. This test may be broken if the used repository developer fix all the listed issues.
-
It was modified by the introduction of Hotspot listing but the acceptance test step never got updated. Signed off by: Heitor Reis <marcheing@gmail.com>
-
* The acceptance test got ambiguous when trying to assert for links inside metric configuration tables. Signed off by: Rafael Reggiani Manzo <rr.manzo@gmail.com>
-
We were missing metric configuration listing behavior Signed off by: Rafael Reggiani Manzo <rr.manzo@gmail.com>
-
* WIP: cucumber feature to show hotspot metric results * Add partials to list hotspot metric results * Add necessary JS to render the list of hotspot metric results on the right place div of the accordion * Translations specific to hotspot metric results * HotspotMetric and HotspotMetricConfiguration factories Signed off by: Eduardo Silva Araújo <duduktamg@hotmail.com>
-
The step was using an outdated API. Signed off by: Heitor Reis <marcheing@gmail.com>
24 Aug, 2015
1 commit
-
Closes #266 Closes #265
14 Aug, 2015
1 commit
08 Jul, 2015
2 commits
-
Now the repository name should be globally unique, instead of restricted to the project scope Also updated the travis script to use the new version of kalibro_processor
-
Signed-off-by: Daniel Miranda <danielkza2@gmail.com>
06 Jul, 2015
2 commits
-
This enables the acceptance tests for repository index to pass. Fixed a missing translation for Project index. Signed off by: Diego Araújo <diegoamc90@gmail.com>
-
There should be a repository link at the home page. It should take the user to the page with all the repositories. A project should not list independent repositories. Signed off by: Rafael Reggiani Manzo <rr.manzo@gmail.com>
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>
22 May, 2015
2 commits
-
Signed off by: Heitor Reis <marcheing@gmail.com>
-
If the memoization was left it could lead to inconsistencies after destroying. Removed forgotten print. Signed off by: Heitor Reis <marcheing@gmail.com>