Commit Graph

971 Commits

Author SHA1 Message Date
Raul Ochoa
f3ab53e0bc Merge branch 'master' into coverage 2016-01-22 12:27:33 +01:00
Raul Ochoa
9ef8179cb3 Define shell as bash 2016-01-22 12:22:54 +01:00
Raul Ochoa
c096d843a2 Adds coverage tool 2016-01-22 12:18:20 +01:00
Raul Ochoa
99e7f1cdf2 Ignore npm debug log 2016-01-22 12:13:01 +01:00
Raul Ochoa
a7a8ddcf53 Makefile getting tests with find command 2016-01-22 12:11:04 +01:00
Carlos Matallín
35931f1432 Merge pull request #258 from CartoDB/newdocs
docs: split API.md in different files
2016-01-07 15:47:20 +01:00
Carlos Matallín
f78b7dea57 Merge branch 'master' into newdocs 2015-11-11 18:09:58 +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
10caf54d8d Merge branch 'master' into newdocs 2015-11-10 15:38:54 +01: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
Carlos Matallín
6e3ea96c7e docs: tips-and-tricks 2015-10-28 14:44:26 +01:00
Carlos Matallín
23c8749d03 docs: making calls 2015-10-28 14:31:42 +01:00
Carlos Matallín
8bde217e7c doc: handling_geospatial_data 2015-10-28 12:37:51 +01:00
Carlos Matallín
450ea8f7e5 doc: authentication 2015-10-28 12:35:07 +01:00
Carlos Matallín
981f60d40f newdocs: relative links 2015-10-22 13:25:47 +02:00
Carlos Matallín
191313fc3c docs: split API.md in different files 2015-10-22 11:43:14 +02: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
Andrew Thompson
91afe720bc Merge pull request #237 from CartoDB/docs-injection-psql-users
Add doc Q&A about SQL injection and Postgres users
2015-08-04 17:06:11 -04:00
Andrew Thompson
ba393101a2 remove sales info and add api key regeneration 2015-08-04 17:05:05 -04:00
Raul Ochoa
9b5a729a41 Stubs next version 2015-08-04 16:33:36 +02:00
Raul Ochoa
6d5e11c8d3 Release 1.24.0 2015-08-04 16:32:09 +02:00
Raul Ochoa
686976fbec Merge pull request #243 from CartoDB/issue-241
Remove client from pool after error happens
2015-08-04 16:28:52 +02:00
Raul Ochoa
d42e5a6b75 Do not expose remove from pool after query error as a config option 2015-08-04 16:23:36 +02:00
Raul Ochoa
7c696317d0 New option to remove client from pool after error happens
This help to avoid issues with transactions.

Closes #241
2015-08-04 15:53:50 +02:00
Raul Ochoa
219dfe5ecd Merge pull request #242 from CartoDB/upgrade-cartodb-psql
Upgrades cartodb-psql to 0.6.0
2015-08-04 15:45:28 +02:00