22 Jan, 2016
1 commit
-
Signed off by: Diego Araújo <diegoamc90@gmail.com>
20 Jan, 2016
1 commit
-
Move as much code as possible to BaseMetricConfigurationsController instead of repeating it ad-hoc in the concrete classes. Most of the concrete code has gone away except for some small overrides: - Hotspot's does not have a 'new' action, and therefore can't redirect to it. It also does not accept any MetricConfiguration parameters. - Metric's only accepts 'weight' and 'aggregation_form' MetricConfiguration parameters. It also needs to fetch ReadingGroups to display in the 'choose_metric' action. - Compound's needs to force the Metric type when creating the metric, and must accept parameters for Metric ('name', 'description', 'script', 'scope', 'code') in addition to MetricConfiguration's 'weight'. Additionally: - Update cache clearing to clear caches for Hotspot and Tree configurations - Verify the existence of the KalibroConfiguration and use the object that was fetched whenever necessary, instead of only using the id. - Ensure the KalibroConfiguration and ReadingGroup ids match between the values inside and outside the 'metric_configuration' parameter. Previously it was possible to send one in the URL and update another, which might even have been a security issue. - Allow sending either 'metric_code' or 'metric_name' as a parameter. Both are used in different places in the code, but making them uniform is a job for a later time. Signed off by: Daniel Miranda <danielkza2@gmail.com>
28 Oct, 2015
1 commit
-
Signed off by: Eduardo Araújo <duduktamg@hotmail.com>
26 Oct, 2015
2 commits
-
Put a blank space between # and text and don't forget about tagging pending fixes with FIXME. Signed off by: Eduardo Araújo <duduktamg@hotmail.com>
-
Signed off by: Eduardo Silva Araújo <duduktamg@hotmail.com> Signed off by: Diego Araújo <diegoamc90@gmail.com>
21 May, 2015
1 commit
-
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>
12 Feb, 2015
9 commits
-
Signed off by: Diego Araújo <diegoamc90@gmail.com>
-
Signed off by: Diego Araújo <diegoamc90@gmail.com>
-
Signed off by: Diego Araújo <diegoamc90@gmail.com>
-
Signed off by: Daniel Paulino Alves <danpaulalves@gmail.com>
-
Signed off by: Daniel Paulino Alves <danpaulalves@gmail.com>
-
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.
-
Metric Configuration with snapshot Factory should be deleted in the future. Signed off by: Heitor Reis <marcheing@gmail.com>
-
Signed off by: Daniel Alves <danpaulalves@gmail.com>
28 Oct, 2014
1 commit
27 Oct, 2014
1 commit
-
Signed-off-by:Beatriz Rezener <beatrizrezener@gmail.com> Signed-off-by:João Gabriel <joaogabrieldebrittoesilva@gmail.com>
21 Oct, 2014
1 commit
-
Signed-off-by:Beatriz Rezener <beatrizrezener@gmail.com> Signed-off-by:João Gabriel <joaogabrieldebrittoesilva@gmail.com> Signed-off-by:Rafael R. Manzo <rr.manzo@gmail.com>
12 Sep, 2014
2 commits
-
This broke kalibro_gatekeeper_client MetricConfigurationSnapshot. So the gem was updated to the git version
22 Aug, 2014
1 commit
-
Signed off by: Rafael Reggiani Manzo <rr.manzo@gmail.com>
13 Apr, 2014
2 commits
05 Apr, 2014
1 commit
29 Mar, 2014
1 commit
-
signed-off-by: Fellipe Souto Sampaio <fllsouto@gmail.com> signed-off-by: Diego Araújo <diegoamc90@gmail.com> signed-off-by: Alessandro Palmeira <alessandro.palmeira@gmail.com>
27 Feb, 2014
1 commit
-
Can't create compound metric if the configuration is empty. signed-off-by: Guilherme Rojas V. de Lima <guilhermehrojas@gmail.com>
26 Feb, 2014
12 commits
-
Reading color should be displayed in other way instead of show its color in the ranges label text. signed-off-by: Diego Araújo <diegoamc90@gmail.com>
-
Instead of send data via get: it causes error when the metric name had special characters. signed-off-by: Diego Araújo <diegoamc90@gmail.com>
-
It's getting problem when the coffee script calls the action via jquery. Use the cosole [firebug] to inspect it.
-
Pending listing readings Pending unit and acceptance test signed-off-by: Renan Fichberg <rfichberg@gmail.com>
-
Pending acceptance test for listing all the ranges Pending show template signed-off-by: Renan Fichberg <rfichberg@gmail.com>
-
signed-off-by: Fellipe Souto <fllsouto@gmail.com>
-
Missing unit tests and acceptance tests. signed-off-by: Diego Araújo <diegoamc90@gmail.com>
-
Controller method Refactored new into partials Fixed destroy route Factories for compound metrics Update route with a helper Missing: Acceptance tests Update action Signed off by: Diego Araújo <diegoamc90@gmail.com>
-
signed-off-by: Guilherme Rojas V. de Lima <guilhermehrojas@gmail.com>
-
Pending acceptance test Still missing update feature Implemented persisted method for metric configuration model signed-off-by: Guilherme Rojas V. de Lima <guilhermehrojas@gmail.com>
-
signed-off-by: Guilherme Rojas V. de Lima <guilhermehrojas@gmail.com>