Commit Graph

504 Commits

Author SHA1 Message Date
Raul Ochoa
85fa9d3c2b Merge branch 'master' into batch-onerror-template
Conflicts:
	NEWS.md
2016-06-29 16:25:05 +02:00
Raul Ochoa
a3117a2f01 Add <%= error_message %> template support for onerror fallback queries 2016-06-29 14:22:23 +02:00
Raul Ochoa
1d8f5539a7 Adds start and end time for batch queries with fallback 2016-06-29 13:56:45 +02:00
Daniel García Aubert
30ee62e70d Stubs next version 2016-06-23 11:49:19 +02:00
Daniel García Aubert
1f4bc31477 Release 1.30.1 2016-06-23 11:06:04 +02:00
Daniel García Aubert
31f9065137 Stubs next version 2016-06-14 16:42:42 +02:00
Daniel García Aubert
ab911f9e05 Release 1.30.0 2016-06-14 16:40:36 +02:00
Daniel García Aubert
d9f5ac67f5 Stubs next version 2016-05-25 17:39:04 +02:00
Daniel García Aubert
f0a0a9a0f5 Release 1.29.2 2016-05-25 17:36:13 +02:00
Raul Ochoa
3a3c49e40d Stubs next version 2016-05-24 17:22:46 +02:00
Raul Ochoa
b738295dc2 Release 1.29.1 2016-05-24 17:14:36 +02:00
Raul Ochoa
49ac1b812d Update news 2016-05-24 16:57:06 +02:00
Daniel García Aubert
caa07e0968 Stubs next version 2016-05-24 12:41:09 +02:00
Daniel García Aubert
2724133591 Release 1.29.0 2016-05-24 12:38:30 +02:00
Raul Ochoa
06aa11aa4d Stubs next version 2016-05-12 17:37:33 +02:00
Raul Ochoa
8e981f64a5 Release 1.28.1 2016-05-12 17:36:17 +02:00
Raul Ochoa
4e3238c2e8 Fix control flow when using OGR with _needSRS=true and empty queries
Continue on empty results as srid and geom type are not critical
when there are no results

Fixes #299
2016-05-12 17:21:07 +02:00
Raul Ochoa
29287e0cd6 Stubs next version 2016-05-11 11:46:53 +02:00
Raul Ochoa
35630b0d44 Release 1.28.0 2016-05-11 11:45:42 +02:00
Juan Ignacio Sánchez Lara
08e5509853 NEWS 2016-05-10 18:50:24 +02:00
Raul Ochoa
e1888c9936 Upgrades step-profiler to 0.3.0 to avoid dots in json keys
Closes #294
2016-05-05 14:01:36 +02:00
Daniel García Aubert
73e6c56e6d Stubs next version 2016-04-18 17:02:11 +02:00
Daniel García Aubert
a95234f7c5 Release 1.27.1 2016-04-18 16:58:10 +02:00
Daniel García Aubert
8d67faad59 Stubs next version 2016-04-05 16:17:03 +02:00
Daniel García Aubert
c103d315af Release 1.27.0 2016-04-05 16:06:16 +02:00
Alejandro Martínez
ffb1afb962 Release 1.26.0 2016-03-08 16:17:35 +01:00
Raul Ochoa
355c28fa77 Stubs next version 2016-02-02 01:30:12 +01:00
Raul Ochoa
84a40dfa86 Release 1.25.3 2016-02-02 01:28:51 +01:00
Raul Ochoa
f2406ee131 Update news 2016-02-02 01:25:58 +01:00
Raul Ochoa
8130d1fc6d Stubs next version 2016-02-01 17:59:12 +01:00
Raul Ochoa
cd03229dcf Release 1.25.2 2016-02-01 17:57:35 +01:00
Raul Ochoa
e0ecf31ae7 Update news 2016-02-01 17:56:53 +01:00
Raul Ochoa
1b4f2ac7f3 Stubs next version 2016-01-28 16:19:10 +01:00
Raul Ochoa
7d3dcc181f Release 1.25.1 2016-01-28 16:01:07 +01:00
Raul Ochoa
fb352b1796 Update news 2016-01-28 14:44:42 +01:00
Raul Ochoa
329f03a196 Fix release notes for 1.25.0 2016-01-27 17:57:12 +01:00
Daniel García Aubert
0e14251615 Stubs next version 2016-01-26 14:35:02 +01:00
Daniel García Aubert
217017a2a6 Release 1.25.0 2016-01-26 14:29:08 +01:00
Raul Ochoa
f816093036 Set Last-Modified header based on affected tables
Closes #101
2015-09-02 16:25:56 +02:00
Raul Ochoa
9b5a729a41 Stubs next version 2015-08-04 16:33:36 +02:00
Raul Ochoa
6d5e11c8d3 Release 1.24.0 2015-08-04 16:32:09 +02:00
Raul Ochoa
d42e5a6b75 Do not expose remove from pool after query error as a config option 2015-08-04 16:23:36 +02:00
Raul Ochoa
7c696317d0 New option to remove client from pool after error happens
This help to avoid issues with transactions.

