Commit Graph

2049 Commits

Author SHA1 Message Date
Daniel
51bdbeba1c Merge pull request #427 from CartoDB/421-response-time-limit
Response time limit
2017-08-10 17:13:41 +02:00
Daniel García Aubert
f13c16e523 Typo 2017-08-10 11:22:08 +02:00
Daniel García Aubert
a246f9b351 Bump cartodb-redis version to 0.14.0 2017-08-10 11:11:11 +02:00
Daniel García Aubert
fd39027c6c Add TODOs 2017-08-09 18:56:51 +02:00
Daniel García Aubert
b9849298c0 Do not test against node 0.10 2017-08-09 13:05:06 +02:00
Daniel García Aubert
74b92bc782 Implement tests 2017-08-09 12:53:59 +02:00
Daniel García Aubert
ee9709199a Expose method to configure user's
metadata
2017-08-09 12:51:21 +02:00
Daniel García Aubert
01a71ee60e Apply user timeout to ogr2ogr command 2017-08-09 12:50:16 +02:00
Daniel García Aubert
f995b476c8 Use the right development branch of cartodb-psql to get user timeout 2017-08-09 12:39:58 +02:00
Raul Ochoa
3e536b822e Remove unnecessary destroyOnError option 2017-08-08 18:21:10 +02:00
Raul Ochoa
f7d88afe86 Upgrade cartodb-psql package to 0.8.0 version
This removes the requirement to use destroyOnError as it's no longer
supported.
2017-08-08 18:13:17 +02:00
Daniel García Aubert
d7d2c73c3a Add test to check that export api handles user timeout limit 2017-08-04 17:12:49 +02:00
Daniel García Aubert
761ffd0558 Allow es6 syntax 2017-08-04 17:11:45 +02:00
Daniel García Aubert
8b6ec95108 Add test to check timeout error while exporting 2017-08-03 19:15:24 +02:00
Daniel García Aubert
fb477260ec Respond with 429 and proper message when database fires a timeout error 2017-08-03 17:19:08 +02:00
csobier
cff94365ed Merge pull request #425 from CartoDB/docs-1219-api-versions
removed incorrect info from versions page of docs
2017-08-02 12:28:30 -04:00
csobier
20ec67c14d sql specific url 2017-08-02 12:19:50 -04:00
csobier
7884e53add removed incorrect info from versions page of docs 2017-08-02 11:01:02 -04:00
Rafa de la Torre
38b1dba758 Stub next version 2017-07-03 11:24:23 +02:00
Rafa de la Torre
2530e4e3b6 Release version 1.46.1 2017-07-03 11:17:21 +02:00
Rafa de la Torre
07890ec608 Change tableCache.get for tableCache.peek #244
This will make it consider age of the key when it was initially set,
instead of renewing it with the time of the last access.
2017-07-03 11:13:21 +02:00
Rafa de la Torre
d2f1884999 Stub next version 2017-06-27 18:06:43 +02:00
Rafa de la Torre
c3c754231a Release Release 1.46.0 2017-06-27 17:58:43 +02:00
Rafa de la Torre
1db935a24b Merge pull request #423 from CartoDB/422-disable-query-lru-cache
422 disable query lru cache
2017-06-27 17:40:33 +02:00
Daniel García Aubert
bf76331bf8 Stub next version 2017-06-27 17:25:15 +02:00
Daniel García Aubert
7521ca2f48 Release 1.45.1 2017-06-27 17:16:03 +02:00
Daniel
99a849d09e Merge pull request #420 from CartoDB/support-special-float-values
Support special float values (NaN and Infinity)
2017-06-27 16:56:20 +02:00
Rafa de la Torre
ae304999c7 Add a few integration tests #422 2017-06-27 16:38:07 +02:00
Rafa de la Torre
2d9a5e9655 Move cyclomatic complexity to the factory #422 2017-06-27 16:05:05 +02:00
Rafa de la Torre
c8e42f561d Reduce cyclomatic complexity (jshint 2/2) #422 2017-06-27 15:35:51 +02:00
Rafa de la Torre
34ccfc10df Please jshint (1/2) #422 2017-06-27 13:26:14 +02:00
Rafa de la Torre
8c2e5f74df Add tableCacheEnabled setting to sample config #422 2017-06-27 13:14:13 +02:00
Rafa de la Torre
23cd744eda Skip tests that need of a real tableCache #422
Skip those tests when the tableCache is disabled, but run them
otherwise.
2017-06-27 12:58:27 +02:00
Rafa de la Torre
bf478cabb2 Fix initialization of NoCache #422 2017-06-27 12:44:11 +02:00
Rafa de la Torre
bc71889f93 First attempt at removing tableCache #422 2017-06-27 12:10:24 +02:00
Daniel García Aubert
00cbfca72e Improve assertion 2017-06-09 16:56:44 +02:00
Daniel García Aubert
aa66000848 Going green: use replacer parameter in JSON.stringify method to not cast special number values to null 2017-06-08 12:42:37 +02:00
Daniel García Aubert
1977f4a782 Going red: special float values parsed to null 2017-06-08 12:31:18 +02:00
Raul Ochoa
14846b254e Document gc_interval configuration param 2017-04-24 18:28:10 +02:00
Mario de Frutos
f77df67eba Stubs next version 2017-04-18 14:46:41 +02:00
Mario de Frutos
61716d3e3a Release 1.45.0 2017-04-18 14:43:43 +02:00
Mario de Frutos
582d684591 Merge pull request #418 from CartoDB/413-configurable-zip-command
Make zip command path configurable
2017-04-18 13:24:45 +02:00
Mario de Frutos
3a99020632 Added regexp for the test to matches both 0.10 and 6.X node version 2017-04-18 12:15:47 +02:00
Mario de Frutos
5e9fcc5c8f Added test to check error when zip command file is not present 2017-04-18 12:15:47 +02:00
Mario de Frutos
da42daa536 Improved error message for zip spawn command 2017-04-18 12:15:47 +02:00
Daniel García Aubert
e4eeb9e1f6 Clean commented code 2017-04-18 12:15:47 +02:00
Daniel García Aubert
e0f9209017 Attach error handler while spawning zip command 2017-04-18 12:15:47 +02:00
Daniel García Aubert
884d3aea0a Dont call 'next' callback twice, include error message if zip don't exit normally 2017-04-18 12:15:47 +02:00
Daniel García Aubert
4b98b7056a Make zip command path configurable 2017-04-18 12:15:47 +02:00
Mario de Frutos
9a2e832c83 Merge pull request #419 from CartoDB/fix-ogr-spawn
Add error callback to ogr command while spawning
2017-04-18 12:15:11 +02:00