Commit Graph

5426 Commits

Author SHA1 Message Date
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
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
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
Javier Goizueta
a5f985257c Tests for dates_as_numbers with tokens 2018-06-18 13:14:17 +02:00
Javier Goizueta
90efe14bfb
Merge pull request #971 from CartoDB/cartovl-130
Send dates as unix epoch instead strings in .mvt files
2018-06-13 13:07:35 +02:00
Javier Goizueta
fc9ae9ca20 Update NEWS 2018-06-13 12:54:57 +02:00
IagoLast
649297df83 Use early return 2018-06-13 09:42:53 +02:00
IagoLast
ae7e7578db Use early return 2018-06-13 09:38:24 +02:00
Javier Goizueta
0cf6605b8d Use more precise function name 2018-06-12 12:59:10 +02:00
Javier Goizueta
4a52620d83 Various fixes
This avoids errors when trying to wrap dates or detect wrapped dates in non-mapnik layers
2018-06-12 12:05:31 +02:00
Javier Goizueta
251570b638 Fix tests 2018-06-12 12:04:13 +02:00
Daniel G. Aubert
7660a694cb
Merge pull request #970 from CartoDB/mapconfig-provirers-refactor
Mapconfig providers refactor
2018-06-12 10:23:31 +02:00
Raúl Marín
7e7b268a66
Merge pull request #976 from Algunenano/auto_postgis
Test: Make POSTGIS_VERSION detection automatic
2018-06-12 10:09:40 +02:00
Javier Goizueta
660c1777e3 Fix per-layer date wrapping 2018-06-11 19:31:42 +02:00
Javier Goizueta
5407df03fa Implement missing tests 2018-06-11 19:31:15 +02:00
Javier Goizueta
84c34361a0 Fix loop limits, add per layer options in test mapconfig Factory 2018-06-11 19:30:48 +02:00