Commit Graph

7816 Commits

Author SHA1 Message Date
Beto Dealmeida 55d0371b92
fix: GSheets supports JOINs (#15487) 2021-07-01 07:28:28 -07:00
Mironov Danil 665459fbca
feat(native-filters): add null option to value filter (#15419)
* fix: add null var to native filter (#15291)

* small fix

* refactoring code

* restructure the JS code

* update testcase
2021-07-01 16:06:10 +03:00
Kamil Gabryjelski 0ff3253afd
fix(native-filters): chartsInScope were not recalculated in some cases (#15498)
* fix(native-filters): chartsInScope were not recalculated in some cases

* Small refactor
2021-07-01 14:47:14 +02:00
Étienne Boisseau-Sierra baf42bc2c5
docs: improve docs on running tests locally (#14102)
* Fix missing items in ToC

Thanks to whatever autoformatting tool was running (:

Signed-off-by: Étienne Boisseau-Sierra <etienne.boisseau-sierra@unipart.io>

* Fix minimal Python version required

Currently Python 3.7 is still supported by Superset — cf.
4b23d0ecca/setup.py (L160)

I assue it is thus safe to run the test with Py3.7.

Signed-off-by: Étienne Boisseau-Sierra <etienne.boisseau-sierra@unipart.io>

* List MySQL/MariaDB as OS dependecy for test

As raised in issue #14052, MySQL (or MariaDB) is required for being able
to install the Python requirements.
(I assume due to `mysqlclient` dependency — cf.
https://github.com/apache/superset/blob/master/requirements/development.txt#L23)

Signed-off-by: Étienne Boisseau-Sierra <etienne.boisseau-sierra@unipart.io>

* Fix which dependencies are installed for tests

To install `tox` (for running the test suite), we want to install the…
testing dependencies, rather than “simply” the local ones.

Note that the `requirements/testing` is a superset of the
`requirements/local`:
https://github.com/apache/superset/blob/master/requirements/testing.txt
vs https://github.com/apache/superset/blob/master/requirements/local.txt

Linked to issue #14052

Signed-off-by: Étienne Boisseau-Sierra <etienne.boisseau-sierra@unipart.io>

* Emphasize how to name demo admin user

Related to #14052

Signed-off-by: Étienne Boisseau-Sierra <etienne.boisseau-sierra@unipart.io>

* Fix max Python version required

Indeed, Python 3.9 isn't yet supported (cf. e.g., issue #14159).

Signed-off-by: Étienne Boisseau-Sierra <etienne.boisseau-sierra@unipart.io>
2021-07-01 14:11:03 +03:00
Max Voitko a3a34773ae
Update ingress api version to v1 (#15273)
extensions/v1beta1 Ingress is deprecated in v1.14+, unavailable in v1.22+;
networking.k8s.io/v1 Ingress should be used
2021-07-01 14:06:22 +03:00
Yongjie Zhao 285c1b5d22
fix: skip set and log when NullCache (#15493) 2021-07-01 14:04:46 +03:00
Ville Brofeldt f286647140
chore(native-filters): remove instant filtering option (#15365)
* chore(native-filters): remove instant filtering option

* fix test
2021-07-01 13:38:56 +03:00
Einat Bertenthal e5d4765986
feat(dashboard-groupby): group by - add ability to exclude columns (#15454)
* feat: group by - add ability to exclude columns

* fix: create column select in a more generic way

* fix: MR comments

* fix: remove description

* fix: multiple value bug in column select

* fix: initial value bug

* fix: lint

* fix: unit tests

* fix: MR comments

* fix: MR comment

Co-authored-by: einatnielsen <einat.bertenthal@nielsen.com>
2021-07-01 13:28:07 +03:00
Beto Dealmeida e606477ec1
feat: more SIP-40 errors (#15482) 2021-06-30 16:32:59 -07:00
John Bodley ffa51753e3
refactor: Moving get_user_datasources to security manager (#15467)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2021-07-01 04:51:11 +12:00
Abhishek Jog cad5ba828c
documentation changes for netezza (#15475) 2021-06-30 10:58:33 -04:00
Max Voitko 6c16f9bb2f
fix: bump Redis minor version (#15430)
Co-authored-by: Maksym V <maksym.v@pm.bet>
2021-06-30 15:36:30 +03:00
Abhishek Jog 7ad8fd5c98
feat(add Netezza database): Add IBM Netezza support (#15450)
* Add netezza to superset

* update netezza logo

* change in logo filename

* fixing linter error

* removing stray code
2021-06-30 08:27:54 -04:00
simcha90 5f96e63bbb
fix(native-filters): Fix clear all button (#15438)
* fix:fix get permission function

* fix: "clear all" async flow

* lint: fix lint

* Update superset-frontend/src/dashboard/components/nativeFilters/FilterBar/Header/index.tsx

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>

* lint: fix lint

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2021-06-30 14:59:04 +03:00
Yongjie Zhao 61e6b7017b
fix: nvd3 bar chart sortby metric (#15318) 2021-06-30 19:36:05 +08:00
Yongjie Zhao 292bce5862
fix: raise unexpected error when orderby is empty (#15353)
* fix: raise unexpected error when orderby is empty

* fix ut
2021-06-30 19:34:54 +08:00
Phillip Kelley-Dotson ebb3efce5a
initial commit (#15466) 2021-06-30 03:32:57 -07:00
rijojoseph07 a2d69ea252
feat(trino): add support for query cost estimate #15166 (#15177)
* added estimate_statement_cost to trino

* file formatted

Co-authored-by: rijojoseph01 <rijo.joseph@myntra.com>
2021-06-30 13:05:22 +03:00
Beto Dealmeida 5181a74116
chore: simplify errors and issue codes (#15437) 2021-06-29 19:33:28 -07:00
Max Voitko 8b3d08aeed
feat: add env vars from multiple secrets in Helm chart (#15426) 2021-06-29 18:34:45 -07:00
Beto Dealmeida 149c5fd594
feat: add more SIP-40 errors to SQL Lab (#15436) 2021-06-29 18:17:16 -07:00
AAfghahi 743d9cc928
feat: Better Errors in SQL Lab (#15432)
* snowflake errors

* added big query

* added to setup error messages, first test

* all big query testing added

* added snowflake test

* added syntax error

* added syntax errors to most used databases
2021-06-29 16:48:27 -07:00
Kamil Gabryjelski 4a394cd6fb
fix(dashboard): native filters highlight with multiple tabs jumps to first tab (#15455) 2021-06-29 20:26:55 +03:00
Ville Brofeldt 4630abb5a8
feat(native-filters): add support for preselect filters (#15427)
* feat(native-filters): add support for sharing preselected filters

* abc

* add serialization
2021-06-29 18:57:49 +03:00
Ville Brofeldt ab7f31fd85
Revert "refactor(feature_flags configurations): remove redundant additional configuration for default vales (#15425)" (#15448) 2021-06-29 16:52:01 +03:00
Ville Brofeldt dd407331a6
fix(native-filters): filter type check when using experimental flag (#15446) 2021-06-29 15:04:39 +03:00
Daniel Vaz Gaspar 727847d2e5
fix: remove unnecessary app context on celery (#15422)
* fix: remove unnecessary app context on celery

* fix lint

* fix lint
2021-06-29 12:16:16 +01:00
Kamil Gabryjelski f109da479d
perf(dashboard): Improve perf of highlighting charts in scope of active filter (#15424)
* perf(dashboard): Improve perf of highlighting charts in scope of active filter

* More optimizations

* fix tests

* Fix lint

* bug fix
2021-06-29 12:55:53 +02:00
Ville Brofeldt f33a0e1d68
fix: import superset_config (#15444)
* fix: import superset_config

* make module name constant
2021-06-29 13:30:05 +03:00
Amit Miran 2af928796a
chore(docs): Manage access to Dashboards (#15413)
* chore: docs for Manage access to Dashboards

* fixL pre-commit

* fix: undo mistake

* Update index.mdx

* Update index.mdx

minor tweaks

* fix: pre-commit

Co-authored-by: Srini Kadamati <skadamat@gmail.com>
2021-06-29 12:46:33 +03:00
Sonya Smirnova fa6b25d257
fix(explore): switch to correct scheme registry for custom sequential color schemes (#15314)
* Switch to correct scheme registry for custom sequential color schemes

* Linting
2021-06-29 11:43:42 +03:00
krsnik93 b8f4e7d093
fix: add dashboard markdown id (#15418)
Co-authored-by: root <root@src4.ikrsnik.devonly.net>
2021-06-29 11:42:28 +03:00
Bonifacio de Oliveira fe7755897c
add missing logging import (#14994) 2021-06-29 11:41:23 +03:00
Jesaja Everling 1797805740
Fix wrong filename mentioned in INSTALL.md (#14630)
INSTALL.md mentions Dockerfile.from_tarball, but it's actually Dockerfile.from_local_tarball
2021-06-29 11:40:26 +03:00
Geido faae27bd2f
Open in _self (#14778) 2021-06-29 11:38:00 +03:00
Phillip Kelley-Dotson 076f774daf
refactor: icon to icons for lastupdated component (#15401)
* intial commit

* fix test

* Update superset-frontend/src/components/LastUpdated/index.tsx

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2021-06-29 00:32:54 -07:00
Phillip Kelley-Dotson a0179ac513
refactor: icon to icons for inderteminatecheckbox icon (#15397)
* initial commit

* fix cypress tests

* Update superset-frontend/src/components/IndeterminateCheckbox/index.tsx

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

* Update index.tsx

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2021-06-29 00:32:17 -07:00
Beto Dealmeida ed6d10e283
Remove pydash merge (#15435) 2021-06-28 15:40:44 -07:00
Beto Dealmeida 21d1fb55c6
feat: more error messages (#15409) 2021-06-28 14:51:31 -07:00
Michael S. Molina e713912fdf
chore: Uses mixed case for native filters headers (#15433) 2021-06-28 17:09:31 -03:00
Daniel Vaz Gaspar f52b6715cf
fix: downgrade selenium log level on timeout (#15328) 2021-06-28 20:02:05 +01:00
Michael S. Molina 0b7e524f02
fix: Select item when allowNewOptions is true and the Enter is pressed (#15429) 2021-06-28 15:29:58 -03:00
Ibrahim Bolarinwa 18f3089fb5
Update CONTRIBUTING.md (#14880)
Description of the extra_filters chart parameter, usage ideas and links to source files.

Co-authored-by: Dirzel <78026187+Dirzel@users.noreply.github.com>
2021-06-28 20:07:11 +03:00
Michael S. Molina ac18c90da2
fix: Cascading filter popover widens automatically (#15390) 2021-06-28 20:03:14 +03:00
Grace Guo 1c4cb28e91
fix: double click slq lab table cell (#15400) 2021-06-28 17:05:46 +03:00
Marek Šuppa 93447d1903
Update Header.jsx (#13467)
* Fix typo in the warning that gets displayed with the `positionJSON` is too large/long.
2021-06-28 17:02:41 +03:00
ofekisr 486b8d911f
refactor(feature_flags configurations): remove redundant additional configuration for default vales (#15425) 2021-06-28 16:30:13 +03:00
ofekisr d8a1acffde
chore(refactor): load configuration and merge recursively (#15405)
* refactor load configuration

* refactor init configuration to enable recursive merge

* Update config.py

* Update app.py

* fix lint and black issue
2021-06-28 13:53:26 +03:00
Ville Brofeldt ddcf461749
fix(native-filters): show human readable time grain label in indicator (#15411)
* fix(native-filters): show human readable time grain label in indicator

* lint

* simplify
2021-06-28 13:35:14 +03:00
Amit Miran 8205ea53ab
chore: add DASHBOARD_FILTERS_EXPERIMENTAL ff to BE default value (#15417) 2021-06-28 12:56:43 +03:00