Commit Graph

8120 Commits

Author SHA1 Message Date
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
Phillip Kelley-Dotson
74b37c3631 feat: add sticky state to tables and loadingcards state. (#16102)
* initial feat commit

* fix chart and dash rendering onload

* Update superset-frontend/src/views/CRUD/welcome/Welcome.tsx

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

* fix jumpyness and add const

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
(cherry picked from commit a70248736f)
2021-08-16 08:45:30 +03:00
Michael S. Molina
2d59be3fd3 fix: Safari is not showing scroll bars in Explore (#16089)
(cherry picked from commit 273ab3d257)
2021-08-16 08:45:29 +03:00
Michael S. Molina
cfeb5580b8 fix: Multiple dashboard refresh triggers for the same session (#16094)
(cherry picked from commit 07f33998ac)
2021-08-16 08:45:29 +03:00
Yongjie Zhao
33b56bb31d fix: boolean type into SQL 'in' operator (#16107)
* fix: boolean type into SQL 'in' operator

* fix ut

* fix ut again

* update url

* remove blank line

(cherry picked from commit bb1d8fe4ef)
2021-08-16 08:45:29 +03:00
Jesse Yang
8146a5cad3 fix(dashboard): 500 error caused by data_for_slices API (#16053)
(cherry picked from commit 490890de23)
2021-08-16 08:45:29 +03:00
Ville Brofeldt
7fa5a26147 update version and changelog 2021-08-10 08:35:35 +03:00
Lyndsi Kay Williams
762945b3f3 additional params field fixed (#16161)
(cherry picked from commit 3712ee02fa)
2021-08-10 07:53:24 +03:00
AAfghahi
80d09e63b2 fix: change Alert Permissions (#16118)
* added google alert

* reworked permissions

(cherry picked from commit 606a7bf429)
2021-08-10 07:53:24 +03:00
AAfghahi
f59fe808f8 feat: better errors for report in charts and dashboard (#16131)
* added google alert

* better errors and report actions

(cherry picked from commit 5ce38839e7)
2021-08-10 07:53:24 +03:00
AAfghahi
8383b2c03d feat: added google alert to DB Connection Form (#16095)
* added google alert

* using superset_text

* made google alert public and others private

* Hugh revisions

(cherry picked from commit a51851308b)
2021-08-10 07:53:24 +03:00
Kamil Gabryjelski
951bbcf276 fix(explore): dnd error when dragging metric if multi: false (#16088)
* fix(explore): dnd error when dragging metric if multi: false

* Fix error for non-dnd controls

(cherry picked from commit b7cc89c6d4)
2021-08-10 07:53:23 +03:00
Kamil Gabryjelski
60ad321dcd chore(explore): change dnd placeholders (#16116)
* chore(explore): change dnd placeholders

* Fix tests and lint

(cherry picked from commit 6ac4f4ef2f)
2021-08-10 07:53:23 +03:00
Maxime Beauchemin
3e98e9cd79 chore: add stats logging to thumbnail api (#16133)
(cherry picked from commit df50a47777)
2021-08-10 07:53:23 +03:00
Geido
1273cfb6b5 Adjust width (#16092)
(cherry picked from commit b07c80a839)
2021-08-10 07:53:23 +03:00
Yongjie Zhao
5b04835d6e fix: virtual dataset wont work (#16132)
(cherry picked from commit 3bbcc30d69)
2021-08-10 07:53:22 +03:00
Beto Dealmeida
eb2d8882cf fix: migrate_roles (#16098)
(cherry picked from commit 28c383af68)
2021-08-10 07:53:22 +03:00
Kamil Gabryjelski
d5602a6017 fix(explore): revert dnd column dependency array change to fix infinite rerenders (#16115)
* fix(explore): revert dnd column dependency array change to fix infinite rerenders

* Remove console.log

* Remove comment

(cherry picked from commit 772da8de63)
2021-08-10 07:53:22 +03:00
ʈᵃᵢ
95679d7594 fix: move watermark to about section (#16097)
(cherry picked from commit b80f018691)
2021-08-10 07:53:22 +03:00
David Aaron Suddjian
0771475383 fix(explore): drag & drop column select component triggering onChange unnecessarily (#16073)
* fix(explore): avoid sync until after first render

* fix example

(cherry picked from commit e6292a89bb)
2021-08-10 07:53:22 +03:00