Commit Graph

652 Commits

Author SHA1 Message Date
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
Sandro Santilli
517b3839c9 Add travis script 2013-09-30 18:02:48 +02:00
Sandro Santilli
1ddec5fdd1 Add note about why we want to skip querying geometry_columns 2013-09-30 10:43:32 +02:00
Sandro Santilli
742936b2b8 Honour skipfields in JSON schema response. Closes #109 2013-09-26 13:26:45 +02:00
Sandro Santilli
531dd4b002 Tweak testcase to succeed with gdal-1.10
Absence of geometry column triggers a different behavior in 1.9 and 1.10
2013-09-23 13:24:00 +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
a0ff7ee10c Remove last bit of hard-coded format names from app controller 2013-09-05 17:10:48 +02:00
Sandro Santilli
615151528c Print ogr2ogr version when running tests 2013-09-04 15:15:47 +02:00
Sandro Santilli
7909d7f53c Fix version in shrinkwrap file 2013-09-04 15:10:42 +02:00
Sandro Santilli
7d5698b045 Accept an header-only CSV export for no-rows query
This makes the application compatible with both GDAL-0.9 and 0.10
See http://trac.osgeo.org/gdal/ticket/5234
2013-09-04 13:30:50 +02:00
Sandro Santilli
de1df14d91 Fix expected/obtained order in asserts 2013-09-04 13:18:10 +02:00
Sandro Santilli
7eedf89901 Also threat "description" as a special tag (in test) 2013-09-04 12:56:48 +02:00
Sandro Santilli
e4371f83bc Look for attribute names in both SimpleData and Placemark
See http://trac.osgeo.org/gdal/ticket/5208
2013-09-04 12:39:49 +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
8fa0bc7cee Add note about tmpDir needing to be writable by server user
As per
https://groups.google.com/d/msg/cartodb/z06r9SwaoOM/b34In4TTdd0J
2013-08-21 10:03:12 +02:00
Sandro Santilli
bc794a16e6 Update NEWS with latest changes 2013-08-20 18:09:22 +02:00
Sandro Santilli
80e4521bb5 Tolerate blankspace differences in KML output
Makes tests succeed with gdal-1.10.x
2013-08-20 18:07:34 +02:00
Sandro Santilli
cda62f3a0a Check for field names in SimpleField rather than SimpleData
Doing so makes the test also succeed with gdal-1.10
See http://trac.osgeo.org/gdal/ticket/5208
2013-08-20 18:07:34 +02:00
javi
d83a81bf32 merged body_param_fix 2013-08-02 15:50:48 +02:00
Sandro Santilli
7a07a25086 Add REINDEX to the list of uncacheable queries 2013-07-24 18:43:38 +02:00
Sandro Santilli
23d092f768 Use float parsing for int8 too
This makes us ready to upgrade to node-pg 2.x
2013-07-22 18:22:30 +02:00
Sandro Santilli
8506108aaa Do not cache results for queries you can't fetch source tables of 2013-07-22 18:20:26 +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
a6905d114c Fix author/contributors, add repository 2013-07-19 12:37:09 +02:00
Sandro Santilli
4399816485 Allow specifying api key via CDBSQL_APIKEY env variable 2013-07-17 10:29:19 +02:00
javi
1eb7b3c885 Merge branch 'develop' into body_param_fix 2013-07-16 11:21:05 +02:00
javi
637e30760c merged with devleop 2013-07-16 11:19:39 +02:00
javi
8ba1464db1 keep req.query as it comes to not broke ouaht refs Vizzuality/cartodb-management/2853 2013-07-15 14:39:15 +02:00
Sandro Santilli
3b9bc8a9f1 Do not set Last-Modified in the remote past
... or max-age will be always reached
2013-07-15 13:13:19 +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
Sandro Santilli
ae502335c3 Set "numeric" type to "number" 2013-07-09 21:51:08 +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