18 Apr, 2016
1 commit
11 Apr, 2016
1 commit
-
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.
04 Apr, 2016
1 commit
-
Since it's a remote request there's no CSRF token to be sent, so don't require one.
23 Nov, 2015
2 commits
-
Signed off by: Daniel Miranda <danielkza2@gmail.com>
-
Gitlab sends the 'X-Gitlab-Event' header for all the webhook requests. Verify it so we reduce the chance that robots call the hooks accidentally. Signed off by: Daniel Miranda <danielkza2@gmail.com>
19 Nov, 2015
1 commit
-
* Includes this action in the list of actions that do not need user authentication. Signed-off-by: Heitor Reis <marcheing@gmail.com>
14 Aug, 2015
1 commit
08 Jul, 2015
2 commits
-
Fixed acceptance tests and removed project list selector from repository form Signed-off-by: Pedro Scocco <pedroscocco@gmail.com> Signed off by: Diego Araújo <diegoamc90@gmail.com>
-
Signed-off-by: Daniel Miranda <danielkza2@gmail.com>
06 Jul, 2015
1 commit
-
Signed off by: Rafael Reggiani Manzo <rr.manzo@gmail.com>
24 Jun, 2015
1 commit
-
Signed off by: Daniel Miranda <danielkza2@gmail.com> Signed-off-by: Pedro Scocco <pedroscocco@gmail.com> Signed off by: Heitor Reis <marcheing@gmail.com>
22 Jun, 2015
1 commit
-
Actions new and create check if project_id was provided before trying to check the project ownership
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>
16 Jun, 2015
2 commits
-
Signed-off-by: Pedro Scocco <pedroscocco@gmail.com>
-
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>
22 May, 2015
1 commit
21 May, 2015
2 commits
-
…ng the kalibro configurations list Before they were not loaded leading to a exception when redering the edit view again.
-
Signed-off-by: Daniel Miranda <danielkza2@gmail.com>
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>
17 Apr, 2015
1 commit
-
Signed off by: Daniel Alves <danpaulalves@gmail.com>
27 Feb, 2015
1 commit
23 Feb, 2015
1 commit
-
Signed off by: Daniel Alves <danpaulalves@gmail.com>
12 Feb, 2015
3 commits
-
Signed off by: Daniel Paulino Alves <danpaulalves@gmail.com>
-
Otherwise, ActiveResource requests would look for the unexistent route /mezuro_configurations instead of /kalibro_configuration which is the route expected by KalibroConfigurations webservice.
10 Dec, 2014
1 commit
08 Oct, 2014
1 commit
-
Signed off by: Heitor Reis <marcheing@gmail.com>
26 Sep, 2014
1 commit
-
…. No tests needed to be fixed Signed-off-by: Larissa Rodrigues Gomes<larissax55@gmail.com> Signed-off-by: Vincius Franco<viniciusf.arantes@gmail.com>
12 Sep, 2014
3 commits
-
Signef-off-by: Diego Araújo <diegoamc90@gmail.com>
-
Signed off by: Renan Fichberg <rfichberg@gmail.com> Signed off by: Alessandro Palmeira <alessandro.palmeira@gmail.com> Signed off by: Daniel Alves <danpaulalves@gmail.com> Signed off by: Daniel Bucher <daniel.bucher88@gmail.com> Signed off by: Diego Araujo <diegoamc90@gmail.com> Signed off by: Heitor Reis <marcheing@gmail.com> Signed off by: Rafael Manzo <rr.manzo@gmail.com> Signed off by: Renan Fichberg <rfichberg@gmail.com>
-
Signed off by: Alessandro Palmeira <alessandro.palmeira@gmail.com>
26 Feb, 2014
2 commits
-
project_owner? is semantically more correct Signed off by: Guilherme Rojas V. de Lima <guilhermehrojas@gmail.com>
28 Jan, 2014
2 commits
21 Jan, 2014
1 commit
-
Signed-off-by: Fellipe Souto <fllsouto@gmail.com> Signed-off-by: Renan Fichberg <rfichberg@gmail.com>
16 Dec, 2013
1 commit
-
Missing acceptance tests. Signed-off-by: Rafael Manzo <rr.manzo@gmail.com> Signed-off-by: Renan Fichberg <rfichberg@gmail.com>
11 Dec, 2013
2 commits
-
Signed-off By: Guilherme Rojas V. de Lima <guilhermehrojas@gmail.com> Signed-off By: Rafael Reggiani Manzo <rr.manzo@gmail.com>
-
Signed-off By : Guilherme Rojas V. de Lima <guilhermehrojas@gmail.com>
09 Dec, 2013
1 commit