Commit Graph

11315 Commits

Author SHA1 Message Date
Kamil Gabryjelski
158d442f0c fix(dashboard): Chart stuck in loading state when when datasets request and chart request fail (#19327)
(cherry picked from commit a08f83bc60)
2022-04-03 19:03:53 +03:00
smileydev
baeb36f8c6 fix(explore): make to convert null to N/A in view results (#19316)
* fix(explore): make to convert null to N/A in view results

* fix(explore): make to null formatter move before timeFormatter

(cherry picked from commit 468c5ca29a)
2022-04-03 19:03:53 +03:00
Diego Medina
52f9b718f2 fix: regression on Select component when handling null values (#19326)
(cherry picked from commit 9e58916d93)
2022-04-03 19:03:53 +03:00
Stephen Liu
bf92b2067e chore: add type checking in package tests directory (#19320)
(cherry picked from commit b0397beb8e)
2022-04-03 19:03:53 +03:00
Sujith Kumar S
d429bbd3b2 docs: SECRET_KEY Rotation Documentation (#19233)
* SECRET_KEY Rotation

Additional documentation for SECRET_KEY rotation and SECRET_KEY setting up.

* Bumped the helm chart version to 0.5.11

Bumped the helm chart version for the new changes.

* Removed the default secret key value from the configuration docs.

Removed the default secret key value from the configuration docs.
2022-04-03 19:02:44 +03:00
Daniel Vaz Gaspar
b51eadd657 chore: bump FAB to 3.4.5 (#19323)
(cherry picked from commit 87e36d6abb)
2022-04-03 19:01:40 +03:00
Daniel Vaz Gaspar
0664a05afb ci: add more code owners to helm chart source (#19322)
(cherry picked from commit ff6ee3766c)
2022-04-03 19:01:40 +03:00
Ville Brofeldt
3a9435df72 fix(dashboard): fix default filter bar visibility + add docs (#18741)
* fix(dashboard): fix default filter tab visibility + add tests

* fix types

* lint

* rename docs + add double bang to length

(cherry picked from commit b7ecb14230)
2022-04-03 19:01:40 +03:00
Yongjie Zhao
9bc76337cf feat(advanced analysis): support MultiIndex column in post processing stage (#19116) 2022-04-03 19:00:01 +03:00
AAfghahi
f8a92de75c docusearch (#19289)
(cherry picked from commit 6083545e86)
2022-04-03 18:57:31 +03:00
Evan Rusackas
12759ec264 chore: fixing a pluralization typo (#19295)
(cherry picked from commit e45235e482)
2022-04-03 18:57:31 +03:00
Ville Brofeldt
f0630a6ea7 fix(cache): only warn about fallback cache for non-debug mode (#19305)
(cherry picked from commit 7ca10fb770)
2022-04-03 18:57:31 +03:00
Beto Dealmeida
d4223d7dc4 feat: API for asset sync (#19220)
* feat: API for asset sync

* Add unit tests.

* Improve tests

* Move files

* Add more tests

(cherry picked from commit b05e7dbf2a)
2022-04-03 18:57:30 +03:00
Michael S. Molina
46dbf6c50c fix: Don't allow duplicated tag values in the Select (#19283)
* fix: Don't allow duplicated tag values in the Select

* Addresses comments and adds test

(cherry picked from commit d3ce398448)
2022-04-03 18:57:30 +03:00
Kamil Gabryjelski
19ee561092 chore: Make font-weights themable, fix font faces (#19236)
* fix(fonts): Import all necessary font packages

* Make html tags themable

* Set bold font weight to 600, add medium font weight to theme

* Replace hard coded font weights with theme variables

* Change some font weight light elements to normal

* Fix tests

* Fix bug in pivot table

* Address code review comments
2022-04-03 18:56:12 +03:00
David Aaron Suddjian
c6a4d75954 Update ToastPresenter.tsx (#19296)
(cherry picked from commit 35b8a72dae)
2022-04-03 14:10:50 +03:00
David Aaron Suddjian
55aac5a3cb allow overriding the guest token PyJWT instance (#19293)
(cherry picked from commit f9feb1b7f3)
2022-04-03 14:10:50 +03:00
Diego Medina
712212be6d fix: most Recently Selected Table Should Appear at the Top of the List on the Left Panel (#19258)
(cherry picked from commit 4669b6ce11)
2022-04-03 14:10:50 +03:00
smileydev
792473f6db fix(dashboard): make to show the correct owned objects (#19223)
* fix(dashboard): make to show the correct owned objects

* fix(dashboard): make to filter is reusable

* fix(homepage): make sure the type Array<Filters>

(cherry picked from commit 29cba2b00c)
2022-04-03 14:10:49 +03:00
Diego Medina
2a2105c8c8 chore: add missing keys to components inside lists (#19161)
(cherry picked from commit 54f1b35161)
2022-04-03 14:10:49 +03:00
Phillip Kelley-Dotson
e1964a8dfe feat: allow uploads in crud view (#18953)
* feat: allow uploads in crud view

* fix merge conflict and fix ts

* fix import

* fix tests

* fix lint

* remove unused var

* fix underline flash and alignment

* fix offset

* fix icon alignment

* fix labels and css issues

* make drowdown primary all the time

* make global

* fix lables

* add upload perms to utils

* remove unused code

* add suggested changes

* update menuright

(cherry picked from commit d771ddbb94)
2022-04-03 14:10:49 +03:00
Ville Brofeldt
f3172010d5 feat(key-value): add superset metastore cache (#19232)
(cherry picked from commit 72b9a7fa5b)
2022-04-03 14:10:49 +03:00
John Bodley
81a1abfab4 fix(presto/trino): Add TIME/TIMESTAMP WITH TIME ZONE (#19263)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
(cherry picked from commit 82a6811e7e)
2022-04-03 14:10:48 +03:00
David Aaron Suddjian
dc0153151c feat: SupersetClient config to override 401 behavior (#19144)
* wip

* feat: make 401 responses configurable in SupersetClient

* sort

* guest unauthorized handler

* add toast container to embedded app

* add option for toast presenter to go at the top

* remove confusing comms logging

* lint

* Update superset-frontend/src/embedded/index.tsx

* type correction

(cherry picked from commit 96a123f553)
2022-04-03 14:10:48 +03:00
Elizabeth Thompson
910679aad5 fix dataset update table (#19269)
(cherry picked from commit 88029e21b6)
2022-04-03 14:10:48 +03:00
PApostol
70facad1b2 Various docstring fixes (#18221)
(cherry picked from commit c07a707eab)
2022-04-03 14:10:48 +03:00
prassanna-helixsense-com
565d83f9ec Update README.md (#19270)
(cherry picked from commit d215cbcdc8)
2022-04-03 14:10:48 +03:00
Stephen Liu
7d239b8958 feat: improve color consistency (save all labels) (#19038)
(cherry picked from commit dc575080d7)
2022-04-03 14:10:47 +03:00
Ville Brofeldt
408573d4d6 feat: add support for comments in adhoc clauses (#19248)
* feat: add support for comments in adhoc clauses

* sanitize remaining freeform clauses

* sanitize adhoc having in frontend

* address review comment

(cherry picked from commit f341025d80)
2022-04-03 14:10:47 +03:00
Diego Medina
f6346d627b fix: custom SQL in Sort By Breaks Bar Chart (#19069)
(cherry picked from commit 4f0074a4ae)
2022-04-03 14:10:47 +03:00
smileydev
fed1c24252 fix(chart-crud): make to update Viz type Filter label to Chart type (#19140)
(cherry picked from commit b888341090)
2022-04-03 14:10:47 +03:00
Lily Kuang
c793b7bfe9 fix: allow subquery in ad-hoc SQL (WIP) (#19242)
* allow adhoc subquery

* add config for allow ad hoc subquery

* default to true allow adhoc subquery

* fix test

* Update superset/errors.py

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

* Update superset/connectors/sqla/utils.py

Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>

* rename and add doc string

* fix for big query test

* Update superset/connectors/sqla/utils.py

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

* Apply suggestions from code review

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

* add test

* update validate adhoc subquery

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>
(cherry picked from commit 50902d51f5)
2022-04-03 14:10:46 +03:00
Elizabeth Thompson
1953233b68 update changelog and updating files from 1.4.1 (#18648) 2022-04-03 14:09:25 +03:00
smileydev
1834a268a1 fix(explore comma): make that the comma can be added by removing it from token separators… (#18926)
* make that the comma can be added by removing it from token separators in select component.

* fix(explore comma): add the allowTokenSeperators props into Select

* fix(explore comma): make to allow to customize the token separators in Select.

* fix(explore comma): make to add the unit test and story book.

* fix(explore comma): make to fix the lint

* fix(explore comma): make to fix the spell  & add tokenSeparatprs props to PickedSelectProps

* Update Select.tsx

* fix(explore comma): make to run lint fix

(cherry picked from commit e7355b9610)
2022-04-03 14:04:53 +03:00
Venu Vardhan Reddy Tekula
1c53a76bcc docs: fix broken links in the documentation (#19235)
(cherry picked from commit 2a89da2ef1)
2022-04-03 14:04:53 +03:00
Stephen Liu
33beba96e3 chore: use order_desc shared control consistently (#19172)
(cherry picked from commit 10eb6c77a4)
2022-04-03 14:04:53 +03:00
Yongjie Zhao
f1ea0ad56c fix: adhoc column in legacy chart (#19234)
(cherry picked from commit b5e9fad11a)
2022-04-03 14:04:52 +03:00
Diego Medina
f2541429cd fix(sql lab): deleting the last saved query or the last executed from history (#19225)
* fix: fix issue when deleting the last saved query or the last executed query

* merge migration

(cherry picked from commit aa5c80bda6)
2022-04-03 14:04:52 +03:00
Beto Dealmeida
3de8370ead feat: import/export assets commands (#19217)
* feat: import/export assets commands

* Add overwrite test

* Fix tests

(cherry picked from commit 51061f0d67)
2022-04-03 14:04:52 +03:00
Jesse Yang
2651c1d925 chore: upgrade mypy (#19227)
(cherry picked from commit 92cd0a18e6)
2022-04-03 14:04:52 +03:00
Diego Medina
0522296607 fix: allow to select <NULL> in a native filter single mode (#19076)
* fix: allow to select <NULL> in a native filter single mode

* fix lint issue

* Update superset-frontend/src/components/Select/utils.ts

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

* fix

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
(cherry picked from commit 19fcd03c89)
2022-04-03 14:04:52 +03:00
smileydev
823b9b2ff2 fix(select): make to consider the case sensitive in case of d3 format selector (#19159)
(cherry picked from commit d099f5ed4a)
2022-04-03 14:04:51 +03:00
Craig Rueda
f91f9f5aae feat(ui): Adding manifest prefix config (#19141)
* Adding manifest prefix config

* Fixing broken tests

* Fixing import

* Adding prefix for remaining assets

* Changing static prefix strategy

* Fixing DST test

* Fixing up formatting

* Fixing up async_query_manager.py types
2022-04-03 14:03:35 +03:00
cccs-Dustin
a1b9b2946d feat(sqllab): Add a configuration option to disable data preview (#19104)
(cherry picked from commit 02ef9ca4cd)
2022-04-03 14:02:24 +03:00
Diego Medina
71338cab57 feat: scroll to bottom when adding a new native filter and the page is filled (#19053)
* feat: Scroll to bottom when adding a new native filter and the page is filled

* Add test

(cherry picked from commit cfb967f430)
2022-04-03 14:02:24 +03:00
Diego Medina
28be2311a0 fix: Popovers in Explore not attached to the fields they are triggered by (#19139)
* fix: Popovers in Explore not attached to the fields they are triggered by

* fix

* PR comment

* remove unused import

(cherry picked from commit 0277ebc225)
2022-04-03 14:02:24 +03:00
Diego Medina
ff277e0517 fix: auto-complete of tables and names are not working in SQL lab (#19152)
(cherry picked from commit 3b427b2029)
2022-04-03 14:02:24 +03:00
Beto Dealmeida
7bc6e14151 chore: refactor import command (#19216)
(cherry picked from commit a4848a2f46)
2022-04-03 14:02:24 +03:00
Ville Brofeldt
8c102174b8 feat: add permalink to dashboard and explore (#19078)
* rename key_value to temporary_cache

* add migration

* create new key_value package

* add commands

* lots of new stuff

* fix schema reference

* remove redundant filter state from bootstrap data

* add missing license headers

* fix pylint

* fix dashboard permalink access

* use valid json mocks for filter state tests

* fix temporary cache tests

* add anchors to dashboard state

* lint

* fix util test

* fix url shortlink button tests

* remove legacy shortner

* remove unused imports

* fix js tests

* fix test

* add native filter state to anchor link

* add UPDATING.md section

* address comments

* address comments

* lint

* fix test

* add utils tests + other test stubs

* add key_value integration tests

* add filter box state to permalink state

* fully support persisting url parameters

* lint, add redirects and a few integration tests

* fix test + clean up trailing comma

* fix anchor bug

* change value to LargeBinary to support persisting binary values

* fix urlParams type and simplify urlencode

* lint

* add optional entry expiration

* fix incorrect chart id + add test

(cherry picked from commit b7a0559aaf)
2022-04-03 14:02:23 +03:00
Beto Dealmeida
90f4d77422 feat: add export_related flag (#19215)
* feat: add export_related flag

* Fix lint

(cherry picked from commit d01fdad1d8)
2022-04-03 14:02:23 +03:00