Commit Graph

327 Commits

Author SHA1 Message Date
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