Sandro Santilli
9aa28c5bea
Initial support for KML output format. Closes #54 .
2012-10-25 18:10:56 +02:00
Sandro Santilli
578edf29db
Update NEWS file (the 1.1.0 section, being still open)
2012-10-25 18:07:51 +02:00
Sandro Santilli
978c0b4cbe
Advertise header presence in CSV Content-Type
2012-10-25 13:40:21 +02:00
Sandro Santilli
a6837573c5
Use "attachment" Content-Disposition for all output formats.
...
Closes #61 , includes tests
NOTE: this includes the default "json" format.
2012-10-25 13:34:06 +02:00
Sandro Santilli
5d8eccc81e
Fix CSV output with no rows. Closes #60
2012-10-25 13:14:47 +02:00
Sandro Santilli
a560a37823
Generalize OGR output function
2012-10-23 17:45:56 +02:00
Sandro Santilli
26bdccf541
Remove debugging output
2012-10-18 13:19:08 +02:00
Sandro Santilli
e7c1724999
Advertise new SHP format in NEWS file ( closes #53 )
2012-10-18 12:56:16 +02:00
Sandro Santilli
d0ae7e08a6
Initial support for Shapefile output
2012-10-18 12:51:12 +02:00
Sandro Santilli
b038419abd
Add missing newline
2012-10-18 11:35:06 +02:00
Sandro Santilli
729462b500
Fix throw in async function (verifyRequest)
2012-10-18 11:34:39 +02:00
Sandro Santilli
8574517ab8
Add a userid_to_dbuser function
2012-10-18 11:33:35 +02:00
Sandro Santilli
d399d2153f
Improve input data control in test for "dp" parameter
2012-10-18 11:32:08 +02:00
Sandro Santilli
d9b733e5c6
Recognize ALTER as a writing query
2012-10-15 13:40:04 +02:00
Sandro Santilli
d23416cc60
Set X-Cache-Channel to NONE when the SQL may write to the database
...
Note that "may write" allows for false positive, so there could be
less cache hits than possibly allowable. If this will be a problem
for any real use case we could still improve the regular expression
used to detect "writing" queries.
Automated tests are added to check for the X-Cache-Channel header
with both writing and read-only queries performed by authenticated
requests.
Closes #27
Closes #43
2012-10-15 13:23:17 +02:00
Sandro Santilli
9c72f66fb3
Put a copy of CDB_* functions from cartodb to this repo
...
One day we should source those script directly from the cartodb repo
2012-10-15 13:15:48 +02:00
Sandro Santilli
70616b5bea
Grant db owner privs on public table too
2012-10-15 13:06:28 +02:00
Sandro Santilli
553146e6dd
Add consistency checking in packageResult about format value
2012-10-12 12:57:03 +02:00
Sandro Santilli
7b7a48103d
Updated with "format" parameter related changes
2012-10-12 12:21:37 +02:00
Sandro Santilli
ac83700810
Send a 404 on unsupported format requested
2012-10-12 12:17:35 +02:00
Sandro Santilli
0d91ab2c6a
Survive multiple "format" parameters, only using last one
2012-10-12 11:42:03 +02:00
Sandro Santilli
490b3f7e1f
Add SVG to the list of supported formats
2012-10-11 12:47:30 +02:00
Sandro Santilli
e43fdc409a
Shrinkwrapped current deps
2012-10-11 12:47:29 +02:00
Sandro Santilli
aa350768ef
Restrict listening host to configured `node_host
`
2012-10-11 12:47:28 +02:00
Sandro Santilli
55d540a7bd
Add SVG to the list of supported formats
2012-10-10 18:51:47 +02:00
Sandro Santilli
b6f19eef49
Shrinkwrapped current deps
2012-10-09 18:42:10 +02:00
Sandro Santilli
7fe09935cd
Restrict listening host to configured `node_host
`
2012-10-09 18:41:23 +02:00
Sandro Santilli
9090a191a8
Document node-0.8 requirement
2012-10-04 12:43:12 +02:00
Sandro Santilli
a3357b6841
Add info about what's changed so far
2012-10-04 12:06:04 +02:00
Sandro Santilli
6a2c0e9727
Initial support for SVG output ( #49 )
...
This version only dumps the geometries with no identifier.
Scales geometries to fit in a 1024x768 pixels area, using
a circle radius of 5 pixels, a stroke-width of 1 pixel and
no fill. Supports trimming number of decimals.
Adds a viewBox tag to fit the drawing to the output device window.
Includes an automated testcase.
2012-10-04 12:04:50 +02:00
Sandro Santilli
fee948324a
Use POST method to send queries (may be very long)
2012-10-04 12:04:50 +02:00
Sandro Santilli
2161eb1a15
Fix handling of --key switch
2012-10-04 12:04:50 +02:00
Sandro Santilli
f725cb4f59
Add prompt and batch mode
2012-10-04 12:04:50 +02:00
Sandro Santilli
8078bd55e7
Add support for reading queries from stdin
...
Only available with node-0.8+
2012-10-04 12:04:50 +02:00
Sandro Santilli
be2bc87bb6
Add --dp switch to specify decimal places for geojson output
2012-10-04 12:04:50 +02:00
Sandro Santilli
1200379940
Add --format switch, write response body without parsing it
2012-10-04 12:04:50 +02:00
Sandro Santilli
c3906afa09
Drop documentation for unexistent 'gn' parameter
2012-10-04 12:04:50 +02:00
Sandro Santilli
31d19d2232
Add more info about PostgreSQL requirements -- closes #16
2012-10-04 12:04:50 +02:00
Sandro Santilli
4521942820
Test "CSV" format, drop "KML" from the list of supported formats
2012-10-04 12:04:50 +02:00
Sandro Santilli
e8401e5c46
Cleanup links to docs
2012-10-04 12:04:49 +02:00
Sandro Santilli
924905680a
Cleanup
2012-10-04 12:04:49 +02:00
Sandro Santilli
16c67554a2
Generalize the API doc, add 'gn' to the list of supported params
2012-10-04 12:04:49 +02:00
Sandro Santilli
ba6cde9679
Add API documentation to the repository ( closes #42 )
2012-10-04 12:04:49 +02:00
Sandro Santilli
eb645d298c
More embedded comments
2012-10-04 12:04:49 +02:00
Sandro Santilli
13b3b2f2ff
Don't hide errors during db preparation
2012-10-04 12:04:49 +02:00
Sandro Santilli
ae493dd914
Move install step before usage one (see #16 )
2012-10-04 12:04:49 +02:00
Sandro Santilli
233f5ecc4b
Rename env files to .example, add a ./configure script
...
Update README to mention the two possible ways to configure the app
2012-10-04 12:04:49 +02:00
Sandro Santilli
954e54c87d
Prepare for 1.1.0
2012-10-04 12:04:49 +02:00
Luis Bosque
b638b33424
fixed problem in cluster2 with pidfile name
2012-10-04 10:55:50 +02:00
Luis Bosque
4ec9bf34c1
fixed problem in cluster2 with pidfile name
2012-10-04 10:54:09 +02:00