Closes #241
2015-08-04 15:53:50 +02:00
Raul Ochoa
bb2cf83ff6 Upgrades cartodb-psql to 0.6.0 2015-08-04 15:35:31 +02:00
Raul Ochoa
283572c535 Stubs next version 2015-06-16 17:36:26 +02:00
Raul Ochoa
050a3addd3 Release 1.23.0 2015-06-16 17:35:09 +02:00
Raul Ochoa
afdb385fcf Bumps versions for new SpatiaLite feature 2015-06-16 17:19:57 +02:00
Raul Ochoa
1c35eb057c Update news 2015-06-16 17:01:51 +02:00
Raul Ochoa
b122503f67 Fix format 2015-06-16 16:54:07 +02:00
Raul Ochoa
2d197b0f13 Update news with latest PR 2015-06-16 16:53:12 +02:00
Raul Ochoa
8b6545b2a7 Update news 2015-06-16 16:48:29 +02:00
Raul Ochoa
d052850cc9 Stubs next version 2015-05-26 10:19:47 +02:00
Raul Ochoa
2b1b008104 Release 1.22.2 2015-05-26 10:17:56 +02:00
Raul Ochoa
debeb8ca3e Update news 2015-05-25 16:38:07 +02:00
Raul Ochoa
db03235c4a Stubs next version 2015-05-14 13:18:58 +02:00
Raul Ochoa
41de50b8f6 Release 1.22.1 2015-05-14 13:10:36 +02:00
Raul Ochoa
b29933f96e Closes stream responses on error
fixes #219
2015-05-13 18:15:38 +02:00
Raul Ochoa
6bb3ccbe1e Format files split into pg and ogr directories 2015-05-13 15:15:53 +02:00
Raul Ochoa
36c498c0a2 Stubs next version 2015-04-09 10:50:30 +02:00
Raul Ochoa
8c9f35ebfe Release 1.22.0 2015-04-09 10:47:38 +02:00
Raul Ochoa
269868ccd0 Update news and bumps version for new features 2015-04-09 10:45:03 +02:00
Raul Ochoa
6d413f9595 Stubs next version 2015-03-02 14:35:59 +01:00
Raul Ochoa
7aebd8adb7 Release 1.21.1 2015-03-02 14:35:01 +01:00
Raul Ochoa
9b31df6793 Improve row size limit error message 2015-03-02 14:34:01 +01:00
Raul Ochoa
c590759302 Stubs next version 2015-03-02 12:57:16 +01:00
Raul Ochoa
152997fd37 Release 1.21.0 2015-03-02 12:53:43 +01:00
Raul Ochoa
83299bce6c Update news 2015-03-02 12:49:25 +01:00
Raul Ochoa
2cf43dc754 Stubs next version 2015-02-26 16:30:07 +01:00
Raul Ochoa
9b256f0789 Release 1.20.0 2015-02-26 16:29:34 +01:00
Raul Ochoa
05c13a3f17 Bump version due to new keep-alive and max size per row options 2015-02-26 16:12:59 +01:00
Raul Ochoa
8897c7d0ad Upgrades cartodb-psql to 0.5.1 2015-02-20 15:01:07 +01:00
Raul Ochoa
7610658ac7 Upgrades cartodb-psql to 0.5.0 2015-02-19 14:54:49 +01:00
Raul Ochoa
192ea15443 Stubs next version 2014-12-15 16:26:41 +01:00
Raul Ochoa
f7d5ab60a7 Release 1.19.1 2014-12-15 16:25:19 +01:00
Raul Ochoa
46278c19bf Merge branch 'master' into 188-close-stream-responses-on-error
Conflicts:
	NEWS.md
