Commit Graph

750 Commits

Author SHA1 Message Date
Raul Ochoa
0500d21fd5 Removes unused method in assert extension 2014-08-28 10:43:36 +02:00
Raul Ochoa
4b3ac452c2 Merge pull request #174 from CartoDB/CDB-3692
Health check endpoint
2014-08-28 10:23:46 +02:00
Raul Ochoa
5f2fb65095 Proper db params object 2014-08-27 17:43:28 +02:00
Raul Ochoa
0d5424c74f DRY 2014-08-27 17:09:59 +02:00
Raul Ochoa
6525b62fe2 Adds extra information when status/headers dont match 2014-08-27 17:09:31 +02:00
Raul Ochoa
840afa7a77 Make check() before any other assert 2014-08-27 16:39:16 +02:00
Raul Ochoa
85c70cc5f4 Call check before callback so the server is closed before the callback
throws an exception
2014-08-27 16:28:03 +02:00
Raul Ochoa
7c62632ea8 Health check endpoint 2014-08-26 18:40:58 +02:00
Raul Ochoa
96e47c4bdb Corrects JSDoc 2014-08-26 18:25:17 +02:00
Raul Ochoa
a080704ca8 Merge pull request #173 from CartoDB/CDB-3656
New header for database host serving the request
2014-08-22 13:20:24 +02:00
Raul Ochoa
3a26692448 New header for database host serving the request 2014-08-22 12:29:27 +02:00
Raul Ochoa
ae2c6f01d7 Change expected error code for backend crash. cartodb-psql 0.4.0
returns 500 error when it's not possible to connect to PostgreSQL.
2014-08-20 14:52:17 +02:00
Raul Ochoa
2d811408c0 Upgrades dependencies 2014-08-20 12:34:01 +02:00
Raul Ochoa
b87eafe58f Stubs next version 2014-08-19 14:44:04 +02:00
Raul Ochoa
e4ed36b0fd Release 1.16.0 2014-08-19 14:42:39 +02:00
Raul Ochoa
ef04fc0062 Merge pull request #172 from CartoDB/CDB-3659
Metrics revamp: removes and adds some metrics
2014-08-19 10:45:57 +02:00
Raul Ochoa
0035f04edd Metrics revamp: removes and adds some metrics 2014-08-18 19:45:17 +02:00
Raul Ochoa
f4a6e63fe1 Stubs next version 2014-08-18 16:05:49 +02:00
Raul Ochoa
01dd8ba922 Release 1.15.0 2014-08-18 16:05:49 +02:00
Carlos Matallín
f6ea991d87 Update API.md 2014-08-18 14:41:42 +02:00
Raul Ochoa
6837c242b1 Merge pull request #171 from CartoDB/upgrade-dependencies
Upgrade dependencies
2014-08-14 18:29:11 +02:00
Raul Ochoa
da37d7092f Uses https endpoints for dependencies 2014-08-14 14:25:43 +02:00
Raul Ochoa
2fc16ce2c5 Updates news 2014-08-14 14:23:41 +02:00
Raul Ochoa
0aa1b0e2e9 Merge branch 'master' into upgrade-dependencies
Conflicts:
	app/models/psql.js
	npm-shrinkwrap.json
	package.json
2014-08-14 14:19:20 +02:00
Raul Ochoa
67dd37ecb5 Merge pull request #170 from CartoDB/upgrade-cartodb-redis
Upgrades cartodb-redis
2014-08-14 14:09:17 +02:00
Raul Ochoa
109ac36610 Upgrades cartodb-redis 2014-08-14 13:18:52 +02:00
Raul Ochoa
e256e94970 Merge pull request #169 from CartoDB/use-cartodb-psql
Use cartodb psql
2014-08-14 13:13:40 +02:00
Raul Ochoa
99a36bc229 Removes pg dependency as now it's behind cartodb-psql 2014-08-14 13:03:19 +02:00
Raul Ochoa
c160818019 Fixes version in npm-shrinkwrap 2014-08-12 01:47:45 +02:00
Raul Ochoa
2bc1757cf4 Adds dependency in npm-shrinkwrap 2014-08-12 01:42:08 +02:00
Raul Ochoa
77cb86154c Starts using cartodb-psql node module in SQL API 2014-08-11 20:15:55 +02:00
Raul Ochoa
99fe4d904b Upgrades dependencies except express 2014-08-11 17:33:42 +02:00
Raul Ochoa
951636892c Removes unused vars 2014-08-08 12:54:36 +02:00
Raul Ochoa
14d5323a0b Stubs next version 2014-08-08 12:53:25 +02:00
Raul Ochoa
a9b5d4bf50 Release 1.14.1 2014-08-08 12:51:08 +02:00
Raul Ochoa
d33f7ea4c2 Merge pull request #168 from CartoDB/CDB-3032
Non authenticated request cannot use pg_ catalogs/functions
2014-08-08 12:49:47 +02:00
Raul Ochoa
21b8e6947c Non authenticated request cannot use pg_ catalogs/functions 2014-08-08 12:48:29 +02:00
Raul Ochoa
9cc7c94406 Stubs next version 2014-08-07 16:47:25 +02:00
Raul Ochoa
79627129eb Release 1.14.0 2014-08-07 16:46:31 +02:00
Raul Ochoa
8b088568de Merge pull request #167 from CartoDB/CDB-3032
Removes sql statements restriction on pg_ queries
2014-08-07 16:44:45 +02:00
Raul Ochoa
efb9d39be7 Notes to NEWS 2014-08-07 16:27:51 +02:00
Raul Ochoa
f6c364b3b9 CDB-3032 Removes sql statements restriction on pg_ queries 2014-08-07 16:22:48 +02:00
Raul Ochoa
351384389c Stubs next version 2014-08-07 15:20:39 +02:00
Raul Ochoa
4f17516bb2 Release 1.13.0 2014-08-07 15:19:32 +02:00
Raul Ochoa
457608c383 Merge pull request #166 from CartoDB/CDB-3629
Handle credentials/authentication using less calls to redis
2014-08-06 14:10:34 +02:00
Raul Ochoa
bd60f8f748 Using new method from cartodb-redis to retrieve oauth values so we
can reuse the same redis-mpool
2014-08-06 12:51:55 +02:00
Raul Ochoa
81e191bcf3 Fixes redis-mpool dependency 2014-08-06 11:32:12 +02:00
Raul Ochoa
a7027f4b05 Removes console.log 2014-08-05 16:48:11 +02:00
Raul Ochoa
480a9f27b4 New authentication mechanism: checks in advance if credentials are provided
in order to do a single request to redis to retrieve the required database
connection parameters.
2014-08-05 16:20:06 +02:00
Raul Ochoa
49406c99fa Moves auth functionality to its own directory 2014-08-05 11:57:43 +02:00