Commit Graph

1584 Commits

Author SHA1 Message Date
Sandro Santilli
2161eb1a15 Fix handling of --key switch 2012-10-04 12:04:50 +02:00
Sandro Santilli
f725cb4f59 Add prompt and batch mode 2012-10-04 12:04:50 +02:00
Sandro Santilli
8078bd55e7 Add support for reading queries from stdin
Only available with node-0.8+
2012-10-04 12:04:50 +02:00
Sandro Santilli
be2bc87bb6 Add --dp switch to specify decimal places for geojson output 2012-10-04 12:04:50 +02:00
Sandro Santilli
1200379940 Add --format switch, write response body without parsing it 2012-10-04 12:04:50 +02:00
Sandro Santilli
c3906afa09 Drop documentation for unexistent 'gn' parameter 2012-10-04 12:04:50 +02:00
Sandro Santilli
31d19d2232 Add more info about PostgreSQL requirements -- closes #16 2012-10-04 12:04:50 +02:00
Sandro Santilli
4521942820 Test "CSV" format, drop "KML" from the list of supported formats 2012-10-04 12:04:50 +02:00
Sandro Santilli
e8401e5c46 Cleanup links to docs 2012-10-04 12:04:49 +02:00
Sandro Santilli
924905680a Cleanup 2012-10-04 12:04:49 +02:00
Sandro Santilli
16c67554a2 Generalize the API doc, add 'gn' to the list of supported params 2012-10-04 12:04:49 +02:00
Sandro Santilli
ba6cde9679 Add API documentation to the repository (closes #42) 2012-10-04 12:04:49 +02:00
Sandro Santilli
eb645d298c More embedded comments 2012-10-04 12:04:49 +02:00
Sandro Santilli
13b3b2f2ff Don't hide errors during db preparation 2012-10-04 12:04:49 +02:00
Sandro Santilli
ae493dd914 Move install step before usage one (see #16) 2012-10-04 12:04:49 +02:00
Sandro Santilli
233f5ecc4b Rename env files to .example, add a ./configure script
Update README to mention the two possible ways to configure the app
2012-10-04 12:04:49 +02:00
Sandro Santilli
954e54c87d Prepare for 1.1.0 2012-10-04 12:04:49 +02:00
Luis Bosque
b638b33424 fixed problem in cluster2 with pidfile name 2012-10-04 10:55:50 +02:00
Luis Bosque
4ec9bf34c1 fixed problem in cluster2 with pidfile name 2012-10-04 10:54:09 +02:00
Luis Bosque
3287ffd4e4 staging env in cluster.js 2012-10-03 17:14:17 +02:00
Luis Bosque
703344d263 staging env in cluster.js 2012-10-03 17:14:05 +02:00
Luis Bosque
b1a06b208f added staging env to cluster.js 2012-10-03 17:12:45 +02:00
Luis Bosque
927a0f84e3 added staging env to cluster.js 2012-10-03 17:12:31 +02:00
Luis Bosque
703d152006 updated version to 1.0.0 2012-10-03 16:53:36 +02:00
Luis Bosque
686ff617b8 updated version to 1.0.0 2012-10-03 16:53:17 +02:00
Luis Bosque
3df0004c55 Merge branch 'develop0.8' 2012-10-03 16:50:21 +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
Luis Bosque
5dc8c1de29 Merge branch 'release/staging' into develop 2012-09-18 17:06:04 +02:00
Luis Bosque
409e35a92d Merge branch 'release/staging' 2012-09-18 17:05:58 +02:00
Luis Bosque
f05f18e552 added NEWS.md 2012-09-18 17:04:29 +02:00
Sandro Santilli
2ac6e2d132 Add tests for INSERT/UPDATE/DELETE and _no_ RETURNING (#13) 2012-09-17 16:56:25 +02:00
Sandro Santilli
fe2c6bfe1f Add test for DELETE .. RETURNING (#50) 2012-09-17 16:50:15 +02:00
Sandro Santilli
adfe97bf81 Add test for broken SQL (#51) 2012-09-17 13:04:16 +02:00
Sandro Santilli
8b824801cf Fix INSERT and UPDATE with RETURNING clause. Closes #50
Includes regression test
2012-09-17 11:50:19 +02:00
Sandro Santilli
2d59de1b70 Add a couple of additional tests about forbidden INSERT attempts.
These are:
 - NO api key used
 - INSERT in public table
Both tests are already passing
2012-09-17 11:12:00 +02:00
Sandro Santilli
167e1e1b51 Drop calls to deprecated PSQL.end() 2012-09-04 12:31:50 +02:00
Sandro Santilli
0a53d1cd17 Make PSQL.end a no-op, to avoid breaking pooled clients. Closes #48 2012-09-04 12:31:38 +02:00
Sandro Santilli
2a817fc70a Re-enable pgsql unit test
Was intended to disabled by 86e1439c2c
but commenting out the middle of a multiline string resulted in a
wider testcases omission, due to:
test/run_tests.sh: 42: test/acceptance/app.test.js: Permission denied
2012-09-04 11:22:53 +02:00
Sandro Santilli
d5a6002e2e Fix db_base_name and db_user setting for staging environment 2012-09-04 11:16:11 +02:00
Luis Bosque
86e1439c2c Re-enabled the psql connections pooler. It is
essential.

Related to:
e36bfdef5b
2012-08-29 20:52:17 +02:00
Sandro Santilli
8815b9eb3d Fix --domain command line switch for cdbsql 2012-08-08 11:58:03 +02:00
Sandro Santilli
185aa3f834 Add command line tool for the CartoDB SQL API 2012-08-08 11:42:11 +02:00
Sandro Santilli
4723c028c9 Use the correct redis variable for checking map key (closes #44)
Includes testcase
2012-08-02 12:18:54 +02:00
Sandro Santilli
639eea00cc Merge branch 'develop' 2012-07-16 19:14:37 +02:00
Sandro Santilli
5a13ba8ee8 Update section about node version requirement 2012-07-16 19:13:03 +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
acb625b72f Expect correct JSON, never mind formatting of it
This is because express-3.0.0beta6 send indented JSON ...
2012-07-16 17:16:28 +02:00
Sandro Santilli
b1089a3ccb Lock dependent modules versions 2012-07-16 15:40:01 +02:00