2014-12-02 12:59:50 +01:00
Raul Ochoa
256b82b1d8 Closes fd for log files on kill -HUP. Fixes #187 2014-12-02 12:25:25 +01:00
Raul Ochoa
025a6abdaa Closes stream responses on error. Fixes #188 2014-12-01 16:55:59 +01:00
Raul Ochoa
a7418fe721 Stubs next version 2014-11-21 13:45:55 +01:00
Raul Ochoa
8be9b48095 Release 1.19.0 2014-11-21 13:43:54 +01:00
Raul Ochoa
d50ddbb10f Add more fields to error responses with hint, detail and context for SQL errors. 2014-11-21 12:59:48 +01:00
Raul Ochoa
74429f82e1 Improve topojson output by streaming json 2014-11-12 11:36:59 +01:00
Raul Ochoa
3093e813fa Merge branch 'master' into formats-svg-topojson-improvements
Conflicts:
	NEWS.md
2014-11-11 14:32:38 +01:00
Raul Ochoa
dc601a5feb Improve statement timeout error messages 2014-11-11 13:57:15 +01:00
Raul Ochoa
2e9a16d56d Don't loop twice over svg rows 2014-10-23 16:49:04 +02:00
Raul Ochoa
747b75df88 Stubs next version 2014-10-14 15:39:25 +02:00
Raul Ochoa
28df05ccc1 Release 1.18.0 with date 2014-10-14 15:38:22 +02:00
Raul Ochoa
16b53cba83 Release 1.18.0 2014-10-14 15:17:05 +02:00
Raul Ochoa
446c7ee61b Update news 2014-09-24 16:56:53 +02:00
Raul Ochoa
007ca9935b Minimum versions for node >=0.8.18 and npm >=1.2.1 2014-09-23 13:08:06 +02:00
Raul Ochoa
3c57adb739 Stubs next version 2014-09-23 12:41:38 +02:00
Raul Ochoa
b2d8926ab2 Release 1.17.1 2014-09-23 12:40:13 +02:00
Raul Ochoa
84c422c505 Adds news entry about changes in ogr2ogr exports 2014-09-23 12:17:56 +02:00
Raul Ochoa
7b804c9d71 Merge branch 'no-libpq-param-enforcements'
Conflicts:
	NEWS.md
	test/prepare_db.sh
