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
Hugh A. Miles II
2979ff26cc
fix: Revert "refactor: converted QueryAutoRefresh to functional component … ( #19226 )
...
* Revert "refactor: converted QueryAutoRefresh to functional component (#18179 )"
This reverts commit f497c1900e .
* lint
(cherry picked from commit fc8721800b )
2022-04-03 14:02:23 +03:00
Jesse Yang
a68b1fd686
test: fix TimezoneSelector tests on daylight saving time ( #19156 )
...
(cherry picked from commit 8d53db1db6 )
2022-04-03 14:02:23 +03:00
Hugh A. Miles II
ca0c12f2b3
fix: Logic for showing extension in Global Nav ( #19158 )
...
* fix logic for checking extensions
* add specific types
* fix lint
(cherry picked from commit 181ecf4509 )
2022-04-03 14:02:22 +03:00
Lyndsi Kay Williams
3f1074e6a3
fix(sqllab): Updated blank states for query results and query history ( #19111 )
...
* Empty states updated on result tab and query history tab
* Testing on query history blank state
* Testing on result tab with empty state
* Forgot to remove a comment
* Corrected empty state image size and centered with drag bar
* Centered blank states vertically
(cherry picked from commit bb618a47ff )
2022-04-03 14:02:22 +03:00
David Aaron Suddjian
337ea4f59d
fix: clean up chart metadata config ( #19143 )
...
* fix: clean up chart metadata config
* missed a spot
* missed another spot
* fix failing time-specific test
* can't call translation functions here
* Revert "fix failing time-specific test"
This reverts commit 3eeb8ab9cc .
* skip problematic test
* extra import
(cherry picked from commit 3d66912d89 )
2022-04-03 14:02:22 +03:00
smileydev
db8b6af7c7
fix(dashboard-css): make to stay custom css when reload ( #19084 )
...
* fix(dashboard-css): make to stay custome css when reload
* fix(dashboard-css): make to add injectCustomCSS into HeaderActionsDropdown.test.tsx
(cherry picked from commit 30c97ad5bf )
2022-04-03 14:02:22 +03:00
smileydev
a0138af7f8
fix(dbs-dropdown): make to allow the search in supported db dropdown ( #19125 )
...
(cherry picked from commit 8e7af79aa9 )
2022-04-03 14:02:22 +03:00
Diego Medina
ba57cb410e
fix(dashboard): scrolling table viz overlaps next chart ( #19121 )
...
(cherry picked from commit 74910f99d8 )
2022-04-03 14:02:21 +03:00
Jinghuayao
37162a923b
test(native filter): add new native filter test ( #19115 )
...
* add new native filter test
(cherry picked from commit 981f09b5db )
2022-04-03 14:02:21 +03:00
David Aaron Suddjian
0598e95b1b
chore(embedded): refresh the guest token ( #19132 )
...
* refresh the guest token
* put back the date logic
* version
* fix time hijinks
* test
* Update superset-embedded-sdk/src/guestTokenRefresh.ts
(cherry picked from commit 54b60ded8e )
2022-04-03 14:02:21 +03:00
Beto Dealmeida
2e6bd1590d
feat: helper functions for RLS ( #19055 )
...
* feat: helper functions for RLS
* Add function to inject RLS
* Add UNION tests
* Add tests for schema
* Add more tests; cleanup
* has_table_query via tree traversal
* Wrap existing predicate in parenthesis
* Clean up logic
* Improve table matching
(cherry picked from commit 8234395466 )
2022-04-03 14:02:21 +03:00
Hugh A. Miles II
20fd7a7cd5
fix: Add perm for showing DBC-UI in Global Nav ( #19023 )
...
* add perm for global db add
* fix permissions
* missing roles params
(cherry picked from commit c337491d0e )
2022-04-03 14:02:21 +03:00
Jesse Yang
fcca027b88
feat(select): keep options order when in single mode ( #19085 )
...
(cherry picked from commit ae13d8313b )
2022-04-03 14:02:20 +03:00
Lily Kuang
2b8b9b366a
feat(embedded): add optional dashboard ui configuration ( #19031 )
...
* feat: add optional dashboard ui configuration
* change all flags to boolean
* update README and lint
(cherry picked from commit 124cb0dc66 )
2022-04-03 14:02:20 +03:00
Stephen Liu
877ee42a1c
feat(viz-gallery): add 'feature' tag and fuzzy search weighting ( #18662 )
...
* feat(viz-gallery): add 'feature' tag and fuzzy search weighting
* add search weight
* Update superset-frontend/src/explore/components/controls/VizTypeControl/VizTypeGallery.tsx
Co-authored-by: Evan Rusackas <evan@preset.io >
* Update superset-frontend/src/explore/components/controls/VizTypeControl/VizTypeGallery.tsx
Co-authored-by: Evan Rusackas <evan@preset.io >
* Update superset-frontend/src/explore/components/controls/VizTypeControl/VizTypeGallery.tsx
Co-authored-by: Evan Rusackas <evan@preset.io >
* Update superset-frontend/src/explore/components/controls/VizTypeControl/VizTypeGallery.tsx
Co-authored-by: Evan Rusackas <evan@preset.io >
* some improvements
* take metadata out
* use chartLabel enum to unify
* add test chart
* fix cache
* Resolving TS Lint issue
* Appeasing the linter
* Removing one example implementation
* Removing another example label implementation
* Removing the third example label implementation
Co-authored-by: Evan Rusackas <evan@preset.io >
(cherry picked from commit 7524e1e3c8 )
2022-04-03 14:02:20 +03:00
Jesse Yang
a2fc96a9c3
refactor(TimezoneSelector): simplify override logics and tests ( #19090 )
...
(cherry picked from commit 3a78165d13 )
2022-04-03 14:02:20 +03:00