Commit Graph

164 Commits

Author SHA1 Message Date
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
Luis Bosque
f30837298e Target v1.6.0 2013-09-06 11:26:08 +02:00
Sandro Santilli
a6905d114c Fix author/contributors, add repository 2013-07-19 12:37:09 +02:00
Luis Bosque
62b420c1e8 Target v1.5.3 2013-07-10 07:59:13 +02:00
Luis Bosque
b82c390c2f Target v1.5.2 2013-07-09 10:47:42 +02:00
Luis Bosque
bd927556c5 Target v1.5.1 2013-07-05 15:31:21 +02:00
Sandro Santilli
298027aa5d Further upgrade node-postgresql to 1.2.0, for field types availability 2013-06-06 17:47:23 +02:00
Sandro Santilli
e03262c5da Upgrade node-postgresql to ~1.1.3 fixing evented query model 2013-06-06 17:06:06 +02:00
Sandro Santilli
1f26d31ac4 Update NEWS, and target 1.5.0
Let's leave 1.4.x for hotfixes
2013-05-29 12:44:04 +02:00
Luis Bosque
9475e6ef0a Target v1.4.1 2013-05-28 18:15:15 +02:00
javi
0be9e47930 Add arraybuffer format 2013-05-28 10:37:39 +02:00
Sandro Santilli
b1e7bb8f8f Upgrade underscore dependencies 2013-05-24 08:26:23 +02:00
Luis Bosque
b16c5bb034 Target v1.3.10 2013-05-10 12:18:27 +02:00
Fabio Rueda
fc6aed2e9e targeted 1.3.9 2013-04-15 14:04:55 +02:00
Luis Bosque
bc068a5463 Merge branch 'release/staging' into develop 2013-04-04 14:25:43 +02:00
Sandro Santilli
2d311d31e4 Fix "Unsupported startup parameter: options" bug 2013-04-03 12:06:43 +02:00
Luis Bosque
aa5e3bcd36 Target v1.3.8 2013-04-02 11:39:54 +02:00
Sandro Santilli
b548cd5e35 Use wildcards to find testcases 2013-03-27 17:28:34 +01:00
Sandro Santilli
0261e8f687 Drop unused dependencies (csv and strftime) 2013-03-27 15:55:57 +01:00
Sandro Santilli
6c0d7813f6 Upgrade generic-pool to ~2.0.2 2013-03-14 11:58:30 +01:00
Sandro Santilli
5fa19a0515 Fix parsing of numeric arrays. Closes #88.
Includes testcase, requires using a fork of node-postgresql.
2013-03-14 11:41:07 +01:00
Luis Bosque
c5b2534687 Target v1.3.7 2013-02-28 15:03:42 +01:00
David Arango
a077afb331 Bump version to 1.3.6 2013-02-19 12:40:58 +01:00
Sandro Santilli
d77720e132 Revert "Updagres pg module"
This reverts commit d418db03e4.

