Commit Graph

8139 Commits

Author SHA1 Message Date
Beto Dealmeida
f96189421b fix: improve pivot post-processing (#16289)
* fix: improve pivot post-processing

* Add tests

* Trim space from column name

(cherry picked from commit ac8e54d909)
2021-09-22 13:12:28 +03:00
Beto Dealmeida
b932e5e458 fix: pivot col names in post_process (#16262)
(cherry picked from commit 542b864e61)
2021-09-22 13:12:28 +03:00
Ville Brofeldt
0f81b04235 update changelog and version 1.3.1rc1 2021-09-06 14:55:01 +03:00
Duy Nguyen Hoang
acb271e5ee Remove export CSV in old filter box (#16592)
(cherry picked from commit 3fe2e6ec73)
2021-09-06 14:51:52 +03:00
simcha90
69143b60f5 feat: Experimental cross-filter plugins (#16594)
* fix:fix get permission function

* feat: add cross filter chart in charts gallery under FF

(cherry picked from commit df5c0fbce9)
2021-09-06 14:51:52 +03:00
Beto Dealmeida
241aef8617 fix: impersonate user label/tooltip (#16573)
(cherry picked from commit 9bb890ebed)
2021-09-06 14:51:52 +03:00
Rob DiCiuccio
3097f86bf8 fix: Support Jinja template functions in global async queries (#16412)
* Support Jinja template functions in async queries

* Pylint

* Add tests for async tasks

* Remove redundant has_request_context check

(cherry picked from commit 4e380db3fd)
2021-09-06 14:51:51 +03:00
Yongjie Zhao
b8c3f61097 fix: can't drop column when name overlap (#16482)
(cherry picked from commit 80c39daa85)
2021-09-06 14:51:51 +03:00
Daniel Wood
b7b35ab5ba fix: Set correct comparison operator for snowflake-sqlalchemy pinning (#16526)
(cherry picked from commit e024f8c7d6)
2021-09-06 14:51:51 +03:00
grumpy-miner
97ef416381 fix: ensure setting operator to None (#16371) (#16372)
(cherry picked from commit 1f1e2dd29a)
2021-09-06 14:51:51 +03:00
Daniel Wood
13de2422d5 fix: Pin snowflake-sqlalchemy to 1.2.4 (#16515)
* Pin snowflake-sqlalchemy to 1.2.4

* lint files

(cherry picked from commit ad8336a5b4)
2021-09-06 14:51:51 +03:00
Ville Brofeldt
9e78db81c3 fix(native-filters): add handle undefined control value gracefully (#16468)
(cherry picked from commit 147637a02d)
2021-09-06 14:51:50 +03:00
Yongjie Zhao
df5951eedf fix: prevent page crash when chart can't render (#16464)
(cherry picked from commit 577ede4b12)
2021-09-06 14:51:50 +03:00
Ville Brofeldt
ad9b0f973b fix(native-filters): handle null values in value filter (#16460)
* fix(native-filters): handle null values in value filter

* lint

(cherry picked from commit 1c71eda70f)
2021-09-06 14:51:50 +03:00
Beto Dealmeida
e9ac57e3c2 feat: add Shillelagh DB engine spec (#16416)
(cherry picked from commit 5e472980a6)
2021-09-06 14:51:50 +03:00
AAfghahi
97f86ffe1e fix: copy to Clipboard order (#16299)
* copy to Clipboard order

* centralized copyToClipboard

* fixed table order

* fixed tests

* added colnames to all viz types

* added colnames to all viz types

* added colnames to all viz types

(cherry picked from commit 631ad02a76)
2021-09-06 14:51:49 +03:00
Ville Brofeldt
cd4583331d fix: call external metadata endpoint with correct rison object (#16369)
(cherry picked from commit 575ee24a99)
2021-09-06 14:51:49 +03:00
Srini Kadamati
745325beb2 feat: Adding Rockset db engine spec (#16167)
* rockset prototype

* rockset

* t

* removed print / logging

* set a more specific version range for Rockset library

(cherry picked from commit 5f060a2227)
2021-09-06 14:51:49 +03:00
Ville Brofeldt
c92c6761b6 fix(sqlite): week grain refer to day of week (#16293)
(cherry picked from commit 5e75baf0cc)
2021-09-06 14:51:49 +03:00
Yongjie Zhao
7f799ed00a refactor: external metadata fetch API (#16193)
* refactor: external metadata api

* fix comments

* fix ut

* fix fe lint

* fix UT

* fix UT

(cherry picked from commit 6cd15d54a0)
2021-09-06 14:51:49 +03:00
Ville Brofeldt
6d19de8f66 update changelog and updating 1.3.0rc2 1.3.0 2021-08-16 09:36:28 +03:00
Elizabeth Thompson
0e7b220917 check roles before fetching reports (#16260)
(cherry picked from commit 3709131089)
2021-08-16 08:45:36 +03:00
Beto Dealmeida
3bfb4d689a fix: pivot columns with ints for name (#16259)
(cherry picked from commit 9b2dffeb1d)
2021-08-16 08:45:36 +03:00
Phillip Kelley-Dotson
6599262cfe fix examples tab for dashboard (#16253)
(cherry picked from commit a5dbe6a14d)
2021-08-16 08:45:36 +03:00
Phillip Kelley-Dotson
9ca7e0b752 chore: bump superset-ui packages to 0.17.84 (#16251)
* initial bump

* commit pack-lock file

(cherry picked from commit f94695480a)
2021-08-16 08:45:36 +03:00
Kamil Gabryjelski
90ad28bbe6 fix(dashboard): cross filter chart highlight when filters badge icon clicked (#16233)
* fix(dashboard): cross filter chart highlight when filters badge icon pressed

* Fix tests

* Fix tests

* break out label logic

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
(cherry picked from commit 517a678cd7)
2021-08-16 08:45:35 +03:00
Beto Dealmeida
52f747b3fc fix: validate_parameters and query (#16241)
* fix: validate_parameters and query

* add onQueryChange

(cherry picked from commit 5d3d6b6eae)
2021-08-16 08:45:35 +03:00
Evan Rusackas
56897ab14c fix: Remove Advanced Analytics tag for 2 charts (#16240)
* removing AA tag from TimeTableChartPlugin

* package bump for echarts (removes AA tag there)

* package-lock bump for new echarts plugin

(cherry picked from commit cdcc161846)
2021-08-16 08:45:35 +03:00
Elizabeth Thompson
f36a7f0d2c fix: remove encryption from db params (#16214)
* remove encryption from db params

* Update superset/db_engine_specs/base.py

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
(cherry picked from commit 67c4c0116e)
2021-08-16 08:45:34 +03:00
Kamil Gabryjelski
90f432e18c fix(explore): conditional formatting value validators (#16230)
* fix(explore): conditional formatting value validators

* Fix typing, make validator more generic

* Remove commented code

(cherry picked from commit a16e290765)
2021-08-16 08:45:34 +03:00
Phillip Kelley-Dotson
f749834a1a initial fix (#16212)
(cherry picked from commit c79de7abd7)
2021-08-16 08:45:34 +03:00
Phillip Kelley-Dotson
31c57db0aa fix: sorting on "Modified By" in chart table (#16208)
* initial fix

* Update ChartList.tsx

change sort to first name

(cherry picked from commit b4555dfa4f)
2021-08-16 08:45:34 +03:00
Kamil Gabryjelski
f56a25d2d9 fix(explore): adhoc metrics popover resets label after hovering outside (#16196)
* fix(explore): adhoc metrics popover resets label after hovering outside

* Remove irrelevant tests and skip rest

* Use ensureIsArray

(cherry picked from commit ccfc95fbe6)
2021-08-16 08:45:34 +03:00
AAfghahi
185eaf7636 feat: Changing Dataset names (#16199)
* added google alert

* changing Dataset Names

(cherry picked from commit 6c304b83a9)
2021-08-16 08:45:33 +03:00
Kamil Gabryjelski
4c6a2597b4 fix(explore): metric label disappearing in some scenarios (#16190)
(cherry picked from commit 98fc29cbbb)
2021-08-16 08:45:33 +03:00
Ville Brofeldt
bc5e05b1df chore: bump superset-ui to 0.17.82 (#16186)
(cherry picked from commit 4df3672baa)
2021-08-16 08:45:33 +03:00
Elizabeth Thompson
52ae86de05 update covid dashboard (#16183)
(cherry picked from commit 3aefa6925b)
2021-08-16 08:45:33 +03:00
Phillip Kelley-Dotson
9dc44a443e fix: change listivew card layouts to the new homepage card layout (#16171)
* initial commit

* removing CardStylesOverrides (unused)

Co-authored-by: Evan Rusackas <evan@preset.io>
(cherry picked from commit a30d884cfc)
2021-08-16 08:45:32 +03:00
Junlin Chen
79ad7e8529 chore: switch back tag name to popular from highly-used (#16174)
* chore: switch back tag name to popular from highly-used

* new package lock

* new package lock with npm 7

* fix lint

* remove package changes

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
(cherry picked from commit 9841c78967)
2021-08-16 08:45:32 +03:00
Phillip Kelley-Dotson
a9298ecb9e fix: ensure created user entities do not show inside examples (#16176)
* initial commit

* fix lint

* Update superset-frontend/src/views/CRUD/utils.tsx

Co-authored-by: Evan Rusackas <evan@preset.io>

* Update superset-frontend/src/views/CRUD/utils.tsx

Co-authored-by: Evan Rusackas <evan@preset.io>

* Update superset-frontend/src/views/CRUD/utils.tsx

Co-authored-by: Evan Rusackas <evan@preset.io>

Co-authored-by: Evan Rusackas <evan@preset.io>
(cherry picked from commit a0c9b9d9c2)
2021-08-16 08:45:32 +03:00
AAfghahi
61a6795961 feat: CLI cleanup (#16178)
* added google alert

* removing datasets from cli

(cherry picked from commit 6df16c4b1f)
2021-08-16 08:45:32 +03:00
Elizabeth Thompson
93de225f19 feat: change query predicate to text (#16160)
* change query predicate to text

* make input multiline

* remove value that is too long for the downgrade

* keep logging lint rule

(cherry picked from commit 628169a171)
2021-08-16 08:45:32 +03:00
AAfghahi
2b6a8652ec feat: Added multi-regional IPs to Database Connections (#16170)
* added google alert

* multi-regional IPs

* beto revisions

* Update superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* Update superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* Update superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
(cherry picked from commit 2dc0bdda5d)
2021-08-16 08:45:32 +03:00
Beto Dealmeida
077c6378ed fix: isDynamic function (#16175)
* fix: isDynamic function

* trigger tests

(cherry picked from commit 9f52c103ac)
2021-08-16 08:45:31 +03:00
Elizabeth Thompson
bab7e7a842 feat: add chart image info to reports from charts (#16158)
* refetch reports on props update

* add chart types to reports

(cherry picked from commit a3102488a1)
2021-08-16 08:45:31 +03:00
Beto Dealmeida
77415685ce fix: revert data endpoint name (#16162)
(cherry picked from commit 7b3fce7e81)
2021-08-16 08:45:31 +03:00
Hugh A. Miles II
3bf5852d67 fix: turn on SSL in database edit form show 500 error (#16151)
* fix error for query.update

* converrt before making request

* fix query params

* remove unchanged files

* this

* update tsconfig

(cherry picked from commit 3f86a54ac1)
2021-08-16 08:45:31 +03:00
Phillip Kelley-Dotson
cf922e1dcf fix: ensure that users viewing chart does not automatically save edit data (#16077)
* add last_change_at migration

* add last_saved_by db migration

* finish rest of api migration

* run precommit

* fix name

* run precommitt

* remove unused mods

* merge migrations

* Update superset/migrations/versions/6d20ba9ecb33_add_last_saved_at_to_slice_model.py

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* Update superset/migrations/versions/6d20ba9ecb33_add_last_saved_at_to_slice_model.py

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* Update superset/migrations/versions/f6196627326f_update_chart_permissions.py

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* fix test

* precommit

* remove print

* fix test

* change test

* test commit

* test 2

* test 3

* third time the charm

* fix put req

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
(cherry picked from commit f0e3b68cc2)
2021-08-16 08:45:31 +03:00
Ville Brofeldt
630b49f4a3 feat(cross-filters): add support for temporal filters (#16139)
* feat(cross-filters): add support for temporal filters

* fix test

* make filter optional

* remove mocks

* fix more tests

* remove unnecessary optionality

* fix even more tests

* bump superset-ui

* add isExtra to schema

* address comments

* fix presto test

(cherry picked from commit 63ace7b288)
2021-08-16 08:45:30 +03:00
Elizabeth Thompson
a38115d517 add config to hide some user menu items (#16156)
(cherry picked from commit 5488a8a948)
2021-08-16 08:45:30 +03:00