Commit Graph

2323 Commits

Author SHA1 Message Date
Sandro Santilli
6a2e0a338a Add versions for postgresql and cartodb requirements
This is because the CDB_QueryTables is used by the core: is provided
by CartoDB and only works with PostgreSQL 9.0+
2012-07-12 22:05:09 +02:00
Sandro Santilli
0c0770bcd4 Enable psql test now that it doesn't hang anymore 2012-07-12 20:16:38 +02:00
Sandro Santilli
e36bfdef5b Block while connecting, fixing #37
See https://github.com/brianc/node-postgres/issues/81
2012-07-12 20:13:47 +02:00
Sandro Santilli
a307e1434e Enable more tests (all the one succeeding for me). Closes #36
The metadata test was probably failing due to the redis_pool test
not waiting for redis to complete before exiting (or something
like that).
2012-07-12 18:21:39 +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
strk
e6b4896338 Merge pull request #33 from jmnavarro/issue-14
Allow using without redis (closes #14)

... as long as OAuth is not used and database name is given in URL
2012-07-12 08:31:24 -07:00
strk
b9ccad7133 Merge pull request #34 from jmnavarro/issue-13
Send number of affected rows as "row count" for non-select queries (closes #13)
2012-07-12 08:22:33 -07:00
JM
7e1847bca5 fixed #13
from support: Different JSON result for non-query request
http://support.cartodb.com/discussions/suggestions/50-sql-api-different-json-object-for-non-query-request
2012-06-30 02:34:43 +02:00
JM
b65d947b5a skip redis when database is hardcoded 2012-06-30 01:54:53 +02:00
JM
907b0b0df5 skip redis with non-oauth requests 2012-06-30 01:54:21 +02:00
Simon Tokumine
6edc510bfe Merge branch 'release/minibump' 2012-06-06 19:48:32 +01:00
Simon Tokumine
374583e655 add tests and refactor validations for input parameters. closes #29 2012-06-06 19:47:21 +01:00
Simon Tokumine
fb61c32850 add acceptance test for default dp change in geojson 2012-06-06 18:57:50 +01:00
Simon Tokumine
4986f86a9c Merge branch 'develop' of github.com:Vizzuality/CartoDB-SQL-API into develop 2012-06-01 21:19:08 +01:00
Simon Tokumine
9d2410fb32 updated readme to reflect api key: 2012-06-01 21:19:02 +01:00
Simon Tokumine
22923e3f0f formatting and semi colons 2012-06-01 21:13:41 +01:00
Simon Tokumine
aa1e306881 formatting and semi colons 2012-06-01 21:12:29 +01:00
Simon Tokumine
7c15a1218a remove redundant test" 2012-06-01 21:09:38 +01:00
Simon Tokumine
9e411425b3 formatting and semi colons 2012-06-01 21:07:22 +01:00
Simon Tokumine
39118d326f formatting and semi colons 2012-06-01 21:06:33 +01:00
Simon Tokumine
8735646675 fix oauth unit tests 2012-06-01 21:03:37 +01:00
Simon Tokumine
92660caea4 hard to do oauth units, possibly move to acceptance fully 2012-06-01 21:00:45 +01:00
Simon Tokumine
a062721cc6 psql units passing 2012-06-01 20:55:25 +01:00
Simon Tokumine
dae217cec7 psql units passing 2012-06-01 20:50:09 +01:00
Simon Tokumine
6b8e9a826b redis unit test pass 2012-06-01 20:47:47 +01:00
Simon Tokumine
060208e26c metadata unit test tidy 2012-06-01 20:47:14 +01:00
Simon Tokumine
0313b7b1ac metadata unit test 2012-06-01 20:46:38 +01:00
Simon Tokumine
3541873a66 notes on cluster 2012-06-01 18:19:13 +01:00
Simon Tokumine
c4b2a7f5e2 remove todo 2012-06-01 18:17:54 +01:00
Javier de la Torre
72c3911453 Fix issue #723 to return better error
https://github.com/Vizzuality/cartodb/issues/723
2012-05-11 16:46:45 -04:00
Javier de la Torre
bba4ba6192 Change default number of decimals on geojson to 6 2012-05-11 15:48:50 -04:00
Simon Tokumine
4d93abf1a1 added simple oauth test 2012-05-08 16:08:28 +01:00
Simon Tokumine
cddba95b87 Merge branch 'release/bugfix' 2012-05-08 15:55:37 +01:00
Simon Tokumine
1834d6e245 update tests with md5 fix 2012-05-08 15:28:22 +01:00
Simon Tokumine
d7df8b1449 fix api key tests 2012-05-08 15:25:19 +01:00
Simon Tokumine
b3fac461fb allow dollar quoted sql to be passed 2012-05-01 20:55:12 +01:00
Simon Tokumine
7e074bbc98 add explain cache and cache status route 2012-05-01 16:46:30 +01:00
Simon Tokumine
977f7d0e79 dollar quote sql 2012-04-20 16:09:31 -04:00
Simon Tokumine
8d131a1424 Merge branch 'release/staging' 2012-04-20 14:42:33 -04:00
Simon Tokumine
9bb7afb7f5 add specific cache key 2012-04-20 14:34:18 -04:00
Simon Tokumine
d704dc39d0 red herring 2012-04-19 11:38:27 -04:00
Simon Tokumine
5f27cb896e update close 2012-04-19 11:25:09 -04:00
Simon Tokumine
118eea7314 Merge branch 'release/staging' 2012-04-19 11:16:20 -04:00
Simon Tokumine
f359cd3ed3 close connections 2012-04-19 11:14:29 -04:00
Simon Tokumine
48aedc531a Merge branch 'hotfix/oauthsig' into develop 2012-04-13 19:35:14 +01:00
Simon Tokumine
915b15a78a Merge branch 'hotfix/oauthsig' 2012-04-13 19:35:07 +01:00
Simon Tokumine
b399fa3460 fix oauth signatures. thanks @javisantana 2012-04-13 19:34:59 +01:00
Simon Tokumine
ff48f0f2cd Merge branch 'release/staging' 2012-04-13 17:16:05 +01:00
Simon Tokumine
0ae158ccf6 bump version 2012-04-13 16:59:41 +01:00
Simon Tokumine
4cbdf62cc2 make wellformed CSV and stream back to browser. #9 2012-04-13 15:37:09 +01:00