Commit Graph

643 Commits

Author SHA1 Message Date
Raul Ochoa
e03737655b Merge branch 'master' of https://github.com/CartoDB/CartoDB-SQL-API into cdb 2014-06-05 16:58:26 +02:00
Raul Ochoa
7906707130 Revert "Stream JSON responses"
This reverts commit 49ef1bc0c7.

Conflicts:
	NEWS.md
2014-06-04 20:57:11 +02:00
Raul Ochoa
bd6c1e7164 Adds support to append logs to file with log4js. It listens to HUP signal to re-open the log file. In case the specified log filename is not writeable the server will not start. 2014-06-04 19:46:13 +02:00
Raul Ochoa
55dcb50809 Prepares for 1.10.1 2014-06-04 15:44:13 +02:00
Raul Ochoa
6db9c3a074 Release 1.10.0 2014-06-04 15:38:52 +02:00
Raul Ochoa
19cb6381ed Merge branch 'CDB-2038' into cdb 2014-06-04 15:21:57 +02:00
Raul Ochoa
4aef9d2fd1 CDB-2038 adds entry to news related to query cancelling 2014-06-04 15:21:36 +02:00
Raul Ochoa
a66c60cd4e Merge branch 'CDB-2038' into cdb 2014-06-04 15:19:24 +02:00
Raul Ochoa
9050a66cfe Merge branch 'CDB-2096-logs' into cdb
Conflicts:
	NEWS.md
	app/models/psql.js
	package.json
2014-06-04 15:19:04 +02:00
Raul Ochoa
9133893e39 Merge branch 'CDB-3079' of https://github.com/CartoDB/CartoDB-SQL-API into CDB-2038 2014-06-04 11:04:59 +02:00
Raul Ochoa
f76d0a1be6 Merge branch 'CDB-3079' of https://github.com/CartoDB/CartoDB-SQL-API into CDB-2096-logs 2014-06-04 11:02:45 +02:00
Raul Ochoa
987b3e0318 CDB-3079 enforces postgres user in preparation script 2014-06-03 18:49:29 +02:00
Raul Ochoa
277a34cb83 CDB-3079 enforces postgres user in preparation script 2014-06-03 18:33:40 +02:00
Raul Ochoa
c38ff94492 CDB-3079 yet another try to use cartodb flavour of postgres/postgis 2014-06-03 18:11:32 +02:00
Raul Ochoa
b109343a25 CDB-3079 tries to use cartodb flavour of postgres/postgis 2014-06-03 17:53:06 +02:00
Raul Ochoa
f2b8bf793d CDB-3079 installs gdal 2014-06-03 17:31:52 +02:00
Raul Ochoa
d31a0a01d5 CDB-3079 uses addons as per http://docs.travis-ci.com/user/using-postgresql/ 2014-06-03 16:15:31 +02:00
Raul Ochoa
88438c4ba5 CDB-3079 simplify installation relying on default postg(res|is) 2014-06-03 15:45:01 +02:00
Raul Ochoa
46ba38aa5f try to use postg(res|is)-9.3 instead of 9.1 2014-06-03 15:18:14 +02:00
Raul Ochoa
23254513e6 removes unneeded comma 2014-06-02 18:57:45 +02:00
Raul Ochoa
b3609696a3 requests associated with formats based on postgres expose a cancel method that will be called on client request abortion/cancelling so postgres can cancel ongoing queries 2014-06-02 14:48:38 +02:00
Raul Ochoa
0831756fa2 adds headers to differentiate between timers and counters 2014-05-28 17:29:50 +02:00
Raul Ochoa
08b503a375 Merge pull request #151 from CartoDB/CDB-2665
document tracked metrics
2014-05-28 16:37:25 +02:00
Raul Ochoa
d045ca1e2e adds document about what metrics we are tracking and some comments for each one 2014-05-28 16:07:06 +02:00
Raul Ochoa
dd1c5cc5eb Adds support to append logs to file with log4js. It listens to HUP signal to re-open the log file. In case the specified log filename is not writeable the server will not start. 2014-05-27 11:51:44 +02:00
Sandro Santilli
4b5a5921d5 Fix application_name to "cartodb_sqlapi" 2014-05-07 16:15:46 +02:00
Sandro Santilli
51b135c0ac Set default PostgreSQL application name to "cartodb_sqlapi" 2014-05-07 16:14:17 +02:00
Raul Ochoa
fa94cc5718 Updates NEWS with latest features and bug fixes 2014-05-07 11:29:49 +02:00
Raul Ochoa
2d2c056d6b Removes spawn unused dependency 2014-04-22 11:18:52 +02:00
Raul Ochoa
051269383f Merge pull request #148 from CartoDB/CDB-2754
Removes ending semicolons from SQL queries. Fixes #147
2014-04-15 16:02:03 +02:00
Raul Ochoa
8dbf1d9c45 Removes ending semicolons from SQL queries. Fixes #147 2014-04-15 15:29:03 +02:00
Raul Ochoa
ff70d8bcf9 Adds sql unit tests directory for sql_wrapper to npm package. 2014-04-15 14:57:38 +02:00
Raul Ochoa
41e3747998 Merge pull request #146 from rochoa/CDB-2081
Support for order_by through HTTP params
2014-04-14 16:24:54 +02:00
Raul Ochoa
3e6b63c9d6 CDB-2081 Returns original query in case there are no clauses to apply. 2014-04-14 15:44:43 +02:00
Raul Ochoa
537cb238c6 CDB-2081 Adds support for order_by through http query params. 2014-04-14 15:01:12 +02:00
Raul Ochoa
32f2d2ce45 documentation for sql parameter 2014-04-11 13:23:12 +02:00
Raul Ochoa
cdb4e5f19b precompiled query may write regex 2014-04-11 13:23:12 +02:00
Raul Ochoa
909530cfb3 documentation for sql parameter 2014-04-11 12:13:44 +02:00
Raul Ochoa
d10bd8e3b0 precompiled query may write regex 2014-04-11 12:03:43 +02:00
Sandro Santilli
fb9c6b8aaa Update release document 2014-04-09 09:21:16 +02:00
Sandro Santilli
49ef1bc0c7 Stream JSON responses
Reduces memory usage for big datasets.
JIRA CDB-2600 #resolve
2014-04-03 15:44:53 +02:00
Sandro Santilli
4606a44917 Fix testsuite with GDAL-1.11dev installed (current master) 2014-04-02 17:17:59 +02:00
Sandro Santilli
9d91f17d47 Add 1.9.1 section in NEWS file 2014-03-27 13:01:51 +01:00
Sandro Santilli
da23c96e98 Release 1.9.1 2014-03-27 13:00:20 +01:00
Sandro Santilli
8a953c116c Fix paging with queries starting with comments
Closes #144
Includes testcase
2014-03-27 12:48:39 +01:00
Sandro Santilli
07a5a20d5f Fix paging with queries starting with comments
Closes #144
Includes testcase
2014-03-27 12:47:34 +01:00
Sandro Santilli
73624dc89f Extend paging test
Tests page=0, POST and authentication
2014-03-27 12:46:49 +01:00
Sandro Santilli
ee61ccfd94 Extend paging test
Tests page=0, POST and authentication
2014-03-27 11:18:02 +01:00
Sandro Santilli
68aa854477 Prepare for 1.10.0 2014-03-20 17:11:56 +01:00
Sandro Santilli
4c08a87e20 Prepare for 1.9.1 2014-03-20 17:11:32 +01:00