Commit Graph

1401 Commits

Author SHA1 Message Date
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
Raul Ochoa
bb2cf83ff6 Upgrades cartodb-psql to 0.6.0 2015-08-04 15:35:31 +02:00
Raul Ochoa
8db6b88853 Update CDB_QueryTables to match current spec 2015-08-04 14:45:14 +02:00
Andrew Thompson
bd822900c1 Add doc Q&A about SQL injection and Postgres users 2015-07-27 19:29:59 -04:00
Raul Ochoa
283572c535 Stubs next version 2015-06-16 17:36:26 +02:00
Raul Ochoa
050a3addd3 Release 1.23.0 2015-06-16 17:35:09 +02:00
Raul Ochoa
62e7e1634f Use in memory sqlite databases for spatialite tests 2015-06-16 17:33:04 +02:00
Raul Ochoa
afdb385fcf Bumps versions for new SpatiaLite feature 2015-06-16 17:19:57 +02:00
Raul Ochoa
b0be80c622 Merge pull request #233 from CartoDB/undo-ogr-fake-tables
Undo ogr fake tables
2015-06-16 17:17:31 +02:00
Raul Ochoa
1c35eb057c Update news 2015-06-16 17:01:51 +02:00
Raul Ochoa
a297a14300 Revert "Uses tables ogr2ogr param to avoid heavy query on pg_class and friends"
This reverts commit b6e53f7326.
2015-06-16 16:58:22 +02:00
Raul Ochoa
b122503f67 Fix format 2015-06-16 16:54:07 +02:00
Raul Ochoa
2d197b0f13 Update news with latest PR 2015-06-16 16:53:12 +02:00
Raul Ochoa
a8316d50c1 Merge pull request #232 from CartoDB/ogr2ogr-command-via-config
Ogr2ogr command via config
2015-06-16 16:52:51 +02:00
Raul Ochoa
5dea85ed22 Merge pull request #231 from CartoDB/ogr2ogr-command-via-config
Ogr2ogr command via config
2015-06-16 16:51:14 +02:00
Raul Ochoa
8b6545b2a7 Update news 2015-06-16 16:48:29 +02:00
Raul Ochoa
e12a37328c Keep using ogr2ogr in test example config 2015-06-16 16:45:21 +02:00
Raul Ochoa
c842a3f8a8 Regenerate npm-shrinkwrap.json 2015-06-16 16:12:45 +02:00
Raul Ochoa
66eb846bfd Try to use ogr2ogr2 from ppa:cartodb/gis 2015-06-16 15:58:33 +02:00
Raul Ochoa
e9dda12ad3 Adds tests for big results in ogr formats 2015-06-16 15:54:13 +02:00
Raul Ochoa
93e965af29 Makes ogr2ogr command configurable so it's possible to change path/bin 2015-06-16 15:53:33 +02:00