Commit Graph

220 Commits

Author SHA1 Message Date
Daniel García Aubert
e1e6a56277 Merge branch 'master' of github.com:CartoDB/CartoDB-SQL-API 2016-01-28 16:33:10 +01:00
Daniel García Aubert
a68d32e0ab Removed unused module in dev dependencies in package.json 2016-01-28 16:32:08 +01:00
Raul Ochoa
1b4f2ac7f3 Stubs next version 2016-01-28 16:19:10 +01:00
Daniel García Aubert
0e14251615 Stubs next version 2016-01-26 14:35:02 +01:00
Daniel García Aubert
2da35ac968 Merge branch 'master' of github.com:CartoDB/CartoDB-SQL-API into batch-api 2016-01-22 13:09:20 +01:00
Raul Ochoa
c096d843a2 Adds coverage tool 2016-01-22 12:18:20 +01:00
Daniel García Aubert
d11b4608aa Back to tabs with 4 spaces again 2015-12-23 17:32:57 +01:00
Daniel García Aubert
b16c0983c6 Implemented tests for batch API 2015-12-22 23:13:33 +01:00
Daniel García Aubert
3762ad7a39 Now jobs are stored in redis instead of user's database 2015-12-21 19:57:10 +01:00
Daniel García Aubert
43f759e96a Refactored Batch API using streams instead a interval to consume the job queue. Limited one job running at the same time per queue instead of using a job's counter to limit it. 2015-12-16 15:57:58 +01:00
Daniel García Aubert
0c6edc573a Used cartodb-redis instead redis-mpool 2015-12-09 12:18:33 +01:00
Daniel García Aubert
00721bcd02 Implementing batch service 2015-12-09 00:02:08 +01:00
Raul Ochoa
f816093036 Set Last-Modified header based on affected tables
Closes #101
2015-09-02 16:25:56 +02:00
Raul Ochoa
9b5a729a41 Stubs next version 2015-08-04 16:33:36 +02:00
Raul Ochoa
7c696317d0 New option to remove client from pool after error happens
This help to avoid issues with transactions.