2014-09-22 14:51:20 +02:00
Raul Ochoa
b6da70fba1 Stubs next version 2014-09-17 00:04:10 +02:00
Raul Ochoa
7eed096b16 Release 1.17.0 2014-09-17 00:01:09 +02:00
Raul Ochoa
2d232c20ef Returns 401 Unauthorized for queries without permission 2014-09-02 15:00:04 +02:00
Raul Ochoa
7c62632ea8 Health check endpoint 2014-08-26 18:40:58 +02:00
Raul Ochoa
3a26692448 New header for database host serving the request 2014-08-22 12:29:27 +02:00
Raul Ochoa
2d811408c0 Upgrades dependencies 2014-08-20 12:34:01 +02:00
Raul Ochoa
b87eafe58f Stubs next version 2014-08-19 14:44:04 +02:00
Raul Ochoa
e4ed36b0fd Release 1.16.0 2014-08-19 14:42:39 +02:00
Raul Ochoa
0035f04edd Metrics revamp: removes and adds some metrics 2014-08-18 19:45:17 +02:00
Raul Ochoa
f4a6e63fe1 Stubs next version 2014-08-18 16:05:49 +02:00
Raul Ochoa
01dd8ba922 Release 1.15.0 2014-08-18 16:05:49 +02:00
Raul Ochoa
da37d7092f Uses https endpoints for dependencies 2014-08-14 14:25:43 +02:00
Raul Ochoa
2fc16ce2c5 Updates news 2014-08-14 14:23:41 +02:00
Raul Ochoa
109ac36610 Upgrades cartodb-redis 2014-08-14 13:18:52 +02:00
Raul Ochoa
14d5323a0b Stubs next version 2014-08-08 12:53:25 +02:00
Raul Ochoa
a9b5d4bf50 Release 1.14.1 2014-08-08 12:51:08 +02:00
Raul Ochoa
21b8e6947c Non authenticated request cannot use pg_ catalogs/functions 2014-08-08 12:48:29 +02:00
Raul Ochoa
9cc7c94406 Stubs next version 2014-08-07 16:47:25 +02:00
Raul Ochoa
79627129eb Release 1.14.0 2014-08-07 16:46:31 +02:00
Raul Ochoa
efb9d39be7 Notes to NEWS 2014-08-07 16:27:51 +02:00
Raul Ochoa
351384389c Stubs next version 2014-08-07 15:20:39 +02:00
Raul Ochoa
4f17516bb2 Release 1.13.0 2014-08-07 15:19:32 +02:00
Raul Ochoa
bd60f8f748 Using new method from cartodb-redis to retrieve oauth values so we
can reuse the same redis-mpool
2014-08-06 12:51:55 +02:00
Raul Ochoa
480a9f27b4 New authentication mechanism: checks in advance if credentials are provided
in order to do a single request to redis to retrieve the required database
connection parameters.
2014-08-05 16:20:06 +02:00
Raul Ochoa
04dd9c709b Stubs next version 2014-08-05 01:03:56 +02:00
Raul Ochoa
bee3bccb7f Fixes release date 2014-08-05 01:02:59 +02:00
Raul Ochoa
77800c7887 Prepares release 1.12.1 2014-08-05 01:02:10 +02:00
Raul Ochoa
78c5bcde21 Stubs next version 2014-08-04 14:51:54 +02:00
Raul Ochoa
8a4a08fb54 Release 1.12.0 2014-08-04 14:51:01 +02:00
Raul Ochoa
52743b3632 Updates news 2014-07-30 13:19:03 +02:00
Raul Ochoa
cad38f4ab4 Stubs next version 2014-07-30 12:16:07 +02:00
Raul Ochoa
3cdd5630a6 Release 1.11.0 2014-07-30 12:15:12 +02:00
Sandro Santilli
af9da262a5 Do not assume "postgres" user exists
Revert "CDB-3079 enforces postgres user in preparation script"
Revert "CDB-3079 enforces postgres user in preparation script"
[TRAVIS] set "postgres" user for running tests (using PGUSER)

