Commit Graph

740 Commits

Author SHA1 Message Date
Sandro Santilli
7db4cbcb0f Add package keywords 2013-11-28 11:17:33 +01:00
Sandro Santilli
5956c62097 Workaround postgis package bugs in ubuntu repos (for travis) 2013-11-27 16:18:44 +01:00
Sandro Santilli
59c1907ed4 Update mocha to ~0.14.0 2013-11-27 12:58:36 +01:00
Sandro Santilli
5bd0e02103 Read test redis port from configuration, default to 6335 2013-11-27 12:56:33 +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
0251714b80 Enhance format documentation
- Stub section for "arrayjson" (#96)
- Add references to wikipedia articles for most formats
- Document "shapefile" format
- Add note about numerical rounding in JSON format (#113)
2013-11-19 11:20:12 +01:00
Sandro Santilli
77acd2567e Request that notices are sent to client while testing them
See https://travis-ci.org/CartoDB/CartoDB-SQL-API/builds/14146134
2013-11-18 17:09:57 +01:00
Sandro Santilli
9389a04030 Add warnings and notices to JSON response. Closes #104. 2013-11-18 17:01:06 +01:00
Sandro Santilli
493955a468 Fix syntax of new directives 2013-11-18 13:42:52 +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
0d44139d8c Do not choke if ogr2ogr fails without on stderr 2013-11-18 11:54:00 +01:00
Sandro Santilli
7218c89b2d Refactor PSQL model to take full db config in the constructor
Closes #58, stops reading configuration variables itself
2013-11-18 11:42:43 +01:00
Sandro Santilli
03ea51a375 CartoDB redis interaction delegated to "cartodb-redis" module 2013-11-15 19:14:55 +01:00
Sandro Santilli
4a5c9b0eed Refactor OGR class interface to improve flexibility
The toOGR and toOGR_SingleFile function now take an "options"
object rather than a long list of arguments. This allows for
easier extension toward per-user database host and password
(see tickets #120 and #121)
2013-11-15 13:24:48 +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
javi
93da1c110e removed console.log refs #119 2013-11-09 16:56:58 +01:00
javi
370d45d8b6 fixed #119 2013-11-09 16:55:40 +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
45d54c47cc Add note about which GDAL version fixes the SRID detection bug 2013-11-06 08:06:29 +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
75bc36039d Remove done TODOs 2013-10-11 17:25:38 +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
2df5f36344 Add release date step 2013-10-02 13:07:01 +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
ad6a48b165 Add GDAL and zip dependencies 2013-10-01 17:45:21 +02:00
Sandro Santilli
5fea8ed459 Add small recipe about making new releases 2013-10-01 17:06:14 +02:00
Sandro Santilli
893370ff2e Add PostGIS dependency 2013-09-30 18:44:33 +02:00
Sandro Santilli
9ab6f4be97 Install GDAL too 2013-09-30 18:28:19 +02:00
Sandro Santilli
caddd2de18 Add ./configure step, drop unneeded env section 2013-09-30 18:12:25 +02:00
Sandro Santilli
cac0722ade Add ubuntugis repo, hopefully gets newer postgis 2013-09-30 18:07:22 +02:00