The problem we were after was elsewhere.
Upgrading pg module may still be a good thing but needs to be
done togheter with generic-pool and also needs updates to
shrinkwrap file
2013-02-18 16:25:37 +01:00
David Arango
d418db03e4 Updagres pg module 2013-02-18 13:09:44 +01:00
Sandro Santilli
19eb51b06d Use an LRU cache for query tables, and add expiration support
Defaults to 8192 items each valid for no more than 10 minutes
Both settings can be changed via environment config.
See #83
2013-02-13 18:59:09 +01:00
Sandro Santilli
197c14f30f Add test focused on x-cache-channel handling 2013-02-13 17:31:53 +01:00
David Arango
938a87cfe0 Bump to 1.3.5 2013-01-21 18:01:16 +01:00
Sandro Santilli
19fc0e5854 Fix crash when issuing SQL "COPY" command
This involved upgrade of node-postgresql module.
See https://github.com/brianc/node-postgres/issues/242
2013-01-17 10:14:29 +01:00
David Arango
f387903912 Bump to 1.3.4 2013-01-11 13:57:47 +01:00
Sandro Santilli
9550837fbe Split CSV tests from main test file 2013-01-11 11:21:59 +01:00
Sandro Santilli
39669578b6 Initial support for TopoJSON (#79)
Does not include any attributes in the format
2013-01-09 17:43:23 +01:00
Sandro Santilli
050e1c8e05 Use own fork of pg module for correct timestamptz parsing
See https://github.com/brianc/node-postgres/pull/226
Closes #77
2012-12-07 17:08:56 +01:00
Sandro Santilli
2e85588d99 Format date fields in CSV output 2012-12-07 14:27:02 +01:00
Sandro Santilli
38e750e46d Improve test runner: allow skipping preparation and specify testfiles
Call run_tests.sh with no args to get an help screen
2012-12-07 11:35:37 +01:00
Luis Bosque
3b9dc554f9 Target version 1.3.3 2012-11-28 16:45:49 +01:00
Sandro Santilli
c00cf6d390 Revert "Upgrade node-csv module to version 0.2.4"
This reverts commit 270e6280ed.
The performance issue must be fixed before we can upgrade:
https://github.com/wdavidw/node-csv-parser/issues/64
2012-11-19 18:44:53 +01:00
Sandro Santilli
270e6280ed Upgrade node-csv module to version 0.2.4
Will help with compressed-csv export format
2012-11-19 16:20:40 +01:00
Luis Bosque
e20c14e222 target v1.3.2 2012-11-14 18:24:26 +01:00
Luis Bosque
1914ab9196 target v1.3.1 2012-11-13 11:42:18 +01:00
Sandro Santilli
005ae48e3a Support for specifying a list of fields to skip from output.
Closes #63
2012-11-12 17:11:17 +01:00
Luis Bosque
ab9c739995 removed -dev suffix from package.json version 2012-11-12 13:23:34 +01:00
Sandro Santilli
46cec7a0e5 Add support for specifying a filename for exports. Closes #64
Sets release target to 1.3.0, due to parameter addition
2012-11-12 12:40:53 +01:00
Luis Bosque
755fe738ca target v1.2.2 2012-11-12 12:27:37 +01:00
Luis Bosque
62b22bb9f3 target version 1.2.1 2012-11-02 15:38:24 +01:00
Sandro Santilli
765dc101b0 Target 1.2.0, due to addition of new features since 1.1.0
NOTE: I haven't touched npm-shrinkwrap.json as that file will
      get version from package.json on next regeneration

NOTE2: I added -dev suffix to the version so you can tell if
       you're running a development version or the "official"
       release (will get -dev removed)
2012-10-31 12:13:12 +01:00
Luis Bosque
4e0346a5a1 target version 1.1.1 2012-10-30 18:56:11 +01:00
Sandro Santilli
7fe09935cd Restrict listening host to configured `node_host` 2012-10-09 18:41:23 +02:00
Sandro Santilli
954e54c87d Prepare for 1.1.0 2012-10-04 12:04:49 +02:00
Luis Bosque
4ec9bf34c1 fixed problem in cluster2 with pidfile name 2012-10-04 10:54:09 +02:00
Luis Bosque
686ff617b8 updated version to 1.0.0 2012-10-03 16:53:17 +02:00
Sandro Santilli
e94b06e10c Switch to cluster2 for node-0.8 support 2012-09-28 13:19:28 +02:00
Sandro Santilli
2549560c58 Encode version in package.json -- now targetting 0.9.1-dev 2012-09-19 09:41:53 +02:00
Sandro Santilli
2ae5119bae Raise express dependency to 2.5.11 where it also work with node-0.8
This version passed "make check" with:
 - node 0.4.10
 - node 0.6.19
 - node 0.8.2
2012-07-16 19:10:50 +02:00
Sandro Santilli
7f8ab22c56 Require "zlib":"1.0.5", which would be needed by node-0.4 2012-07-16 19:03:22 +02:00
Sandro Santilli
e4f3a94256 Port tests to mocha. Closes #35. 2012-07-13 10:29:09 +02:00
Sandro Santilli
debc0c2586 Run tests on "make check", using custom port for redis
Includes tweaks in the db preparation script and in the tests
for proper handling of async model. Only a single test is run
at the moment, being the only one that succeeded for me.
2012-07-12 18:10:56 +02:00