Sandro Santilli
005ae48e3a
Support for specifying a list of fields to skip from output.
...
Closes #63
2012-11-12 17:11:17 +01:00
Luis Bosque
ab9c739995
removed -dev suffix from package.json version
2012-11-12 13:23:34 +01:00
Sandro Santilli
f7c64b8886
Add the 'filename' parameter to API doc
2012-11-12 13:21:46 +01:00
Sandro Santilli
46cec7a0e5
Add support for specifying a filename for exports. Closes #64
...
Sets release target to 1.3.0, due to parameter addition
2012-11-12 12:40:53 +01:00
Luis Bosque
755fe738ca
target v1.2.2
2012-11-12 12:27:37 +01:00
Luis Bosque
dd5a2a38c3
Updated NEWS.md for 1.2.1
2012-11-12 12:23:06 +01:00
Luis Bosque
c0568b59d9
timeout is in miliseconds, not in seconds
2012-11-02 23:47:01 +01:00
Luis Bosque
ef4a379e05
set 600 timeout in cluster.js
2012-11-02 23:19:36 +01:00
Luis Bosque
62b22bb9f3
target version 1.2.1
2012-11-02 15:38:24 +01:00
javi
ce9c89ae42
Merge branch 'develop' of github.com:Vizzuality/CartoDB-SQL-API into develop
2012-11-01 13:17:57 +01:00
javi
3fd3c5fabc
added the needed headers for CORS
2012-11-01 13:17:45 +01:00
javi
cea7e8c365
added the needed headers for CORS
2012-11-01 13:16:46 +01:00
Sandro Santilli
765dc101b0
Target 1.2.0, due to addition of new features since 1.1.0
...
NOTE: I haven't touched npm-shrinkwrap.json as that file will
get version from package.json on next regeneration
NOTE2: I added -dev suffix to the version so you can tell if
you're running a development version or the "official"
release (will get -dev removed)
2012-10-31 12:13:12 +01:00
Sandro Santilli
110af3e9d9
Add "sqlapi" prefix to temporary dir for shapefile output
2012-10-31 11:57:20 +01:00
Luis Bosque
4e0346a5a1
target version 1.1.1
2012-10-30 18:56:11 +01:00
Luis Bosque
d3760b1d7a
Merge branch 'release/staging' into develop
...
Conflicts:
doc/API.md
2012-10-30 13:14:42 +01:00
Luis Bosque
311262c2ad
updated NEWS for 1.1.0
2012-10-30 13:11:34 +01:00
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