Commit Graph

2461 Commits

Author SHA1 Message Date
Sandro Santilli
dfff99224f Set Last-Modified header with cache_policy=persist 2013-07-15 12:12:07 +02:00
Luis Bosque
53fa4889c8 Merge branch 'release/staging' 2013-07-11 11:08:33 +02:00
Luis Bosque
62b420c1e8 Target v1.5.3 2013-07-10 07:59:13 +02:00
Luis Bosque
7b6b541083 Revert "Set max-age=0 when using no-cache" 2013-07-10 07:58:35 +02:00
Sandro Santilli
6d98fd9117 Merge branch 'staging'
Conflicts:
	NEWS.md
	app/controllers/app.js
	npm-shrinkwrap.json
	package.json
2013-07-09 21:54:57 +02:00
Sandro Santilli
46b7f7a309 Parse all numbers as floats. Closes #100 2013-07-09 21:51:40 +02:00
Sandro Santilli
ae502335c3 Set "numeric" type to "number" 2013-07-09 21:51:08 +02:00
Luis Bosque
b82c390c2f Target v1.5.2 2013-07-09 10:47:42 +02:00
Sandro Santilli
bc49aebd2a Don't assume SELECT "updated_at" may write to the database.
Closes #99
2013-07-08 17:36:53 +02:00
Luis Bosque
bd927556c5 Target v1.5.1 2013-07-05 15:31:21 +02:00
javi
69b5d825e3 reverted support for get params in post 2013-07-04 16:23:48 +02:00
javi
e114b4266d removed debug console.log 2013-07-04 16:17:51 +02:00
javi
320e0b97a8 Merge branch 'develop' of github.com:Vizzuality/CartoDB-SQL-API into develop 2013-07-04 16:14:51 +02:00
javi
838c0c93ba Add support for GET params in POST requests 2013-07-04 16:14:44 +02:00
Sandro Santilli
ba28496127 Add support for "text" datatypes in json output format 2013-07-04 16:04:13 +02:00
javi
78a80e6c82 added string type 2013-07-04 15:47:09 +02:00
Sandro Santilli
5afdb66223 Fix handling of -v commandline switch 2013-07-02 16:40:18 +02:00
Sandro Santilli
f4b04b6cab Change defaults to username=dev and api_version=2 2013-07-01 12:23:35 +02:00
Sandro Santilli
46e93355c4 Set max-age=0 when using no-cache (don't be self-contraddicting) 2013-06-28 11:17:52 +02:00
Sandro Santilli
7eff0cb107 Retain UTC offset in JSON output for dates
Hopefully helps reducing confusion when using timezone-less
with postgresql, in that the time that comes out of JSON output
matches the one input by user, except it may be in an unexpected
timezone (the server's one)
2013-06-19 12:25:48 +02:00
Sandro Santilli
5e379012a8 Add support for CTE in sql windowing, add unit tests
This is still an undocumented feature, but as long as it's present
and used (by cartodb UI) better tested than broken...

NOTE: more tests are needed for CTE and RETURNING queries
2013-06-17 16:36:36 +02:00
Sandro Santilli
889fb10669 Document new JSON format (addition of "fields" member) 2013-06-14 18:38:31 +02:00
Sandro Santilli
88f1d33b42 Add "fields" member in JSON return. Closes #97 2013-06-14 18:36:05 +02:00
Sandro Santilli
a108a8d545 Fix oAuth unit tests now that we use req.path rather than req.route.path 2013-06-11 10:01:17 +02:00
Sandro Santilli
f27812535d Merge branch 'master' into b1.4 2013-06-11 09:57:26 +02:00
Sandro Santilli
8cb53eb291 Tag release as 1.4.1 2013-06-10 10:02:08 +02:00
Sandro Santilli
2459aba2ba Fix windowing support for non-uppercased SELECT queries 2013-06-10 10:00:31 +02:00
Sandro Santilli
298027aa5d Further upgrade node-postgresql to 1.2.0, for field types availability 2013-06-06 17:47:23 +02:00
Sandro Santilli
779249801f Fix oAuth unit tests now that we use req.path rather than req.route.path 2013-06-06 17:08:31 +02:00
Sandro Santilli
e03262c5da Upgrade node-postgresql to ~1.1.3 fixing evented query model 2013-06-06 17:06:06 +02:00
Sandro Santilli
14d74da874 Add latest fix to NEWS 2013-06-06 15:26:43 +02:00
Sandro Santilli
339bc0b3a4 Fix windowing support for non-uppercased SELECT queries 2013-06-06 15:24:57 +02:00
Luis Bosque
d476f74a29 Merge branch 'release/staging' into develop 2013-05-30 11:57:29 +02:00
Luis Bosque
4ef830d227 Merge branch 'release/staging' 2013-05-30 11:57:10 +02:00
Luis Bosque
fac2b1bb68 Trust forwarded proto header from proxy 2013-05-30 11:56:43 +02:00
Luis Bosque
80452ef6f4 Merge branch 'release/staging' into develop 2013-05-30 11:17:10 +02:00
Luis Bosque
1acfe94af1 Merge branch 'release/staging' 2013-05-30 11:16:49 +02:00
Sandro Santilli
03cf5eab3e Add oAuth note 2013-05-29 17:43:01 +02:00
Luis Bosque
12afc3c88f In OAuth requests, get req.path
Using req.route.path breaks OAuth whtn used with regex routes. Instead
of this we need to use req.path because the path is already expanded
2013-05-29 17:36:41 +02:00
Sandro Santilli
62c314a950 Add NEWS item about queued requests handling fix 2013-05-29 17:35:16 +02:00
Sandro Santilli
ffafe814ef Do not hang up to queued request on ogr generation failure 2013-05-29 17:33:10 +02:00
Sandro Santilli
1c9179eeec Allow 'staging' as an env name for non-clustered run 2013-05-29 17:09:20 +02:00
Sandro Santilli
7f9463e7fd Fix filesystem access conflict among clustered processes 2013-05-29 16:48:20 +02:00
Sandro Santilli
510ac0533f Switch to using evented query model for postgresql
This enables formats for processing rows as they arrive from the
database, thus possibly reducing memory use. For a start the skip
fields are immediately removed from the result, rather than only
at the end.
2013-05-29 15:39:39 +02:00
Sandro Santilli
1f26d31ac4 Update NEWS, and target 1.5.0
Let's leave 1.4.x for hotfixes
2013-05-29 12:44:04 +02:00
Sandro Santilli
476bd863b4 Add --skipfields switch to cdbsql 2013-05-29 12:35:24 +02:00
Luis Bosque
9475e6ef0a Target v1.4.1 2013-05-28 18:15:15 +02:00
javi
0be9e47930 Add arraybuffer format 2013-05-28 10:37:39 +02:00
Sandro Santilli
76705a3fd7 Refactor format objects to expose a common stream-able interface
See app/models/formats/README for info
2013-05-28 10:36:15 +02:00
Sandro Santilli
aff77399b1 Extract geojson test from main test 2013-05-27 17:34:05 +02:00