Commit Graph

10846 Commits

Author SHA1 Message Date
Đặng Minh Dũng 5a740901d6
cleanup column_type_mappings (#17569)
Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
2022-01-14 11:07:17 +02:00
Grace Guo 26dc600aff
fix: handle null values in time-series table (#18039) 2022-01-13 21:47:07 -08:00
Erik Ritter 343d3f8f7a
fix: Disable filtering on wide result sets (#18021) 2022-01-13 10:11:18 -08:00
Erik Ritter 14b9298ef7
fix: revert #17654 to fix subselect table name parsing (#18017) 2022-01-12 21:28:23 -08:00
Beto Dealmeida 51090c3f1b
feat: shorter timeout on test_connection (#18001)
* feat: shorter timeout on test_connection

* pip-compile-multi --no-upgrade

* Fix for SQLite

* Return 408

* Add test
2022-01-12 13:01:34 -08:00
Corbin Robb 6bd4dd257a
feat(timeseries-chart): add percentage threshold input control (#17758)
* feat(timeseries-chart): add percentage threshold control for stack series labels

* feat: move threshold vlues to an array

* add tests for showValue, onlyTotal, and percentThreshold

* feat: add another test

* revert ChartProps typesetting, fix misnamed variable on form data type, and other minor changes

* fix percentage threshold push equation

* fix percentage threshold push equation in tests

* change default on control to match form

* attempt fix form defaults import

Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local>
2022-01-12 14:46:27 -06:00
Erik Ritter 27000da2f8
fix: SQL Lab sorting of non-numbers (#18006) 2022-01-12 11:09:59 -08:00
AAfghahi 536ca1f62c
chore(DatasourceEditor): Create Datasource Legacy Editor Feature Flag (#18003)
* a lot of console logs

* adding new feature flag for datasource editor
2022-01-12 14:02:53 -05:00
AAfghahi 5e84fd19a9
refactor: Migration for Tabbed Sql Editor (#17925)
* a lot of console logs

* migration for tabbed Sql Editors
2022-01-12 12:25:24 -05:00
Jesse Yang f451081166
feat(chart): add Mexico to country map viz (#18007) 2022-01-12 08:41:12 -08:00
John Bodley 63ca09e345
fix: Workaround for sqlparse issue #652 (#17995)
* fix: Workaround for sqlparse issue #652

* Update superset/sql_parse.py

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>

* Update sql_parse.py

Co-authored-by: John Bodley <john.bodley@airbnb.com>
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2022-01-12 14:03:56 +13:00
John Bodley ce614ea815
fix: Adhere to series limit ordering for prequery (#17388)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-01-12 09:47:31 +13:00
Ajay M bdc35a2214
feat(alerts): Select tabs to send backend (#17749)
* Adding the extra config and validation

* wip

* reports working

* Tests working

* fix type

* Fix lint errors

* Fixing type issues

* add licence header

* fix the fixture deleting problem

* scope to session

* fix integration test

* fix review comments

* fix review comments patch 2

Co-authored-by: Grace Guo <grace.guo@airbnb.com>
2022-01-11 10:48:50 -08:00
Yongjie Zhao 46715b295c
refactor: remove unused ts-jest (#17996) 2022-01-11 23:43:45 +08:00
Daniel Vaz Gaspar 412189fcb7
fix: Change default SECRET_KEY, improve docs and banner warning (#17984)
* fix: Change default SECRET_KEY, improve docs and banner warning on default

* lint

* Update superset/initialization/__init__.py

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>

* add a secret migration procedure, update UPDATING

* fix lint

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2022-01-11 15:13:04 +00:00
ofekisr 7fc6a2f36c
refactor: examples data loading for tests (#17893)
* refactor: replace the way the birth_names data is generated

* refactor: replace the way the birth_names data is generated

* refactor structure
add tests for common
2022-01-11 14:16:09 +02:00
Daniel Vaz Gaspar 3a58424e62
fix: API logger output (#17981)
* fix: Improve logger messages on core API

* revert package.json change

* fix

* black

* improve log message

* improve message
2022-01-11 09:30:20 +00:00
Daniel Vaz Gaspar 44df04f15d
chore: use new FAB functionality for component schemas update OAS (#17967)
* chore: use new FAB functionality for component schemas and update OpenAPI spec

* remove unused import

* fix spec and lint

* EOF fix

* update open api spec with latest master
2022-01-11 09:30:00 +00:00
Ville Brofeldt cdcdf11d07
fix(helm): pin correct psycopg2 version (#17999) 2022-01-11 11:23:38 +02:00
Yongjie Zhao d8d47ce054
chore: reenable lint for test files (#17979)
* chore: reenable lint for test files

* fix comments
2022-01-11 14:22:56 +08:00
Yongjie Zhao e91b9a678f
refactor: move superset-ui dependencies to peerDependencies (#17965)
* chore: add commit message

* update learn

* update superset-ui-demo

* move superset-ui into peerDeps

* add --no-private argument in lerna version

* fix conflicts

* refresh lock file
2022-01-11 13:53:37 +08:00
Phillip Kelley-Dotson 3d829fc3c8
fix: dashboard reload crash (#17992)
* fix dashboard reload

* add more strict case
2022-01-10 18:34:28 -08:00
Lyndsi Kay Williams f7add546ad
Fixed error handling in Report modal (#17988) 2022-01-10 17:01:08 -06:00
Phillip Kelley-Dotson c139312bb3
fix: dashboard full screen layout (#17985)
* fix: full screen mode for dashboard

* remove console
2022-01-10 15:58:39 -07:00
Lyndsi Kay Williams df69920a2e
Moved dataset editor lock to top of component (#17930) 2022-01-10 16:55:00 -06:00
Lyndsi Kay Williams f6b9393999
Tooltip no longer dancing (#17931) 2022-01-10 16:54:38 -06:00
serenajiang 05d9cde203
feat: update time comparison choices (again) (#17968) 2022-01-10 10:08:15 -08:00
Erik Ritter 1e544ce531
fix: null dates in table chart (#17974) 2022-01-10 10:07:59 -08:00
Michael S. Molina 3a9bd12e3d
fix: Returns 404 instead of 500 for unknown dashboard filter state keys (#17878)
* fix: Returns 404 instead of 500 for unknown dashboard filter state keys

* Reduces hierarchies of if-expression

* Removes unnecessary check

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>

* Removes unused variable

* Fixes type error

* Removes unused import

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2022-01-10 14:24:22 -03:00
Stephen Liu bd9e1235a9
fix(dashboard): scope status of filter not update in dashboard metadata (#17945)
* fix(dashboard): scope status of filter not update in dashboard metadata

* fix save
2022-01-10 10:19:25 -07:00
Moriah Kreeger 7329e3c847
docs(contributing): update contributing section on docs page to match CONTRIBUTING.md (#17718)
* add contributing section with CONTRIBUTING.MD sections to docs page

* rm extraneous links

* add chart param reference, update section titles

* useful links

* test openapi

* revert test code

* bump swagger-react-ui version

* update package lock

* fix lock
2022-01-10 11:36:35 -05:00
Kamil Gabryjelski 35f4c33245
fix(native-filters): apply default value correctly when it's set (#17982) 2022-01-10 17:32:31 +01:00
Brennan Fox 79644651da
Close bracket on Helm chart reference (#17975) 2022-01-10 16:14:10 +01:00
Daniel Vaz Gaspar d35da1fc73
fix: css template API response, less data (#17980)
* fix: css template API response, less data

* add test
2022-01-10 13:00:39 +00:00
Mikhail Kumachev d2d4f8eb44
feat: Add support for Azure Data Explorer (Kusto) db engine spec (#17898)
* Add two Kusto engine specs: KQL and SQL. Some minor changes in core code to support Kusto engine specs.

* Remove redundant imports and logging.

* docs: Kusto sqlalchemy docs

* fix: Fix mypy and linting errors

* fix: Handle Black vs Pylint checks

* fix: isort problem

* refactor: Merge kustosql and kustokql in the single kusto module

* test: Add tests for Kusto db spec

* feat: Schema override does not require in KQL anymore

* Removed redundant imports.

* Added ".show" queries to readonly query determination.

* Fixed some bugs.
Added tests for convert_dttm.

* Fixed major sqlalchemy-kusto version.

* Fixed by isort.

Co-authored-by: Eugene Bikkinin <xnegxneg@gmail.com>
Co-authored-by: k.tomak <k.tomak@dodopizza.com>
Co-authored-by: Eugene Bikkinin <e.bikkinin@dodopizza.com>
2022-01-10 14:42:20 +02:00
Evan Rusackas c0a769581f
chore: bump typescript to 4.5.4, and adjust storybook story. (#17971)
* chore: bump typescript to 4.5.4, and adjust storybook story to pass linting

* ugh... missed a space. Thanks, linter :)

* nixing erroneous package lock file
2022-01-09 21:01:59 -07:00
Evan Rusackas fecb6d91c0
chore: fixing annoying warning about escaping in Emotion styling (#17972)
* chore: fixing annoying warning about escaping in Emotion styling

* linting 
2022-01-09 08:44:17 -07:00
Yongjie Zhao cb97e37a92
refactor: import value name from root of superset-ui/core (#17947)
* chart

* index and number-format

* char-composition and color

* connection

* dimension and math-expression

* models

* query

* time-format

* residual modules

* change config of jest and eslint

config

* wip

update package.json

* fix lint

* WithLegend import from superset-ui/core
2022-01-08 09:16:24 +08:00
dependabot[bot] 8b1e44cdf8
chore(deps): bump underscore from 1.12.0 to 1.12.1 in /superset-frontend (#17959)
Bumps [underscore](https://github.com/jashkenas/underscore) from 1.12.0 to 1.12.1.
- [Release notes](https://github.com/jashkenas/underscore/releases)
- [Commits](https://github.com/jashkenas/underscore/compare/1.12.0...1.12.1)

---
updated-dependencies:
- dependency-name: underscore
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-07 16:45:01 -07:00
dependabot[bot] be20b0d63d
chore(deps): bump babel from 2.5.3 to 2.9.1 in /superset/translations (#17958)
Bumps [babel](https://github.com/python-babel/babel) from 2.5.3 to 2.9.1.
- [Release notes](https://github.com/python-babel/babel/releases)
- [Changelog](https://github.com/python-babel/babel/blob/master/CHANGES)
- [Commits](https://github.com/python-babel/babel/compare/v2.5.3...v2.9.1)

---
updated-dependencies:
- dependency-name: babel
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-07 16:03:20 -07:00
Phillip Kelley-Dotson 765c72a858
fix: update slug name (#17961)
* fix: fix update slug name

* Update superset-frontend/src/dashboard/components/nativeFilters/FilterBar/index.tsx

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-01-07 11:37:12 -08:00
dependabot[bot] 5bf9634c29
chore(deps): bump @storybook/addon-actions in /superset-frontend (#17904)
Bumps [@storybook/addon-actions](https://github.com/storybookjs/storybook/tree/HEAD/addons/actions) from 6.3.12 to 6.4.9.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.4.9/addons/actions)

---
updated-dependencies:
- dependency-name: "@storybook/addon-actions"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-07 11:54:13 -07:00
Michael S. Molina 647bbf1ea1
chore: Moves spec files to the src folder - iteration 10 (#17902)
* chore: Moves spec files to the src folder - iteration 10

* Fixes test

* Fixes lint problem

* Uses styledMount in test
2022-01-07 15:24:15 -03:00
Michael S. Molina bb7e979142
chore: Moves spec files to the src folder - iteration 9 (#17901) 2022-01-07 15:23:57 -03:00
Rich Raposa c95d6bf88f
Update clickhouse.mdx (#17937)
There is a contradiction on this page - the requirements show `clickhouse-sqlalchemy` and then there is this sentence stating that the recommended connector is `sqlalchemy-clickhouse`, which is somewhat of an abandoned driver that is not seeing any activity in Github. I would suggest either removing the sentence about "recommended connector" or changing the link (as I have done in this PR).
2022-01-07 17:45:53 +02:00
Evan Rusackas 2098898b31
chore: Adding more viz category mappings for viz picker (#17956)
* Tagging two Bar charts

* tagging two more nvd3 bar charts
2022-01-07 08:12:33 -07:00
Stephen Liu 2ae29c9281
fix(Select): options will be overwritten due to seState (#17951) 2022-01-07 08:09:25 -07:00
Daniel Vaz Gaspar ea3a5836b5
chore: bump FAB to 3.4.3 (#17964) 2022-01-07 14:27:04 +00:00
Ville Brofeldt eeaa57372e
chore: unbreak pip-compile-multi (#17963)
* chore: unbreak pip-compile-multi

* add docs
2022-01-07 15:29:13 +02:00
Michael S. Molina e6ef7da758
chore: Moves spec files to the src folder - iteration 8 (#17899)
* chore: Moves spec files to the src folder - iteration 8

* Fixes tests
2022-01-07 09:25:45 -03:00