Commit Graph
1038 Commits
Author SHA1 Message Date
Raul Ochoa 8bc08d75b7 Separate signed maps instantiation 2015-01-20 18:40:56 +01:00
Raul Ochoa c14157acc2 Moves template routing 2015-01-20 18:16:09 +01:00
Raul Ochoa 595dac57a0 Moves setDBParams into controller 2015-01-20 18:14:10 +01:00
Raul Ochoa 5632b19e16 Remove unused functionality from app 2015-01-20 18:13:36 +01:00
Raul Ochoa 007196555d Use userByReq from serverOptions 2015-01-20 18:12:24 +01:00
Raul Ochoa 62ffc05ef4 Move template map instantiation into controller 2015-01-20 17:57:53 +01:00
Raul Ochoa 5962141114 Moves template options to controller 2015-01-20 17:45:47 +01:00
Raul Ochoa 7901a05b55 List templates moved into controller 2015-01-20 17:39:33 +01:00
Raul Ochoa 4c2a0ca048 Delete moved to controller 2015-01-20 17:34:23 +01:00
Raul Ochoa b40c8e6624 Retrieve template moved to controller 2015-01-20 17:17:06 +01:00
Raul Ochoa 97d3b1a03b Move update template to controller 2015-01-20 17:07:55 +01:00
Raul Ochoa fcea0c9b83 Move template creation to controller 2015-01-20 16:58:12 +01:00
Raul Ochoa 7ce8737e75 Initial split template maps endpoint into its own controller 2015-01-20 16:56:06 +01:00
Raul Ochoa caa05e779a Add scale_factor param as valid one 2015-01-14 18:11:13 +01:00
Raul Ochoa 845ebcac15 Merge branch 'master' into static-controllers
Conflicts:
	npm-shrinkwrap.json
2015-01-13 12:45:37 +01:00
Raul Ochoa 3f1aa9955b Remove query tables api dependency from health check 2015-01-13 12:09:02 +01:00
Alejandro Martínez 96bcd14bb8 Remove PostgreSQL from health checks
This way the health checks will only check for Redis and Mapnik
initialization.
An empty tile without layers or datasources is generated.
2015-01-13 11:29:19 +01:00
Raul Ochoa 48d60821a7 Exposes http renderer config 2014-12-01 18:43:40 +01:00
Raul Ochoa 97c55c1187 Removes console.log 2014-11-05 15:42:16 +01:00
Raul Ochoa 7c389a8010 Health check endpoint 2014-11-05 15:06:01 +01:00
Raul Ochoa c88330f5f2 Allow a different cache-control max-age for layergroup responses 2014-10-24 16:05:41 +02:00
Raul Ochoa cf5e34eae6 Upgrades Windshaft to start reporting redis/renderers/mapnik pool metrics 2014-10-15 16:45:49 +02:00
Raul Ochoa 9f5faf7cf8 Server options to instantiate cartodb-redis with redis configuration if pool is not provided 2014-10-14 21:19:44 +02:00
Raul Ochoa 711c1a89ee Merge branch 'master' into one-redis-mpool 2014-10-14 18:23:17 +02:00
Raul Ochoa 774104b34e Defaults resultSet to object if undefined in QueryTablesApi 2014-10-13 15:24:14 +02:00
Raul Ochoa 3dad6e96e3 Merge branch 'master' into one-redis-mpool 2014-10-07 12:47:10 +02:00
Raul Ochoa b4bee864d2 Lock now considers the creation time and compares against a ttl so
a lock is not keep forever in case of failure.

Pending: lazy removal of expired locks.
2014-09-25 19:00:35 +02:00
Raul Ochoa 3e571b4ce8 Use object.keys to iterate over objects 2014-09-25 12:17:32 +02:00
Raul Ochoa fb8fd5121e Do not expose internal implementation 2014-09-25 12:16:34 +02:00
Raul Ochoa ac2a3243b5 Don't cache regexes and avoid the _re hack 2014-09-25 12:04:52 +02:00
Raul Ochoa 1c10b8193b Adds dot to compile templates 2014-09-24 19:17:51 +02:00
Raul Ochoa abf0fa1b32 Remove unused var 2014-09-24 19:12:43 +02:00
Raul Ochoa 4c5bc13c7f Check style fixes 2014-09-24 19:11:53 +02:00
Raul Ochoa 7009eb20f8 Check style fixes 2014-09-24 11:42:53 +02:00
Raul Ochoa 24cbd192aa Share one redis-mpool across the application 2014-09-24 11:42:36 +02:00
Raul Ochoa 9496d83d1c Adds poolSize configuration for mapnik 2014-09-18 19:06:45 +02:00
Raul Ochoa 7faff8f887 Removes cors metric 2014-08-26 11:53:59 +02:00
Raul Ochoa f406001315 Removes get_infowindow and get_map_metadata metrics 2014-08-25 19:15:31 +02:00
Raul Ochoa 2b2020b43b Removes getTableGeometryType metric 2014-08-25 19:09:54 +02:00
Raul Ochoa 65e0364d37 Removes duplicated code in query_tables_api 2014-08-22 12:52:05 +02:00
Raul Ochoa 965e1cd0c4 Supports !scale_denominator! dynamic param in SQL queries 2014-08-22 10:16:39 +02:00
Raul Ochoa a3a5964926 Upgrades dependencies 2014-08-14 19:54:45 +02:00
Raul Ochoa 6a8cff6fcd Merge branch 'remove-mapnik-dependency'
Conflicts:
	NEWS.md
2014-08-14 19:26:52 +02:00
Raul Ochoa 23a7684208 Removes mapnik dependency as it now relies on Windshaft to check mapnik version 2014-08-14 18:27:54 +02:00
Raul Ochoa f2541d8cae Merge branch 'master' into CDB-3686
Conflicts:
	package.json
2014-08-13 15:31:22 +02:00
Raul Ochoa 40acf533ae Specifies name in the redis pool 2014-08-13 15:12:46 +02:00
Raul Ochoa e7ab71c606 Merge branch 'master' into CDB-3686 2014-08-11 12:19:11 +02:00
Raul Ochoa 2ed656ca0d Upgrades windshaft (and grainstore) to be able to specify the tile
format, see: https://github.com/mapnik/mapnik/wiki/OutputFormats
2014-08-07 01:57:21 +02:00
Raul Ochoa 5cf79c82bb Configurable QueryTablesAPI to call directly postgresql using cartodb-psql
or to keep using a request to the SQL API
2014-08-06 21:48:08 +02:00
Raul Ochoa d1373bec66 Improves SQL query for affected tables and last updated time 2014-08-04 17:48:59 +02:00