Commit Graph

5439 Commits

Author SHA1 Message Date
Javier Goizueta
d3a3a7353a Fix tests
They were not numerical accuracy independent, as intended
2018-07-11 16:34:39 +02:00
Javier Goizueta
b8365e9f6e Make sampling tests more stable
Some sample tests, which cannot use RNG seeding, are nondeterministical.
Increment size of test table used in sampling tests to make less likely that the sample is empty
2018-07-11 15:21:23 +02:00
Javier Goizueta
e17dd4b5fa Make tests independent of coordinate accuracy by not placing points near tile boundaries 2018-07-11 13:19:07 +02:00
Javier Goizueta
8442a9a711 Shorten long lines 2018-07-11 11:29:22 +02:00
Javier Goizueta
c07b3de43d Adapt tests for more accurate PROJ
Fixes #994
With exact point 0,0 transformations, the point is between tiles and can appear in several
2018-07-11 10:33:58 +02:00
Simon Martín
287ecf5ce2 Updating NEWS 2018-07-06 11:44:37 +02:00
Simon Martín
53b7969753
Merge pull request #989 from CartoDB/fix-rate-limit-endpoint-several-limits
Upgrading cartodb-redis
2018-07-06 11:41:14 +02:00
Simon Martín
9530f17194 Merge branch 'master' into fix-rate-limit-endpoint-several-limits 2018-07-06 11:06:23 +02:00
Rafa de la Torre
0829d5bc7d
Merge pull request #991 from CartoDB/fix-numeric-histogram-bounds
Fix numeric histogram bounds
2018-07-05 18:12:19 +02:00
Rafa de la Torre
b59712ee10 Update NEWS.md with reference to fix 2018-07-05 17:24:29 +02:00
Rafa de la Torre
e247e45f96 Qualify columns and improve if/else style
As suggested by Algunenano: qualify column names with the
table/subquery/cte to avoid name clashing, and polish the code style a
little.
2018-07-05 17:21:38 +02:00
Simon Martín
df71d93dd9 upgrading cartodb-redis to 2.0.1 2018-07-05 15:16:45 +02:00
Simon Martín
928f10b420 updating version cartodb-redis (still using github) 2018-07-05 12:39:28 +02:00
Rafa de la Torre
a1807fd0c3 A better solution to the start-end problem 2018-07-05 12:39:26 +02:00
Rafa de la Torre
d937ce4982 Fix the min >= start and max <= end case (WIP)
This fixes the 'should get bins with min >= start and max <= end' test
case but probably breaks a number of other cases (those with no start
and/or no end).
2018-07-05 11:56:26 +02:00
Rafa de la Torre
6411556a97 Test for histogram bins beyond limits 2018-07-04 18:33:02 +02:00
Rafa de la Torre
2c334570c3 run_tests.sh is a *bash* script 2018-07-04 17:39:13 +02:00
Eneko Lakasta
c1671abaa4
Merge pull request #988 from CartoDB/984-sql-timeout-error-message
984 limits error messages
2018-07-03 16:44:58 +02:00
Eneko Lakasta
fdc061b7ee Please jshint 2018-07-03 15:02:58 +02:00
Eneko Lakasta
923b23871f Please jshint 2018-07-03 14:48:54 +02:00
Eneko Lakasta
409a103990 update rate limit error message 2018-07-03 14:36:29 +02:00
Eneko Lakasta
6a6815d893 update render limits error message 2018-07-03 14:32:10 +02:00
Simon Martín
af0bc09d52 updating to temporal branch of cartodb-redis 2018-07-03 11:57:02 +02:00
Eneko Lakasta
a8d791e2d3 update tests with new error message 2018-07-02 13:03:01 +02:00
Eneko Lakasta
c874a734fd fix db limit error message set order 2018-07-02 13:02:36 +02:00
Eneko Lakasta
23e5cefdf1 Update NEWS 2018-07-02 11:29:47 +02:00
Eneko Lakasta
ee25585f06 add new error message 2018-06-29 15:01:12 +02:00
Simon Martín
028c3f9aec
Merge pull request #987 from CartoDB/ignore-null-values-formula-dataview
ensuring formula dataview filters infinities, nans and nulls
2018-06-28 13:12:42 +02:00
Simon Martín
cc048c41d8 Merge branch 'master' into ignore-null-values-formula-dataview 2018-06-28 13:03:40 +02:00
Simon Martín
ef39a76371
Merge pull request #986 from CartoDB/upgrading-dependencies
upgrading dependencies due to vulnerabilities
2018-06-28 12:43:11 +02:00
Simon Martín
1329f1f535 fix aggregation-dataview test filter 2018-06-28 12:41:52 +02:00
Simon Martín
66f38e8ecd keep the original test name 2018-06-27 18:38:20 +02:00
Simon Martín
e45b41f55a ensuring formula dataview filters infinities, nans and nulls 2018-06-27 18:04:48 +02:00
Simon Martín
995ff52cf3 upgrading dependencies 2018-06-26 17:56:16 +02:00
Simon Martín
960eaa5724
Merge pull request #983 from CartoDB/tilejson-url-apikey
tiles base urls with api keys
2018-06-26 10:37:04 +02:00
Simon Martín
37f6ac0c87 Merge branch 'master' into tilejson-url-apikey 2018-06-26 10:23:09 +02:00
Simon Martín
fcc36ddc83 News 2018-06-25 16:31:13 +02:00
Simon Martín
79fdd07d8f adding api key to tiles base urls with querystring 2018-06-25 16:23:23 +02:00
Simon Martín
32ce033c06 improve tests titles 2018-06-25 15:09:18 +02:00
Simon Martín
abb194ca9c test tiles base urls with default_public api key 2018-06-25 15:06:27 +02:00
Javier Goizueta
3161cb0322
Merge pull request #981 from CartoDB/980-dates-as-numbers-tokens
Fix dates_as_numbers for queries with tokens
2018-06-25 14:46:18 +02:00
Daniel G. Aubert
f36cadb809
Merge pull request #985 from CartoDB/add-release-note
Add a release note to advice that a rake task should be performed
2018-06-25 12:55:10 +02:00
Daniel García Aubert
863e42691a Add a release note to advice that a rake task should be performed 2018-06-25 12:51:30 +02:00
Simon Martín
762dce7853 adding api key to tiles base urls 2018-06-22 17:31:45 +02:00
Simon Martín
f0d190d157 tests tiles base urls with api key 2018-06-22 17:31:05 +02:00
Eneko Lakasta
6103d3b8bd
Merge pull request #982 from CartoDB/update-camshaft-0.61.11
Upgrades Camshaft to 0.61.11
2018-06-19 15:14:51 +02:00
Eneko Lakasta
7a89f303db Upgrades Camshaft to 0.61.11 2018-06-19 13:58:23 +02:00
Javier Goizueta
b05d9a0a75 Remove only from tests 2018-06-18 13:33:08 +02:00
Javier Goizueta
e89503e1fa Subsitute tokens to get columns for dates_as_numbers
Fixes #980
2018-06-18 13:16:49 +02:00
Javier Goizueta
e0cd1aba29 Refactor: move common token substitutions to query-utils 2018-06-18 13:15:45 +02:00