Paul Ramsey
|
36bdf84f71
|
Merge branch 'master' of github.com:CartoDB/CartoDB-SQL-API into pgcopy-stream
|
2018-04-27 15:56:13 +02:00 |
|
Paul Ramsey
|
e2d8896307
|
Typo in curl example
|
2018-04-27 12:32:47 +02:00 |
|
Paul Ramsey
|
5f9cc37dba
|
Jshint change, DRY the content-disposition handler
|
2018-04-27 12:19:53 +02:00 |
|
Paul Ramsey
|
fe52af71ac
|
Add documentation SQL API copyfrom/copyto end points,
and make small modifications arising from that task
|
2018-04-27 11:55:06 +02:00 |
|
Paul Ramsey
|
c78cac9bd6
|
Use the correct database credentials, so we obey security
|
2018-04-26 10:45:52 +02:00 |
|
Paul Ramsey
|
f13028b497
|
More jshint changes
|
2018-04-26 10:20:21 +02:00 |
|
Paul Ramsey
|
cc5fa5c6ce
|
Changes suggested by jshint
|
2018-04-26 10:04:38 +02:00 |
|
Paul Ramsey
|
ea66076255
|
Remove 'console.debug', try and get travis tests clean
|
2018-04-26 09:40:13 +02:00 |
|
Paul Ramsey
|
a98781d335
|
Working code for /copyfrom (streaming) and /copyto (streaming)
|
2018-04-25 18:37:04 +02:00 |
|
Paul Ramsey
|
b59bda5780
|
Get working copyto implementation in place. Many test cases
needed still and thoughts on how to communicate errors back
that are maybe nicer than stack messages?
|
2018-04-24 15:55:20 +02:00 |
|
Paul Ramsey
|
4914100205
|
CopyFrom works, but still needs a decent return payload and
a lot of work on returning useful information for error cases (post empty input,
db errors returned more nicely? etc)
|
2018-04-24 13:07:57 +02:00 |
|
Paul Ramsey
|
72bce5732b
|
WIP on /copyfrom
|
2018-04-24 11:26:15 +02:00 |
|
Simon Martín
|
985f9ef7f5
|
pgEntitiesAccessValidator
|
2018-04-23 18:17:44 +02:00 |
|
Rafa de la Torre
|
2229d0ee57
|
Fix jshint issues
|
2018-04-13 16:36:43 +02:00 |
|
Paul Ramsey
|
0161696627
|
Update copy_controller.js
|
2018-04-13 05:43:23 -07:00 |
|
Paul Ramsey
|
d54e2f5a07
|
Implementation including multer, custom storage engine, and pg-copy,
but without turning over pg-copy, and demonstrating the missing 'sql'
parameter in the custom storage engine.
|
2018-04-12 12:25:28 -07:00 |
|
Simon Martín
|
80818c3cbb
|
fix userLimits reference
|
2018-03-20 16:20:56 +01:00 |
|
Simon Martín
|
581bd0dd89
|
Merge branch 'master' into rateLimits
|
2018-03-14 12:47:45 +01:00 |
|
Daniel García Aubert
|
8dea7615c4
|
Use user's port instead of the generic one
|
2018-03-13 19:08:51 +01:00 |
|
Daniel García Aubert
|
328d6f253e
|
Honor batch api port
|
2018-03-13 18:49:01 +01:00 |
|
Simon Martín
|
b6ff37d33f
|
changing param name
|
2018-03-02 19:57:33 +01:00 |
|
Simon Martín
|
7a6ef637ae
|
make jshint happy
|
2018-03-01 14:47:34 +01:00 |
|
Simon Martín
|
f3adad57aa
|
fix assignment
|
2018-03-01 13:15:32 +01:00 |
|
Simon Martín
|
779ab3b83f
|
adding rate limit middleware to controllers
|
2018-03-01 12:19:57 +01:00 |
|
Simon Martín
|
2834975d14
|
controllers using user limits service
|
2018-03-01 11:31:35 +01:00 |
|
Daniel García Aubert
|
f85bdf53a5
|
Missing middleware
|
2018-02-23 13:19:26 +01:00 |
|
Daniel García Aubert
|
47b54612c7
|
Place send-response-middleware to the very end of middleware stack
|
2018-02-23 13:03:56 +01:00 |
|
Daniel García Aubert
|
700c64bba3
|
Extract to a middleware user timeout limit from user-database-services
|
2018-02-22 12:45:55 +01:00 |
|
Daniel García Aubert
|
94c5bd11df
|
Split authorization middleware, it was actually doing two things: authorize and get database connection params
|
2018-02-22 12:22:39 +01:00 |
|
Daniel García Aubert
|
8730b5c517
|
Read if the request is authenticated through res.locals
|
2018-02-22 12:04:05 +01:00 |
|
Daniel García Aubert
|
b399abee18
|
Move authorization to auth-api and extract it from user-database-service
|
2018-02-22 11:46:34 +01:00 |
|
Daniel García Aubert
|
9088cbf150
|
Improve naming
|
2018-02-21 13:51:28 +01:00 |
|
Daniel García Aubert
|
ba113d8628
|
Improve naming
|
2018-02-20 16:43:43 +01:00 |
|
Daniel García Aubert
|
33baa399ae
|
Create function to compose middlewares to perfom job operations
|
2018-02-20 16:25:16 +01:00 |
|
Daniel García Aubert
|
864ec30058
|
Remove duplication
|
2018-02-20 13:22:33 +01:00 |
|
Daniel García Aubert
|
d4d54648d4
|
Improve naming
|
2018-02-20 13:14:28 +01:00 |
|
Daniel García Aubert
|
8c13add7a8
|
Rename middleware
|
2018-02-19 15:49:17 +01:00 |
|
Daniel García Aubert
|
939443ef81
|
Unify credentials and authenticated request midllewares
|
2018-02-19 15:44:28 +01:00 |
|
Daniel García Aubert
|
7898b49e59
|
Extract profiler middleware to used in query and job controllers
|
2018-02-19 15:13:36 +01:00 |
|
Daniel García Aubert
|
85fbd7c6b2
|
Create middlewares to initialize and finish profiling
|
2018-02-19 14:42:52 +01:00 |
|
Daniel García Aubert
|
75c2d85dbb
|
Use authenticated middleware in query controller
|
2018-02-19 13:24:44 +01:00 |
|
Daniel García Aubert
|
114070ef96
|
Rename middleware
|
2018-02-19 12:37:19 +01:00 |
|
Daniel García Aubert
|
adfe3dd52b
|
Remove comment
|
2018-02-19 11:10:39 +01:00 |
|
Daniel García Aubert
|
ea310db62c
|
Cosmetic chenges
|
2018-02-19 11:04:28 +01:00 |
|
Daniel García Aubert
|
edd382fb8f
|
Check user is the same user that sends the request when basic-auth is provided
|
2018-02-16 18:21:06 +01:00 |
|
Daniel García Aubert
|
2cadfe6f18
|
Add support for Basic Auth
|
2018-02-16 10:46:58 +01:00 |
|
Daniel García Aubert
|
756fbe42c9
|
Use apikey midlleware
|
2018-02-15 17:24:04 +01:00 |
|
Daniel García Aubert
|
67f2a85abd
|
Add database credentials to jobs
|
2018-02-15 12:30:04 +01:00 |
|
Daniel García Aubert
|
b10937a8fb
|
Use res.locals instead of req.context to share object among middlewares
|
2017-11-24 15:49:25 +01:00 |
|
Daniel García Aubert
|
c2d1a4653e
|
Improve naming for connection database params holder
|
2017-11-24 15:45:49 +01:00 |
|