Yongjie Zhao
3ff9cdeb65
fix: can't sync temporal flag on virtual table ( #19366 )
...
(cherry picked from commit d954c3df86 )
2022-04-04 11:00:48 +03:00
Ville Brofeldt
3c627bdc61
fix: request samples with default row limit ( #19456 )
...
* fix: request samples with default row limit
* lodashLint
* fix cypress test
(cherry picked from commit d684ad073d )
2022-04-04 11:00:47 +03:00
Jinghuayao
3eece91378
test(native filter): add new test for dependent filter ( #19392 )
...
* add new test for dependent filter
(cherry picked from commit 2a75e4c3c3 )
2022-04-04 11:00:47 +03:00
Diego Medina
af0dc75207
feat(sql lab): enable ACE editor search in SQL editors ( #19328 )
...
(cherry picked from commit eab9388f7c )
2022-04-04 11:00:47 +03:00
Beto Dealmeida
840be9972f
feat: improve adhoc SQL validation ( #19454 )
...
* feat: improve adhoc SQL validation
* Small changes
* Add more unit tests
(cherry picked from commit 6828624f61 )
2022-04-04 11:00:47 +03:00
James Turton
e4cbbdc653
fix(drill): specify an SA URL parm of impersonation_target for drill+sadrill ( #19252 )
...
* Update drill+sadrill to specify an SA URL parm of "impersonation_target".
Sqlalchemy-drill is being updated to support impersonation with the
drill+sadrill driver, where previously it did not. The way that callers
should specify impersonation matches that for the drill+jdbc driver in that
a SA URL parameter of impersonation_target should be set to the username
of the user to be impersonated, while the stadard SA username and password
should be those of the proxy user.
* Remove lint.
* Address review comments.
* Use idiomatic pytest to test for a raised exception.
* Fix import statement order in drill.py.
(cherry picked from commit 85e330e94b )
2022-04-04 11:00:46 +03:00
Michael S. Molina
a96ff005fd
refactor: Removes the CSS files from the Heatmap plugin ( #19417 )
...
* refactor: Removes the CSS files from the Heatmap plugin
* Adds peer dependencies
(cherry picked from commit ac6b2f2d93 )
2022-04-04 11:00:46 +03:00
Michael S. Molina
70d800dc27
refactor: Removes the CSS files from the Calendar Heatmap plugin ( #19436 )
...
(cherry picked from commit 13467beb53 )
2022-04-04 11:00:46 +03:00
Michael S. Molina
99c8f9bd13
chore: Removes plugin-chart-pivot-table hard-coded colors ( #19439 )
...
(cherry picked from commit 31095a523d )
2022-04-04 11:00:46 +03:00
Michael S. Molina
91bf9bd68b
chore: Removes hard-coded colors from legacy-preset-chart-nvd3 ( #19443 )
...
(cherry picked from commit 47abad8673 )
2022-04-04 11:00:45 +03:00
smileydev
e93d64d58e
fix(dashboard): make to show the correct owned objects ( #19372 )
...
* fix(dashboard): make to show the correct owned objects
* fix(dashboard): make to filter is reusable
* fix(homepage): make sure the type Array<Filters>
* fix(homepage): make to display dashboard correctly by owners
(cherry picked from commit 6d89ffbcb7 )
2022-04-04 11:00:45 +03:00
Yongjie Zhao
3c09690ed2
fix: can't save dataset modal ( #19452 )
...
(cherry picked from commit 6b136c2bc9 )
2022-04-04 11:00:45 +03:00
David Aaron Suddjian
795ed3c719
feat: Embedded dashboard configuration ( #19364 )
...
* embedded dashboard model
* embedded dashboard endpoints
* DRY up using the with_dashboard decorator elsewhere
* wip
* check feature flags and permissions
* wip
* sdk
* urls
* dao option for id column
* got it working
* Update superset/embedded/view.py
* use the curator check
* put back old endpoint, for now
* allow access by either embedded.uuid or dashboard.id
* keep the old endpoint around, for the time being
* openapi
* lint
* lint
* lint
* test stuff
* lint, test
* typo
* Update superset-frontend/src/embedded/index.tsx
* Update superset-frontend/src/embedded/index.tsx
* fix tests
* bump sdk
(cherry picked from commit 8e29ec5a66 )
2022-04-04 11:00:45 +03:00
Ville Brofeldt
a7ee677154
docs: add 1.4.2 changelog entries ( #19411 )
...
(cherry picked from commit a4c261d72c )
2022-04-04 11:00:44 +03:00
Michael S. Molina
0c78522bfe
chore: Disables no literal colors for the theme configuration ( #19437 )
...
(cherry picked from commit 193744842b )
2022-04-04 11:00:44 +03:00
Daniel Vaz Gaspar
bfa203aee0
fix: missing init on importexport pkg ( #19435 )
...
(cherry picked from commit 2451937097 )
2022-04-04 11:00:44 +03:00
Daniel Vaz Gaspar
7aba89c486
fix: add missing init on python pkg key_value ( #19428 )
...
* fix: add missing init on python pkg key_value
* fix lint issues
* fix lint issues
(cherry picked from commit fa35109bf2 )
2022-04-04 11:00:44 +03:00
Srini Kadamati
625555ac7e
chore: attempt to force docs deploy ( #19424 )
...
(cherry picked from commit a8e7624eb5 )
2022-04-04 11:00:44 +03:00
Beto Dealmeida
038d114b07
perf: improve perf in SIP-68 migration ( #19416 )
...
* chore: improve perf in SIP-68 migration
* Small fixes
* Create tables referenced in SQL
* Update logic in SqlaTable as well
* Fix unit tests
(cherry picked from commit 63b5e2e4fa )
2022-04-04 11:00:43 +03:00
Srini Kadamati
ba22905610
chore: update slack invite url ( #19412 )
...
* chore: update slack invite url
* small fix in CoC
(cherry picked from commit 9d71f33d62 )
2022-04-03 19:16:14 +03:00
Ville Brofeldt
fb929ab649
run black on remaining files
2022-04-03 19:15:25 +03:00
Ville Brofeldt
a70f4dc52f
chore: upgrade black ( #19410 )
2022-04-03 19:13:17 +03:00
Michael S. Molina
1edd5f1343
chore: Removes direct theme imports ( #19368 )
2022-04-03 19:08:52 +03:00
Beto Dealmeida
cccec50454
feat: disable edits on external assets ( #19344 )
...
* feat: disable edits on external assets
* Update tests
(cherry picked from commit d304849b46 )
2022-04-03 19:04:00 +03:00
Evan Rusackas
495b29a4eb
chore: bump storybook to 6.4.19, migrating config, and linting storybook config ( #19245 )
...
* chore: bump storybook to 6.4.19 and reconfigure accordingly
* now linting the storybook directory, since it gets validated by CI
* linting ✨
(cherry picked from commit b689ac2d11 )
2022-04-03 19:04:00 +03:00
Yongjie Zhao
5f2ffb3ba4
feat: linear imputation in Resample ( #19393 )
...
(cherry picked from commit a39dd4493e )
2022-04-03 19:03:59 +03:00
Geido
56e78b9ef7
chore: Eslint custom plugin to warn about hex and literal colors ( #19239 )
...
* wip
* Add eslint custom plugin
* Refactor
* Clean up
* Update superset-frontend/buildtools/eslint-plugin-theme-colors/index.js
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com >
* Refactor
* Update superset-frontend/buildtools/eslint-plugin-theme-colors/index.js
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com >
* Clean up
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com >
(cherry picked from commit 6b9113a17b )
2022-04-03 19:03:59 +03:00
Sujith Kumar S
ae2763af53
docs: Correcting the document font size ( #19390 )
...
* Correcting with doc font size
Correcting with doc font size
* Correcting with doc font size
Correcting with doc font size
* Update docs/docs/installation/configuring-superset.mdx
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com >
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com >
(cherry picked from commit d46a550774 )
2022-04-03 19:03:59 +03:00
Stephen Liu
fb0ae24c6b
chore: add type checking in plugin test directory ( #19387 )
...
(cherry picked from commit 6f5778273e )
2022-04-03 19:03:58 +03:00
smileydev
0c75d9ede0
fix(database): make to allow the expose db as default in sqlalchemy form db ( #19337 )
...
(cherry picked from commit 5ae7e54999 )
2022-04-03 19:03:58 +03:00
Jean-Louis Queguiner
029cf73b75
Fix add-driver-docker in Readme ( #19321 )
...
(cherry picked from commit 2b53578ad7 )
2022-04-03 19:03:58 +03:00
Ville Brofeldt
dead7c253c
fix(caching): support metastore cache for non-required caches ( #19369 )
...
* fix(caching): support metastore cache for non-required caches
* lint
(cherry picked from commit 02308a6f78 )
2022-04-03 19:03:58 +03:00
Ville Brofeldt
25c5e2b4c7
chore: add support for npm8 ( #19365 )
...
(cherry picked from commit 6141a9aa4a )
2022-04-03 19:03:58 +03:00
Kamil Gabryjelski
2f497190ed
feat(explore): Dataset panel option tooltips ( #19259 )
...
* feat(explore): Add description to column/metric tooltips in dataset panel
* Fix tests
* Address code review comments
(cherry picked from commit 45c28c8046 )
2022-04-03 19:03:57 +03:00
smileydev
7af92ed337
fix(explore-sqllab): make that Timestamp column keep the Is temporal flagged when overwriting ( #19010 )
...
(cherry picked from commit 446358642f )
2022-04-03 19:03:57 +03:00
Yongjie Zhao
da4a79f276
fix: number format should editable when AA in time comparison ( #19351 )
...
(cherry picked from commit e15573d445 )
2022-04-03 19:03:57 +03:00
smileydev
d65954994c
fix(report-add): make to add error toast message when already attached report is added again into dashboard or chart ( #19122 )
...
* fix(report-add): make to add error toast message when already attached report is added again into dashboard or chart
* fix(export-add): make to setup the default error message
* fix(report-add): make to allow the errorMessage undefined in LabeledErrorBoundInput component
(cherry picked from commit cb0357005e )
2022-04-03 19:03:57 +03:00
Smart-Codi
0439d8db40
fix: Remove gap from SQLLab results bottom ( #19138 )
...
* Remove gap from SQLLab results bottom
* resolve comment
(cherry picked from commit 8947eb9680 )
2022-04-03 19:03:56 +03:00
Geido
549b475a94
Fix NoAuthorizationError ( #19355 )
...
(cherry picked from commit a2bb91243a )
2022-04-03 19:03:56 +03:00
Ville Brofeldt
a6a2def6d3
feat: introduce hashids permalink keys ( #19324 )
...
* feat: introduce hashids permalink keys
* implement dashboard permalinks
* remove shorturl notice from UPDATING.md
* lint
* fix test
* introduce KeyValueResource
* make filterState optional
* fix test
* fix resource names
(cherry picked from commit f4b71abb22 )
2022-04-03 19:03:56 +03:00
Kasia
18f82411c9
fix: Adaptive formatting spelling ( #19359 )
...
Co-authored-by: Kasia Zajac <kasiazajac@Kasias-MacBook-Pro-2.local >
(cherry picked from commit dc769a9a34 )
2022-04-03 19:03:56 +03:00
Beto Dealmeida
d9377559f6
feat: import external management columns ( #19315 )
...
* feat: import flags
* Add tests
(cherry picked from commit c7f9060a2f )
2022-04-03 19:03:55 +03:00
Ville Brofeldt
a591eccfc2
docs: update lock + general cleanup ( #19350 )
...
* docs: update lock file
* remove redundant npm lock file
* add missing peer deps
* fix TODO and bump antd
* fix API spec script
(cherry picked from commit 3313530f4d )
2022-04-03 19:03:55 +03:00
Erik Ritter
069d42ed14
fix: typo on doc string ( #19346 )
...
(cherry picked from commit 2af2d00e85 )
2022-04-03 19:03:55 +03:00
Richard Whaling
89b7b3784a
feat: add duckdb as DataSource - Fixes #14563 ( #19317 )
...
* + duckdb support
needs the forked version of [duckdb-engine](https://github.com/alitrack/duckdb_engine )
* Update duckdb.py
update _time_grain_expressions
* removed superfluous get_all_datasource_names def in duckdb engine spec
* added exception handling for duckdb single-threaded RuntimeError
* fixed linter blips and other stylistic cleanup in duckdb.py
* one last round of linter tweaks in test_connection.py for duckdb support
Co-authored-by: Steven Lee <admin@alitrack.com >
Co-authored-by: Richard Whaling <richardwhaling@Richards-MacBook-Pro.local >
(cherry picked from commit 202e34a259 )
2022-04-03 19:03:55 +03:00
Beto Dealmeida
3b0b60c57f
feat: external management flags in CRUD ( #19318 )
...
(cherry picked from commit 9766726b26 )
2022-04-03 19:03:55 +03:00
Michael S. Molina
a81b1ab374
fix: Null values on Explore filter ( #19341 )
...
(cherry picked from commit 65c204b288 )
2022-04-03 19:03:54 +03:00
Norman Hooper
6ccc1c86fa
Use three backticks for code blocks ( #19331 )
...
(cherry picked from commit 3340f05dd3 )
2022-04-03 19:03:54 +03:00
ND
99f36f73d2
Correcting some typos ( #19338 )
...
Co-authored-by: Andreas Burner <andreas.burner@smartstream-stp.com >
(cherry picked from commit 7ba06ee944 )
2022-04-03 19:03:54 +03:00
Lily Kuang
b21d4f841c
fix(embedded): download chart as image ( #19339 )
...
(cherry picked from commit 0ad692511e )
2022-04-03 19:03:54 +03:00