Maxime Beauchemin
610b35a01b
docs: remove unused release instruction ( #8100 )
...
Turns out since we use `git archive`, there's no need for `git clean`
which was pretty disruptive.
2019-08-23 09:03:55 -07:00
friendzis
fd119c187e
Move Darwin-specific JS libs to optional ( #8093 )
2019-08-22 22:37:36 -07:00
serenajiang
e6956f84b4
[fix] checks for stopped queries ( #8097 )
2019-08-22 22:23:44 -07:00
Maxime Beauchemin
279307c602
fix: minor release/license related issues ( #8087 )
2019-08-22 18:16:12 -07:00
Maxime Beauchemin
763af85d04
CHANGELOG for 0.30...0.34 ( #8089 )
2019-08-22 18:15:49 -07:00
Krist Wongsuphasawat
0d76fc755c
feat: replace table and box plot vis with new plugins ( #8083 )
...
* add new chart plugins
* fix: pin aphrodite version
* fix: package
* fix: unit test dependencies
* fix: memory
2019-08-22 12:15:54 -07:00
Ville Brofeldt
fb51632e18
Add docstrings and typing to db_engine_specs and sql_parse ( #8058 )
...
* Add typing to db_engine_specs
* Add more type annotations and docstrings
* Add docstrings and typing to sql_parse and db_engine_specs
* Refine select_star
* Fix execute and add more docstrings
* Revert kwargs change from execute
* Remove redundant or
* Align view and table getter schema types
* Fix return type of latest_partition
* Remove some typing from presto
* Improve docstring for __extract_from_token
2019-08-22 06:29:32 +03:00
Grace Guo
40776bd547
[Feature] Dashboard filter indicators ( #7908 )
...
* dashboard filter indicators
* add/fix unit tests
2019-08-21 17:34:08 -07:00
aspedrosa
0fd7364503
Remove gevent installation as a separate layer ( #8078 )
2019-08-21 11:07:39 -07:00
serenajiang
638fbb1a5c
fix: handle case where result exists but corresponding query cannot be found ( #8037 )
...
* fix: handle case where result exists but query cannot be found
* changed error code to 404 for query not found
2019-08-20 18:30:33 -07:00
Dave Smith
995b96fc52
remove idna req from setup.py ( #8067 )
2019-08-20 18:04:59 -07:00
Beto Dealmeida
aae9b56232
Move more Presto nested types behind feature flag ( #8075 )
...
* Move more stuff behind ff
* Fix unit tests
* Fix more tests
* Fix lint
2019-08-20 16:10:55 -07:00
Maxime Beauchemin
d872511e2b
bump a set of test-related JS libs ( #8051 )
...
* bump a set of test-related JS libs
Mostly upgrading jest as I was trying to tackle issues related to
wrong source-maps reporting in jest. This addresses it
* Bumping more things
* lint
* using core-js/stable
* pointing to the right place
2019-08-20 15:32:50 -07:00
Grace Guo
319c1df120
[Explore view] Fix extra data fetch when user clicks Run Query ( #8070 )
2019-08-20 11:48:15 -07:00
fzzylogic
c97a71b6b9
Make package.json cross platform ( #8035 )
...
* Fix: Chain var declaration and webpack invocation
* enh: Add cross-env to make package.json work cross-platform
* Fix: Update lock-file for new package cross-env
* Chores: Update lock-file for new package cross-env
2019-08-20 00:57:41 -07:00
Kartik Khare
ae16e69ebf
Adding support for filter box in annotations ( #8057 )
...
* Adding support for filter box in annotations
* Fixing tox lint errors
* fixing lint errors
2019-08-20 00:56:04 -07:00
Maxime Beauchemin
4e7ea3f3e2
Improve birth example dashboard ( #8042 )
...
* Improve birth example dashboard
* Fix tests
* pylint
2019-08-18 22:36:27 -07:00
Grace Guo
51bd34704c
[sql lab] persist tables list in localStorage ( #8054 )
...
* [sql lab] persist tables list in localStorage
* persist ediotor panel size setting
2019-08-16 14:12:35 -07:00
John Bodley
46f4da5fbe
[viz] Revert dropna logic for pivot tables ( #8040 )
2019-08-16 11:25:57 -07:00
Beto Dealmeida
478d0969a8
Add feature flag for Presto expand data ( #8056 )
...
* Add feature flag for Presto expand data
* Fix unit tests
* Fix black
* Revert temporary file change
2019-08-15 20:10:05 -07:00
michellethomas
ef1d4a6aa1
Set disableErrorBoundary in SuperChart to fix chart error handling ( #8052 )
2019-08-15 14:42:03 -07:00
Maxime Beauchemin
5e0c91ef49
fix: onSave datasource raises React error ( #8049 )
...
* fix: datasource save raises React error
* add test
2019-08-15 14:13:18 -07:00
Ville Brofeldt
8773fdceb2
[bugfix] Fix deck_polygon metric bug and update examples chart ( #8025 )
...
* Fix deck_polygon bug and update examples chart
* Change js elevation to native ad-hoc metric
* Move scale from metric to native multiplier
* Remove redundant js_columns and change color scheme
2019-08-15 09:20:49 -07:00
Maxime Beauchemin
ed8bb1b694
fix: issues #8041 - bubble support for complex metrics ( #8044 )
2019-08-14 09:27:18 -07:00
Maxime Beauchemin
40c21dc1d7
Disable flaky cypress test ( #8039 )
...
ref: https://travis-ci.org/mistercrunch/superset/jobs/571524160
```
1) Dashboard top-level controls should allow dashboard level force refresh:
CypressError: Timed out retrying: expected '<li>' to have class 'disabled'
at Object.cypressErr (http://localhost:8081/__cypress/runner/cypress_runner.js:65283:11 )
at Object.throwErr (http://localhost:8081/__cypress/runner/cypress_runner.js:65248:18 )
at Object.throwErrByPath (http://localhost:8081/__cypress/runner/cypress_runner.js:65275:17 )
at retry (http://localhost:8081/__cypress/runner/cypress_runner.js:58816:16 )
at http://localhost:8081/__cypress/runner/cypress_runner.js:50924:18
at tryCatcher (http://localhost:8081/__cypress/runner/cypress_runner.js:127195:23 )
at Promise._settlePromiseFromHandler (http://localhost:8081/__cypress/runner/cypress_runner.js:125213:31 )
at Promise._settlePromise (http://localhost:8081/__cypress/runner/cypress_runner.js:125270:18 )
at Promise._settlePromise0 (http://localhost:8081/__cypress/runner/cypress_runner.js:125315:10 )
at Promise._settlePromises (http://localhost:8081/__cypress/runner/cypress_runner.js:125390:18 )
at Async._drainQueue (http://localhost:8081/__cypress/runner/cypress_runner.js:122119:16 )
at Async._drainQueues (http://localhost:8081/__cypress/runner/cypress_runner.js:122129:10 )
at Async.drainQueues (http://localhost:8081/__cypress/runner/cypress_runner.js:122003:14 )
at <anonymous>
```
2019-08-14 07:44:55 -07:00
semantiDan
a852eaaa59
Added WPSemantix to list of companies using Apache Superset in README.md file ( #8045 )
2019-08-14 17:28:03 +03:00
Grace Guo
613dcf5def
[fix] Allow dashboard viewer auto refresh dashboard ( #8014 )
2019-08-13 13:49:39 -07:00
serenajiang
17f0740692
Fix bug where lists in queries cannot contain multiple types ( #8032 )
...
* use set instead of sorted to check equality of lists
* run black
2019-08-13 23:06:44 +03:00
Kshira Saagar
075b5a5d33
Two more organisations using Superset - Zalora, GFG ( #8026 )
2019-08-12 22:37:11 -07:00
Erik Ritter
0754f294e9
[Dashboard] Hide slice titles when they're empty ( #8018 )
2019-08-12 21:55:46 -07:00
Maxime Beauchemin
5375745193
Improve release instructions ( #8016 )
2019-08-12 14:01:15 -07:00
Erik Ritter
f039e17cd3
[SQL Lab] Improve perf for filterable table rendering ( #8011 )
2019-08-12 12:24:45 -07:00
Tom Hunter
2476814a6a
[feat] Add d3 legend formatting for Arc, Polygon and Scatter deck.gl maps ( #7951 )
...
* Legend formatting for Arc, Polygon and Scatter
* fix typo
* refactor from d3-format to superset-ui
2019-08-10 18:55:56 -07:00
Arthur P
2ab8e15ddf
Fix: There was an issue fetching the favorite status of this dashboard #6824 ( #8013 )
...
Issue: When Superset is running behind a reverse proxy and the dashboard page is requested with HTTPS protocol, the frontend can't retrieve the favorite status of the dashboard and, instead, displays the following toast message: 'There was an issue fetching the favorite status of this dashboard.'
Cause: While the API exposes the /favestar/Dashboard/{id}/count/ endpoint, the frontend executes an API call to /favestar/Dashboard/{id}/count, which leads to a redirect to an endpoint with HTTP protocol
Fix: Call the correct endpoint
2019-08-09 15:44:38 -07:00
schoel-bis
6df2a713e4
Fix tooltips not visible for NVD3 charts on Firefox ( #7822 ) ( #7929 )
...
This bug was introduced by #7102
Using `position:absolute` on body gives `document.documentElement` a height of 0 which propagates to `clientHeight` on Firefox. This leads to a wrong calculation of the tooltip position in NVD3.
The solution proposed here is to use `min-height: 100vh` instead of the current technique for stretching the body element to the full window height, thus keeping body and html together.
2019-08-09 13:31:51 -07:00
semantiDan
aebffe0b44
Added better display of NULL values in FilterableTable (as in SQL Lab Results) ( #8003 )
...
* Added better display of NULL values in FilterableTable (Reults table as in SQL Lab results) and changed sorting order so that NULL values always come last
* fixed syntax according to elint recommendations
* changed code style and logic in getContentCell according to @etr2460 code review
* remvoved 'null-cell' class and replaced it with 'text-muted' as per @mistercrunch review
2019-08-09 19:07:59 +03:00
Dave Smith
9233a63a16
Event logger config takes instance instead of class ( #7997 )
...
* allow preconfigured event logger instance; deprecate specifying class
* add func docs and simplify conditions
* modify docs to reflect EVENT_LOGGER cfg change
* commit black formatting fixes and license header
* add type checking, fix other pre-commit failues
* remove superfluous/wordy condition
* fix flake8 failure
* fix new black failure
* dedent warning msg; use f-strings
2019-08-08 13:47:18 -07:00
Dave Smith
cd544fa6bc
Local config no longer fails to import silently ( #8006 )
...
* Local config no longer fails to import silently
* fix types, use f-strings
* fix unhelpful pylint import error
* tweaked comment
2019-08-08 13:36:27 -07:00
Daniel Vaz Gaspar
73cdad2375
[SQLLab] Fix, database api unlimited page size v2 ( #8002 )
...
* [database] Fix, Removes the limit for the page size, Bump FAB to 2.1.8
Old FAB API had no limits by default, this will keep this behaviour
but only for this endpoint
* [sqllab] Add test for database API
* [sqllab] Add test for database API
* [sqllab] Include page zero on request
* [sqllab] Fix, Black and requirements
* [sqllab] Make database API return unlimited results
* [sqllab] just a test
* [sqllab] Bump FAB to 2.1.9
* [sqllab] Remove unused import
2019-08-08 11:37:00 -07:00
Maxime Beauchemin
2f2a3b79b4
Setup FOSSA as part of CI ( #7999 )
...
* Setup FOSSA as part of CI
* Add comments and links to FOSSA docs on script
2019-08-07 21:08:10 -07:00
Matthew Mutiso
cbfd1302c0
Update to fix the broken blueprints link ( #7949 )
...
* Updated to fix the broken blueprints link
The current link is http://flask.pocoo.org/docs/0.12/blueprints/ which redirects to a non-existent page. The new link is https://flask.palletsprojects.com/en/1.1.x/tutorial/views/ .
* Link to the current Flask version(1.0.x)
2019-08-07 14:31:22 -07:00
Ville Brofeldt
8cd8ec16d5
Fix Pandas 0.24 DateOffset bug pt. 2 ( #7981 )
...
* Fix pandas 0.24 DateOffset bug
* Add try-catch for DateOffsets that don't support normalize
2019-08-07 14:17:23 -07:00
Erik Ritter
cd6de3a1d8
[Jinja] Make Presto template functions backwards compatible ( #7993 )
2019-08-07 09:35:16 -07:00
Grace Guo
b380879c41
[fix] reduce content in sql lab localStorage ( #7998 )
2019-08-06 21:23:40 -07:00
Maxime Beauchemin
af2b92d147
Fix #7984 ( #7985 )
...
See https://github.com/apache/incubator-superset/issues/7984 for more
details
2019-08-06 21:15:47 -07:00
Erik Ritter
e830474e5b
Revert "Bump FAB to 2.1.8 ( #7986 )" ( #7996 )
...
This reverts commit 0c817e5fa9
.
2019-08-06 16:56:02 -07:00
Erik Ritter
b62c122b4d
Revert "[database] Fix, Removes the limit for the page size ( #7987 )" ( #7995 )
...
This reverts commit 8db419fe99
.
2019-08-06 16:14:27 -07:00
Erik Ritter
4543898e29
Bump nvd3 charts for tooltip fix ( #7994 )
2019-08-06 15:23:54 -07:00
John Bodley
c6867d22b9
[init] Setting up cache before registering blueprints ( #7992 )
...
* [init] Setting up cache before registering blueprints
* Update __init__.py
2019-08-06 14:45:39 -07:00
Krist Wongsuphasawat
e455f1d86a
Bump @superset-ui versions ( #7989 )
...
* starting
* fix: upgrade chart error
* fix: address comments
* fix: package lock
* fix: bump typescript version
2019-08-06 10:41:37 -07:00