Commit Graph
4104 Commits
Author SHA1 Message Date
Simon Martín 0aaafa2068 Merge branch 'master' into res-locals-user 2017-11-16 11:03:43 +01:00
Simon Martín 1aa981d556 Merge pull request #787 from CartoDB/timeoutVectorImage
Timeout vector image
2017-11-16 11:01:16 +01:00
Simon Martín ccce598b04 Merge branch 'master' into res-locals-user 2017-11-15 18:37:49 +01:00
Simon Martín 667b2a9cb1 removing underscore dependency in locals middleware 2017-11-15 16:56:21 +01:00
Simon Martín 298882f410 remove with spaces and adding line as EOF 2017-11-15 15:07:30 +01:00
Raul Marin 6aaa5f99e2 Test: PARALLEL compatibility (OSX) 2017-11-14 16:18:22 +01:00
Simon Martín 22e3016cd3 Merge branch 'master' into timeoutVectorImage 2017-11-14 15:54:16 +01:00
Raul Marin 172b3ece71 Test: Strip PARALLEL labels for PostgreSQL releases before 9.6 2017-11-13 14:59:13 +01:00
Daniel 71146dbfaf Merge pull request #790 from CartoDB/fix-issue-maps-controller-refactor
Fix issue maps controller refactor
2017-11-13 13:04:41 +01:00
Daniel García Aubert 38ca5db51b Inline method to set cache-cannel, rollback extract setCacheChannel method for named maps controller 2017-11-13 12:35:46 +01:00
Daniel García Aubert 590233e3ee Inline method to set cache-cannel, rollback extract setCacheChannel method 2017-11-13 12:15:12 +01:00
Daniel García Aubert 6f59c61c8b Add more steps while profiling 2017-11-08 14:27:35 +01:00
Daniel García Aubert aff5fcda63 Add namespace for getMapConfig step while profiling 2017-11-08 14:08:27 +01:00
Daniel García Aubert 56d33b7f5b Add profiling 2017-11-08 10:52:25 +01:00
Daniel 749b205944 Merge pull request #788 from CartoDB/786-number-categories-param
Add a "category" query param to define the number of categories to be ranked for aggregation dataviews
2017-11-07 17:11:25 +01:00
Daniel ad0c035e2d Merge pull request #784 from CartoDB/middlewarify-maps-controller
[Middlewarify] Middlewarify map controller
2017-11-07 17:09:02 +01:00
Daniel García Aubert d15ccd271e Merge branch 'master' into middlewarify-maps-controller 2017-11-07 16:36:52 +01:00
Daniel García Aubert 2aee357006 Improve test structure 2017-11-07 16:28:37 +01:00
Daniel García Aubert fc9dce0cca Fix typo 2017-11-07 16:22:36 +01:00
Daniel García Aubert 9149f72f42 Update NEWS 2017-11-07 16:21:55 +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
Simon Martín 0bf36fa058 remove unneeded encoding control 2017-11-07 16:02:37 +01:00
Simon Martín 970310bf7f add vectorError middleware to named map endpoint 2017-11-07 16:01:08 +01:00
Simon Martín 4fc90db495 timeout error vector with lines 2017-11-07 15:57:33 +01:00
Daniel García Aubert 50ecdb5fee Add test to ensure that categories param is used to compose the aggregation dataview 2017-11-07 12:51:48 +01:00
Simon Martín 1ea4fc50c9 make jshint happy 2017-11-07 11:17:32 +01:00
Simon Martín cda9a09b8e vector timeout error tests 2017-11-07 11:08:01 +01:00
Simon Martín 216c877f4b verctor error middleware 2017-11-07 11:07:38 +01:00
Simon Martín 33fbff5011 some improvements mvt timeout error script 2017-11-07 11:06:53 +01:00
Daniel García Aubert c48e89826d Split middleware to follow SRP 2017-11-07 09:50:52 +01:00
Daniel 52542e4a88 Merge pull request #783 from CartoDB/refactor-send-method
[Middlewarify] Don't use a base method to send responses
2017-11-07 09:37:57 +01:00
Daniel García Aubert 693a2e7bee Order middlewares 2017-11-05 19:13:56 +01:00
Daniel García Aubert f9ba3c41d3 Create new middlewares to init profiling and another to check JSON content-type 2017-11-05 18:55:23 +01:00
Simon Martín ac153232d0 mvt timeout error creation script 2017-11-03 17:21:01 +01:00
Daniel García Aubert 46289f27df Remove TODO 2017-11-03 15:26:25 +01:00
Daniel García Aubert 05ccf20634 Rename function 2017-11-03 15:12:18 +01:00
Daniel García Aubert 6acb873d95 Enforce all middlewares to follow the same constructor pattern 2017-11-03 15:06:15 +01:00
Daniel García Aubert 65e8609fec Do not bind context if not needed 2017-11-03 09:47:46 +01:00
Daniel García Aubert 677f6caab8 remove funtion 2017-11-03 09:38:36 +01:00
Daniel García Aubert cb167313d2 Unify middleware builder functions 2017-11-03 09:37:01 +01:00
Daniel García Aubert 2854d0252c Fix typo 2017-11-03 08:48:13 +01:00
Daniel García Aubert 717332d941 Compose instantiate layergroup middleware 2017-11-02 19:24:33 +01:00
Daniel García Aubert 4607e4a12d Compose create layergroup middleware 2017-11-02 19:03:20 +01:00
Daniel García Aubert 3e7106002d Rename response middleware 2017-11-02 18:39:46 +01:00
Daniel García Aubert 08b91f935d Rename error middleware 2017-11-02 18:38:34 +01:00
Daniel García Aubert 1d08734721 Rename middleware 2017-11-02 18:28:37 +01:00
Daniel García Aubert b11b872b75 Remove step requirement 2017-11-02 11:29:43 +01:00
Daniel García Aubert 93bd2c9e50 Build afterLayergroupCreate middleware as an array of middlewares instead of preforming all them as one middleware 2017-11-02 10:43:22 +01:00
Daniel García Aubert 658763da8c Build after layergroup create while registering routes 2017-11-02 10:33:39 +01:00
Daniel García Aubert d2b5eaa8c3 Do not proxy create and intantiate middlewares 2017-11-02 10:28:33 +01:00