Closes #241
2015-08-04 15:53:50 +02:00
Raul Ochoa
bb2cf83ff6 Upgrades cartodb-psql to 0.6.0 2015-08-04 15:35:31 +02:00
Raul Ochoa
283572c535 Stubs next version 2015-06-16 17:36:26 +02:00
Raul Ochoa
afdb385fcf Bumps versions for new SpatiaLite feature 2015-06-16 17:19:57 +02:00
Raul Ochoa
e9dda12ad3 Adds tests for big results in ogr formats 2015-06-16 15:54:13 +02:00
Francisco Dans
6e9eb9f43f adds sqlite3 as dev dep 2015-06-01 13:21:17 +02:00
Raul Ochoa
d052850cc9 Stubs next version 2015-05-26 10:19:47 +02:00
Raul Ochoa
db03235c4a Stubs next version 2015-05-14 13:18:58 +02:00
Raul Ochoa
513a4e747b Make jshint part of npm test 2015-05-13 13:13:16 +02:00
Raul Ochoa
b6f71eb180 Makefile with testing targets 2015-05-12 18:33:57 +02:00
Raul Ochoa
99390eb0ab Adds jshint dev dep and jshintrc config file 2015-05-12 17:31:30 +02:00
Raul Ochoa
36c498c0a2 Stubs next version 2015-04-09 10:50:30 +02:00
Raul Ochoa
269868ccd0 Update news and bumps version for new features 2015-04-09 10:45:03 +02:00
Raul Ochoa
6d413f9595 Stubs next version 2015-03-02 14:35:59 +01:00
Raul Ochoa
c590759302 Stubs next version 2015-03-02 12:57:16 +01:00
Raul Ochoa
83299bce6c Update news 2015-03-02 12:49:25 +01:00
Raul Ochoa
2cf43dc754 Stubs next version 2015-02-26 16:30:07 +01:00
Raul Ochoa
05c13a3f17 Bump version due to new keep-alive and max size per row options 2015-02-26 16:12:59 +01:00
Raul Ochoa
8897c7d0ad Upgrades cartodb-psql to 0.5.1 2015-02-20 15:01:07 +01:00
Raul Ochoa
7610658ac7 Upgrades cartodb-psql to 0.5.0 2015-02-19 14:54:49 +01:00
Raul Ochoa
192ea15443 Stubs next version 2014-12-15 16:26:41 +01:00
Raul Ochoa
256b82b1d8 Closes fd for log files on kill -HUP. Fixes #187 2014-12-02 12:25:25 +01:00
Raul Ochoa
a7418fe721 Stubs next version 2014-11-21 13:45:55 +01:00
Raul Ochoa
d50ddbb10f Add more fields to error responses with hint, detail and context for SQL errors. 2014-11-21 12:59:48 +01:00
Raul Ochoa
747b75df88 Stubs next version 2014-10-14 15:39:25 +02:00
Raul Ochoa
16b53cba83 Release 1.18.0 2014-10-14 15:17:05 +02:00
Raul Ochoa
1da0181261 Upgrades mocha testing framework dependency 2014-09-26 17:21:36 +02:00
Raul Ochoa
3c57adb739 Stubs next version 2014-09-23 12:41:38 +02:00
Raul Ochoa
b6da70fba1 Stubs next version 2014-09-17 00:04:10 +02:00
Raul Ochoa
7eed096b16 Release 1.17.0 2014-09-17 00:01:09 +02:00
Raul Ochoa
f8d2826ddd Upgrades cartodb-redis and re-generates npm-shrinkwrap.json 2014-09-16 23:58:06 +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
f4a6e63fe1 Stubs next version 2014-08-18 16:05:49 +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
109ac36610 Upgrades cartodb-redis 2014-08-14 13:18:52 +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
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
14d5323a0b Stubs next version 2014-08-08 12:53:25 +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
351384389c Stubs next version 2014-08-07 15:20:39 +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
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
e16f278087 CDB-3629 Uses one request to redis to retrieve all connection params 2014-08-05 02:29:07 +02:00
Raul Ochoa
04dd9c709b Stubs next version 2014-08-05 01:03:56 +02:00
Raul Ochoa
78c5bcde21 Stubs next version 2014-08-04 14:51:54 +02:00
Raul Ochoa
8a4a08fb54 Release 1.12.0 2014-08-04 14:51:01 +02:00
Raul Ochoa
cad38f4ab4 Stubs next version 2014-07-30 12:16:07 +02:00
Raul Ochoa
3cdd5630a6 Release 1.11.0 2014-07-30 12:15:12 +02:00
Raul Ochoa
2653314818 CDB-3657 Sends profiler data as json in X-SQLAPI-Profiler header 2014-07-29 19:29:16 +02:00
Raul Ochoa
a7d444ca92 Changes authentication to start using public user if it is defined in redis. 2014-07-29 13:52:04 +02:00
Raul Ochoa
e8eded48ce Prepares for 1.10.2 2014-06-05 17:04:12 +02:00
Raul Ochoa
55dcb50809 Prepares for 1.10.1 2014-06-04 15:44:13 +02:00
Raul Ochoa
ff70d8bcf9 Adds sql unit tests directory for sql_wrapper to npm package. 2014-04-15 14:57:38 +02:00
Sandro Santilli
68aa854477 Prepare for 1.10.0 2014-03-20 17:11:56 +01:00
Sandro Santilli
766345595e Add statsd support
Closes #133
2014-03-20 11:22:13 +01:00
Sandro Santilli
653621a8c8 Remove unneeded node-uuid dependency 2014-03-20 09:52:03 +01:00
Sandro Santilli
2cbdc4c38c Add profiler support
Closes #142
2014-03-19 18:34:21 +01:00
Sandro Santilli
f88d33fdb9 Fix lack of response on backend crash
Closes #135
Enables previously failing test
Required upgrade of node-postgresql to own fork
2014-03-19 10:43:39 +01:00
Sandro Santilli
29002bb311 Upgrade zipfile and libxmljs dependencies
Gets closer to node-0.10 compatibility (#132)
2014-03-17 13:42:35 +01:00
Sandro Santilli
65f31fd7c1 Add optional support for rollbar
Closes #150
Logs messages of severity ERROR or higher
2014-03-13 12:09:39 +01:00
Sandro Santilli
1f3aca837b Use log4js for logging
Closes #136
2014-03-13 11:52:40 +01:00
Sandro Santilli
c4fc010d9b Remove duplicated dependency 2014-03-13 11:11:29 +01:00
Sandro Santilli
b453671f63 Prepare for 1.9.0 2014-02-10 17:23:42 +01:00
Sandro Santilli
5c6eef527f Prepare for 1.8.3 2014-01-20 12:39:29 +01:00
Sandro Santilli
b8b521581a Prepare for 1.8.2 2014-01-10 11:32:48 +01:00
Sandro Santilli
f7f4fa3209 Prepare for 1.8.1 2013-12-18 12:38:10 +01:00
Sandro Santilli
87d35aa155 Generalize CartoDB username extraction, allowing for multiuser setups
Closes #124
2013-12-18 11:59:00 +01:00
Sandro Santilli
46bc0eb369 Target 1.8.0 2013-12-18 10:29:26 +01:00
Sandro Santilli
fa4703ccee Prepare for 1.7.2 2013-12-02 11:59:28 +01:00
Sandro Santilli
7db4cbcb0f Add package keywords 2013-11-28 11:17:33 +01:00
Sandro Santilli
59c1907ed4 Update mocha to ~0.14.0 2013-11-27 12:58:36 +01:00
Sandro Santilli
22fba12dca Prepare for 1.7.1 2013-11-19 12:14:19 +01:00
Sandro Santilli
03ea51a375 CartoDB redis interaction delegated to "cartodb-redis" module 2013-11-15 19:14:55 +01:00
Sandro Santilli
1e9d073cd4 Retarget to 1.7.0 2013-11-15 12:15:06 +01:00
Sandro Santilli
d21e5b7e69 Prepare for 1.6.4 2013-11-10 21:39:23 +01:00
Sandro Santilli
7cbb004312 Prepare for 1.6.3 2013-11-07 17:54:42 +01:00
Sandro Santilli
0cea623e41 Prepare for 1.6.2 2013-11-05 17:59:17 +01:00
Sandro Santilli
019277302d Prepare for 1.6.1 2013-10-02 13:14:32 +02:00
Sandro Santilli
3b69a7f808 Drop support for cluster 2013-10-02 12:45:06 +02:00
Sandro Santilli
82f965fa57 Upgrade node-pg dependency to 2.6.2
Simplifies PSQL.quoteIdentifier and exposes PSQL.quoteLiteral
2013-10-02 12:32:24 +02:00