Commit Graph

11242 Commits

Author SHA1 Message Date
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
Richard Whaling 202e34a259
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>
2022-03-24 15:07:57 +08:00
Beto Dealmeida 9766726b26
feat: external management flags in CRUD (#19318) 2022-03-23 15:38:33 -07:00
Michael S. Molina 65c204b288
fix: Null values on Explore filter (#19341) 2022-03-23 17:23:57 -04:00
Norman Hooper 3340f05dd3
Use three backticks for code blocks (#19331) 2022-03-23 17:20:08 -04:00
ND 7ba06ee944
Correcting some typos (#19338)
Co-authored-by: Andreas Burner <andreas.burner@smartstream-stp.com>
2022-03-23 17:19:32 -04:00
Lily Kuang 0ad692511e
fix(embedded): download chart as image (#19339) 2022-03-23 14:04:07 -07:00
Kamil Gabryjelski a08f83bc60
fix(dashboard): Chart stuck in loading state when when datasets request and chart request fail (#19327) 2022-03-23 15:43:32 +01:00
smileydev 468c5ca29a
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
2022-03-23 08:02:52 -06:00
Diego Medina 9e58916d93
fix: regression on Select component when handling null values (#19326) 2022-03-23 10:31:38 -03:00
Stephen Liu b0397beb8e
chore: add type checking in package tests directory (#19320) 2022-03-23 18:57:35 +08:00
Sujith Kumar S 54c521ba77
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-03-23 10:14:46 +00:00
Daniel Vaz Gaspar 87e36d6abb
chore: bump FAB to 3.4.5 (#19323) 2022-03-23 10:13:16 +00:00
Daniel Vaz Gaspar ff6ee3766c
ci: add more code owners to helm chart source (#19322) 2022-03-23 10:12:44 +00:00
Ville Brofeldt b7ecb14230
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
2022-03-23 08:55:03 +02:00
Yongjie Zhao 375c03e084
feat(advanced analysis): support MultiIndex column in post processing stage (#19116) 2022-03-23 13:46:28 +08:00
AAfghahi 6083545e86
docusearch (#19289) 2022-03-22 17:27:41 -04:00
Evan Rusackas e45235e482
chore: fixing a pluralization typo (#19295) 2022-03-22 14:44:03 -06:00
Geido d10a3d8bba
fix: Logo resizing on page load (#19307)
* fix resizing logo

* Refactor
2022-03-22 19:34:49 +02:00
Ville Brofeldt 7ca10fb770
fix(cache): only warn about fallback cache for non-debug mode (#19305) 2022-03-22 18:34:41 +02:00
Beto Dealmeida b05e7dbf2a
feat: API for asset sync (#19220)
* feat: API for asset sync

* Add unit tests.

* Improve tests

* Move files

* Add more tests
2022-03-22 08:29:24 -07:00
Michael S. Molina d3ce398448
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
2022-03-22 09:05:22 -03:00
Kamil Gabryjelski a8a48af7fa
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-03-22 09:36:15 +01:00
David Aaron Suddjian 35b8a72dae
Update ToastPresenter.tsx (#19296) 2022-03-22 10:10:43 +02:00
David Aaron Suddjian f9feb1b7f3
allow overriding the guest token PyJWT instance (#19293) 2022-03-21 15:51:39 -07:00
Diego Medina 4669b6ce11
fix: most Recently Selected Table Should Appear at the Top of the List on the Left Panel (#19258) 2022-03-21 15:58:23 -06:00
smileydev 29cba2b00c
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>
2022-03-21 15:51:10 -06:00
Diego Medina 54f1b35161
chore: add missing keys to components inside lists (#19161) 2022-03-21 15:47:48 -06:00
Phillip Kelley-Dotson d771ddbb94
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
2022-03-21 13:01:36 -07:00
Geido 9ae51f7a48
chore: Remove logo forced width (#19049)
* Remove logo forced width

* improve styling

* improve paddings

* Update UPDATING.md

* Fixes a typo

* Add fixed height

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
Co-authored-by: Evan Rusackas <evan@preset.io>
2022-03-21 19:51:20 +02:00
Ville Brofeldt 72b9a7fa5b
feat(key-value): add superset metastore cache (#19232) 2022-03-21 19:46:56 +02:00
John Bodley 82a6811e7e
fix(presto/trino): Add TIME/TIMESTAMP WITH TIME ZONE (#19263)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-03-22 06:33:38 +13:00
David Aaron Suddjian 96a123f553
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
2022-03-21 10:19:21 -07:00
Elizabeth Thompson 88029e21b6
fix dataset update table (#19269) 2022-03-21 09:43:51 -07:00
PApostol c07a707eab
Various docstring fixes (#18221) 2022-03-21 13:01:57 -03:00
Daniel Vaz Gaspar af91a13670
chore: remove PUBLIC_ROLE_LIKE_GAMMA deprecated config key (#19274) 2022-03-21 14:57:38 +00:00
prassanna-helixsense-com d215cbcdc8
Update README.md (#19270) 2022-03-21 09:44:29 -04:00
Daniel Vaz Gaspar 783168e13f
chore: remove deprecated celery cli (#19273)
* chore: remove deprecated celery cli

* remove configs and UPDATING
2022-03-21 13:09:38 +00:00
Stephen Liu dc575080d7
feat: improve color consistency (save all labels) (#19038) 2022-03-21 15:20:04 +08:00
Elizabeth Thompson e1d0b83885
chore: update updating with druid no sql deprecation (#19262)
* update updating with druid no sql deprecation

* Update UPDATING.md

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

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
2022-03-20 21:31:44 -07:00
Elizabeth Thompson d645579cdd
chore!: update mutator to take kwargs (#19083)
* update mutator to take kwargs

* update updating.md

* lint

* test that the database name is properly passed in to the mutator
2022-03-18 16:01:27 -07:00
Ville Brofeldt f341025d80
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
2022-03-18 15:08:06 -07:00
David Aaron Suddjian 97abc28a1f
chore!: remove `ENABLE_REACT_CRUD_VIEWS` feature flag (permanently enable) (#19231)
* remove ENABLE_REACT_CRUD_VIEWS feature flag

* docs

* deal with problematic tests

* empty test suite

* skip test

* test conditions changed

* removing the tests instead of skipping
2022-03-18 14:00:23 -07:00
Diego Medina 4f0074a4ae
fix: custom SQL in Sort By Breaks Bar Chart (#19069) 2022-03-18 13:17:12 -06:00
Grace Guo d41f9b23a4
chore(superset 2.0): remove front-end deprecated code (#19241) 2022-03-18 11:23:00 -07:00
smileydev b888341090
fix(chart-crud): make to update Viz type Filter label to Chart type (#19140) 2022-03-18 11:57:34 -06:00
Lily Kuang 50902d51f5
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>
2022-03-18 10:04:55 -07:00
Elizabeth Thompson 48a12ade8c
update changelog and updating files from 1.4.1 (#18648) 2022-03-18 08:27:57 -07:00
smileydev e7355b9610
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
2022-03-18 11:39:26 -03:00