Sandro Santilli
75fcd5ae9c
Do not write back to request.query as it breaks oAuth signature
...
NOTE: this breakage misses a testcase (overcomplex at the moment)
2012-11-14 18:04:38 +01:00
Sandro Santilli
34587782b5
Remove reverted change from NEWS
2012-11-14 16:32:52 +01:00
Sandro Santilli
bd08eb4add
Use inline attachment also with POST, if format isn't given
2012-11-14 16:30:18 +01:00
Sandro Santilli
cceeb72f4e
Update NEWS
2012-11-13 19:28:09 +01:00
Sandro Santilli
6b7cada97d
Never dispose "inline" when using POST.
2012-11-13 19:27:25 +01:00
johnhackworth
e64c3f57f7
changes in the way the parameters are collected to support both POST and GET
2012-11-13 19:27:25 +01:00
Luis Bosque
1914ab9196
target v1.3.1
2012-11-13 11:42:18 +01:00
Sandro Santilli
0ef13f08c2
Use inline disposition when no format and no filename are given
...
See #61
2012-11-12 19:44:16 +01:00
Sandro Santilli
120cf3f0c5
Add 'cache_policy' parameter. Closes #62
2012-11-12 19:14:20 +01:00
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
fae656fe09
Merge branch 'release/staging'
...
Conflicts:
NEWS.md
package.json
2012-10-30 13:13:56 +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