Commit Graph

1713 Commits

Author SHA1 Message Date
Raul Ochoa
6309318534 Use body-parser from old connect module 2016-10-05 14:22:44 +02:00
Raul Ochoa
025b3f3cc7 Increase body limit to 20mb 2016-10-05 11:14:06 +02:00
Raul Ochoa
86b2b2bb81 Merge pull request #369 from CartoDB/batch-queries-limits
Job controller DRY
2016-10-04 17:12:24 +02:00
Raul Ochoa
2a2a54a073 DRY in job response handler 2016-10-04 16:07:13 +02:00
Raul Ochoa
19c9bec633 Callback with job 2016-10-04 15:57:13 +02:00
Raul Ochoa
05cbd55b95 Use db host from request's context 2016-10-04 15:50:39 +02:00
Raul Ochoa
c32a2199fa Use request bootstrapper to add host header 2016-10-04 15:43:19 +02:00
Raul Ochoa
7b7d651d8f DRY while authenticating requests 2016-10-04 15:40:56 +02:00
Raul Ochoa
20f50d988e Use user middleware in job controller 2016-10-04 15:19:31 +02:00
Raul Ochoa
b139b9ab21 Add context object in all requests 2016-10-04 15:12:46 +02:00
Raul Ochoa
2edc7505e7 Do not condition req.profiler 2016-10-04 15:08:31 +02:00
Raul Ochoa
cb9db0c4cb Make request.profiler always available 2016-10-04 14:40:04 +02:00
Raul Ochoa
3b6bc14d17 Increment errors on err 2016-10-04 13:19:29 +02:00
Raul Ochoa
b07e2d3de5 Merge pull request #346 from CartoDB/fix-batch-api-test
Removed duplicated config
2016-10-04 13:01:46 +02:00
Raul Ochoa
0cc6066298 Stubs next version 2016-10-04 12:04:47 +02:00
Raul Ochoa
11a9d591ac Release 1.37.0 2016-10-04 12:04:47 +02:00
Raul Ochoa
fa96ba6892 Bump version and update news 2016-10-04 12:04:47 +02:00
Raul Ochoa
fcc2931d67 Merge pull request #178 from strk/master-tolerant-configure
Have ./configure tolerate unknown options
2016-10-04 11:43:56 +02:00
Raul Ochoa
41f11e0a6b Merge pull request #366 from CartoDB/express-4.x
Express 4.x
2016-10-04 11:39:59 +02:00
Raul Ochoa
0e43f7c5fb Merge branch 'master' into express-4.x 2016-10-03 15:18:50 +02:00
Raul Ochoa
4f83da3b5c Stubs next version 2016-10-03 13:36:04 +02:00
Raul Ochoa
51fedbb8c4 Release 1.36.2 2016-10-03 13:29:11 +02:00
Raul Ochoa
6c2db4385c Batch Queries: use path instead of stream to be able to reopen FD 2016-10-03 13:28:13 +02:00
Raul Ochoa
a093737818 Merge branch 'master' into express-4.x 2016-09-30 18:53:13 +02:00
Raul Ochoa
ccbadf4ab4 Stubs next version 2016-09-30 18:48:13 +02:00
Raul Ochoa
eef302a0b5 Release 1.36.1 2016-09-30 18:46:54 +02:00
Raul Ochoa
9099b6ae13 Update news 2016-09-30 18:46:34 +02:00
Raul Ochoa
857ba747d0 Rename 2016-09-30 18:45:33 +02:00
Raul Ochoa
b269418db4 Tag logs 2016-09-30 18:45:15 +02:00
Raul Ochoa
bf1a67780d Merge branch 'master' into express-4.x 2016-09-30 17:37:30 +02:00
Raul Ochoa
d7762c9f73 Stubs next version 2016-09-30 17:13:50 +02:00
Raul Ochoa
d685585d5c Release 1.36.0 2016-09-30 17:13:02 +02:00
Raul Ochoa
1321eeae65 Bump version and update news 2016-09-30 17:12:41 +02:00
Raul Ochoa
b0dfe1d509 Only reload log files if logger exists 2016-09-30 17:10:52 +02:00
Raul Ochoa
f8a8d3316c Merge pull request #368 from CartoDB/367-batch-logger
Implement batch logger to log query times
2016-09-30 17:05:06 +02:00
Raul Ochoa
72fb851db7 Fix typo 2016-09-30 16:55:33 +02:00
Raul Ochoa
20573a7f67 Always log queries from fallback jobs
- Add query id if exists
- Only log analyses for expected format
- Log with query start and end times
2016-09-30 16:54:10 +02:00
Raul Ochoa
ba34412ce3 Return on boolean on log 2016-09-30 16:51:34 +02:00
Raul Ochoa
9555a2cbde Bring back log logic for FallbackJob 2016-09-30 16:47:37 +02:00
Raul Ochoa
60546de147 Move log logic to each job 2016-09-30 16:44:39 +02:00
Daniel García Aubert
59e5c10f85 Set batch queries log path 2016-09-29 15:37:14 +02:00
Daniel García Aubert
2cce19c3ff Regenerated npm shrinkwrap 2016-09-29 15:23:39 +02:00
Daniel García Aubert
ed27b67cec Simplified batch logger construction 2016-09-29 15:17:25 +02:00
Daniel García Aubert
aa0ce62a85 Implement batch logger to log query times when queries are defined with id 2016-09-29 15:09:36 +02:00
Raul Ochoa
0e03bcd1d3 Delete table so suite ends clear 2016-09-26 18:28:15 +02:00
Raul Ochoa
89f9a99e44 Delete table so suite ends clear 2016-09-26 18:26:00 +02:00
Raul Ochoa
3cc942b0a2 Regenerate npm-shrinkwrap.json 2016-09-26 18:18:12 +02:00
Raul Ochoa
2712d81d50 Remove unused server utils 2016-09-26 18:13:08 +02:00
Raul Ochoa
b29358a0ed Remove old response from assert 2016-09-26 18:11:40 +02:00
Raul Ochoa
2aa1f045ff Use .status() API 2016-09-26 18:10:20 +02:00