Commit Graph

387 Commits

Author SHA1 Message Date
Luis Bosque
c5b2534687 Target v1.3.7 2013-02-28 15:03:42 +01:00
Sandro Santilli
dc87209033 Do not confuse warnings with errors on shapefile output
Closes #87
2013-02-25 18:32:28 +01:00
David Arango
d0ab5f24a1 Merge branch 'release/staging' into develop 2013-02-20 17:48:37 +01:00
David Arango
a077afb331 Bump version to 1.3.6 2013-02-19 12:40:58 +01:00
Sandro Santilli
6d8b98db56 Add test for multi-statement and begin/commit 2013-02-19 10:41:45 +01:00
Sandro Santilli
322c58165f Revert "Updagres pg module"
This reverts commit d418db03e4.

The problem we were after was elsewhere.
Upgrading pg module may still be a good thing but needs to be
done togheter with generic-pool and also needs updates to
shrinkwrap file
2013-02-19 10:41:38 +01:00
Sandro Santilli
8de8bbc460 Add test for multi-statement and begin/commit 2013-02-18 18:39:09 +01:00
Sandro Santilli
d77720e132 Revert "Updagres pg module"
This reverts commit d418db03e4.

The problem we were after was elsewhere.
Upgrading pg module may still be a good thing but needs to be
done togheter with generic-pool and also needs updates to
shrinkwrap file
2013-02-18 16:25:37 +01:00
Sandro Santilli
d4b1f580ff Fix X-Cache-Channel computation with paging parameters. Closes #85. 2013-02-18 16:19:12 +01:00
David Arango
d418db03e4 Updagres pg module 2013-02-18 13:09:44 +01:00
Sandro Santilli
d9c3b9a36a Ignore node_module* permutations 2013-02-18 12:58:04 +01:00
Sandro Santilli
10ec5b9fda Do not attempt to compute an X-CacheChannel from a broken query info
Also enhance debugging for broken query info results
2013-02-18 12:20:18 +01:00
Sandro Santilli
19eb51b06d Use an LRU cache for query tables, and add expiration support
Defaults to 8192 items each valid for no more than 10 minutes
Both settings can be changed via environment config.
See #83
2013-02-13 18:59:09 +01:00
Sandro Santilli
197c14f30f Add test focused on x-cache-channel handling 2013-02-13 17:31:53 +01:00
Sandro Santilli
7d2d585c54 Check CDB_QueryTable response before saving into cache
Also add pid to /cachestatus (#83)
2013-02-13 16:43:04 +01:00
Sandro Santilli
5959e6465a Fix Content-Disposition for error responses. Closes #82 2013-02-13 13:32:34 +01:00
Sandro Santilli
d667d64c78 Fix skipfields use with SHP output format. Closes #81 2013-02-13 13:02:37 +01:00
David Arango
938a87cfe0 Bump to 1.3.5 2013-01-21 18:01:16 +01:00
Sandro Santilli
fdf49bd2ab Add a test for COPY TO file 2013-01-21 17:39:07 +01:00
Sandro Santilli
977ecbeb29 Return an error when "the_geom" is in skipfield for SVG output
Closes #73
2013-01-21 10:06:51 +01:00
Sandro Santilli
19fc0e5854 Fix crash when issuing SQL "COPY" command
This involved upgrade of node-postgresql module.
See https://github.com/brianc/node-postgres/issues/242
2013-01-17 10:14:29 +01:00
Sandro Santilli
ef729a027f Split SVG tests from main test file 2013-01-16 11:16:38 +01:00
Sandro Santilli
76b35b71a1 Split KML tests from main test file 2013-01-16 09:58:09 +01:00
Sandro Santilli
e897cb07d2 Add test for null geoms in geojson
Also drop an hard-coded "the_geom" in geojson output code
2013-01-11 18:57:45 +01:00
Sandro Santilli
9bc79bded6 Re-add null geometry support in geojson output
You never know if anyone is relying on them, and they are supported
by the specs:
https://github.com/mbostock/topojson/issues/18#issuecomment-12154398

We'll still skip those records for topojson
2013-01-11 18:43:05 +01:00
Sandro Santilli
ca065e89b9 Omit NULL the_geom features from from geojson and topojson outputs
Closes #80
2013-01-11 18:20:25 +01:00
Sandro Santilli
3e7c8f4d22 Improve mixed geometry export error message. Closes #78 2013-01-11 17:09:22 +01:00
Sandro Santilli
c84f9b1a52 Split SHP tests from main test file 2013-01-11 16:16:28 +01:00
David Arango
f387903912 Bump to 1.3.4 2013-01-11 13:57:47 +01:00
Sandro Santilli
9550837fbe Split CSV tests from main test file 2013-01-11 11:21:59 +01:00
Sandro Santilli
dca611db98 Update NEWS file with topojson format 2013-01-11 11:13:48 +01:00
Sandro Santilli
a81b55e421 Include properties to TopoJSON output. Closes #79
Includes support for the skipfields option
2013-01-11 11:10:51 +01:00
Sandro Santilli
39669578b6 Initial support for TopoJSON (#79)
Does not include any attributes in the format
2013-01-09 17:43:23 +01:00
Sandro Santilli
e311c388b6 Update NEWS with the Date format fix 2012-12-07 17:10:55 +01:00
Sandro Santilli
050e1c8e05 Use own fork of pg module for correct timestamptz parsing
See https://github.com/brianc/node-postgres/pull/226
Closes #77
2012-12-07 17:08:56 +01:00
Sandro Santilli
2e85588d99 Format date fields in CSV output 2012-12-07 14:27:02 +01:00
Sandro Santilli
a63cb20be0 Add test for Date field formatting in CSV (#77) 2012-12-07 12:06:44 +01:00
Sandro Santilli
38e750e46d Improve test runner: allow skipping preparation and specify testfiles
Call run_tests.sh with no args to get an help screen
2012-12-07 11:35:37 +01:00
Sandro Santilli
3e59daaffd Use an env config parameter for socket timeout 2012-12-05 14:02:40 +01:00
Luis Bosque
72f202f3fc Merge branch 'release/v2.0' into develop
Conflicts:
	NEWS.md
2012-11-30 17:02:23 +01:00
Luis Bosque
f4af8b3ba4 v1.3.2 2012-11-30 17:01:17 +01:00
Luis Bosque
3b9dc554f9 Target version 1.3.3 2012-11-28 16:45:49 +01:00
Sandro Santilli
7635254c82 Automatically use batch mode when input or output aren't a TTY
Do not use readline when in batch mode, add --echo-queries switch
and default to false
2012-11-23 17:18:39 +01:00
Sandro Santilli
c00cf6d390 Revert "Upgrade node-csv module to version 0.2.4"
This reverts commit 270e6280ed.
The performance issue must be fixed before we can upgrade:
https://github.com/wdavidw/node-csv-parser/issues/64
2012-11-19 18:44:53 +01:00
Sandro Santilli
270e6280ed Upgrade node-csv module to version 0.2.4
Will help with compressed-csv export format
2012-11-19 16:20:40 +01:00
Sandro Santilli
0274425de9 Add another test for CSV truncation (succeeds) 2012-11-16 12:54:09 +01:00
Sandro Santilli
3a641beda8 Fix UTF8 in shapefile export. Closes #66.
Testcases count reaches 100 ! Happy post-post-gis day :)
2012-11-16 12:50:21 +01:00
Sandro Santilli
70d348dcb6 Oops, the correct bug for previous fix was #70
Closes #70
2012-11-16 12:23:30 +01:00
Sandro Santilli
da05e6f4ca Fix KML export truncation. Closes #947
Also adds test for SHP truncation (isn't trucated)
2012-11-16 12:22:06 +01:00
Luis Bosque
e20c14e222 target v1.3.2 2012-11-14 18:24:26 +01:00