Commit Graph

11290 Commits

Author SHA1 Message Date
Ville Brofeldt
d684ad073d
fix: request samples with default row limit (#19456)
* fix: request samples with default row limit

* lodashLint

* fix cypress test
2022-04-01 11:32:36 +03:00
Jinghuayao
2a75e4c3c3
test(native filter): add new test for dependent filter (#19392)
* add new test for dependent filter
2022-04-01 01:06:48 -07:00
Diego Medina
eab9388f7c
feat(sql lab): enable ACE editor search in SQL editors (#19328) 2022-03-31 16:05:00 -07:00
David Aaron Suddjian
ab3770667c
chore!: remove ROW_LEVEL_SECURITY feature flag (permanently enable) (#19230)
* permanently turn on rls feature flag

* unused imports

* docs

* docs

* unused import
2022-03-31 14:05:17 -07:00
serenajiang
7f85da6e5b
fix: handle null params in #18936 migration (#19474) 2022-03-31 12:47:02 -07:00
Beto Dealmeida
6828624f61
feat: improve adhoc SQL validation (#19454)
* feat: improve adhoc SQL validation

* Small changes

* Add more unit tests
2022-03-31 11:55:19 -07:00
Kamil Gabryjelski
1a1322d3d9
feat(explore): Move chart actions into dropdown (#19446)
* feat(explore): Move chart actions to a dropdown menu

* Fix tests and add some new ones

* Add background color to embed code button

* Fix cypress tests

* Move copy permalink to actions menu

* Remove unused function

* Move share by email above embed code

* Fix test

* Fix test

* Fix test

* Fix test

* Fix test
2022-03-31 20:41:15 +02:00
James Turton
85e330e94b
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.
2022-03-31 19:42:27 +03:00
Michael S. Molina
ac6b2f2d93
refactor: Removes the CSS files from the Heatmap plugin (#19417)
* refactor: Removes the CSS files from the Heatmap plugin

* Adds peer dependencies
2022-03-31 13:32:20 -03:00
Michael S. Molina
13467beb53
refactor: Removes the CSS files from the Calendar Heatmap plugin (#19436) 2022-03-31 13:31:20 -03:00
Michael S. Molina
31095a523d
chore: Removes plugin-chart-pivot-table hard-coded colors (#19439) 2022-03-31 13:30:36 -03:00
Michael S. Molina
47abad8673
chore: Removes hard-coded colors from legacy-preset-chart-nvd3 (#19443) 2022-03-31 13:29:54 -03:00
smileydev
6d89ffbcb7
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
2022-03-31 17:10:21 +03:00
Yongjie Zhao
6b136c2bc9
fix: can't save dataset modal (#19452) 2022-03-31 16:29:52 +08:00
Hugh A. Miles II
129063d544
fix: Removetime_range_endpoints from query context object (#19423)
* template for remove time_range_endpoints from query context

* Update superset/migrations/versions/2ed890b36b94_rm_time_range_endpoints_from_qc.py

Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com>

* Update superset/migrations/versions/2ed890b36b94_rm_time_range_endpoints_from_qc.py

Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com>

* fix reference

* fix column reference

* fix

* Update superset/migrations/versions/2ed890b36b94_rm_time_range_endpoints_from_qc.py

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

Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com>
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
2022-03-30 17:26:10 -07:00
David Aaron Suddjian
8e29ec5a66
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
2022-03-30 12:34:05 -07:00
Ville Brofeldt
a4c261d72c
docs: add 1.4.2 changelog entries (#19411) 2022-03-30 19:31:51 +03:00
Michael S. Molina
193744842b
chore: Disables no literal colors for the theme configuration (#19437) 2022-03-30 11:57:21 -03:00
Daniel Vaz Gaspar
2451937097
fix: missing init on importexport pkg (#19435) 2022-03-30 15:43:08 +01:00
Daniel Vaz Gaspar
fa35109bf2
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
2022-03-30 12:46:42 +01:00
Srini Kadamati
a8e7624eb5
chore: attempt to force docs deploy (#19424) 2022-03-30 10:13:09 +03:00
Beto Dealmeida
63b5e2e4fa
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
2022-03-29 22:33:15 -07:00
Phillip Kelley-Dotson
0968f86584
chore: remove deprecated config keys and endpoints code 2.0 (#19361)
* remove depracted keys and associated methods

* remove api methods and tablemodel views

* remove deprecated api and unsued vars

* reremove schedules

* readd code

* fix pylint

* run black

* remove test

* core select start test

* add suggested changes
2022-03-29 13:23:05 -07:00
Srini Kadamati
9d71f33d62
chore: update slack invite url (#19412)
* chore: update slack invite url

* small fix in CoC
2022-03-29 15:13:15 -04:00
Kamil Gabryjelski
a076ae6d99
feat(explore): UI changes in dataset panel on Explore page (#19394)
* feat(explore): Implement new design for dataset panel

* Fixes

* Replace drag handle in dashboard builder

* Add missing types

* Type fix

* Fix tests

* Fix non-dnd version

* Fix test

* Replace margin with height
2022-03-29 21:11:08 +02:00
Ville Brofeldt
a619cb4ea9
chore: upgrade black (#19410) 2022-03-29 20:03:09 +03:00
Michael S. Molina
816a2c3e1e
chore: Removes direct theme imports (#19368) 2022-03-29 10:15:07 -03:00
Beto Dealmeida
d304849b46
feat: disable edits on external assets (#19344)
* feat: disable edits on external assets

* Update tests
2022-03-28 16:32:57 -07:00
Evan Rusackas
b689ac2d11
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 
2022-03-28 14:02:47 -03:00
Yongjie Zhao
a39dd4493e
feat: linear imputation in Resample (#19393) 2022-03-28 22:30:45 +08:00
Geido
6b9113a17b
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>
2022-03-28 16:11:34 +03:00
Sujith Kumar S
d46a550774
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>
2022-03-28 11:04:04 +03:00
Stephen Liu
6f5778273e
chore: add type checking in plugin test directory (#19387) 2022-03-28 10:20:06 +08:00
smileydev
5ae7e54999
fix(database): make to allow the expose db as default in sqlalchemy form db (#19337) 2022-03-25 15:47:14 -06:00
Phillip Kelley-Dotson
394c9a19fd
chore: remove old alerts and configs keys (#19261)
* remove templates

* remove models and more templates

* remove view

* remove tasks

* remove views

* remove schedule models

* remove views, init files config code

* remove supersetapp init code

* remove tests and clean up pylint errors

* remove unused import

* pylint

* run black

* remove deprecate notice
2022-03-25 13:25:44 -07:00
Jean-Louis Queguiner
2b53578ad7
Fix add-driver-docker in Readme (#19321) 2022-03-25 11:18:19 -04:00
Ville Brofeldt
02308a6f78
fix(caching): support metastore cache for non-required caches (#19369)
* fix(caching): support metastore cache for non-required caches

* lint
2022-03-25 16:19:35 +02:00
Ville Brofeldt
6141a9aa4a
chore: add support for npm8 (#19365) 2022-03-25 11:07:30 +02:00
Kamil Gabryjelski
45c28c8046
feat(explore): Dataset panel option tooltips (#19259)
* feat(explore): Add description to column/metric tooltips in dataset panel

* Fix tests

* Address code review comments
2022-03-25 07:55:11 +01:00
smileydev
446358642f
fix(explore-sqllab): make that Timestamp column keep the Is temporal flagged when overwriting (#19010) 2022-03-24 18:20:39 -06:00
Yongjie Zhao
e15573d445
fix: number format should editable when AA in time comparison (#19351) 2022-03-25 07:58:53 +08:00
smileydev
cb0357005e
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
2022-03-24 17:18:34 -06:00
Smart-Codi
8947eb9680
fix: Remove gap from SQLLab results bottom (#19138)
* Remove gap from SQLLab results bottom

* resolve comment
2022-03-24 16:53:43 -06:00
Geido
a2bb91243a
Fix NoAuthorizationError (#19355) 2022-03-25 00:02:54 +02:00
Ville Brofeldt
f4b71abb22
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
2022-03-24 21:53:09 +02:00
Kasia
dc769a9a34
fix: Adaptive formatting spelling (#19359)
Co-authored-by: Kasia Zajac <kasiazajac@Kasias-MacBook-Pro-2.local>
2022-03-24 20:51:06 +01:00
Beto Dealmeida
c7f9060a2f
feat: import external management columns (#19315)
* feat: import flags

* Add tests
2022-03-24 10:41:22 -07:00
Ville Brofeldt
3313530f4d
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
2022-03-24 15:43:30 +02:00
Daniel Vaz Gaspar
f37fc1a7f0
chore: bump majors on celery and Flask (#19168)
* chore: bump celery, Flask, flask-jwt-extended, pyJWT

* fix pyJWT breaking change

* fix pyJWT breaking change 2

* test

* fixed test

* fixed test

* fixed test

* revert since mypy won't pick the correct signature

* lint 1

* fix test

* fix test

* docs and celery config migration

* bump FAB to 4.0.0rc3, remove AUTH_STRICT_RESPONSE_CODES

* update docs for new celery config keys

* downgrade celery to 5.2.2

* ref FAB to final 4.0.0 release

* remove conflict left over
2022-03-24 09:16:53 +00:00
Erik Ritter
2af2d00e85
fix: typo on doc string (#19346) 2022-03-24 09:15:56 +00:00