Raul Ochoa
6ccdb6cefd
Overviews adapter with getMapConfig interface
2016-05-23 15:52:31 +02:00
Raul Ochoa
9f6ce64a31
Named maps adapter with getMapConfig interface
2016-05-23 15:39:11 +02:00
Raul Ochoa
3e35604df0
turbo-carto adapter with getMapConfig interface
2016-05-23 15:18:20 +02:00
Raul Ochoa
8134aca14d
Named map provider into providers package
2016-05-23 13:32:28 +02:00
Raul Ochoa
215bbbd29c
Store provider into providers package
2016-05-23 13:29:34 +02:00
Raul Ochoa
c4b6f65404
Create map provider into providers package
2016-05-23 13:28:11 +02:00
Raul Ochoa
ab984729f5
Named layers adapter into adapters package
2016-05-23 13:16:34 +02:00
Raul Ochoa
9f8551058d
Analysis adapter into adapter package
2016-05-23 13:10:52 +02:00
Raul Ochoa
2e79781711
Adds support for sql wrap in all layers
...
Previously it was only working for analyses ones.
2016-05-19 13:34:29 +02:00
Javier Goizueta
64a87690ee
💄 Fix line lengths, etc.
2016-05-12 16:20:34 +02:00
Javier Goizueta
65612f0109
Add filters information at map instantion time to the query rewriter data
2016-05-11 19:24:13 +02:00
Raul Ochoa
6639664b3f
Allow override zoom+center or bbox for static named maps previews
2016-05-09 21:13:13 +02:00
Raul Ochoa
c77ea49594
Use a more aggressive cache control header for node status endpoint
2016-05-05 17:52:37 +02:00
Raul Ochoa
dd731399dc
Starts using turbo-carto dependency
2016-04-26 16:28:05 +02:00
Raul Ochoa
93dd8a2213
Add analyses metadata for named maps excluding queries
2016-04-21 17:03:41 +02:00
Raul Ochoa
4e4a223f24
Better naming for analysis mapconfig adapter
2016-04-21 16:25:59 +02:00
Raul Ochoa
08ad961123
Adds support to return multiple errors in BaseController.sendError
2016-04-21 16:05:48 +02:00
Raul Ochoa
f932862ce4
Improve configuration for batch queries
2016-04-18 15:13:00 +02:00
Raul Ochoa
ab55b083b4
Style
2016-04-18 14:48:14 +02:00
Raul Ochoa
263b3e3682
Rename file
2016-04-18 14:47:35 +02:00
Raul Ochoa
a26025b259
Add analysis backend so it's possible to inject configuration
2016-04-14 17:09:07 +02:00
Raul Ochoa
aa36236ed2
Rename analysis to analysis status backend, making room for analysis backend
2016-04-14 13:25:56 +02:00
Raul Ochoa
e037c8c1b2
Do not use layer index as analysis node is are unique
2016-04-14 11:08:39 +02:00
Raul Ochoa
09687b3811
Proper endpoint to check node status from analysis
2016-04-14 10:59:51 +02:00
Raul Ochoa
28400f4544
Better naming
2016-04-13 19:15:06 +02:00
Raul Ochoa
7a87b8ebef
Use node id instead of param id for endpoint
...
It will be easier to retrieve node status with that id
2016-04-13 18:04:49 +02:00
Raul Ochoa
9ff661480b
Do not append root as it is already included in sorted nodes
2016-04-13 18:02:28 +02:00
Raul Ochoa
ca564bfaad
Add fake analysis node status endpoint
2016-04-11 18:49:56 +02:00
Raul Ochoa
dd36877a20
Add per node status
2016-04-11 18:49:43 +02:00
Raul Ochoa
1d860fd202
Remove top level url for analysis
2016-04-11 18:49:22 +02:00
Raul Ochoa
0981ccd0c4
Add metadata information about analyses
2016-04-07 17:58:12 +02:00
Raul Ochoa
077c4ab907
Adds analysis MapConfig adapter to named maps
2016-04-07 16:18:48 +02:00
Raul Ochoa
ab6bae6a7f
Merge branch 'master' into analysis-layers
2016-04-04 16:24:31 +02:00
Javier Goizueta
b97a67b844
Fix overviews integration for named layers
...
Fixes #400
2016-03-31 18:33:41 +02:00
Raul Ochoa
499178319d
Add search endpoint/backend for dataviews
2016-03-23 12:14:17 +01:00
Raul Ochoa
ff147ca3bf
Add dataviews to layergroup metadata
2016-03-18 18:09:17 +01:00
Raul Ochoa
b3bbb9d97a
Initial checkin for dataviews
...
It only supports histograms.
2016-03-18 17:22:02 +01:00
Raul Ochoa
eec44dd62d
Merge branch 'master' into analysis-layers
...
Conflicts:
npm-shrinkwrap.json
test/support/test-client.js
2016-03-14 15:13:19 +01:00
Raul Ochoa
3f41f19ab9
Rename adapter
2016-03-14 11:50:52 +01:00
Daniel García Aubert
178345ab12
Fixed typo
2016-03-14 11:18:32 +01:00
Daniel García Aubert
052b58ab90
Moved turbo-cartocss integration from named maps admin to named map provider
2016-03-11 18:28:14 +01:00
Daniel García Aubert
cc5443152b
Now turbo-cartocss is also parsed in template modification.
2016-03-11 11:06:51 +01:00
Daniel García Aubert
dab4b6d56b
Implemented integration of turbo-cartocss for named maps
2016-03-10 20:45:00 +01:00
Raul Ochoa
b2378939c5
Merge branch 'master' of github.com:CartoDB/Windshaft-cartodb into analysis-layers
2016-03-10 11:14:10 +01:00
Daniel García Aubert
46b212b2cd
Merge branch 'move-turbo-cartocss' of github.com:CartoDB/Windshaft-cartodb into move-turbo-cartocss
2016-03-09 20:14:06 +01:00
Daniel García Aubert
f47842c96d
Integrated turbo-cartocss adapter for named maps
2016-03-09 20:12:51 +01:00
Raul Ochoa
bbfcc640d1
Style
2016-03-09 18:08:06 +01:00
Raul Ochoa
e9b8c512c9
Re-indent
2016-03-09 18:07:11 +01:00
Raul Ochoa
15b54a2918
Re-indent
2016-03-09 18:05:17 +01:00
Daniel García Aubert
affa254b9d
Moved and adapted acceptance test for turbo-cartocss integration
2016-03-08 20:06:43 +01:00
Daniel García Aubert
3e0c19a669
Fixed typo
2016-03-08 14:41:10 +01:00
Daniel García Aubert
ab6004f21e
Integrated turbo-cartocss for anonymous maps
2016-03-08 14:34:57 +01:00
Raul Ochoa
c7bdabfc65
Merge branch 'new_querytables_library' into analysis-layers
2016-03-04 12:08:57 +01:00
Raul Ochoa
baf87e90d7
Just callback as result is handled internally
2016-03-03 19:25:32 +01:00
Raul Ochoa
d9f6df9815
Remove nested step call
2016-03-03 19:01:58 +01:00
Raul Ochoa
7c154dd405
Add notes about why we keep feeding the layergroupAffectedTables cache
2016-03-03 19:01:21 +01:00
Raul Ochoa
b9d2e297b6
Merge branch 'master' of github.com:CartoDB/Windshaft-cartodb into analysis-layers
2016-02-24 10:35:28 +01:00
Alejandro Martínez
dcf156ba21
Merge remote-tracking branch 'origin/master' into new_querytables_library
2016-02-23 19:20:10 +01:00
Alejandro Martínez
e491c0b825
Rename node-cartodb-query-tables to cartodb-query-tables
2016-02-22 19:11:54 +01:00
Alejandro Martínez
e67f7b0d0e
Drop old QueryTablesApi
2016-02-22 15:26:06 +01:00
Raul Ochoa
877425267e
Correct URLs for widgets in named maps
...
Fixes #381
2016-02-22 15:06:39 +01:00
Alejandro Martínez
cf06ff86c2
Use node-cartodb-query-tables library
2016-02-22 11:40:25 +01:00
Raul Ochoa
30f8234bd0
Use analysis configuration as per new camshaft api
2016-02-19 17:13:28 +01:00
Raul Ochoa
dfcb3b6dc1
Merge branch 'new_querytables' into analysis-layers
2016-02-17 11:31:55 +01:00
Alejandro Martínez
9e7b288f44
Merge remote-tracking branch 'origin/master' into new_querytables
2016-02-15 11:47:29 +00:00
Raul Ochoa
bcf3ce71ef
Adds experimental adapter to use queries based on camshaft analysis
2016-02-12 18:38:06 +01:00
Raul Ochoa
39cb463fbd
Fix jsdoc
2016-02-12 16:13:40 +01:00
Raul Ochoa
354c982ea0
Fix jsdoc
2016-02-12 16:12:02 +01:00
Alejandro Martínez
95ab99be4d
Use new CDB_QueryTablesUpdatedAt function
2016-02-09 19:06:34 +01:00
Javier Goizueta
0a218da835
Implement an Overviews query rewriter
...
Use the Windshaft query-rewriter interface to adapt queries so
they use available overview tables.
This requires a version of Windshaft that implements the query-rewriter
interface (package.json/npm-shrinkwap.json have yet to be updated)
2016-02-04 10:26:31 +01:00
Javier Goizueta
37a4aaeeb4
Refactor findStatusCode for legibility
...
...disregarding jshint opinion
2016-01-27 17:39:24 +01:00
Javier Goizueta
3b6abb5c9f
Refactor construction of OverviewsApi
2016-01-26 11:49:41 +01:00
Javier Goizueta
81cb75f821
Refactor statusFromErrorMessage
...
...to make jshint happy
2016-01-21 18:24:49 +01:00
Javier Goizueta
8592136683
Change status code assigned to some errors
...
Errors without an explicit status code with the error message
containing 'does not exist' were assigned codes 404 or 403.
Now if the error message is 'function X does not exist'
(originated in SQL) the error code assigned is 400.
2016-01-21 18:02:21 +01:00
Javier Goizueta
ffd89edaa7
Add overviews metadata to MapController instantiateTemplate
...
As in MapController create.
2016-01-20 18:36:06 +01:00
Javier Goizueta
b9f8812c98
Update comments
2016-01-20 17:09:15 +01:00
Javier Goizueta
4ca8ecf64c
Refactor/fix potential problems
2016-01-20 12:44:00 +01:00
Javier Goizueta
9feae66173
Bugfixes
2016-01-20 11:49:17 +01:00
Javier Goizueta
6aa9515fd1
Merge branch 'master' into overviews-work
2016-01-20 10:19:27 +01:00
Javier Goizueta
89590d32df
Sketch of vector overviews support
2016-01-19 19:31:43 +01:00
Raul Ochoa
3afb7a0eb3
Adds some notes about unsupported endpoints
2016-01-15 17:02:09 +01:00
Raul Ochoa
7d2f543284
Allow column_type query string param
2015-12-02 18:50:11 +01:00
Raul Ochoa
d9614cc1c5
Add search endpoint
2015-11-16 13:15:01 +01:00
Raul Ochoa
a84dd7cd29
Add more url params
2015-11-12 19:45:49 +01:00
Raul Ochoa
7d230cc15d
Widgets returning two results
2015-11-04 17:21:33 +01:00
Raul Ochoa
8a81828a3d
Enable bbox query string param
2015-10-29 16:25:56 +01:00
Raul Ochoa
0285f015e2
Pass filters within params
2015-10-27 13:26:11 +01:00
Pablo Alonso Garcia
7b57d22444
Added trailing slash to API endpoint in widget URLs
2015-10-26 17:50:50 +01:00
Raul Ochoa
8b222914c5
Add URL to widgets with their endpoints
2015-10-26 14:35:51 +01:00
Raul Ochoa
6d9182aba8
Rename widgets endpoint to honour its name
2015-10-26 13:42:06 +01:00
Raul Ochoa
4b0ecb1251
Adds histogram support, a bit of code duplication
2015-10-26 11:10:59 +01:00
Raul Ochoa
36a6af3266
Replaces List with Widget backend and changes list access to be layer based
2015-10-26 10:23:56 +01:00
Raul Ochoa
9bc95a6071
List endpoint for layergroups
2015-10-06 19:47:44 +02:00
Raul Ochoa
3181bcc63e
Remove app dependency from controllers
2015-09-30 18:00:54 +02:00
Raul Ochoa
9cd67f06c1
User extraction from request middleware
...
Used only where potentially a user is required.
It doesn't make sense to extract a user for request that don't need
a user in the context.
2015-09-30 17:17:01 +02:00
Raul Ochoa
3dfa7a8427
Name functions
2015-09-29 19:39:08 +02:00
Raul Ochoa
f2278d47a5
Increment map views on static preview images
2015-09-29 12:21:11 +02:00
Raul Ochoa
857548bbe4
Adds support for named layers in named tiles/static maps
2015-09-23 18:44:11 +02:00
Raul Ochoa
84bf375f72
Makes cache async
2015-09-23 14:32:26 +02:00
Raul Ochoa
c8705a8022
Use provider to get affected tables in static maps
2015-09-23 13:04:46 +02:00