Commit Graph

11240 Commits

Author SHA1 Message Date
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
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