Commit Graph

2221 Commits

Author SHA1 Message Date
Simon Martín
adab7f21d8 setErrorHeader refactor 2018-03-28 13:50:45 +02:00
Simon Martín
720c3eb8cb changing msg var name for errorResponse 2018-03-28 13:35:19 +02:00
Simon Martín
d17975d7f5 errorHandlerFactory tests 2018-03-28 13:31:45 +02:00
Simon Martín
4301b63189 fix error 2018-03-28 13:31:31 +02:00
Simon Martín
616f3f3c07 errorHandlerFactory 2018-03-28 13:06:39 +02:00
Simon Martín
16ea727fc3 move ErrorHandler logic from error middleware 2018-03-28 12:58:10 +02:00
Simon Martín
5b6f876cd6 change pgErrorHandler for more generic errorHandler 2018-03-28 12:50:07 +02:00
Simon Martín
b45f5fe31e move ErrorHandler to services folder 2018-03-28 12:49:33 +02:00
Simon Martín
287d4634c6 rename createPgError to createGenericError 2018-03-28 12:43:34 +02:00
Simon Martín
e611d21029 getName refactor 2018-03-28 12:38:45 +02:00
Simon Martín
2bfa00ab57 getStatus refactor 2018-03-28 12:35:01 +02:00
Simon Martín
d727a50407 jshint 2018-03-28 12:17:42 +02:00
Simon Martín
96435d28e0 removing underscore dependency 2018-03-28 12:15:55 +02:00
Simon Martín
152ef05028 removing forgotten only 2018-03-28 12:15:23 +02:00
Simon Martín
e2641200f7 extracting error type check 2018-03-28 12:13:31 +02:00
Simon Martín
8e5ac72411 simplify error_handler tests 2018-03-28 12:10:48 +02:00
Simon Martín
575f1b3a05 simplify error response on models 2018-03-28 11:55:52 +02:00
Simon Martín
050c598e90 using new error handler as a Error 2018-03-28 11:30:11 +02:00
Simon Martín
2722302a89 using error handler as a Error 2018-03-28 11:29:38 +02:00
Simon Martín
60021a70dc extends Error 2018-03-28 10:56:06 +02:00
Simon Martín
522363c419 removing semicolons 2018-03-28 10:49:50 +02:00
Simon Martín
eefea03b80 error handler to class 2018-03-28 10:48:25 +02:00
Simon Martín
67e1c04efd indentation details 2018-03-28 10:48:08 +02:00
Simon Martín
c6eb0ad4c7 error middleware name 2018-03-28 09:58:05 +02:00
Simon Martín
c9bc11078d
Merge pull request #472 from CartoDB/limits-error-refactor
timeout error simplify
2018-03-27 16:45:15 +02:00
Simon Martín
0998e50014 refactor getFields method 2018-03-27 15:56:53 +02:00
Simon Martín
cdeb8b8e63 make EnekoLinter happy xD 2018-03-27 15:49:38 +02:00
Simon Martín
1f5e00e656 bad merge 2018-03-27 15:46:58 +02:00
Simon Martín
b75334f1e7 Merge branch 'master' into limits-error-refactor 2018-03-27 15:32:24 +02:00
Simon Martín
43193e0261
Merge pull request #471 from CartoDB/finalDetails
Rate limits details
2018-03-27 15:24:42 +02:00
Simon Martín
4f4ec1856a Merge branch 'master' into finalDetails 2018-03-27 14:56:04 +02:00
Simon Martín
b8315a0f1d
Merge pull request #473 from CartoDB/rediscell-macos
Fix test environment in Mac OS X with redis-cell
2018-03-27 14:52:21 +02:00
Simon Martín
84af567577 run with local files insterad of download and by OS 2018-03-27 12:23:29 +02:00
Simon Martín
bb929bf3dc adding rediscell files for linux and mac 2018-03-27 12:14:28 +02:00
Simon Martín
483c263f61 adding and testing limits error response with params 2018-03-26 19:10:23 +02:00
Simon Martín
54876fa203 addind properties to limits errors 2018-03-26 15:56:50 +02:00
Simon Martín
50b8a9ed17 remove unused parameter 2018-03-23 18:02:44 +01:00
Simon Martín
0b708165b3 simplify timeout error catch 2018-03-23 17:48:21 +01:00
Simon Martín
8c86c2b3f8 correct error message in rate limit 2018-03-23 15:35:06 +01:00
Simon Martín
26baaf6081 removing retry after when no necessary 2018-03-23 15:09:16 +01:00
Simon Martín
ea3724bbe2 stubs next version 2018-03-22 16:34:20 +01:00
Simon Martín
01f480c8e5 version 2.0.0 2018-03-22 12:06:18 +01:00
Simon Martín
03ea330c0a updating shrinkwrap 2018-03-22 12:02:16 +01:00
Simon Martín
51e56361b9 upgrading cartodb-redis to 1.0.0 2018-03-22 12:01:47 +01:00
Simon Martín
6abe660234
Merge pull request #465 from CartoDB/rateLimits
Rate limits
2018-03-22 11:18:58 +01:00
Simon Martín
80818c3cbb fix userLimits reference 2018-03-20 16:20:56 +01:00
Simon Martín
bec45d5dc9 setting specific version of redis v4 2018-03-19 12:41:42 +01:00
Simon Martín
d3959bd024 change redis cell file path 2018-03-15 12:10:23 +01:00
Simon Martín
a5ddb83b36 using curl instead of wget 2018-03-15 11:54:02 +01:00
Simon Martín
62414ec34e download redis-cell lib during tests 2018-03-15 11:42:13 +01:00