Commit Graph

979 Commits

Author SHA1 Message Date
Daniel García Aubert
78ee92dbe5 Renamed exposed function 2015-12-10 15:06:25 +01:00
Daniel García Aubert
a941d99b2f Now long running queries with statement SELECT are piped to a new table 2015-12-09 22:05:04 +01:00
Daniel García Aubert
6cc48bf9dd Implemented batch service 2015-12-09 20:17:45 +01:00
Daniel García Aubert
c7680722ca Passed tests 2015-12-09 12:35:20 +01:00
Daniel García Aubert
da66703ce3 Skipped undone test 2015-12-09 12:23:49 +01:00
Daniel García Aubert
56cc5b439a Removed test filter for runner 2015-12-09 12:22:00 +01:00
Daniel García Aubert
0c6edc573a Used cartodb-redis instead redis-mpool 2015-12-09 12:18:33 +01:00
Daniel García Aubert
00721bcd02 Implementing batch service 2015-12-09 00:02:08 +01:00
Daniel García Aubert
6f741827cd Fixed jshint error 2015-12-07 12:19:16 +01:00
Daniel García Aubert
f6632d2373 Removed filter test 2015-12-07 12:11:46 +01:00
vagrant
35d6600f36 Implemented test for job manegement 2015-12-07 10:29:55 +00:00
Daniel García Aubert
ee41db99ad Returned job_id to client/user after job enqueue 2015-12-07 09:59:05 +01:00
Daniel García Aubert
a715879e37 Removed mocha test filter 2015-12-07 09:42:33 +01:00
Daniel García Aubert
a1243ad64d Implemented job controller to enqueue jobs 2015-12-07 09:40:51 +01:00
Daniel García Aubert
a0895d4310 Fixed jshint error 2015-12-03 18:45:12 +01:00
Daniel García Aubert
f7a3c6ac4e Renamed controllers routing method 2015-12-03 18:43:13 +01:00
Daniel García Aubert
96e9fcbe33 Moved requirements to the top of module 2015-12-03 18:35:49 +01:00
Daniel García Aubert
c6bae6d951 app module moved to right place 2015-12-03 18:33:17 +01:00
Daniel García Aubert
d31d496a2e Add useful comment 2015-12-03 18:25:35 +01:00
Daniel García Aubert
a697fe6faa Making test pass 2015-12-03 18:19:39 +01:00
Daniel García Aubert
e5dedb6315 Split query controller and separated from app 2015-12-03 17:28:18 +01:00
Daniel García Aubert
df59405dca Split some functionallity from app to dedicated controllers 2015-12-03 15:00:35 +01:00
Carlos Matallín
8d8f4dc6ad Merge pull request #260 from CartoDB/sql_injection
updated sql injection section
2015-11-11 17:58:04 +01:00
csobier
3310225577 worked out some editing with Carla-ready to merge 2015-11-11 11:45:12 -05:00
csobier
254d7f6a8b edited sql injection with Carla's edits 2015-11-11 09:38:05 -05:00
csobier
0fb6a64b7f updated sql injection section 2015-11-10 19:43:15 -05:00
Carlos Matallín
3eca20cf79 Merge pull request #259 from CartoDB/add_index_link
added link to creating indexes section
2015-11-10 14:31:41 +01:00
csobier
bbbd5e5197 added link to creating indexes section 2015-11-09 15:50:17 -05:00
Raul Ochoa
aa1e88bb29 Merge pull request #257 from CartoDB/Oauth-remove-from-doc
removed Oauth specific references from the SQL API doc, in regards to…
2015-10-15 16:35:45 +02:00
csobier
b60d157f00 removed Oauth specific references from the SQL API doc, in regards to Doc issue 368, and as per Raul's approval 2015-10-08 09:50:59 -04:00
Raul Ochoa
952d5d43dd Merge pull request #256 from CartoDB/remove-created_at_and_updated_at
removed create_at and updated_at colums as per Doc issue 333
2015-10-06 15:45:09 +02:00
csobier
357db69e63 removed comma 2015-10-06 08:49:13 -04:00
csobier
b5fc36e262 removed create_at and updated_at colums as per Doc issue 333 2015-10-05 14:00:37 -04:00
Raul Ochoa
7eaae6f662 Adds notes about contributing 2015-09-08 16:40:33 +02:00
Raul Ochoa
b160f4051a Merge pull request #250 from CartoDB/issue-238
Stop adding X-Cache-Channel header when no tables involved
2015-09-08 12:30:26 +02:00
Raul Ochoa
5ec6d7c77b Remove no longer needed health check params 2015-09-07 18:34:50 +02:00
Raul Ochoa
875eccba62 Stop adding X-Cache-Channel header when no tables were identified in SQL query
Fixes #238 and fixes #157
2015-09-07 18:22:24 +02:00
Raul Ochoa
920cb350cc x-cache-channel tests 2015-09-07 18:09:42 +02:00
Raul Ochoa
a5d1d1d3bd Re-enable regression test for tables with (.) dots in names
Closes #224 after CDB_QueryTables returns named properly quoted
2015-09-07 17:10:24 +02:00
Raul Ochoa
0068322fe2 Upgrade CDB_QueryTables to use latest version 2015-09-07 17:10:24 +02:00
Raul Ochoa
a296121eb8 Merge pull request #249 from CartoDB/issue-206
Adds a custom log4js format function to log sql query from POST requests
2015-09-04 15:38:44 +02:00
Raul Ochoa
74619b38f5 Adds scenario to validate log is limited to 2000 chars 2015-09-04 12:45:51 +02:00
Raul Ochoa
335d71bc04 Adds a custom log4js format function to log sql query from POST requests
Tokens in log4js are not provided with request/response for context,
using a custom format function allow to access them

In the case of express logger token functions receive request/response
for context so it uses a custom token

Closes #206
2015-09-04 12:29:20 +02:00
Raul Ochoa
bb884b51a6 Disable regression test until CDB_QueryTablesText is fixed 2015-09-03 11:24:38 +02:00
Raul Ochoa
df589b5e85 Merge pull request #247 from CartoDB/last-modified-header
Set Last-Modified header based on affected tables
2015-09-03 09:30:50 +02:00
Raul Ochoa
3c0f9aaf17 Merge pull request #248 from CartoDB/issue-224
Adds regression test for issue #224
2015-09-02 17:18:10 +02:00
Raul Ochoa
0e07e39efc Adds regression test for issue #224 2015-09-02 17:09:22 +02:00
Raul Ochoa
f816093036 Set Last-Modified header based on affected tables
Closes #101
2015-09-02 16:25:56 +02:00
Raul Ochoa
1cad6aad02 Merge pull request #246 from CartoDB/health-check-no-results
Do not return results from health check
2015-08-28 18:50:40 +02:00
Raul Ochoa
c6c614b5bf Do not return results from health check
It also removed old dependencies and takes disabled file path in ctor.
2015-08-28 18:16:04 +02:00