Javier Goizueta
48415fb1f3
Merge branch 'master' into overviews-widgets-2
2016-05-18 13:58:55 +02:00
Javier Goizueta
7f7204df6c
Add filter stats information to query rewriter data
2016-05-17 15:41:31 +02:00
Raul Ochoa
c12e5f7a27
Fix named maps with analysis
...
Named map provider was missing analysis backend dependency
Fixes #450
2016-05-13 16:57:27 +02:00
Raul Ochoa
e3d6da06a7
Remove console usage
2016-05-05 12:17:51 +02:00
Raul Ochoa
dd731399dc
Starts using turbo-carto dependency
2016-04-26 16:28:05 +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
077c4ab907
Adds analysis MapConfig adapter to named maps
2016-04-07 16:18:48 +02:00
Javier Goizueta
b97a67b844
Fix overviews integration for named layers
...
Fixes #400
2016-03-31 18:33:41 +02: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
dab4b6d56b
Implemented integration of turbo-cartocss for named maps
2016-03-10 20:45:00 +01:00
Daniel García Aubert
ab6004f21e
Integrated turbo-cartocss for anonymous maps
2016-03-08 14:34:57 +01:00
Alejandro Martínez
e67f7b0d0e
Drop old QueryTablesApi
2016-02-22 15:26:06 +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
3b6abb5c9f
Refactor construction of OverviewsApi
2016-01-26 11:49:41 +01:00
Raul Ochoa
1dea84f9bf
Change redis pool name to report with a valid statsd key
2016-01-19 13:00:02 +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
b80e80bd61
Do not pass MapStore as it is no longer needed in Attributes backend
2015-10-06 19:46:52 +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
f2278d47a5
Increment map views on static preview images
2015-09-29 12:21:11 +02:00
Raul Ochoa
2bdce4baa7
Replaces console.log with global logger
2015-09-18 17:13:22 +02:00
Raul Ochoa
db8457af60
status + send on syntax error handler
2015-09-17 11:07:02 +02:00
Raul Ochoa
31fe06e3ce
Use listener and remove etag
2015-09-17 02:04:10 +02:00
Raul Ochoa
ef86bacf7f
Set headers with set method
2015-09-17 02:03:09 +02:00
Raul Ochoa
beabe48aec
Upgrade express, adds body-parser
...
- basic changes in server
- basic changes in unit tests
2015-09-17 00:19:00 +02:00
Raul Ochoa
38e422e84c
Moves sendError and sendResponse to Base controller
...
Test for findStatusCode moved to controller
2015-09-16 21:54:56 +02:00
Raul Ochoa
99d78ce9b8
Remove unused variables
2015-09-16 17:02:35 +02:00
Raul Ochoa
352dc6b311
BaseController to encapsulate req2params method
...
All controllers now extending BaseController
- Most of the acceptance ported tests will be broken
2015-09-16 16:18:26 +02:00
Raul Ochoa
66f94d9452
Fix test
2015-09-16 02:49:18 +02:00
Raul Ochoa
62f428f434
Remove app dependency
2015-09-16 01:48:54 +02:00
Raul Ochoa
713ad03c3b
No need to expose findStatusCode at app level
2015-09-16 01:44:30 +02:00
Raul Ochoa
72a0c4a487
New sendResponse and sendError methods
...
- fixes response for static named map error cases
2015-09-16 01:36:51 +02:00
Raul Ochoa
fba5a35514
Move sendResponse and sendError to response object
2015-09-15 19:28:02 +02:00
Raul Ochoa
e2e5e40ea9
Fix maxcomplexity
2015-09-15 19:01:34 +02:00
Raul Ochoa
f5660667c8
Move req.profiler call to req2params itself
2015-09-15 18:16:50 +02:00
Raul Ochoa
2d3088ba27
Port everything related to stats from windshaft
2015-09-14 18:47:01 +02:00
Raul Ochoa
67afd8738b
Remove renderer cache param from attributes backend
2015-09-10 00:47:32 +02:00
Raul Ochoa
bbec3ae7da
Subscribes to named map changes to invalidate cache
2015-07-14 21:18:10 +02:00
Raul Ochoa
07c920bad5
Use named map provider cache to retrieve providers
2015-07-14 20:53:06 +02:00
Raul Ochoa
4aabe9d946
Named maps controller adding cache headers
...
This requires a cache for affected tables as it is hitting db for
every request right now
2015-07-14 20:10:55 +02:00
Raul Ochoa
e8b5845174
Shared cache for affected tables in layergroup and map controllers
2015-07-14 13:40:41 +02:00
Raul Ochoa
c295584864
Cache channel now in layergroup controller
...
Internal cache channel dbname+layergroupid cache must be unified in layergroup
and map controllers
Removes sendWithHeaders
2015-07-14 11:55:49 +02:00
Raul Ochoa
36257f73b9
Better format
2015-07-13 17:18:50 +02:00
Raul Ochoa
76823f7529
No need to pass a reference to itself
2015-07-13 15:06:22 +02:00
Raul Ochoa
96a6a0d980
Using MapStore, no need to attach it to app
2015-07-13 15:05:45 +02:00
Raul Ochoa
b05701be61
Authentication/Authorization moves to its own entity
2015-07-13 15:05:03 +02:00
Raul Ochoa
f9554ec761
Re-enable render limits
2015-07-10 19:10:55 +02:00
Raul Ochoa
e128b1d750
remove unused method
2015-07-10 12:33:01 +02:00
Raul Ochoa
847ab96a48
RendererFactory changes for new signature
2015-07-10 12:30:52 +02:00