Commit Graph
119 Commits
Author SHA1 Message Date
Eneko Lakasta 26df09b13f require debug at the top of file 2018-02-28 11:42:44 +01:00
Eneko Lakasta 521b441da5 default apikey is returned by metadata module if no apikey found, remove this code because is never going to be run 2018-02-20 12:53:33 +01:00
Daniel García Aubert 603ef4044c Reduce cyclomatic complexity 2018-02-19 18:48:02 +01:00
Daniel García Aubert 2e3abfb2cd Catch "name not found" errors from metadata backend and set http code status 404 2018-02-19 18:28:58 +01:00
Eneko Lakasta 7b21bd26d0 Merge branch 'project-auth-api' into project-auth-api-fallback 2018-02-16 11:29:36 +01:00
Eneko Lakasta 4ac224688c in fallback mode, use default api key if api key token doesnt exist 2018-02-16 11:20:04 +01:00
Eneko Lakasta fc420c2c0f use for compatibility res.locals.api_key instead of res.locals.apikeyToken 2018-02-15 15:19:09 +01:00
Eneko Lakasta 5db0e9c8d8 add middleware for apikeyToken 2018-02-15 12:50:42 +01:00
Eneko Lakasta 890f0d1ef6 add fallback for using metadata fallback 2018-02-14 17:31:05 +01:00
Eneko Lakasta b0e9df1400 add pgConnection.getDatabaseParams 2018-02-08 12:04:03 +01:00
Eneko Lakasta 6ebf51ce45 let select apikey type in setDBAuth: regular, default, master 2018-02-08 11:29:17 +01:00
Eneko Lakasta 95538707c9 add parameter asMaster to setDBAuth 2018-02-07 17:14:13 +01:00
Eneko Lakasta 85c1c987af refactor setDBConn to not use step 2018-02-07 15:49:32 +01:00
Eneko Lakasta bde86323fd use master api key in setDBAuth 2018-02-07 15:36:24 +01:00
Eneko Lakasta 880e3f388d remove use of _.extend calls 2018-02-07 12:46:10 +01:00
Eneko Lakasta c1535b1a12 refactor setDBAuth to not use step 2018-02-07 12:40:36 +01:00
Ivan Malagon 02ac25181e Return error if no_filters and own_filter are present 2017-12-13 09:45:35 +01:00
Ivan Malagon 245d24ea29 Merge branch 'master' into analyses-filters-params 2017-12-12 11:54:32 +01:00
Ivan Malagon 605be77a04 Add nofilters query param 2017-12-12 11:54:09 +01:00
Daniel García Aubert 743bb0723b Add query param to define the number of categories to be ranked 2017-11-07 16:14:47 +01:00
Daniel García Aubert 00f81db57e Fixed default value for own_filter 2017-10-20 16:47:56 +02:00
Daniel García Aubert 0c9d60b573 Add support for no_filters params in dataviews 2017-10-20 16:19:24 +02:00
Simon Martín 484e0fda2f undo changing services params 2017-10-09 16:29:35 +02:00
Simon Martín a21648ab4a res.locals in layergroup controller 2017-09-29 12:32:46 +02:00
Javier Torres 7dd5c5b15d Do not use distinct when calculating quantiles 2017-09-07 14:39:25 +02:00
Javier Goizueta 82cab3ccc7 Merge pull request #719 from CartoDB/ramp-infinities-nans
Exclude Infinities & NaNs from ramps
2017-08-04 09:38:44 +02:00
Daniel García Aubert b56d2ec30b Validate aggregation value 2017-08-03 12:24:05 +02:00
Javier Goizueta b4799124e6 Exclude non-finite values when computing ramps 2017-08-02 17:28:46 +02:00
Daniel García Aubert 9034508244 Support automattic aggregation only when aggregation para is set to 'auto' 2017-08-01 17:15:45 +02:00
Carlos Matallín 70b4d5b7fd replace timezone => offset 2017-07-14 18:30:36 +02:00
Daniel García Aubert fe5c76d65b Remove jshint hook 2017-06-08 19:25:05 +02:00
Daniel García Aubert 2772fc62d2 Use a set/dict for checking the existence 2017-06-08 18:38:44 +02:00
Daniel García Aubert 0d4ac64f00 Merge branch 'master' into 691-date-histogram 2017-06-08 18:34:25 +02:00
Daniel García Aubert 95a6ad3b86 Support quarter aggregation in histograms over date columns 2017-06-05 16:04:42 +02:00
Daniel García Aubert c1fac13d6b Be able to accept timezone parameter 2017-06-02 12:45:34 +02:00
Daniel García Aubert 1d66e49910 WIP implemented date histogram 2017-06-01 20:07:46 +02:00
Raul Ochoa 4b562e6768 Merge conditions 2017-05-31 13:00:37 -04:00
Raul Ochoa b4fbe0b8cf No in advance var definition 2017-05-31 12:58:35 -04:00
Raul Ochoa 62514fc563 Extract query rewrite data to function 2017-05-31 12:58:20 -04:00
Raul Ochoa ef3cad6599 Extract to function 2017-05-31 12:52:41 -04:00
Raul Ochoa 4e53803b3b Create BBoxFilter independently from rewrite data 2017-05-31 12:51:07 -04:00
Mario de Frutos 440953b1cd If we have the stats FF disbabled return empty array instead of null
But we keep checking for elements in the returned object because
we don't want to include the stats property if the FF is disabled
2017-05-30 10:47:47 +02:00
Mario de Frutos c9e6e921cb Merge branch 'master' into 664-layergroup-stats 2017-05-18 13:45:38 +02:00
Mario de Frutos ed56094be2 PR changes 2017-05-18 11:51:12 +02:00
Daniel García Aubert c65518cf41 Get back layer-stats from windshaft-stats 2017-05-17 20:16:43 +02:00
Mario de Frutos 5969c99e8a Removed not used parameters for layer stats 2017-05-12 16:42:10 +02:00
Mario de Frutos 59585b5cd9 We leave only one feature flag for stats 2017-05-12 16:42:10 +02:00
Mario de Frutos daf19c5e27 Stats backend only provides stats not metadata 2017-05-10 17:17:01 +02:00
Mario de Frutos 7d5b6b0820 Lint changes and yarn.lock 2017-05-09 18:24:24 +02:00
Mario de Frutos 759d28f12f Include feature flag to enable/disable stats 2017-05-09 12:51:22 +02:00