Commit Graph

1138 Commits

Author SHA1 Message Date
dgaubert
ed070e3040 Used SCAN instead of KEYS for looking for queues when Batch API starts 2016-04-01 15:03:32 +02:00
dgaubert
e8a44136c5 Now Batch API looks for queues with jobs to consume at service initialization time 2016-03-31 17:37:35 +02:00
csobier
c5610452f9 Merge pull request #281 from CartoDB/docs-753-move-error-codes
updated description about SQL response errors
2016-03-29 07:57:33 -04:00
csobier
de6f12b9bc updated description about SQL response errors 2016-03-28 12:58:44 -04:00
Raul Ochoa
dbc7e27f94 Merge pull request #278 from CartoDB/skip-query-tables-cache
Skip query tables cache for authenticated requests
2016-03-10 19:22:05 +01:00
Raul Ochoa
66cd1f400f Skip query tables cache for authenticated requests 2016-03-10 19:20:56 +01:00
Alejandro Martínez
b453f2b2d0 Update shrinkwrap 2016-03-08 16:25:17 +01:00
Alejandro Martínez
ffb1afb962 Release 1.26.0 2016-03-08 16:17:35 +01:00
Alejandro Martínez
e100cfb584 Merge pull request #273 from CartoDB/new_querytables
Use node-cartodb-querytables library and add Surrogate-Keys
2016-03-08 15:33:04 +01:00
Raul Ochoa
5ebc8e43d5 Start hits=0 as first time is not a hit 2016-03-08 14:50:08 +01:00
Raul Ochoa
b8460d033e Add a cache decorator over QueryTables 2016-03-08 14:48:56 +01:00
Raul Ochoa
69fa13ab50 Do not track CDB_ sql function files 2016-03-08 14:09:15 +01:00
Raul Ochoa
dbe033112d Rethrow error but do not fail when getting affected tables 2016-03-08 14:00:31 +01:00
Daniel García Aubert
9e67d21a05 Passed test 2016-03-02 10:55:35 +01:00
Daniel García Aubert
fbaebfe8f2 Fixed weird message in Batch SQL API 2016-03-02 10:31:14 +01:00
Alejandro Martínez
9262223de4 Add Surrogate-key specs 2016-02-24 11:44:27 +01:00
Alejandro Martínez
cd593e12ce Join all Surrogate-Keys in one line 2016-02-24 11:43:43 +01:00
Alejandro Martínez
7d024dbf3f Fix include in query_controller 2016-02-22 19:10:59 +01:00
Alejandro Martínez
613cdeffdd Rename node-cartodb-query-tables to cartodb-query-tables 2016-02-22 19:08:29 +01:00
Alejandro Martínez
5411aa3a01 Use Date.now() fallback value for getLastUpdatedTime 2016-02-22 19:08:04 +01:00
Alejandro Martínez
2c4b659100 Properly discard errors fetching updated tables 2016-02-22 19:07:41 +01:00
Alejandro Martínez
15f6d1fc1b Update shrinkwrap 2016-02-22 12:51:11 +01:00
Alejandro Martínez
4be3b8e47c Fix package.json 2016-02-22 12:37:13 +01:00
Alejandro Martínez
5e06711b4b Use node-cartodb-querytables library 2016-02-22 12:24:05 +01:00
Raul Ochoa
028e0d1553 Add a valid SPDX license expression 2016-02-04 15:23:34 +01:00
Raul Ochoa
355c28fa77 Stubs next version 2016-02-02 01:30:12 +01:00
Raul Ochoa
84a40dfa86 Release 1.25.3 2016-02-02 01:28:51 +01:00
Raul Ochoa
f2406ee131 Update news 2016-02-02 01:25:58 +01:00
Raul Ochoa
6259174f3e Merge pull request #269 from CartoDB/query-tables-api-affected-tables-cache
QueryTablesApi caches affected tables and retrieves last modification
2016-02-02 01:24:21 +01:00
Raul Ochoa
15f90c1a78 QueryTablesApi only caches affected tables and always retrieve last modification 2016-02-02 01:16:24 +01:00
Raul Ochoa
8130d1fc6d Stubs next version 2016-02-01 17:59:12 +01:00
Raul Ochoa
cd03229dcf Release 1.25.2 2016-02-01 17:57:35 +01:00
Raul Ochoa
e0ecf31ae7 Update news 2016-02-01 17:56:53 +01:00
Raul Ochoa
e02e7e2f88 Merge pull request #268 from CartoDB/skip-query-tables-api-cache
Skip query-tables-api for authenticated requests
2016-02-01 17:51:57 +01:00
Raul Ochoa
c41d4550ce Fix style 2016-02-01 17:22:51 +01:00
Raul Ochoa
9deab814c9 Skip query-tables-api for authenticated requests 2016-02-01 16:53:28 +01:00
Raul Ochoa
9b0a3b190c Fix async-queue version and regenerate npm-shrinkwrap.json 2016-01-28 16:43:00 +01:00
Daniel García Aubert
e1e6a56277 Merge branch 'master' of github.com:CartoDB/CartoDB-SQL-API 2016-01-28 16:33:10 +01:00
Daniel García Aubert
a68d32e0ab Removed unused module in dev dependencies in package.json 2016-01-28 16:32:08 +01:00
Raul Ochoa
1b4f2ac7f3 Stubs next version 2016-01-28 16:19:10 +01:00
Raul Ochoa
7d3dcc181f Release 1.25.1 2016-01-28 16:01:07 +01:00
Raul Ochoa
c94d9fae7e Merge pull request #266 from CartoDB/fix-last-modified-header
Fix X-Cache-Channel generation when request are not authenticated
2016-01-28 15:47:27 +01:00
Raul Ochoa
24ecf130a1 Namespace queries so two users don't share results
For instance 'select * from table' should result in different affected
tables (schema+table) depending on the database.
2016-01-28 15:38:08 +01:00
Raul Ochoa
1bacae3621 Merge branch 'master' into fix-last-modified-header
Conflicts:
	app/services/user_database_service.js
2016-01-28 14:59:31 +01:00
Raul Ochoa
65bcdad657 Fix cyclomatic complexity 2016-01-28 14:48:12 +01:00
Raul Ochoa
7774c10c66 Remove commented out code 2016-01-28 14:44:50 +01:00
Raul Ochoa
fb352b1796 Update news 2016-01-28 14:44:42 +01:00
Raul Ochoa
86ecc3ad0a Implements authDbParams interface
Uses user and pass from redis and relies on rest of params prepared
for normal dbParams
2016-01-28 14:38:02 +01:00
Raul Ochoa
e70a21a2b4 Adds documentation about values passed over callback in getConnectionParams 2016-01-28 14:25:03 +01:00
Raul Ochoa
a654c90b6d X-Cache-Channel generation only requires affected tables
mayWrite is redundant, and it's not its responsibility
2016-01-28 14:18:38 +01:00