Commit Graph

11279 Commits

Author SHA1 Message Date
Ville Brofeldt
280ecab0e6 chore: remove redundant adodbapi warning (#19557)
(cherry picked from commit 0d331f5bd8)
2022-04-08 16:41:33 +03:00
Ville Brofeldt
5ca126698a fix(dataset): handle missing python_type gracefully (#19553)
* fix(dataset): handle missing python_type gracefully

* refactor TEMPORAL_TYPES

(cherry picked from commit d9343a4639)
2022-04-08 16:41:33 +03:00
Ville Brofeldt
44eb81e35f fix(sqla): apply jinja to metrics (#19565)
(cherry picked from commit 34b55765c4)
2022-04-08 16:41:33 +03:00
Ville Brofeldt
1e567999d9 fix(dataset): avoid crash if database missing (#19582)
(cherry picked from commit db2135109a)
2022-04-08 16:41:33 +03:00
Yongjie Zhao
d99a9a4134 fix: big number with trendline can't calculate cumsum (#19542)
(cherry picked from commit 2daa071633)
2022-04-08 16:41:32 +03:00
Ville Brofeldt
c4d24a09a8 fix(sqllab): null database with backend persistence (#19548)
(cherry picked from commit 2d81c4c79f)
2022-04-08 16:41:32 +03:00
Ville Brofeldt
34e3119c40 fix(migrations): reorder skipped 1.4 migrations (#19543)
(cherry picked from commit e1ef2baad7)
2022-04-08 16:41:32 +03:00
Ville Brofeldt
031fadbed8 chore(releasing): use node 16 for testing and remove redundant updating note (#19505)
* chore(releasing): use node 16 for testing

* remove note about required cache
1.5.0rc1
2022-04-04 13:43:26 +03:00
Ville Brofeldt
cc51a84c26 fix bad conflict resolution 2022-04-04 11:58:52 +03:00
Ville Brofeldt
2001fb5037 add noop endpoint migration 2022-04-04 11:20:29 +03:00
Ville Brofeldt
96901d6c46 update changelog, updating, version 2022-04-04 11:11:19 +03:00
dudasaron
dba4610f9b fix(dashboard list): do not show favorite star for anonymous users #18210 (#19409)
* fix: Only show favorite star on dashboard list if user is logged in #18210

* Fix linter errors

(cherry picked from commit b8891acf4a)
2022-04-04 11:05:38 +03:00
Ville Brofeldt
f44ed063e8 chore(plugin-chart-echarts): upgrade echarts 5.3.2 (#19481)
(cherry picked from commit 11bf0d09cb)
2022-04-04 11:00:48 +03:00
Yongjie Zhao
90f49e261e fix: flaky test for dashboard changed on (#19483)
(cherry picked from commit a2e921bd03)
2022-04-04 11:00:48 +03:00
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