Arik Fraimovich
af8bdf4fd1
Fix: remove unneeded calls to app_context()
...
When the extra app_context was popped from the stack, it was
triggering flask-sqlalchemy's teardown handler, which was removing
the session causing objects to become detached before they should
be.
2017-05-29 16:41:42 +03:00
Arik Fraimovich
764e347b74
Merge pull request #1736 from shimpeko/extend_redis_expiry_time
...
Extend expiry time to prevent duplicate execution
2017-05-23 10:53:10 +03:00
Arik Fraimovich
2f1b1a69bd
Add CHANGELOG entry.
2017-05-23 10:52:54 +03:00
Arik Fraimovich
b2fea428dd
Fix: use correct APIs
2017-05-23 09:19:14 +03:00
Shimpei Kodama
1f1d7996ec
Shorten celery task expiry time to avoid too many redis objects
2017-05-23 12:24:03 +09:00
Arik Fraimovich
47dc9a136f
Merge pull request #1779 from getredash/patches
...
Add: "dumb" recents option
2017-05-22 23:15:38 +03:00
Arik Fraimovich
6ed86d9ce5
Merge pull request #1778 from getredash/patches
...
Upgrade Snowflake connector
2017-05-22 14:26:57 +03:00
Arik Fraimovich
8e760705a6
Add: "dumb" recents option
...
In some cases showing recent queries/dashboards based on events becomes
too "expensive" in terms of database resources. This is a fallback option
to show recently updated queries/dashboards instead.
2017-05-22 14:26:26 +03:00
Arik Fraimovich
9c606b9660
Update Snowflake connector
2017-05-22 14:18:34 +03:00
Arik Fraimovich
f65b3223f4
Remove chatty log lines
2017-05-22 14:17:27 +03:00
Arik Fraimovich
e85e962466
Update CHANGELOG and bump version
2017-05-18 15:37:18 +03:00
Arik Fraimovich
a7df809c4d
Merge pull request #1774 from getredash/patches
...
Scheduled queries improvements:
2017-05-18 15:17:03 +03:00
Arik Fraimovich
beb29c66c2
Scheduled queries improvements:
...
* Schedule queries with parameters using the default value.
* Keep track of last execution (including failed ones) for scheduling purposes.
2017-05-18 15:10:19 +03:00
Arik Fraimovich
749171b186
Merge pull request #1746 from alexanderlz/master
...
[Data Sources] Add: MemSQL query runner
2017-05-18 14:01:53 +03:00
Arik Fraimovich
40a8187b1e
Merge pull request #1773 from getredash/patches
...
Split refresh schemas into separate tasks and add a timeout.
2017-05-18 14:00:26 +03:00
Alexander Leibzon
6b7234c910
fixes
2017-05-18 14:00:13 +03:00
Arik Fraimovich
3807510bfe
Split refresh schemas into separate tasks and add a timeout.
2017-05-18 13:39:34 +03:00
Arik Fraimovich
3650617928
Merge pull request #1772 from getredash/patches
...
Upgrade Sentry client.
2017-05-18 13:33:26 +03:00
Arik Fraimovich
d60843fa5b
Sentry: don't install logging hook.
2017-05-18 13:26:36 +03:00
Arik Fraimovich
5a5917a04a
Sentry: upgrade client version.
2017-05-18 13:24:53 +03:00
Arik Fraimovich
ae642fddf7
Merge pull request #1771 from getredash/patches
...
Show API key in a dialog instead of alert
2017-05-18 13:21:28 +03:00
Arik Fraimovich
b4a8fb76de
Merge pull request #1770 from getredash/patches
...
UI changes
2017-05-18 12:58:58 +03:00
Arik Fraimovich
b885ccb09c
Show API Key in a modal dialog instead of alert.
2017-05-18 11:53:16 +03:00
Arik Fraimovich
b70c329307
Dynamic form: change order of name and type (type first now).
2017-05-18 11:37:54 +03:00
Arik Fraimovich
1aa54543ed
Retry reload of query results if it had an error
2017-05-18 11:28:40 +03:00
Arik Fraimovich
e050c085df
Counter: support negative indexes to iterate from the end of the results.
2017-05-18 11:28:25 +03:00
Arik Fraimovich
62962d28ca
Only split columns with __/:: that end with filter/MultiFilter.
2017-05-18 11:15:21 +03:00
Arik Fraimovich
d7c502eb50
Query results: better type guessing on the client side.
2017-05-18 11:13:11 +03:00
Arik Fraimovich
dd7841dc15
Merge pull request #1769 from getredash/patches
...
Improvements to background jobs
2017-05-18 11:09:35 +03:00
Arik Fraimovich
14c751b39e
Cohort: handle the case where the value/total might be strings.
2017-05-18 11:07:39 +03:00
Arik Fraimovich
f4297ff3b0
Handle the case when the task object might not exist.
2017-05-18 09:36:21 +03:00
Arik Fraimovich
79ffbbbe4b
Don't include paused datasource's queries in outdated queries count.
2017-05-18 09:34:32 +03:00
Arik Fraimovich
4c1cb037a0
Include Celery task name in statsd metrics.
2017-05-18 09:33:28 +03:00
Arik Fraimovich
f679dc7562
Put a limit on how many keys we remove at a time to make sure it
...
can handle large lists.
2017-05-18 09:31:04 +03:00
Arik Fraimovich
76470b9f09
Fix: don't remove locks for queries with task status of PENDING.
...
It's possible the Celery metadata object was expired, but the task
is still running (which will result in PENDING status when querying
the AsyncResult object).
2017-05-18 09:25:44 +03:00
Arik Fraimovich
3edec570f1
Merge pull request #1767 from getredash/patches
...
Google Spreadsheets: add timeout to request.
2017-05-17 18:53:44 +03:00
Arik Fraimovich
a2e07b46f2
Merge pull request #1756 from deecay/dashboard-list-sort
...
Change: Sort dashboard-list in /dashboards
2017-05-17 18:36:58 +03:00
Arik Fraimovich
326a80895c
Merge pull request #1615 from deecay/pivot_hide_control
...
Add: option to hide pivot table controls
2017-05-17 18:35:31 +03:00
Arik Fraimovich
d200cc7405
Merge pull request #1690 from deecay/sqlite-unicode-error
...
Fix: SQLite utf-8 error messages
2017-05-17 18:34:10 +03:00
Arik Fraimovich
c4dff40e1d
Merge pull request #1760 from rockwotj/master
...
Add: static enum parameter type.
2017-05-17 18:17:56 +03:00
Arik Fraimovich
21636c4d65
Rename Enum to Dropdown List.
2017-05-17 18:17:08 +03:00
Arik Fraimovich
52084c322f
Google Spreadsheets: add timeout to request.
2017-05-17 18:15:04 +03:00
Arik Fraimovich
5fd2dadef4
Merge pull request #1765 from getredash/patches
...
Multiple improvements to data sources (MySQL, InfluxDB, BigQuery, MongoDB, TreasureData, Postgres, ElasticSearch, MSSQL, Google Spreadsheets)
2017-05-16 12:08:23 +03:00
Arik Fraimovich
f312e89323
Google Analytics: support for mcf queries & better errors.
2017-05-16 11:25:11 +03:00
Tyler Rockwood
0046cfa3ee
Make it work
2017-05-15 14:41:20 -07:00
Tyler Rockwood
4ecc8da398
Addressing comments
2017-05-15 13:52:12 -07:00
Arik Fraimovich
382431e34b
MySQL: support for RDS MySQL and SSL
2017-05-15 17:22:55 +03:00
Arik Fraimovich
6023dc5f3d
MySQL: option to hide SSL settings.
2017-05-15 17:15:11 +03:00
Arik Fraimovich
2d38b38a7d
Google Spreadsheets: handle distant future dates.
2017-05-15 16:55:57 +03:00
Arik Fraimovich
3513d84bb8
Less verbose logging in data sources.
2017-05-15 16:53:47 +03:00