Commit Graph

867 Commits

Author SHA1 Message Date
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
Sandro Santilli
3b0d20aa96 Enable travis builds with node-0.10
Closes #132
It looks like the failing test was due to bogus test fixes with
7b0145dde6
2014-03-17 15:24:25 +01:00
Sandro Santilli
7b0145dde6 Check body of concurrent kml responses 2014-03-17 14:42:00 +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
6d79572a3a Add pending test for backend crash (#135) 2014-03-17 10:43:55 +01:00
Sandro Santilli
7100da2200 Set the NODE_ENV environment variable from app.js 2014-03-14 10:48:33 +01:00
Sandro Santilli
67cc05085f Always use INFO severity for express logging
Avoids sending non-200 responses logs to rollbar, when active
2014-03-13 17:13:53 +01:00
Sandro Santilli
4013e84b15 Allow passing environment configuration name via NODE_ENV to app.js
Also print environment configuration name on app start
2014-03-13 13:54:10 +01:00
Sandro Santilli
a1adabdeb8 Include version in startup log 2014-03-13 13:50:53 +01:00
Sandro Santilli
622846b453 Add '/version' endpoint
Closes #138
Includes testcase
2014-03-13 13:40:56 +01:00
Sandro Santilli
e8c315fe98 Oops, commit 65f31fd7c closed #137, not #150
Closes #137
2014-03-13 12:15:02 +01:00
Sandro Santilli
ac4acf98ae Use console.error for logging errors 2014-03-13 12:14:11 +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
b565ce2959 Allow configuring log_format
Closes #131
2014-02-10 17:34:27 +01:00