You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by su...@apache.org on 2020/10/13 17:47:47 UTC
[incubator-superset] branch feature/filter-p0 updated (c21f5b9 ->
e35836c)
This is an automated email from the ASF dual-hosted git repository.
suddjian pushed a change to branch feature/filter-p0
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git.
from c21f5b9 style: filters p0 icon churn (#11215)
add 6f61982 Remove erroneous package-lock.json (#11108)
add 3d7b805 chore: more 'datasource' -> 'dataset' renaming (#11055)
add 38dccf9 fix: enable consistent etag across workers and force no-cache for dashboards (#11137)
add 13963ac fix: Fix Time Column dropdown for date filter (#11149)
add b2af0c0 style(sqllab): make database errors more clear and render as monospace (#11075)
add f109f11 style: fix too light form labels in DatabaseModal + DRY css (#11056)
add c8a5dec style(dashboard): minor improvements to chart context menu (#11170)
add 071c81f fix: 📜 `/docs/api` won't render (#11168)
add ad25063 chore: add issue template for 'Cosmetic Issue' (#11174)
add 2eb400a chore: remove SIP_34_SAVED_QUERIES_UI feature flag (#11175)
add fb8320f fix: cosmetic issue template (#11176)
add 21c8d67 fix: save query modal/button styling + convert to ant-d modal (#11164)
add a071393 fixed undefined names error (#11180)
add 1fa8bf7 fix(viz): downgrade exception for missing viz/datasource (#11173)
add 32e174d test: removed unicode_test example from unit tests (#11131)
add 6e0d1b8 chore: cleanup FAB update perms (#11155)
add 9785667 feat: add UUID column to ImportMixin (#11098)
add 2a447ff Revert "refactor: Replace react-bootstrap tabs with Antd tabs (#11090)" (#11194)
add 7c60939 chore: turn SQL templating off by default (#11172)
add b6728d8 fix: skip unit test that is failing in master for test-postgres-hive (#11196)
add a10e86a fix: revert eTag cache feature for dashboard (#11203)
add 5561b42 Fix typo "insode" -> "inside" (#11204)
add 761e6db chore: Add __pycache__ to gitignore (#11208)
add d93b1af test: test_cache_logging is not depending on other dashboard (#11213)
add 56d5e8a Changed cache uid to be depending on table in test_csv_response_format (#11214)
add 7b0dabd style(listview): various changes to get closer to SIP-34 designs (#11101)
add a6fc3d2 feat: CSS Templates List (#11189)
add cb3f649 chore: simplify alerting data model to leverage a single class (#11179)
add b071344 refactor: Replace react-bootstrap tabs with Antd tabs in SqlLab (#11212)
add fa99635 fix: adding nofollow (#11225)
add 16d36a7 fix(cypress): table viz failed to run in postgres12 (#11230)
add 513bf10 chore: Leverage SQLALchemy ping rather than explicit SELECT 1 for testconn (#11223)
add e647286 chore(sql-lab): catch PyArrow deserialization error (#11201)
add 9f3d089 chore(sqla): assert query is single read-only statement (#11236)
add 9e9dac6 feat(datasets): REST API bulk delete (#11237)
add 8e58730 fix(dataset): update user list endpoint (#11221)
add dcdf15f docs: Added Dremio to superset home page (#11231)
add ae87b0c fix: questioning a few lines that force an ORDER clause (#11153)
add 6cf698c chore: deprecate REDUCE_DASHBOARD_BOOTSTRAP_PAYLOAD (#11244)
add 4f4367e feat: prevent co-edit dashboard collision (#11220)
add 88af85a fix: show TIME COLUMN options in dashboard (#11210)
add 51fec1a fix: Ensure consistent naming for testconn (#11246)
add e35836c Merge branch 'master' into feature/filter-p0
No new revisions were added by this update.
Summary of changes:
.github/ISSUE_TEMPLATE/cosmetic.md | 20 ++
.github/workflows/superset-e2e.yml | 8 +-
.github/workflows/superset-frontend.yml | 8 +-
.github/workflows/superset-python.yml | 8 +-
.github/workflows/test-hive.yml | 8 +-
.github/workflows/test-presto.yml | 8 +-
.gitignore | 2 +
.rat-excludes | 1 +
UPDATING.md | 6 +
docs/installation.rst | 17 --
docs/src/components/AnchorNavigator.tsx | 2 +-
docs/src/components/MainMenu.tsx | 4 +-
docs/src/images/databases/dremio.png | Bin 0 -> 94714 bytes
docs/src/pages/docs/api.mdx | 4 +-
docs/src/pages/docs/installation/configuring.mdx | 16 --
.../pages/docs/installation/installing_scratch.mdx | 2 +-
docs/src/pages/index.tsx | 2 +-
docs/src/resources/data.js | 5 +
package-lock.json | 3 -
.../integration/dashboard_list/list_view.test.ts | 2 +-
.../cypress/integration/explore/control.test.ts | 6 +-
.../explore/visualizations/shared.helper.js | 22 +-
.../explore/visualizations/table.test.ts | 4 +-
.../explore/components/FilterBox_spec.jsx | 29 +-
.../spec/javascripts/explore/fixtures.jsx | 3 +-
.../spec/javascripts/profile/App_spec.tsx | 5 +-
.../spec/javascripts/sqllab/SaveQuery_spec.jsx | 18 +-
.../CRUD/csstemplates/CssTemplatesList_spec.jsx | 77 ++++++
.../src/SqlLab/components/ResultSet.tsx | 11 +-
.../src/SqlLab/components/SaveQuery.jsx | 198 --------------
.../src/SqlLab/components/SaveQuery.tsx | 215 +++++++++++++++
.../src/SqlLab/components/SqlEditor.jsx | 4 +-
superset-frontend/src/SqlLab/main.less | 6 +-
.../src/addSlice/AddSliceContainer.tsx | 4 +-
superset-frontend/src/chart/Chart.jsx | 4 +-
superset-frontend/src/common/components/Modal.tsx | 9 +-
superset-frontend/src/components/Button/index.tsx | 1 +
superset-frontend/src/components/ErrorBoundary.jsx | 3 +-
.../ErrorMessage/ErrorMessageWithStackTrace.tsx | 16 +-
superset-frontend/src/components/FaveStar.tsx | 48 +---
.../src/components/IndeterminateCheckbox.tsx | 8 +-
.../src/components/ListView/CardCollection.tsx | 2 -
.../src/components/ListView/CardSortSelect.tsx | 6 +-
.../src/components/ListView/Filters.tsx | 4 +-
.../src/components/ListView/ListView.tsx | 78 +++---
.../src/components/ListView/TableCollection.tsx | 15 +-
superset-frontend/src/components/ListView/utils.ts | 1 +
.../src/components/ListViewCard/ImageLoader.tsx | 35 ++-
.../src/components/ListViewCard/index.tsx | 69 ++---
superset-frontend/src/components/Menu/SubMenu.tsx | 4 +-
superset-frontend/src/components/SearchInput.tsx | 5 +-
.../src/dashboard/components/Header.jsx | 1 +
.../src/dashboard/components/SaveModal.jsx | 1 +
.../src/dashboard/components/SliceAdder.jsx | 2 +-
.../dashboard/components/SliceHeaderControls.jsx | 12 +-
.../src/dashboard/reducers/getInitialState.js | 1 +
.../src/datasource/ChangeDatasourceModal.tsx | 6 +-
.../src/datasource/DatasourceEditor.jsx | 10 +-
.../src/datasource/DatasourceModal.tsx | 2 +-
.../src/explore/components/PropertiesModal.tsx | 2 +-
.../components/controls/DatasourceControl.jsx | 10 +-
.../src/explore/controlPanels/sections.jsx | 2 +-
superset-frontend/src/explore/controls.jsx | 9 +-
superset-frontend/src/featureFlags.ts | 1 -
superset-frontend/src/profile/components/App.tsx | 37 ++-
.../src/profile/components/Security.tsx | 2 +-
.../src/utils/getClientErrorObject.ts | 2 +-
superset-frontend/src/views/App.tsx | 6 +
.../src/views/CRUD/chart/ChartList.tsx | 105 +++++---
.../views/CRUD/csstemplates/CssTemplatesList.tsx | 187 +++++++++++++
.../src/views/CRUD/dashboard/DashboardList.tsx | 132 +++++----
superset-frontend/src/views/CRUD/data/common.ts | 3 +-
.../src/views/CRUD/data/database/DatabaseList.tsx | 4 +-
.../src/views/CRUD/data/database/DatabaseModal.tsx | 21 +-
.../src/views/CRUD/data/dataset/DatasetList.tsx | 61 ++---
.../views/CRUD/data/savedquery/SavedQueryList.tsx | 119 ++++-----
.../src/visualizations/FilterBox/FilterBox.jsx | 2 +-
superset-frontend/stylesheets/superset.less | 2 +
superset/app.py | 5 -
superset/config.py | 13 +-
superset/connectors/sqla/models.py | 12 +-
superset/dashboards/dao.py | 11 +
superset/datasets/api.py | 64 +++++
.../commands/bulk_delete.py | 52 +++-
superset/datasets/commands/exceptions.py | 4 +
superset/datasets/dao.py | 26 ++
superset/datasets/schemas.py | 2 +
superset/exceptions.py | 4 +
superset/jinja_context.py | 21 +-
...208f_collapse_alerting_models_into_a_single_.py | 294 +++++++++++++++++++++
...b56500de1855_add_uuid_column_to_import_mixin.py | 154 +++++++++++
superset/models/alerts.py | 144 ++++------
superset/models/dashboard.py | 1 +
superset/models/helpers.py | 6 +
superset/models/slice.py | 6 +-
superset/tasks/alerts/observer.py | 17 +-
superset/tasks/alerts/validator.py | 18 +-
superset/tasks/schedules.py | 16 +-
.../templates/superset/models/database/macros.html | 4 +-
superset/utils/core.py | 4 +-
superset/utils/decorators.py | 28 +-
superset/views/alerts.py | 157 +++--------
superset/views/core.py | 132 +++++----
superset/views/css_templates.py | 16 ++
superset/views/sql_lab.py | 6 +-
superset/views/utils.py | 119 +++------
superset/viz.py | 6 +-
tests/alerts_tests.py | 284 +++++++++-----------
tests/charts/api_tests.py | 3 +
tests/conftest.py | 2 -
tests/core_tests.py | 6 +-
tests/dashboard_tests.py | 15 ++
tests/dashboard_utils.py | 85 ++++++
tests/databases/api_tests.py | 16 +-
tests/datasets/api_tests.py | 114 +++++++-
tests/dict_import_export_tests.py | 20 +-
tests/fixtures/unicode_dashboard.py | 110 ++++++++
tests/import_export_tests.py | 4 +-
tests/query_context_tests.py | 2 +-
tests/security_tests.py | 16 +-
tests/sqla_models_tests.py | 42 +++
tests/strategy_tests.py | 14 +-
tests/superset_test_config.py | 7 +-
tests/utils_tests.py | 12 -
124 files changed, 2522 insertions(+), 1350 deletions(-)
create mode 100644 .github/ISSUE_TEMPLATE/cosmetic.md
create mode 100644 docs/src/images/databases/dremio.png
delete mode 100644 package-lock.json
create mode 100644 superset-frontend/spec/javascripts/views/CRUD/csstemplates/CssTemplatesList_spec.jsx
delete mode 100644 superset-frontend/src/SqlLab/components/SaveQuery.jsx
create mode 100644 superset-frontend/src/SqlLab/components/SaveQuery.tsx
create mode 100644 superset-frontend/src/views/CRUD/csstemplates/CssTemplatesList.tsx
copy superset/{dashboards => datasets}/commands/bulk_delete.py (52%)
create mode 100644 superset/migrations/versions/af30ca79208f_collapse_alerting_models_into_a_single_.py
create mode 100644 superset/migrations/versions/b56500de1855_add_uuid_column_to_import_mixin.py
create mode 100644 tests/dashboard_utils.py
create mode 100644 tests/fixtures/unicode_dashboard.py