Commit Graph

632 Commits

Author SHA1 Message Date
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
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
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
Sandro Santilli
13ad68602c Release 1.9.0 2014-03-20 17:07:45 +01:00
Sandro Santilli
45ad149fd4 Abort test if db preparation failed 2014-03-20 11:58:05 +01:00
Sandro Santilli
49e0e4697a Switch to 3-clause BSD license
Closes #143
2014-03-20 11:23:17 +01:00
Sandro Santilli
766345595e Add statsd support
Closes #133
2014-03-20 11:22:13 +01:00
Sandro Santilli
7ab87fd296 Add doumentation of useProfiler setting 2014-03-20 10:48:23 +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
62e5d2b73c Give more detail on test failure 2014-03-19 17:44:38 +01:00
Sandro Santilli
b0d0d4d073 Reduce work on aborted requests
Closes #129
Includes testcase
2014-03-19 13:30:29 +01:00
Sandro Santilli
967ea22a97 Add item about responses on backend crash 2014-03-19 10:46:35 +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