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 |
|
Raul Ochoa
|
131d798653
|
Change interface to return also authenticated connection params
|
2016-01-28 14:18:10 +01:00 |
|
Raul Ochoa
|
235e7f9bc1
|
Rename method to match returning connection params behaviour
|
2016-01-28 14:14:31 +01:00 |
|
Raul Ochoa
|
023d06fd19
|
Affected tables and last modified behind QueryTablesApi
It handles the internal cache and exposes an unified result
|
2016-01-28 14:08:18 +01:00 |
|
Raul Ochoa
|
7dad90a108
|
Remove unused dependencies from job controller
|
2016-01-28 13:10:21 +01:00 |
|
Raul Ochoa
|
98f697849a
|
Remove select permission from CDB_TableMetadata on publicuser
Some tests will start to fail
|
2016-01-28 12:36:06 +01:00 |
|
Raul Ochoa
|
31ca347dd0
|
Fix style
|
2016-01-28 12:33:57 +01:00 |
|
Raul Ochoa
|
3be769a67e
|
Fix style
|
2016-01-28 12:33:32 +01:00 |
|
Raul Ochoa
|
9881a6f7d4
|
Use readonly flag to run affected tables query
|
2016-01-28 12:33:00 +01:00 |
|
Raul Ochoa
|
329f03a196
|
Fix release notes for 1.25.0
|
2016-01-27 17:57:12 +01:00 |
|
Daniel García Aubert
|
0e14251615
|
Stubs next version
|
2016-01-26 14:35:02 +01:00 |
|
Daniel García Aubert
|
217017a2a6
|
Release 1.25.0
|
2016-01-26 14:29:08 +01:00 |
|
Daniel
|
f6e3cdfadf
|
Merge pull request #261 from CartoDB/batch-api
Batch API
|
2016-01-26 13:16:14 +01:00 |
|
Daniel García Aubert
|
c8dc2b3dc0
|
Removed possible reenqueued jobs in tests because of draining.
|
2016-01-26 12:29:04 +01:00 |
|
Daniel García Aubert
|
bd2ec0e77f
|
Set pg_sleep to 3 seconds in test.
|
2016-01-26 12:13:04 +01:00 |
|
Daniel García Aubert
|
1857d5d456
|
Made all test ready to run
|
2016-01-26 11:53:36 +01:00 |
|
Daniel García Aubert
|
458d762f9f
|
Revernting last changes:
- Short option in mocha
- Using batch event emmit to check job status in test
|
2016-01-26 11:43:30 +01:00 |
|
Daniel García Aubert
|
aed83ed6b0
|
Added short option to mocha test runner
|
2016-01-26 11:33:37 +01:00 |
|
Daniel García Aubert
|
276bc679e6
|
Changed test to be responsive instead pulling every 50 milliseconds
|
2016-01-26 11:04:10 +01:00 |
|
Daniel García Aubert
|
da16f32789
|
Added uknown status to jobs when drain fails
|
2016-01-25 20:07:41 +01:00 |
|
Daniel García Aubert
|
a960bd18f1
|
Dranied jobs in hook 'after'
|
2016-01-25 17:30:07 +01:00 |
|
Daniel García Aubert
|
7971bcf86b
|
Improved acceptance test for batch api
|
2016-01-25 16:44:00 +01:00 |
|
Daniel García Aubert
|
e9bd93cf3f
|
Now batch service is linked to express app in order to make it accesible from main app module to expose drain mechanism
|
2016-01-25 16:28:19 +01:00 |
|
Daniel García Aubert
|
1e49fbc33d
|
Stopped batch service when draining
|
2016-01-25 15:32:00 +01:00 |
|
Daniel García Aubert
|
20fd536659
|
Now batch stop is synchronous, changed signature in test.
Fixed minor issue when draining the last job, queue is got before cancel the job.
|
2016-01-25 14:51:37 +01:00 |
|
Daniel García Aubert
|
f2ea01f627
|
Removed unnecessary check in job controller
|
2016-01-25 14:50:43 +01:00 |
|
Daniel García Aubert
|
c540899580
|
Implemented unit test for user indexer in batch service
|
2016-01-25 10:47:21 +01:00 |
|
Daniel García Aubert
|
e6f714a51b
|
Implemented some new unit test
|
2016-01-22 19:31:25 +01:00 |
|
Daniel García Aubert
|
cbe16cf8c4
|
Merge branch 'batch-api' of github.com:CartoDB/CartoDB-SQL-API into batch-api
|
2016-01-22 18:24:06 +01:00 |
|
Daniel García Aubert
|
cb638bb0fe
|
Fixed issue with Postgres error codes, implemented some test for job controller
|
2016-01-22 18:22:21 +01:00 |
|
Daniel García Aubert
|
2da35ac968
|
Merge branch 'master' of github.com:CartoDB/CartoDB-SQL-API into batch-api
|
2016-01-22 13:09:20 +01:00 |
|
Daniel García Aubert
|
6d797d8ac4
|
Merge branch 'batch-api' of github.com:CartoDB/CartoDB-SQL-API into batch-api
|
2016-01-22 12:45:04 +01:00 |
|
Raul Ochoa
|
c51fcb77da
|
Merge branch 'master' into batch-api
Conflicts:
Makefile
package.json
|
2016-01-22 12:44:10 +01:00 |
|
Daniel García Aubert
|
5c4d239467
|
Fixed unit test for job queue and moved isJobFound function as private method in job backend
|
2016-01-22 12:43:41 +01:00 |
|
Raul Ochoa
|
f1a56cd5f0
|
Merge pull request #263 from CartoDB/coverage
Adds coverage tool
|
2016-01-22 12:41:08 +01:00 |
|
Raul Ochoa
|
f8ef4c1d29
|
Adds batch as directory to check with jshint
|
2016-01-22 12:29:12 +01:00 |
|