Commit Graph

3508 Commits

Author SHA1 Message Date
Waldemar Hummer
91a46ea1bb add optimistic locking for concurrent changes to queries by different users 2016-10-24 12:33:29 +03:00
Waldemar Hummer
903ba0c1e0 add backend API and tests for managing access permissions. 2016-10-24 12:33:29 +03:00
Tatyana Tychshenko
2a688200be UI for sharing edit permissions 2016-10-24 12:33:29 +03:00
Arik Fraimovich
37dff5f0a4 Merge pull request #1360 from shinji19/hotfix/mysql_connection_test
Fix: connection test was broken for MySQL
2016-10-24 12:09:07 +03:00
ichihara
6397b8ca1f fix variable name 2016-10-24 18:01:46 +09:00
Arik Fraimovich
360028c01f Merge pull request #1359 from laughingman7743/fix_schema_loading_query
Fix: schema loading query for Hive was wrong for non default schema
2016-10-23 16:12:42 +03:00
laughingman7743
6a42daffe2 Fix schema loading query for Hive query runner 2016-10-22 10:06:18 +09:00
Arik Fraimovich
7ee41d41b5 Merge pull request #1358 from getredash/add_user_id_to_run_query
Fix: make sure all calls to run_query updated with new parameter
2016-10-21 21:54:03 +03:00
Arik Fraimovich
c138d0592a Fix: make sure all calls to run_query updated with new parameter 2016-10-21 19:15:50 +03:00
Arik Fraimovich
3db0eea921 Merge pull request #1341 from zoetrope/specify-nameid-format-in-saml
Add: support for specifying SAML nameid-format
2016-10-21 08:17:11 +03:00
zoetrope
9ce211bf09 add environment variable name in doc 2016-10-21 13:58:27 +09:00
zoetrope
5610ce1721 specify nameid-format in SAML authentication 2016-10-21 13:58:12 +09:00
zoetrope
67528eeb73 Merge remote-tracking branch 'upstream/master' 2016-10-21 13:09:43 +09:00
Arik Fraimovich
880627c69c Merge pull request #1355 from getredash/add_user_id_to_run_query
Change: pass the user object to the run_query method
2016-10-21 00:06:05 +03:00
Arik Fraimovich
ae2cd5363f Change: pass the user object to the run_query method
This to allow different use cases like checking permissions
based on who is currently running the query.
2016-10-20 23:42:25 +03:00
Arik Fraimovich
b0ecd0e9a0 Merge pull request #1343 from zoetrope/use-local-metadata-in-saml
Add: support for local SAML metadata file
2016-10-20 15:39:34 +03:00
Arik Fraimovich
23c605b149 Merge pull request #1342 from zoetrope/add-entity-id-in-saml
SAML: specify entity id
2016-10-20 15:38:39 +03:00
Arik Fraimovich
464b8368bf Merge pull request #1301 from washort/connection-test
Add: "test connection" button for data sources
2016-10-20 10:21:31 +03:00
Arik Fraimovich
cb0ea7b63e Show spinner while testing connection 2016-10-20 10:11:16 +03:00
Arik Fraimovich
ef07388d2a Allow testing connection only after saving 2016-10-20 10:11:16 +03:00
Arik Fraimovich
8464d8c64a Fix the way we were calling the test API -
Previously it was overriding the content of $scope.dataSource and
resulting in a broken form.

Also updated the messages.
2016-10-20 10:11:16 +03:00
Arik Fraimovich
37a02bfe37 Make the DataSourceTest api more consistent with other APIs. 2016-10-20 10:11:16 +03:00
Arik Fraimovich
41f7791c87 Make the DataSourceList#get call more robust 2016-10-20 10:10:42 +03:00
Arik Fraimovich
9041ccabd3 Change: update Raven version (5.27.0 had a bug) 2016-10-20 10:10:42 +03:00
Arik Fraimovich
d4a1a5b239 Update CSS files in embed.html 2016-10-20 10:10:42 +03:00
Arik Fraimovich
cf7ed8fae7 Change: catch all exceptions from query runners 2016-10-20 10:10:42 +03:00
Arik Fraimovich
f63d43c3cf *Don't* anotate MSSQL queries.. 2016-10-20 10:10:42 +03:00
Arik Fraimovich
aec38614c0 Change: make visualization embeds more printer friendly 2016-10-20 10:10:42 +03:00
Arik Fraimovich
459a25bedd Revert settings screen menu to simple mode to allow extending it 2016-10-20 10:10:42 +03:00
Arik Fraimovich
14e024bca8 Add: allow changing alert email subject.
Fixes #1144.
2016-10-20 10:10:42 +03:00
Arik Fraimovich
fc8985f689 Change: allow specifying recipient address when sending email test message.
Closes #1224.
2016-10-20 10:10:42 +03:00
Arik Fraimovich
cecc1a9462 Fix: 0 is falsy, so need to check differently if there is value defined. 2016-10-20 10:10:42 +03:00
Arik Fraimovich
fe6497dfe7 Add: control over y axis min/max values 2016-10-20 10:10:42 +03:00
Arik Fraimovich
79df2b8d22 Add option to change the map tile layer 2016-10-20 10:10:42 +03:00
Arik Fraimovich
ef6a543850 Use group color for the marker-cluster 2016-10-20 10:10:42 +03:00
Arik Fraimovich
c17a6956dc Change: upgrade Python packages
- pytz
- funcy
- raven (Sentry client)
- xlsxwriter
2016-10-20 10:10:42 +03:00
Arik Fraimovich
6775f01684 Celery: Upgrade Celery to more recent version.
This might help with worker stopping to take new tasks after some time.

Closes #1258.
2016-10-20 10:10:42 +03:00
Arik Fraimovich
3a4754303d Change: upgrade Requests to latest version.
Closes #643.
Related #1258.
2016-10-20 10:10:42 +03:00
Arik Fraimovich
f9824675f1 Fix: Redis memory leak.
We were appending new QueryTaskTracker ids to query_task_trackers sorted set
but we were never removing them...

Also removed the migration to create index on org_id as it created by default
by Peewee for foreign keys.
2016-10-20 10:10:42 +03:00
Arik Fraimovich
42ae78a017 Add: support for snapshot generation service 2016-10-20 10:10:42 +03:00
Arik Fraimovich
f56cbf051c Fix: queries API was doing N+1 queries in most cases 2016-10-20 10:10:42 +03:00
Arik Fraimovich
ef80fb1d1a Change: add more logging and information for refresh schemas task 2016-10-20 10:10:42 +03:00
Arik Fraimovich
b92f22c36e Add: collect runtime metrics for Celery tasks 2016-10-20 10:10:42 +03:00
Arik Fraimovich
fde0ba1503 Add: feature toggle to control if to report query results count 2016-10-20 10:10:42 +03:00
Arik Fraimovich
c8b62755d0 Change: remove deprecated settings 2016-10-20 10:10:42 +03:00
Arik Fraimovich
7de2d6c101 Only show BigQuery GCE option when on a GCE instance 2016-10-20 10:10:42 +03:00
Arik Fraimovich
8cc4e2bee7 Add: support for loading BigQuery schema 2016-10-20 10:10:42 +03:00
Arik Fraimovich
7b0f5a195e Add: support MongoDB SSL connections 2016-10-20 10:10:42 +03:00
Arik Fraimovich
0d8ee9ced7 Change: more flexible column width calculation 2016-10-20 10:10:42 +03:00
Arik Fraimovich
838c211198 Add: additional configuration for Celery jobs 2016-10-20 10:10:42 +03:00