Closes #152
2014-06-19 11:52:06 +02:00
Raul Ochoa
e8eded48ce Prepares for 1.10.2 2014-06-05 17:04:12 +02:00
Raul Ochoa
4d8a22afd6 Release 1.10.1 2014-06-05 17:00:42 +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
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
4aef9d2fd1 CDB-2038 adds entry to news related to query cancelling 2014-06-04 15:21:36 +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
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
9d91f17d47 Add 1.9.1 section in NEWS file 2014-03-27 13:01:51 +01:00
Sandro Santilli
68aa854477 Prepare for 1.10.0 2014-03-20 17:11:56 +01:00
Sandro Santilli
13ad68602c Release 1.9.0 2014-03-20 17:07:45 +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
2cbdc4c38c Add profiler support
Closes #142
2014-03-19 18:34:21 +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
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
29002bb311 Upgrade zipfile and libxmljs dependencies
Gets closer to node-0.10 compatibility (#132)
2014-03-17 13:42:35 +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
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
b565ce2959 Allow configuring log_format
Closes #131
2014-02-10 17:34:27 +01:00
Sandro Santilli
b453671f63 Prepare for 1.9.0 2014-02-10 17:23:42 +01:00
Sandro Santilli
f61fcd7506 Release 1.8.3 2014-02-10 17:18:40 +01:00
Sandro Santilli
ec1d002812 Stop using ANSI colors in the logs
Closes #130
2014-02-10 17:10:34 +01:00
Sandro Santilli
6c47537f47 Honour the 'node_socket_timeout' configuration directive
Closes #128
Includes testcase, which required enhancing assert.response to
handle errors.
Changes app controller to a function that only reads configuration
when executed (rather than when only require'd).
2014-01-31 10:58:19 +01:00
Sandro Santilli
5c6eef527f Prepare for 1.8.3 2014-01-20 12:39:29 +01:00
Sandro Santilli
1e3fa86544 Release 1.8.2 2014-01-20 12:38:11 +01:00
Sandro Santilli
161a0bf5e5 Restore compatibility with 1.6.x configuration 2014-01-17 13:14:30 +01:00
Sandro Santilli
b8b521581a Prepare for 1.8.2 2014-01-10 11:32:48 +01:00
Sandro Santilli
ae763936c7 Release 1.8.1 2014-01-10 11:25:43 +01:00
Sandro Santilli
61cec80d4d Fix use of "SELECT .. INTO" with windowing params
Includes testcase. Closes #127
2014-01-09 17:56:09 +01:00
Sandro Santilli
f7f4fa3209 Prepare for 1.8.1 2013-12-18 12:38:10 +01:00
Sandro Santilli
b8aa07daf0 Release 1.8.0 2013-12-18 12:36:55 +01:00
Sandro Santilli
80c30858bd Enhance error message on unknown cartodb username
Closes #126
2013-12-18 12:02:51 +01:00
Sandro Santilli
87d35aa155 Generalize CartoDB username extraction, allowing for multiuser setups
Closes #124
2013-12-18 11:59:00 +01:00
Sandro Santilli
46bc0eb369 Target 1.8.0 2013-12-18 10:29:26 +01:00
Sandro Santilli
c6de4dd594 Merge branch 'develop' 2013-12-18 10:22:04 +01:00
Sandro Santilli
fa4703ccee Prepare for 1.7.2 2013-12-02 11:59:28 +01:00
Sandro Santilli
952442dbac Release 1.7.1 2013-12-02 11:49:27 +01:00
Sandro Santilli
3397f2f3f9 Fix field types names lookup after PSQL model refactoring
Fixes missing .prj in shapefile export regression
Closes #122
2013-12-02 11:47:52 +01:00
Sandro Santilli
724e50dee3 Fix documentation for CSV export format
Geoms are in hexewkb, not ewkt.
2013-11-20 13:45:36 +01:00
Sandro Santilli
22fba12dca Prepare for 1.7.1 2013-11-19 12:14:19 +01:00
Sandro Santilli
a30738b145 Release 1.7.0 2013-11-19 12:08:39 +01:00
Sandro Santilli
9389a04030 Add warnings and notices to JSON response. Closes #104. 2013-11-18 17:01:06 +01:00
Sandro Santilli
6ebeed04c2 Optionally read user-specific database_password from redis
Follows CartoDB-2.5.0 model. Includes testcase.
Closes #120 -- Jira ref CDB-870
2013-11-18 13:31:11 +01:00
Sandro Santilli
af1f3daa69 Optionally read user-specific database_host from redis
Follows CartoDB-2.5.0 model. Includes testcase.
Closes #121 -- Jire ref CDB-870
2013-11-18 12:21:30 +01:00
Sandro Santilli
03ea51a375 CartoDB redis interaction delegated to "cartodb-redis" module 2013-11-15 19:14:55 +01:00
Sandro Santilli
1e9d073cd4 Retarget to 1.7.0 2013-11-15 12:15:06 +01:00
Sandro Santilli
d21e5b7e69 Prepare for 1.6.4 2013-11-10 21:39:23 +01:00
Sandro Santilli
153639fd5e Release 1.6.3 2013-11-10 21:38:45 +01:00
javi
a5fde2fdc1 updated news 2013-11-09 18:51:27 +01:00
Sandro Santilli
7cbb004312 Prepare for 1.6.3 2013-11-07 17:54:42 +01:00
Sandro Santilli
b1d064fb6c Release 1.6.2 2013-11-07 17:51:53 +01:00
Sandro Santilli
973c7181f0 Allow access to tables whose name contains "pg_" (but not at beginning)
Closes #118
2013-11-07 10:16:58 +01:00
Sandro Santilli
0139c8fb16 JSON format: correctly recognize "date" type columns
Closes #117 -- includes testcase
2013-11-06 11:43:56 +01:00
Sandro Santilli
0cea623e41 Prepare for 1.6.2 2013-11-05 17:59:17 +01:00
Sandro Santilli
06c37caeee Release 1.6.1 2013-11-05 17:58:20 +01:00
Sandro Santilli
8d2347af99 Make public PostgreSQL user name a configuration parameter
Closes #56.
Updates documentation and tests and example config files
2013-11-05 17:49:10 +01:00
Sandro Santilli
2abb136258 Set KML folder name to the requested filename.
Closes #115. Includes testcase.
2013-11-05 17:29:02 +01:00
Sandro Santilli
3c03099e8d Do not trust GDAL SRID detection for KML output.
Closes #116. Includes testcase.
2013-11-05 16:57:23 +01:00
Sandro Santilli
1637610f66 Set a meaningful X-Cache-Channel with cache_policy=persist
Closes #105
2013-10-18 13:29:06 +02:00
Sandro Santilli
019277302d Prepare for 1.6.1 2013-10-02 13:14:32 +02:00
Sandro Santilli
3004dba918 Release 1.6.0 2013-10-02 13:07:48 +02:00
Sandro Santilli
3b69a7f808 Drop support for cluster 2013-10-02 12:45:06 +02:00
Sandro Santilli
82f965fa57 Upgrade node-pg dependency to 2.6.2
Simplifies PSQL.quoteIdentifier and exposes PSQL.quoteLiteral
2013-10-02 12:32:24 +02:00
Sandro Santilli
e92530d6e5 Fix shapefile export for non-linestring results starting with NULL
Includes tests. Closes #111.
2013-10-02 12:12:09 +02:00
Sandro Santilli
0d84a704df Fix missing .prj file in shapefile format
Finds srid, when needed, with an additional query.
Closes #110.
Includes testcases.
2013-10-02 11:44:06 +02:00
Sandro Santilli
8abe46e8b9 Import news section fro 1.5.4 2013-10-02 10:24:05 +02:00
Sandro Santilli
7f7ef682ac Improve recognition of non-standard field types names by db lookup
Closes #112.
Only looks up "geometry" and "raster" types for now, can be improved
over time.
2013-10-02 10:22:13 +02:00
Sandro Santilli
742936b2b8 Honour skipfields in JSON schema response. Closes #109 2013-09-26 13:26:45 +02:00
Luis Bosque
49140e8225 Merge branch 'release/staging' 2013-09-06 13:53:13 +02:00
Luis Bosque
f30837298e Target v1.6.0 2013-09-06 11:26:08 +02:00
Sandro Santilli
f7bee2345d Report boolean values as of boolean type, not string. Closes #106 2013-08-22 13:45:20 +02:00
Sandro Santilli
bc794a16e6 Update NEWS with latest changes 2013-08-20 18:09:22 +02:00
Sandro Santilli
7a07a25086 Add REINDEX to the list of uncacheable queries 2013-07-24 18:43:38 +02:00
Sandro Santilli
2ee9411889 Review cache-control headers:
* Raise max-age to one year for all cacheable queries
 * Set max-age to 0 for uncacheable (mutating) queries
2013-07-22 17:21:38 +02:00
Sandro Santilli
dfff99224f Set Last-Modified header with cache_policy=persist 2013-07-15 12:12:07 +02:00
Luis Bosque
53fa4889c8 Merge branch 'release/staging' 2013-07-11 11:08:33 +02:00
Luis Bosque
62b420c1e8 Target v1.5.3 2013-07-10 07:59:13 +02:00
Luis Bosque
7b6b541083 Revert "Set max-age=0 when using no-cache" 2013-07-10 07:58:35 +02:00
Sandro Santilli
6d98fd9117 Merge branch 'staging'
Conflicts:
	NEWS.md
	app/controllers/app.js
	npm-shrinkwrap.json
	package.json
2013-07-09 21:54:57 +02:00
Sandro Santilli
46b7f7a309 Parse all numbers as floats. Closes #100 2013-07-09 21:51:40 +02:00
Luis Bosque
b82c390c2f Target v1.5.2 2013-07-09 10:47:42 +02:00
Sandro Santilli
bc49aebd2a Don't assume SELECT "updated_at" may write to the database.
Closes #99
2013-07-08 17:36:53 +02:00
Luis Bosque
bd927556c5 Target v1.5.1 2013-07-05 15:31:21 +02:00
javi
69b5d825e3 reverted support for get params in post 2013-07-04 16:23:48 +02:00
javi
838c0c93ba Add support for GET params in POST requests 2013-07-04 16:14:44 +02:00
Sandro Santilli
46e93355c4 Set max-age=0 when using no-cache (don't be self-contraddicting) 2013-06-28 11:17:52 +02:00
Sandro Santilli
7eff0cb107 Retain UTC offset in JSON output for dates
Hopefully helps reducing confusion when using timezone-less
with postgresql, in that the time that comes out of JSON output
matches the one input by user, except it may be in an unexpected
timezone (the server's one)
2013-06-19 12:25:48 +02:00
Sandro Santilli
5e379012a8 Add support for CTE in sql windowing, add unit tests
This is still an undocumented feature, but as long as it's present
and used (by cartodb UI) better tested than broken...

NOTE: more tests are needed for CTE and RETURNING queries
2013-06-17 16:36:36 +02:00
Sandro Santilli
88f1d33b42 Add "fields" member in JSON return. Closes #97 2013-06-14 18:36:05 +02:00
Sandro Santilli
a108a8d545 Fix oAuth unit tests now that we use req.path rather than req.route.path 2013-06-11 10:01:17 +02:00
Sandro Santilli
f27812535d Merge branch 'master' into b1.4 2013-06-11 09:57:26 +02:00
Sandro Santilli
2459aba2ba Fix windowing support for non-uppercased SELECT queries 2013-06-10 10:00:31 +02:00
Sandro Santilli
14d74da874 Add latest fix to NEWS 2013-06-06 15:26:43 +02:00
Luis Bosque
80452ef6f4 Merge branch 'release/staging' into develop 2013-05-30 11:17:10 +02:00
Sandro Santilli
03cf5eab3e Add oAuth note 2013-05-29 17:43:01 +02:00
Sandro Santilli
62c314a950 Add NEWS item about queued requests handling fix 2013-05-29 17:35:16 +02:00
Sandro Santilli
7f9463e7fd Fix filesystem access conflict among clustered processes 2013-05-29 16:48:20 +02:00
Sandro Santilli
1f26d31ac4 Update NEWS, and target 1.5.0
Let's leave 1.4.x for hotfixes
2013-05-29 12:44:04 +02:00
Luis Bosque
9475e6ef0a Target v1.4.1 2013-05-28 18:15:15 +02:00
javi
0be9e47930 Add arraybuffer format 2013-05-28 10:37:39 +02:00
Sandro Santilli
ab8494ab12 Survive postgresql connection losses. Closes #95. 2013-05-24 18:18:17 +02:00
Sandro Santilli
3f98cab09a Do not execute queries on OPTIONS. Closes #94 2013-05-24 14:21:13 +02:00
Sandro Santilli
7712d6f2a5 Expose PostgreSQL client pooling settings in environment files
Actually also moves to a real pooling model, managed by node-pg.
Closes #47
See .example files for new configurations
2013-05-24 12:09:06 +02:00
Sandro Santilli
b737f8440d Add munin plugin to show connections and file descriptors 2013-05-24 10:50:51 +02:00
Sandro Santilli
b1e7bb8f8f Upgrade underscore dependencies 2013-05-24 08:26:23 +02:00
Sandro Santilli
81a83b93e4 Make base url configurable, use a wildcard in the example config 2013-05-23 11:49:23 +02:00
Luis Bosque
fcf95755b6 Fixed problem identifying OAuth request protocol
The protocol of a OAuth request wasn't being identified correctly. It
always considered that the request protocol was https.
2013-05-14 18:01:37 +02:00
Luis Bosque
b16c5bb034 Target v1.3.10 2013-05-10 12:18:27 +02:00
Sandro Santilli
414f4b6c3e Do not request caching of TRUNCATE queries 2013-05-06 18:21:22 +02:00
Sandro Santilli
cc74244b33 Do not choke on multiple skipfields parameter 2013-05-06 12:30:32 +02:00
Fabio Rueda
fc6aed2e9e targeted 1.3.9 2013-04-15 14:04:55 +02:00
Sandro Santilli
ae9ac8f9f8 Report testsuite tweaks 2013-04-11 13:37:47 +02:00
Sandro Santilli
0ec66c69a7 Allow sql queries to end with a semicolon. Closes #90 2013-04-10 17:21:42 +02:00
Sandro Santilli
1bcffbc68c Make using SET or querying system catalogues harder
An hack to "prevent" querying system tables already existed but
was pretty weak. This commits makes that a bit stronger. The
filter for SET is new.
2013-04-09 11:52:34 +02:00
Luis Bosque
aa5e3bcd36 Target v1.3.8 2013-04-02 11:39:54 +02:00
Sandro Santilli
8f60735b5e Queue export requests for shapefile format. Closes #65 2013-03-27 16:43:12 +01:00
Sandro Santilli
6d6dd16446 Draft delegating CSV output to OGR
Adapt tests to new output
2013-03-27 15:41:24 +01:00