Raul Marin
e322dc7c29
DOCS: Improve documentation about response codes
2019-01-02 18:05:07 +01:00
Raul Marin
03701ae695
Set platform limits message on streaming responses too
2019-01-02 16:21:33 +01:00
Raul Marin
4662077a02
Doc: Document errors in streaming responses
2019-01-02 16:21:33 +01:00
Raul Marin
7eb412cf59
Test: Accept PG11 error messages
2019-01-02 16:21:33 +01:00
Daniel G. Aubert
9c015d40cb
Merge pull request #551 from CartoDB/update-node-npm-versions
...
Update docs: Node.js and npm version
2019-01-02 13:04:15 +01:00
Daniel García Aubert
3f6cccc50b
Add deprecation warning
2019-01-02 12:52:53 +01:00
Daniel García Aubert
e9e2117046
Update docs: Node.js and npm version
2019-01-02 11:16:00 +01:00
Daniel García Aubert
2404368e36
Stubs next version
2018-12-26 17:23:44 +01:00
Daniel García Aubert
d6140d39dc
Release 2.3.1
2018-12-26 17:22:00 +01:00
Daniel G. Aubert
76c70cdd2c
Merge pull request #549 from CartoDB/fix-carto-package
...
Fix carto-package.json
2018-12-26 17:20:48 +01:00
Daniel García Aubert
8f40149ba1
Fix carto-package.json
2018-12-26 17:20:04 +01:00
Daniel García Aubert
880d4ce30c
Stubs next version
2018-12-26 15:33:57 +01:00
Daniel García Aubert
72e99904e2
Release 2.3.0
2018-12-26 15:31:36 +01:00
Simon Martín
e1610b1f01
NEWS
2018-12-24 13:46:53 +01:00
Simon Martín
be8fac3315
Merge branch 'master' into unique-query-ratelimit
2018-12-24 13:43:58 +01:00
Rafa de la Torre
f5a79eef7e
Merge pull request #548 from CartoDB/fix-version-cartodb-psql
...
Fix version of cartodb-psql (remove caret ^)
2018-12-13 14:55:28 +01:00
Rafa de la Torre
da46f9f8e2
Fix version of cartodb-psql (remove caret ^)
2018-12-12 18:20:10 +01:00
Rafa de la Torre
2773c6d23e
Merge pull request #547 from CartoDB/mockdate
...
Properly mock Date.now() for tests
2018-12-11 12:46:49 +01:00
Rafa de la Torre
cb5970d4a4
Merge pull request #545 from CartoDB/update-cartodb-psql
...
Update cartodb-psql
2018-12-11 12:03:20 +01:00
Rafa de la Torre
2f8357ee4f
Properly mock Date.now() for tests
2018-12-11 11:50:53 +01:00
Rafa de la Torre
a7c0917019
Add mockdate to dev dependencies
2018-12-11 11:37:45 +01:00
Rafa de la Torre
b56f60ac4b
Update package-lock.json
2018-12-10 18:23:58 +01:00
Simon Martín
254896e666
remove query_format rate limit
2018-12-10 18:20:10 +01:00
Simon Martín
498ddc58b7
unique rate limit fot both query endpoints
2018-12-10 18:19:56 +01:00
Rafa de la Torre
7502b65acb
Update npm-shrinkwrap.json
2018-12-10 18:08:05 +01:00
Rafa de la Torre
eb48963d59
Update cartodb-psql
2018-12-10 17:24:53 +01:00
Rafa de la Torre
b9f647f15d
Update NEWS.md #543
2018-12-07 10:31:04 +01:00
Rafa de la Torre
a3b1a38faf
Merge pull request #544 from CartoDB/max-error-header-size
...
Limit size of error header
2018-12-07 10:28:41 +01:00
Rafa de la Torre
aeec1922ee
Fix test and add const #543
2018-12-05 19:15:57 +01:00
Rafa de la Torre
b6251568eb
Test first, with hardcoded values (WIP) #543
2018-12-05 18:59:11 +01:00
Rafa de la Torre
8505857412
Make error_handler.test.js independent from other tests #543
...
This is needed to avoid a "test race" and get it closer to a real unit
test.
When running it along with others it passes:
```
$ make test-unit
...
48 passing (54ms)
12 pending
```
(note it relies on the ordering produced by `find`)
when running it along with some other test that reads the config, it
works as well:
```
$ test/run_tests.sh test/unit/apikeyauth.test.js test/unit/error_handler.test.js
...
3 passing (9ms)
12 pending
```
but when run in isolation, it fails:
```
$ test/run_tests.sh test/unit/error_handler.test.js
...
0 passing (15ms)
3 failing
1) error-handler should return a header with errors:
TypeError: Cannot read property 'environment' of undefined
at errorMiddleware (app/middlewares/error.js:10:28)
at Context.<anonymous> (test/unit/error_handler.test.js:53:26)
2) error-handler JSONP should return a header with error statuscode:
TypeError: Cannot read property 'environment' of undefined
at errorMiddleware (app/middlewares/error.js:10:28)
at Context.<anonymous> (test/unit/error_handler.test.js:79:26)
3) error-handler should escape chars that broke logs regex:
TypeError: Cannot read property 'environment' of undefined
at errorMiddleware (app/middlewares/error.js:10:28)
at Context.<anonymous> (test/unit/error_handler.test.js:108:26)
```
2018-12-05 16:22:48 +01:00
Simon Martín
93c0ef4e0d
Merge pull request #542 from CartoDB/copy-quota-exceeded
...
cancel query when quota exceeded or max POST size
2018-11-30 10:29:01 +01:00
Simon Martín
4dbd4d8b80
tests ensuring cancel query with Quota exceeded or max POST size
2018-11-29 18:42:04 +01:00
Simon Martín
1293acca48
cancel query when Quota exceeded or max POST size
2018-11-29 18:15:14 +01:00
Daniel G. Aubert
5f5b516721
Merge pull request #540 from CartoDB/nodejs-10
...
Support Node.js 10 LTS
2018-11-22 14:48:55 +01:00
Daniel García Aubert
9cd485be45
Prepare next release
2018-11-22 11:45:03 +01:00
Daniel García Aubert
0c9be26011
Fix npm-shrinkwrap.json
2018-11-22 11:27:32 +01:00
Daniel García Aubert
5fb37a5d6f
Update shrinkwrap
2018-11-21 19:05:55 +01:00
Daniel García Aubert
627fdc1e2c
Update dependencies to released versions that support Node.js 10
2018-11-21 18:43:05 +01:00
Daniel García Aubert
bf27a8089a
Merge branch 'master' into nodejs-10
2018-11-20 11:25:29 +01:00
Daniel G. Aubert
ea8ee8566c
Merge pull request #541 from CartoDB/add-memory-cpu-metrics
...
Add memory cpu metrics
2018-11-15 15:08:07 +01:00
Daniel García Aubert
fdaae20af7
Use let instead of var
2018-11-15 14:34:36 +01:00
Daniel García Aubert
267baf621e
Send userm system, time and percent CPU metrics
2018-11-15 13:49:57 +01:00
Daniel García Aubert
e28349ff29
Send metrics about memory and CPU usage
2018-11-15 11:03:51 +01:00
Daniel García Aubert
35dd404a0b
Rename lock files before installing with different versions of npm
2018-11-07 20:24:14 +01:00
Daniel García Aubert
73813063c1
Get back npm-shrinkwrap.json
2018-11-07 20:14:10 +01:00
Daniel García Aubert
35d387f25d
Rename npm-shrinkwrap temporaly
2018-11-07 19:44:12 +01:00
Daniel García Aubert
348e2b386b
Fix arguments in docker command
2018-11-07 19:22:13 +01:00
Daniel García Aubert
99b92c65fe
Run configure before installing
2018-11-07 19:21:46 +01:00
Daniel García Aubert
721bf139b3
Install dependencies depending on the version of Node.js while running CI
2018-11-07 19:03:52 +01:00