You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by hu...@apache.org on 2023/01/11 19:12:42 UTC
[superset] branch ssh-logging updated (8b352e5000 -> fdd45f8b66)
This is an automated email from the ASF dual-hosted git repository.
hugh pushed a change to branch ssh-logging
in repository https://gitbox.apache.org/repos/asf/superset.git
from 8b352e5000 fix linting
add d18c7d6128 fix(ssh-tunnel): fix dataset creation flow through modal for DB with tunnel (#22581)
add fad873c100 fix(dashboard): Add runtime safety checks and improved tests (#22457)
add 7591acba54 fix: change type of slack error (#22443)
add 804e89d725 fix: stringify ValueErrors for NaT types (#22628)
add 1bc2237768 chore: adjusting Alerts & reports docs to use the latest chromedriver (#22517)
add 9cfbc22cd2 chore: bump sqloxide to 0.1.30 (#22615)
add 001100ddf0 feat(db_engine_specs): big query cost estimation (#21325)
add 30dab3a00a chore: Bump flask libs (#22355)
add 5b2ca97341 fix(sqllab): remove link to sqllab if missing perms (#22566)
add 3ffdad1074 build(deps-dev): bump prettier from 2.4.1 to 2.8.2 in /superset-websocket (#22638)
add 02e8511563 fix(dashboard): Add safety checks to areas that throw runtime errors in dashboard filters (#22648)
add 8f865ce1ce chore: upgrade use-immer (#22646)
add 516d56b7e8 chore: upgrade react-window (#22645)
add 159dcd7e62 feat(RLS): RESTful apis and react view for RLS (#22325)
add 8bf6d80155 fix: Stop query in SQL Lab with impala engine (#22635)
add 399f6e3ddc feat(dashboard): Display a loading spinner while dashboard is being saved (#22588)
add 1e3746be21 fix(dockerfile): fix "unhealthy" container state (#22663)
add 08f45ef207 fix(viz-gallery): respect denylist in viz gallery (#22658)
add 0b22287ad9 feat: make CTA text in Alerts & Reports mails configurable (#19779)
add 73e53fab7a fix(bootstrap-data): always check flashes (#22659)
add c0aeb2a75a chore(embedded): bump package versions (#22676)
add 8f98c469fd docs: Add Careem to the user's list (#22669)
add 1fe0290a60 chore: Add KarrotPay in INTHEWILD.md (#22666)
add 44c9cf4de5 chore: Migrate /superset/search_queries to API v1 (#22579)
add f3696ceef3 chore: Localization of several charts and elements (#22150)
add 7b15e6e3c7 fix(nav): make doc and bug buttons customizable (#22682)
add a8f3a4fb6e fix(sqllab): Overflow bigint in json-tree view (#22609)
add 0908fd291b chore: Bump Flask-AppBuilder to 4.2.0 (#22580)
add fdd45f8b66 Merge branch 'master' of https://github.com/apache/superset into ssh-logging
No new revisions were added by this update.
Summary of changes:
Dockerfile | 1 +
RESOURCES/INTHEWILD.md | 2 +
UPDATING.md | 1 +
docs/docs/installation/alerts-reports.mdx | 2 +-
requirements/base.txt | 22 +-
requirements/development.txt | 2 +-
setup.py | 13 +-
superset-embedded-sdk/package.json | 2 +-
superset-frontend/package-lock.json | 48 +-
superset-frontend/package.json | 6 +-
.../src/sections/advancedAnalytics.tsx | 50 +-
.../src/sections/chartTitle.tsx | 9 +-
.../src/shared-controls/sharedControls.tsx | 32 +-
.../src/chart/components/FallbackComponent.tsx | 5 +-
.../src/chart/components/SuperChartCore.tsx | 3 +-
.../storybook/shared/components/VerifyCORS.tsx | 3 +-
.../packages/superset-ui-switchboard/package.json | 2 +-
.../src/controlPanel.ts | 29 +-
.../src/controlPanel.tsx | 51 +-
.../src/controlPanel.ts | 6 +-
.../src/controlPanel.ts | 50 +-
.../src/controlPanel.tsx | 73 +-
.../src/controlPanel.ts | 17 +-
.../legacy-plugin-chart-rose/src/controlPanel.tsx | 81 +-
.../src/controlPanel.ts | 8 +-
.../src/layers/Arc/Arc.jsx | 4 +-
.../src/layers/Grid/Grid.jsx | 6 +-
.../src/layers/Hex/Hex.jsx | 5 +-
.../src/layers/Hex/controlPanel.ts | 29 +-
.../src/layers/Path/controlPanel.ts | 4 +-
.../src/layers/Polygon/Polygon.jsx | 7 +-
.../src/layers/Scatter/Scatter.jsx | 6 +-
.../src/layers/Scatter/controlPanel.ts | 12 +-
.../src/layers/Screengrid/Screengrid.jsx | 9 +-
.../src/utilities/Shared_DeckGL.jsx | 30 +-
.../src/Area/controlPanel.ts | 6 +-
.../legacy-preset-chart-nvd3/src/NVD3Controls.tsx | 115 +-
.../src/Pie/controlPanel.ts | 12 +-
.../src/TimePivot/controlPanel.ts | 12 +-
.../BigNumberWithTrendline/controlPanel.tsx | 31 +-
.../src/BoxPlot/controlPanel.ts | 27 +-
.../src/Funnel/controlPanel.tsx | 12 +-
.../src/MixedTimeseries/controlPanel.tsx | 14 +-
.../plugin-chart-echarts/src/Pie/controlPanel.tsx | 12 +-
.../src/Radar/controlPanel.tsx | 4 +-
.../src/Timeseries/Area/controlPanel.tsx | 10 +-
.../src/Timeseries/Regular/Bar/controlPanel.tsx | 4 +-
.../src/Timeseries/Regular/Line/controlPanel.tsx | 14 +-
.../src/Timeseries/Step/controlPanel.tsx | 6 +-
.../src/Treemap/controlPanel.tsx | 6 +-
.../src/components/Handlebars/HandlebarsViewer.tsx | 4 +-
.../src/plugin/controlPanel.tsx | 44 +-
.../src/react-pivottable/TableRenderers.jsx | 10 +-
.../plugins/plugin-chart-table/src/TableChart.tsx | 2 +-
.../src/plugin/controlPanel.ts | 6 +-
.../preset-chart-xy/src/BoxPlot/controlPanel.ts | 30 +-
superset-frontend/spec/helpers/reducerIndex.ts | 8 +-
superset-frontend/spec/helpers/setup.ts | 2 +-
superset-frontend/src/SqlLab/App.jsx | 4 +-
.../src/SqlLab/components/ColumnElement/index.tsx | 8 +-
.../components/ExploreCtasResultsButton/index.tsx | 2 +-
.../components/ExploreResultsButton/index.tsx | 2 +-
.../SqlLab/components/QueryLimitSelect/index.tsx | 5 +-
.../components/QuerySearch/QuerySearch.test.jsx | 139 -
.../src/SqlLab/components/QuerySearch/index.tsx | 289 -
.../SqlLab/components/SaveDatasetModal/index.tsx | 2 +-
.../components/ScheduleQueryButton/index.tsx | 8 +-
.../src/SqlLab/components/SqlEditor/index.jsx | 6 +-
.../SqlLab/components/TabbedSqlEditors/index.jsx | 8 +-
.../components/TemplateParamsEditor/index.tsx | 12 +-
superset-frontend/src/SqlLab/reducers/sqlLab.js | 6 +-
.../src/addSlice/AddSliceContainer.test.tsx | 2 +-
.../src/addSlice/AddSliceContainer.tsx | 5 +
.../src/components/AlteredSliceTag/index.jsx | 6 +-
.../Chart/DrillDetail/DrillDetailPane.tsx | 2 +-
.../src/components/CopyToClipboard/index.jsx | 2 +-
.../Datasource/ChangeDatasourceModal.tsx | 4 +-
.../src/components/Datasource/DatasourceEditor.jsx | 8 +-
.../FilterableTable/FilterableTable.test.tsx | 17 +
.../src/components/FilterableTable/index.tsx | 17 +-
.../src/components/Form/LabeledErrorBoundInput.tsx | 6 +-
.../src/components/ImportModal/index.tsx | 4 +-
.../src/components/ReportModal/index.tsx | 2 +-
.../src/dashboard/actions/dashboardState.js | 14 +
.../src/dashboard/actions/dashboardState.test.js | 8 +-
superset-frontend/src/dashboard/actions/hydrate.js | 1 +
.../src/dashboard/components/Dashboard.jsx | 4 +-
.../DashboardBuilder/DashboardBuilder.test.tsx | 14 +
.../DashboardBuilder/DashboardBuilder.tsx | 14 +-
.../components/DashboardEmbedControls.tsx | 2 +-
.../dashboard/components/gridComponents/Tabs.jsx | 13 +-
.../components/gridComponents/new/NewMarkdown.jsx | 3 +-
.../FiltersConfigModal/FilterTitlePane.tsx | 4 +-
.../FiltersConfigForm/FilterScope/utils.test.ts | 18204 +++++++++++++++++++
.../FiltersConfigForm/FilterScope/utils.ts | 51 +-
.../src/dashboard/reducers/dashboardLayout.js | 64 +-
.../src/dashboard/reducers/dashboardLayout.test.js | 23 +-
.../src/dashboard/reducers/dashboardState.js | 14 +
superset-frontend/src/dashboard/types.ts | 1 +
.../src/dashboard/util/findParentId.js | 49 -
.../{findParentId.test.js => findParentId.test.ts} | 11 +
.../src/dashboard/util/findParentId.ts | 68 +
.../src/dashboard/util/permissionUtils.test.ts | 38 +-
.../src/dashboard/util/permissionUtils.ts | 15 +-
superset-frontend/src/embedded/api.tsx | 4 +-
superset-frontend/src/embedded/index.tsx | 3 +-
.../DataTablesPane/components/SamplesPane.tsx | 2 +-
.../AnnotationLayerControl/AnnotationLayer.jsx | 28 +-
.../controls/ColorSchemeControl/index.tsx | 2 +-
.../DatasourceControl/DatasourceControl.test.tsx | 51 +-
.../controls/DatasourceControl/index.jsx | 13 +-
.../controls/FixedOrMetricControl/index.jsx | 2 +-
.../MetricControl/AdhocMetricEditPopoverTitle.tsx | 2 +-
.../explore/components/controls/SpatialControl.jsx | 6 +-
.../controls/TimeSeriesColumnControl/index.jsx | 92 +-
.../components/controls/ViewportControl.jsx | 3 +-
.../VizTypeControl/VizTypeControl.test.tsx | 2 +-
.../controls/VizTypeControl/VizTypeGallery.tsx | 2 +
.../components/controls/VizTypeControl/index.tsx | 4 +
.../src/explore/controlPanels/sections.tsx | 76 +-
superset-frontend/src/explore/controls.jsx | 42 +-
superset-frontend/src/explore/fixtures.tsx | 6 +-
.../src/filters/components/GroupBy/controlPanel.ts | 2 +-
.../src/filters/components/Range/buildQuery.ts | 5 +-
.../src/filters/components/Range/controlPanel.ts | 2 +-
.../src/filters/components/Select/controlPanel.ts | 2 +-
.../src/filters/components/Time/controlPanel.ts | 2 +-
superset-frontend/src/middleware/asyncEvent.ts | 17 +-
superset-frontend/src/preamble.ts | 31 +-
superset-frontend/src/profile/App.tsx | 8 +-
superset-frontend/src/profile/components/App.tsx | 4 +-
.../src/profile/components/CreatedContent.tsx | 6 +-
.../src/profile/components/Favorites.tsx | 7 +-
.../src/profile/components/RecentActivity.tsx | 6 +-
.../src/profile/components/Security.tsx | 13 +-
.../src/profile/components/UserInfo.tsx | 21 +-
superset-frontend/src/showSavedQuery/index.jsx | 5 +-
superset-frontend/src/types/bootstrapTypes.ts | 4 +
superset-frontend/src/utils/getBootstrapData.ts | 3 +-
superset-frontend/src/utils/hostNamesConfig.js | 5 +-
superset-frontend/src/views/App.tsx | 15 +-
.../src/views/CRUD/alert/ExecutionLog.tsx | 2 +-
.../alert/components/AlertReportCronScheduler.tsx | 2 +-
.../src/views/CRUD/annotation/AnnotationList.tsx | 4 +-
.../src/views/CRUD/chart/ChartList.tsx | 6 +-
.../src/views/CRUD/dashboard/DashboardList.tsx | 4 +-
.../DatabaseConnectionForm/CommonParameters.tsx | 2 +-
.../data/database/DatabaseModal/ExtraOptions.tsx | 16 +-
.../data/database/DatabaseModal/ModalHeader.tsx | 60 +-
.../CRUD/data/dataset/AddDataset/Footer/index.tsx | 2 +-
.../src/views/CRUD/data/dataset/DatasetList.tsx | 4 +-
.../views/CRUD/data/savedquery/SavedQueryList.tsx | 5 +-
.../rowlevelsecurity/RowLevelSecurityList.test.tsx | 259 +
.../CRUD/rowlevelsecurity/RowLevelSecurityList.tsx | 351 +
.../RowLevelSecurityModal.test.tsx | 295 +
.../rowlevelsecurity/RowLevelSecurityModal.tsx | 480 +
.../views/CRUD/rowlevelsecurity/constants.ts} | 15 +-
.../views/CRUD/rowlevelsecurity/types.ts} | 59 +-
.../src/views/CRUD/welcome/ActivityTable.test.tsx | 4 +-
.../src/views/CRUD/welcome/ActivityTable.tsx | 29 +-
.../src/views/CRUD/welcome/Welcome.test.tsx | 55 +-
.../src/views/CRUD/welcome/Welcome.tsx | 109 +-
.../src/views/RootContextProviders.tsx | 6 +-
.../src/views/components/RightMenu.tsx | 53 +-
superset-frontend/src/views/menu.tsx | 7 +-
superset-frontend/src/views/routes.tsx | 10 +
superset-frontend/src/views/store.ts | 11 +-
.../src/visualizations/FilterBox/controlPanel.jsx | 2 +-
.../src/visualizations/TimeTable/TimeTable.jsx | 4 +-
superset-websocket/package-lock.json | 17 +-
superset-websocket/package.json | 2 +-
superset/charts/data/commands/get_data_command.py | 6 +-
superset/config.py | 42 +-
superset/connectors/sqla/views.py | 117 +-
superset/dao/base.py | 11 +
superset/db_engine_specs/bigquery.py | 92 +
superset/db_engine_specs/hive.py | 10 +-
superset/db_engine_specs/impala.py | 90 +
superset/errors.py | 2 +-
superset/initialization/__init__.py | 22 +-
superset/models/core.py | 23 +-
superset/reports/notifications/email.py | 2 +-
superset/reports/notifications/slack.py | 6 +-
superset/result_set.py | 1 +
.../api.py | 298 +-
.../commands}/__init__.py | 0
.../commands/bulk_delete.py | 24 +-
.../commands/create.py | 50 +-
.../commands/exceptions.py | 10 +-
.../commands/update.py | 55 +-
.../ssh_tunnel => row_level_security}/dao.py | 9 +-
superset/row_level_security/schemas.py | 154 +
superset/security/manager.py | 40 +-
superset/sqllab/query_render.py | 2 +-
superset/templates/appbuilder/navbar_right.html | 127 -
superset/translations/de/LC_MESSAGES/messages.json | 2 +-
superset/translations/de/LC_MESSAGES/messages.po | 32 +-
superset/translations/en/LC_MESSAGES/messages.po | 32 +-
superset/translations/es/LC_MESSAGES/messages.po | 32 +-
superset/translations/fr/LC_MESSAGES/messages.json | 2 +-
superset/translations/fr/LC_MESSAGES/messages.po | 32 +-
superset/translations/it/LC_MESSAGES/messages.po | 32 +-
superset/translations/ja/LC_MESSAGES/messages.po | 32 +-
superset/translations/ko/LC_MESSAGES/messages.po | 32 +-
superset/translations/messages.pot | 32 +-
superset/translations/nl/LC_MESSAGES/messages.json | 2 +-
superset/translations/nl/LC_MESSAGES/messages.po | 32 +-
superset/translations/pt/LC_MESSAGES/message.po | 30 -
.../translations/pt_BR/LC_MESSAGES/messages.po | 32 +-
superset/translations/ru/LC_MESSAGES/messages.po | 32 +-
superset/translations/sk/LC_MESSAGES/messages.po | 32 +-
superset/translations/sl/LC_MESSAGES/messages.json | 15 +-
superset/translations/sl/LC_MESSAGES/messages.po | 40 +-
superset/translations/zh/LC_MESSAGES/messages.po | 32 +-
superset/views/base.py | 20 +-
superset/views/core.py | 28 +-
superset/viz.py | 2 +-
tests/integration_tests/conftest.py | 6 +-
tests/integration_tests/core_tests.py | 19 +-
tests/integration_tests/dashboard_tests.py | 2 +-
tests/integration_tests/datasource_tests.py | 28 +-
.../queries/saved_queries/api_tests.py | 8 +-
tests/integration_tests/reports/commands_tests.py | 86 +-
.../security/row_level_security_tests.py | 419 +-
tests/integration_tests/sqllab_tests.py | 16 +
tests/integration_tests/thumbnails_tests.py | 4 +-
tests/unit_tests/dataframe_test.py | 18 +
tests/unit_tests/result_set_test.py | 34 +
228 files changed, 22382 insertions(+), 2583 deletions(-)
delete mode 100644 superset-frontend/src/SqlLab/components/QuerySearch/QuerySearch.test.jsx
delete mode 100644 superset-frontend/src/SqlLab/components/QuerySearch/index.tsx
create mode 100644 superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/FiltersConfigForm/FilterScope/utils.test.ts
delete mode 100644 superset-frontend/src/dashboard/util/findParentId.js
rename superset-frontend/src/dashboard/util/{findParentId.test.js => findParentId.test.ts} (79%)
create mode 100644 superset-frontend/src/dashboard/util/findParentId.ts
create mode 100644 superset-frontend/src/views/CRUD/rowlevelsecurity/RowLevelSecurityList.test.tsx
create mode 100644 superset-frontend/src/views/CRUD/rowlevelsecurity/RowLevelSecurityList.tsx
create mode 100644 superset-frontend/src/views/CRUD/rowlevelsecurity/RowLevelSecurityModal.test.tsx
create mode 100644 superset-frontend/src/views/CRUD/rowlevelsecurity/RowLevelSecurityModal.tsx
copy superset-frontend/{packages/superset-ui-demo/storybook/stories/plugins/legacy-preset-chart-nvd3/Pie/data.ts => src/views/CRUD/rowlevelsecurity/constants.ts} (83%)
copy superset-frontend/{packages/superset-ui-core/src/color/ColorScheme.ts => src/views/CRUD/rowlevelsecurity/types.ts} (63%)
copy superset/{annotation_layers => row_level_security}/api.py (55%)
copy superset/{advanced_data_type => row_level_security/commands}/__init__.py (100%)
copy superset/{queries/saved_queries => row_level_security}/commands/bulk_delete.py (71%)
copy superset/{annotation_layers => row_level_security}/commands/create.py (54%)
copy superset/{css_templates => row_level_security}/commands/exceptions.py (81%)
copy superset/{databases/ssh_tunnel => row_level_security}/commands/update.py (50%)
copy superset/{databases/ssh_tunnel => row_level_security}/dao.py (83%)
create mode 100644 superset/row_level_security/schemas.py
delete mode 100644 superset/templates/appbuilder/navbar_right.html