Commit Graph

70 Commits

Author SHA1 Message Date
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
Sandro Santilli
58b079e212 Fix reace condition in new KML output, test KML export of empty table 2013-03-26 18:18:13 +01:00
Sandro Santilli
38f99c586a Fix concurrent requests for KML export 2013-03-26 16:59:37 +01:00
Sandro Santilli
c3ae7074cb Make temporary dir a configuration setting 2013-03-26 16:02:05 +01:00
Sandro Santilli
41dd23b429 Do not run the query twice when exporting to KML 2013-03-26 12:47:03 +01:00
Sandro Santilli
eb011269bb Add node-pool upgrade notice 2013-03-14 12:06:26 +01:00
Sandro Santilli
5fa19a0515 Fix parsing of numeric arrays. Closes #88.
Includes testcase, requires using a fork of node-postgresql.
2013-03-14 11:41:07 +01:00
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
a077afb331 Bump version to 1.3.6 2013-02-19 12:40:58 +01:00
Sandro Santilli
d4b1f580ff Fix X-Cache-Channel computation with paging parameters. Closes #85. 2013-02-18 16:19:12 +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
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
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
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
David Arango
f387903912 Bump to 1.3.4 2013-01-11 13:57:47 +01:00
Sandro Santilli
dca611db98 Update NEWS file with topojson format 2013-01-11 11:13:48 +01:00
Sandro Santilli
e311c388b6 Update NEWS with the Date format fix 2012-12-07 17:10:55 +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
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
Sandro Santilli
0223ff83e9 Reference the oAuth breakage ticket (#69) in NEWS 2012-11-14 18:06:46 +01:00
Sandro Santilli
4cc9283874 Update with oAuth bugfix 2012-11-14 18:06:05 +01:00
Sandro Santilli
34587782b5 Remove reverted change from NEWS 2012-11-14 16:32:52 +01:00
Sandro Santilli
cceeb72f4e Update NEWS 2012-11-13 19:28:09 +01:00