ofekisr
4675ca31c5
refactor(example_data): replace the way the birth_names data is loaded to DB ( #18060 )
...
* refactor: replace the way the birth_names data is loaded to DB
* fix failed unit test
* fix failed unit test
* fix failed tests
* fix pass wrong flag of support datetime type
* remove unused fixture
2022-01-18 23:21:04 +02:00
AAfghahi
88db2cc0ab
refactor(sql_lab): SQL Lab Persistent Saved State ( #17771 )
...
* a lot of console logs
* testing
* test
* added saved_query to remoteId
* created useEffect so that title properly changes in modal
* Update superset-frontend/src/SqlLab/actions/sqlLab.js
Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
2022-01-18 13:10:31 -05:00
Ville Brofeldt
5bfe2d47b0
fix(generator): add lockfile and fix styling issues ( #18073 )
...
* fix(generator): add lockfile and fix styling issues
* fix margins and remove redundant scroll
* update tutorial
2022-01-18 12:37:09 +02:00
Stephen Liu
3b64563f3f
fix(dashboard): scope of nativefilter not update ( #18048 )
2022-01-18 16:51:51 +08:00
Yongjie Zhao
0c7f7288d8
feat(advanced analytics): support groupby in resample ( #18045 )
2022-01-17 18:42:59 +08:00
Ville Brofeldt
8dea7f500b
fix(generator): more cleanup to plugin framework ( #18027 )
...
* fix(generator): more cleanup to plugin framework
* fix typo and package name
* add docs
* fix typo
* Update superset-frontend/webpack.config.js
Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
* fix generator reference
* add steps to tutorial and fix package version
* refine docs/readme
Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
2022-01-17 10:23:35 +02:00
Ville Brofeldt
de8a1fa9c6
chore(plugin-chart-echarts): add types to controls ( #18059 )
2022-01-16 14:21:47 +02:00
ofekisr
e53a50a155
chore(supeset.utils.core): move all database utils to database utils module ( #18058 )
2022-01-16 08:32:50 +02:00
Đặng Minh Dũng
0b67fe1beb
feat: Trino Authentications ( #17593 )
...
* feat: support Trino Authentications
Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
* docs: Trino Authentications
Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
2022-01-14 21:02:47 -08:00
Hugh A. Miles II
5da3c45fc6
Revert "Update superset-e2e.yml ( #18041 )" ( #18051 )
...
This reverts commit b5652739c9
.
2022-01-14 14:40:02 -05:00
Hugh A. Miles II
b5652739c9
Update superset-e2e.yml ( #18041 )
2022-01-14 13:32:39 -05:00
AAfghahi
7728db7410
important change to MakeFile ( #18037 )
2022-01-14 10:22:30 -05:00
Đặ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