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
Daniel Vaz Gaspar
8db419fe99
[database] Fix, Removes the limit for the page size ( #7987 )
...
Old FAB API had no limits by default, this will keep this behaviour
but only for this endpoint
2019-08-05 22:52:43 -07:00
Daniel Vaz Gaspar
0c817e5fa9
Bump FAB to 2.1.8 ( #7986 )
2019-08-05 22:52:17 -07:00
John Bodley
fdb62e9865
[flake8] Ignoring I202 ( #7988 )
2019-08-05 15:01:33 -07:00
Erik Ritter
d58dbad076
[DB Engine] Support old and new Presto syntax ( #7977 )
2019-08-05 11:56:56 -07:00
John Bodley
f7af50c399
[security] Adding docstrings and type hints ( #7952 )
2019-08-05 11:24:13 -07:00
Ville Brofeldt
b856666ae2
Remove collation info from MSSQL column type ( #7963 )
2019-08-05 17:08:58 +03:00
Ville Brofeldt
a1261d7f9a
Bump sqlparse to 0.3.0 ( #7973 )
...
* Black
* Bump sqlparse to 0.3.0
* Convert str.format() to f-string
2019-08-05 17:08:05 +03:00
Beto Dealmeida
b8ca0783ff
Fix for new Pandas API ( #7975 )
2019-08-02 15:28:39 -07:00
Gianluca Ciccarelli
e23920b8ba
7620: Start removing dependencies on requests ( #7643 )
...
* 7620: Start removing dependencies on requests
* Patch urllib.request.urlopen instead of requests.get
* Try to fix flake8
* More work on flake8 import errors
* First attempt at using urllib with cookies
* Fix pylint/flake8
* Fix test_deliver_slice_csv_attachment
* Fix test_deliver_slice_csv_inline
* Import requests and pydruid conditionally, remove dependency on prison
* Fix flake errors
* Fix load_examples
* Please flake
* Skip tests depending on optional deps
* Try to please flake
* Address review comments
* Remove Druid-related UI
* Revert "Remove Druid-related UI"
This reverts commit d7e0f166cc3f3dd2496b4a666e177f0c191aeb0f.
* Skip a few tests more
* Put imports in right order
* Apply black patch
* Please flake
* Please black, silence flake
* Use flake8 silencing the right way
* Add deps for CI
2019-08-02 10:01:28 -07:00
Ville Brofeldt
cbac428b28
Bump python requirements file ( #7965 )
...
* Bump requirements.txt
* Cap gunicorn to <19.9.0 due to X-Forwarded-Proto regression
* Remove python-dotenv from requirements-dev.txt
* Cap sqlparse due to regression in 0.3.0
2019-08-01 13:41:07 -07:00
Ville Brofeldt
1f121183fb
Use python3 for black to support py>=3.6 ( #7964 )
2019-08-01 18:06:43 +03:00
Beto Dealmeida
a09f258379
Fix createDatasource ( #7955 )
2019-08-01 11:01:46 +03:00
Beto Dealmeida
10f00cdde3
[fix] Isolate and improve performance on tagging system ( #7858 )
...
* Fix tag perf
* Add ASF header
* Make script idempotent
* Add CLI to sync tags
* Add missing file
* Merge heads
* Fix lint
* Remove script
2019-07-31 09:19:39 -07:00