Commit Graph

3112 Commits

Author SHA1 Message Date
Paul Ramsey
ed696a96ec Merge branch 'pgcopy-stream' of github.com:CartoDB/CartoDB-SQL-API into pgcopy-stream-q 2018-05-22 10:23:04 -04:00
Simon Martín
bfeea58268 copyFrom metrics to statsd tests 2018-05-22 16:07:04 +02:00
Simon Martín
6d73d97ae2 copyFrom metrics to statsd 2018-05-22 16:02:14 +02:00
Simon Martín
30cb88c3f9 test for copyto without sql 2018-05-22 15:56:04 +02:00
Simon Martín
e347985465 changing query parameter name from sql to q
unify query validatrion
2018-05-22 15:42:57 +02:00
Simon Martín
b9474e7fc3 total_rows in copyto metrics 2018-05-22 15:29:08 +02:00
Simon Martín
58b91275f0
Merge pull request #490 from CartoDB/pgcopy-stream-metrics
Pgcopy stream metrics
2018-05-22 15:25:43 +02:00
Simon Martín
0bac7a484c improving query info 2018-05-22 14:16:22 +02:00
Simon Martín
185f708d5b small style refactor 2018-05-22 14:15:55 +02:00
Simon Martín
f31f00dbbc fix test vars naming 2018-05-22 12:05:16 +02:00
Simon Martín
86e0ebc148 small refactor in copy format regex 2018-05-22 12:02:41 +02:00
Simon Martín
79383bb119 removing only 2018-05-22 11:57:10 +02:00
Simon Martín
f01191472b refactoring copy controller middlewares 2018-05-22 11:56:50 +02:00
Simon Martín
433bd01c27 copyto metrics 2018-05-22 11:54:10 +02:00
Simon Martín
81be15fbc3 adding format to copy metrics 2018-05-21 19:13:44 +02:00
Paul Ramsey
64fc0c32e3 Change from 'sql' as query parameter to 'q', aping existing sql api 2018-05-21 07:47:16 -07:00
Simon Martín
816779fefd erratum 2018-05-18 17:32:59 +02:00
Simon Martín
82c9fec18a copy from metrics 2018-05-18 17:31:29 +02:00
Eneko Lakasta
fc7e246704 please jshint 2018-05-18 11:35:54 +02:00
Simon Martín
bf4d12868b Merge branch 'master' into pgcopy-stream 2018-05-18 10:57:32 +02:00
Eneko Lakasta
1e8c6e198c remove api key fallback 2018-05-17 17:13:59 +02:00
Eneko Lakasta
e85994293b remove fallback tests and refactor some http errors 403 -> 401 2018-05-17 17:13:00 +02:00
Eneko Lakasta
751745cb5d use correspondent cartodb-redis branch 2018-05-17 17:10:33 +02:00
Simon Martín
9912dbebad NEWS 2018-05-17 11:34:02 +02:00
Simon Martín
b02c882b80
Merge pull request #486 from CartoDB/fix-ratelimit-backwards-compatibility
Making ratelimits configuration keys backwards compatible
2018-05-17 11:23:18 +02:00
Andy Eschbacher
15fd3bdfee updates python snippets to be python 3 compatible 2018-05-14 12:38:00 -04:00
Simon Martín
9016647a6f reverting use of busboy instead of multer 2018-05-14 18:31:44 +02:00
Paul Ramsey
39d6da09b3
Merge pull request #485 from CartoDB/pgcopy-stream-review
Pgcopy stream review
2018-05-11 09:42:40 -07:00
Paul Ramsey
4845f23f9e
Merge pull request #487 from CartoDB/pgcopy-stream-review-post
Change from form-multipart to POST with chunked upload
2018-05-11 09:33:25 -07:00
Simon Martín
60b48df4d6 default rate limits params to server.js 2018-05-11 15:41:35 +02:00
Simon Martín
d70013b0f4 object assing for default rate limits params 2018-05-11 15:36:59 +02:00
Simon Martín
bc8a867334 jshinty happy 2018-05-11 14:51:43 +02:00
Simon Martín
f2acc8f653 forgotten log 2018-05-11 14:16:26 +02:00
Simon Martín
eee8bc2674 moving copyto headers to correct position 2018-05-11 14:12:23 +02:00
Simon Martín
d970742860 removing uneeded param 2018-05-11 14:10:52 +02:00
Simon Martín
791967877c addining gzip support to copyfrom 2018-05-11 13:33:54 +02:00
Simon Martín
f749798ca5 validating inputs 2018-05-11 10:38:33 +02:00
Simon Martín
85528459b8 updating tests 2018-05-11 10:38:04 +02:00
Paul Ramsey
1d3baaa05d Remove gzip post example, as it doesn't actually work.
We could manually support content-encoding: gzip
in express, but we'd have to hack body parsing a little,
but it would make uploads potentially nicer/faster
2018-05-10 13:48:10 -07:00
Paul Ramsey
031d7d794b Add chunked header to CURL examples 2018-05-10 12:52:57 -07:00
Paul Ramsey
87c70066f5 Add stream option to POST example 2018-05-10 12:48:36 -07:00
Paul Ramsey
58166eeda4 Add compressed upload example 2018-05-10 12:37:19 -07:00
Paul Ramsey
c676b2f520 Ensure python example works with POST chunked 2018-05-10 12:26:16 -07:00
Paul Ramsey
d2ea840def Fix curl example for copyfrom 2018-05-10 12:24:12 -07:00
Paul Ramsey
8f211f905c Remove wrong examples 2018-05-10 12:21:33 -07:00
Paul Ramsey
f0021264d2 Change from form-multipart to POST with chunked upload 2018-05-10 12:11:55 -07:00
Simon Martín
0bb7cec9f4 params existence responsability for UserLimits 2018-05-10 11:51:58 +02:00
Simon Martín
dddfc806af shrinkwrap 2018-05-08 18:55:15 +02:00
Simon Martín
fa4cbfac19 dependencies 2018-05-08 18:49:59 +02:00
Simon Martín
7109b204e2 awaiting for fuc**** shrinkwrap 2018-05-08 18:44:51 +02:00