This is an automated email from the ASF dual-hosted git repository.
diegopucci pushed a change to branch diego/ch79154/fix-color-inconsistency
in repository https://gitbox.apache.org/repos/asf/superset.git
from 8bdbb2ed9a Fix coverage
add d25928f125 chore: Updates CHANGELOG.md with 4.0.1 data (#28452)
add e1cd0547de chore(helm): bumping app version to 4.0.1 in helm chart
(#28456)
add 983f809951 fix: Color scheme control crashing when dashboardId present
(#28457)
add 89dbb9888c chore(models): Adding encrypted field checks (#28436)
add d871b4d267 fix(ar-modal): updateNotificationSettings not updating
state (#28409)
add 356a58d5f6 fix: jwt extended broken by flask bump (#28451)
add 3f5ffc7026 chore(🦾): bump python flask-caching 2.1.0 -> 2.3.0 (#28463)
add e8ba5045d9 chore(🦾): bump python markdown subpackage(s) (#28464)
add 62b1757b07 chore(🦾): bump python flask-migrate subpackage(s) (#28465)
add 908a9bbb4c chore(🦾): bump python flask-session subpackage(s) (#28472)
add fedd24522c chore(🦾): bump python cryptography 42.0.5 -> 42.0.7 (#28468)
add e6aba5979a chore(🦾): bump python geopy subpackage(s) (#28479)
add 1ccbc655eb fix: Update migration logic in #27119 (#28422)
add 0cb60aea8f chore: deprecate old Dataset related endpoints (#28453)
add 2199f6f60d chore(🦾): bump python flask-compress 1.14 -> 1.15 (#28469)
add e9de641705 chore(🦾): bump python redis subpackage(s) (#28467)
add 4c8e9a1414 build(deps): bump ejs from 3.1.8 to 3.1.10 in
/superset-frontend (#28309)
add afdf0389a3 fix(presto preview): re-enable schema previsualization for
Trino/Presto table/schemas (#26782)
add b160fd40c8 chore: remove lost file (#28484)
add 920f2f437e refactor: Migrate saveModalActions to TypeScript (#28046)
add 964202adff chore: Don't mark Helm releases as latest (#28498)
add 4f693c6db0 chore: bump gunicorn to 22.0.0 (#28490)
add c12deed12e chore: deprecate multiple old APIs (#28492)
add d7b6f1cb5d fix: bump sqlparse to 0.5.0 (#28144)
add f0b7b95d05 chore: deprecate old Dashboard endpoints (#28399)
add 821c7d7f2c fix: Time shifts calculation for ECharts plugins (#28432)
add 65e0d54fa5 fix(dashboard): invalid drop item on a tab (#28507)
add 11164e2450 fix: improve df to records performance (#28512)
add 6232aac95a chore(D2D): Add granular permission for dashboard drilling
operations (#28435)
add f420005b57 chore(docs): updating alerts & reports documentation
WEBDRIVER_BASEURL settings for docker compose (#27951)
add 5f714b707c fix: utf-16 json encoder support (#28486)
add 2defa10d37 chore: Adds setActiveTabs back (#28520)
add 0d5f08a2fd docs: creating a redirect for a legacy link about
pre-commit hook (#28499)
add 8f0baa45b6 chore(docker): Reduce image size and update
GECKODRIVER_VERSION ,FIRE… (#28508)
add 97341a14b9 fix: move to slack-sdk files_upload_v2 (#28423)
add cafc1a2c13 feat(maps): Adding ALL the countries to the Country Map
plugin! 🌎 (#28265)
add c369e8161c chore(🦾): bump python numexpr 2.9.0 -> 2.10.0 (#28506)
add c08849883d chore(🦾): bump python email-validator 1.1.3 -> 2.1.1
(#28503)
add bfb92976cb chore(🦾): bump python fonttools 4.43.0 -> 4.51.0 (#28500)
add aa2b060da8 feat: Customizable email subject name (#26327)
add 938a7270eb fix(Dashboard): Prevent scroll when hovering filters
(#28550)
add 02b98b9565 chore(🦾): bump python pyasn1-modules 0.3.0 -> 0.4.0 (#28545)
add 24fa7a94d0 chore(🦾): bump python zope-event 4.5.0 -> 5.0 (#28528)
add bac71613de chore(🦾): bump python requests-cache 1.1.1 -> 1.2.0 (#28542)
add c90eea2b31 chore(🦾): bump python flask-jwt-extended 4.5.3 -> 4.6.0
(#28544)
add 87f8340da4 chore(🦾): bump python amqp 5.1.1 -> 5.2.0 (#28536)
add b69958b412 chore(🦾): bump python croniter 2.0.3 -> 2.0.5 (#28474)
add b1f85dce71 refactor(plugins): BigNumber Time Comparison with existing
time_offset API (#27718)
add 5da6d2bd88 feat: add support for catalogs (#28416)
add 9924cfdf3c fix(i18n): Adding and modifying Japanese translations
(#28487)
add 5ae645828f fix: db migration revision (#28556)
add 956511f7ef fix(explore): hide a control wrapped with
StashFormDataContainer correctly (#28555)
add a2947d0c23 fix: Correction translation (#28497)
add c9aa4a1f84 fix: Revert "fix: don't strip SQL comments in Explore
(#28363)" (#28567)
add c51ca98e14 fix: Add back description column to saved queries #12431
(#28349)
add 3d8efbc6df chore(🦾): bump python jsonschema-spec 0.1.4 -> 0.1.6
(#28530)
add a27eea3450 chore(🦾): bump python charset-normalizer 3.2.0 -> 3.3.2
(#28531)
add 51d50358a0 chore(🦾): bump python dill 0.3.6 -> 0.3.8 (#28539)
add 78530c6c17 chore(🦾): bump python numba 0.57.1 -> 0.59.1 (#28537)
add 389d8b5b5d chore(🦾): bump python nodeenv 1.7.0 -> 1.8.0 (#28532)
add e954360eec fix: Fixes workflow Applitools Cypress (#28566)
add 56f0fc4ec2 refactor: Migration of json utilities from core (#28522)
add 1c48fe05fd fix: Update migration logic in #27119 (#28482)
add 0d5aec12d4 refactor(superset-ui-core): Migrate ChartFrame to RTL
(#28563)
add 62a0336425 fix: add listener to repaint on visibility change for
canvas (#28568)
add 4fa7619b1f fix: revert fix(presto preview): re-enable schema
previsualization for Trino/Presto table/schemas" (#28613)
add ac53f7fea9 feat: Data Zoom scrolls using the mouse (mark II) (#28629)
add 1573c101a7 fix(ci): restrict issue comments to members or owners
(#28633)
add 35284589cb feat: unpack payload into log function (#28521)
add ac2e0e227a chore(🦾): bump python db-dtypes 1.1.1 -> 1.2.0 (#28541)
add 575c54f48e chore(🦾): bump python tomlkit 0.11.8 -> 0.12.5 (#28540)
add 8ae2974a8e chore(🦾): bump python ruff 0.4.0 -> 0.4.4 (#28584)
add d6a90b0abd chore(🦾): bump python pip-tools 7.3.0 -> 7.4.1 (#28593)
add 057656f8be chore(🦾): bump python zipp 3.18.1 -> 3.18.2 (#28591)
add 7a55ea717d chore(🦾): bump python google-resumable-media 2.5.0 -> 2.7.0
(#28588)
add c42f674089 chore(🦾): bump python sqlalchemy-bigquery 1.10.0 -> 1.11.0
(#28587)
add 51f49c4df4 chore(🦾): bump python pre-commit 3.7.0 -> 3.7.1 (#28586)
add 262a2fc5fb chore(🦾): bump python idna 3.2 -> 3.7 (#28589)
add 948c0d08f3 chore(🦾): bump python pycparser 2.20 -> 2.22 (#28585)
add d625a5b99c chore(🦾): bump python distlib 0.3.6 -> 0.3.8 (#28583)
add 071df0263c chore(🦾): bump python apsw 3.42.0.1 -> 3.45.3.0 (#28582)
add bf7946e31c chore(🦾): bump python ijson 3.2.0.post0 -> 3.2.3 (#28581)
add d5886dc180 chore(🦾): bump python tzdata 2023.3 -> 2024.1 (#28579)
add 245a369d9f chore(🦾): bump python parso 0.8.3 -> 0.8.4 (#28578)
add 5d52aaf49d chore(🦾): bump python tqdm 4.65.0 -> 4.66.4 (#28577)
add 2b73b6a80c chore(🦾): bump python flask-babel 1.0.0 -> 2.0.0 (#28576)
add 5eb9002868 chore(🦾): bump python jsonlines 3.1.0 -> 4.0.0 (#28527)
add 876074cc50 chore(🦾): bump python lazy-object-proxy 1.9.0 -> 1.10.0
(#28533)
add a4ed34ceaf chore(🦾): bump python tzlocal 4.3 -> 5.2 (#28526)
add 6ecbaf3468 chore(🦾): bump python deprecated 1.2.13 -> 1.2.14 (#28580)
add d07cebc220 chore(🦾): bump python pygments 2.15.0 -> 2.18.0 (#28535)
add bf80273577 chore(🦾): bump python rich 13.3.4 -> 13.7.1 (#28573)
add 296f67197e chore(🦾): bump python dnspython 2.1.0 -> 2.6.1 (#28574)
add 344d359ba9 chore(🦾): bump python requests 2.31.0 -> 2.32.2 (#28684)
add 61d44488dd chore(🦾): bump python kiwisolver 1.4.4 -> 1.4.5 (#28683)
add b99a815da5 chore(🦾): bump python pydruid 0.6.6 -> 0.6.9 (#28682)
add 796f279aec chore(🦾): bump python identify 2.5.24 -> 2.5.36 (#28680)
add d8b69c2656 chore(🦾): bump python click-didyoumean 0.3.0 -> 0.3.1
(#28677)
add e5341d28e4 chore(🦾): bump python cffi 1.15.1 -> 1.16.0 (#28676)
add 8953a822a4 chore(🦾): bump python kombu 5.3.4 -> 5.3.7 (#28675)
add 94f1c4d2a9 chore(🦾): bump python click-repl 0.2.0 -> 0.3.0 (#28671)
add 1fd2f2c80e chore(🦾): bump python pyproject-api 1.5.2 -> 1.6.1 (#28672)
add dfc2ee2a88 chore(🦾): bump python babel 2.9.1 -> 2.15.0 (#28668)
add 207a5f054b chore(🦾): bump python freezegun 1.4.0 -> 1.5.1 (#28666)
add a48128d317 chore(🦾): bump python traitlets 5.9.0 -> 5.14.3 (#28665)
add 65937947a9 chore(🦾): bump python pexpect 4.8.0 -> 4.9.0 (#28662)
add 6044f643ed chore(🦾): bump python wheel 0.40.0 -> 0.43.0 (#28660)
add 63e98286e9 chore(🦾): bump python typing-extensions 4.11.0 -> 4.12.0
(#28659)
add a5df955a39 chore(🦾): bump python cattrs 23.2.1 -> 23.2.3 (#28658)
add f39eda150f chore(🦾): bump python bottleneck 1.3.7 -> 1.3.8 (#28657)
add 820fecb481 chore(🦾): bump python bcrypt 4.0.1 -> 4.1.3 (#28590)
add 21486da2b4 chore(🦾): bump python marshmallow 3.19.0 -> 3.21.2 (#28655)
add 3d67346f77 chore(🦾): bump python flask-limiter 3.3.1 -> 3.7.0 (#28670)
add 278570bc38 chore(🦾): bump python requests-oauthlib 1.3.1 -> 2.0.0
(#28681)
add 2c982cf5b3 chore(docs): address common docker compose error message in
Quickstart (#28696)
add c82c4b6877 chore(🦾): bump python matplotlib 3.7.1 -> 3.9.0 (#28674)
add eadf84d8cf chore(🦾): bump python ruff 0.4.4 -> 0.4.5 (#28669)
add c1a7bb4f62 chore(🦾): bump python googleapis-common-protos 1.59.0 ->
1.63.0 (#28663)
add 5f553601f7 chore(🦾): bump python stack-data 0.6.2 -> 0.6.3 (#28661)
add 9ac0cf7d14 chore: remove ipython from development dependencies (#28703)
add f7b273460d chore(🦾): bump python boto3 1.26.130 -> 1.34.112 (#28679)
add 4ad823e97a chore(🦾): bump python certifi 2023.7.22 -> 2024.2.2 (#28733)
add b53ccf893f chore(🦾): bump python google-auth 2.27.0 -> 2.29.0 (#28732)
add 57bd3c35c2 chore(🦾): bump python pyasn1 0.5.1 -> 0.6.0 (#28726)
add 0ed87c5d56 chore(🦾): bump python wcwidth 0.2.5 -> 0.2.13 (#28725)
add f988d997ff chore(🦾): bump python marshmallow-sqlalchemy 0.23.1 ->
0.28.2 (#28724)
add 4d252647ef chore(🦾): bump python mako 1.3.3 -> 1.3.5 (#28723)
add 22d8074c49 chore(🦾): bump python limits 3.4.0 -> 3.12.0 (#28717)
add 98e620b9a2 Merge branch 'master' of https://github.com/apache/superset
into diego/ch79154/fix-color-inconsistency
No new revisions were added by this update.
Summary of changes:
.github/ISSUE_TEMPLATE/bug-report.yml | 2 +-
.github/workflows/bashlib.sh | 2 +-
.github/workflows/superset-helm-release.yml | 2 +-
.github/workflows/update-monorepo-lockfiles.yml | 2 +-
CHANGELOG.md | 1 +
CHANGELOG/4.0.1.md | 61 +
Dockerfile | 34 +-
UPDATING.md | 1 +
databases/trino.png | Bin 10322 -> 0 bytes
docker/pythonpath_dev/superset_config.py | 2 +-
docs/data/countries.json | 111 +-
docs/docs/configuration/alerts-reports.mdx | 6 +-
docs/docs/quickstart.mdx | 2 +
docs/static/.htaccess | 3 +
helm/superset/Chart.yaml | 4 +-
helm/superset/README.md | 2 +-
pyproject.toml | 5 +-
requirements/base.txt | 127 +-
requirements/development.txt | 110 +-
superset-frontend/cypress-base/cypress.config.ts | 7 +-
.../chartlist.test.ts} | 0
.../dashboard.test.ts} | 2 +-
.../dashboardlist.test.ts} | 0
.../explore.test.ts} | 5 +-
.../sqllab.test.ts} | 0
superset-frontend/package-lock.json | 77 +-
superset-frontend/package.json | 1 +
.../src/operators/utils/index.ts | 2 +-
.../src/operators/utils/timeOffset.ts | 22 +-
.../src/sections/index.ts | 1 +
.../src/sections/timeComparison.tsx | 136 +
.../src/time-comparison/fetchTimeRange.ts | 63 +-
.../src/time-comparison/getTimeOffset.ts | 121 +
.../superset-ui-core/src/time-comparison/index.ts | 1 +
.../test/chart-composition/ChartFrame.test.tsx | 188 +-
.../test/time-comparison/fetchTimeRange.test.ts | 62 +-
.../test/time-comparison/getTimeOffset.test.ts | 46 +
.../test/time-comparison/parseDttmToDate.test.ts | 131 +
.../scripts/Country Map GeoJSON Generator.ipynb | 874 +-
.../src/countries.ts | 218 +-
.../src/countries/aland.geojson | 17 +
.../src/countries/american_samoa.geojson | 11 +
.../src/countries/andorra.geojson | 13 +
.../src/countries/angola.geojson | 24 +
.../src/countries/anguilla.geojson | 21 +
.../src/countries/antarctica.geojson | 8 +
.../src/countries/antigua_and_barbuda.geojson | 14 +
.../src/countries/armenia.geojson | 17 +
.../src/countries/azerbaijan.geojson | 84 +
.../src/countries/bahrain.geojson | 11 +
.../src/countries/bangladesh.geojson | 13 +
.../src/countries/barbados.geojson | 17 +
.../src/countries/belarus.geojson | 13 +
.../src/countries/belize.geojson | 12 +
.../src/countries/benin.geojson | 18 +
.../src/countries/bermuda.geojson | 17 +
.../src/countries/bhutan.geojson | 26 +
.../src/countries/bosnia_and_herzegovina.geojson | 24 +
.../src/countries/botswana.geojson | 21 +
.../src/countries/brunei.geojson | 10 +
.../src/countries/burkina_faso.geojson | 51 +
.../src/countries/cambodia.geojson | 30 +
.../src/countries/cameroon.geojson | 16 +
.../src/countries/cape_verde.geojson | 28 +
.../src/countries/central_african_republic.geojson | 23 +
.../src/countries/chad.geojson | 28 +
.../src/countries/comoros.geojson | 9 +
.../src/countries/cook_islands.geojson | 17 +
.../src/countries/croatia.geojson | 27 +
.../democratic_republic_of_the_congo.geojson | 17 +
.../src/countries/djibouti.geojson | 12 +
.../src/countries/dominica.geojson | 16 +
.../src/countries/equatorial_guinea.geojson | 13 +
.../src/countries/eritrea.geojson | 12 +
.../src/countries/fiji.geojson | 11 +
.../src/countries/french_polynesia.geojson | 11 +
.../src/countries/gabon.geojson | 15 +
.../src/countries/gambia.geojson | 12 +
.../src/countries/ghana.geojson | 16 +
.../src/countries/greece.geojson | 20 +
.../src/countries/greenland.geojson | 12 +
.../src/countries/grenada.geojson | 13 +
.../src/countries/guinea.geojson | 40 +
.../src/countries/guyana.geojson | 16 +
.../src/countries/israel.geojson | 12 +
.../src/countries/laos.geojson | 23 +
.../src/countries/lebanon.geojson | 12 +
.../src/countries/lesotho.geojson | 16 +
.../src/countries/liberia.geojson | 21 +
.../src/countries/libya.geojson | 28 +
.../src/countries/luxembourg.geojson | 9 +
.../src/countries/macedonia.geojson | 90 +
.../src/countries/madagascar.geojson | 28 +
.../src/countries/malawi.geojson | 34 +
.../src/countries/maldives.geojson | 27 +
.../src/countries/mali.geojson | 15 +
.../src/countries/malta.geojson | 74 +
.../src/countries/marshall_islands.geojson | 8 +
.../src/countries/mauritania.geojson | 19 +
.../src/countries/mauritius.geojson | 22 +
.../src/countries/moldova.geojson | 46 +
.../src/countries/mongolia.geojson | 28 +
.../src/countries/montenegro.geojson | 27 +
.../src/countries/montserrat.geojson | 9 +
.../src/countries/mozambique.geojson | 17 +
.../src/countries/namibia.geojson | 19 +
.../src/countries/nauru.geojson | 20 +
.../src/countries/nepal.geojson | 20 +
.../src/countries/new_caledonia.geojson | 9 +
.../src/countries/new_zealand.geojson | 30 +
.../src/countries/niger.geojson | 14 +
.../src/countries/northern_mariana_islands.geojson | 10 +
.../src/countries/palau.geojson | 22 +
.../src/countries/puerto rico.geojson | 7 -
.../src/countries/puerto_rico.geojson | 7 -
.../src/countries/romania.geojson | 48 +
.../src/countries/saint_barthelemy.geojson | 7 -
.../src/countries/saint_lucia.geojson | 17 +
.../src/countries/saint_martin.geojson | 7 -
.../countries/saint_pierre_and_miquelon.geojson | 8 +
.../saint_vincent_and_the_grenadines.geojson | 12 +
.../src/countries/samoa.geojson | 17 +
.../src/countries/san_marino.geojson | 15 +
.../src/countries/sao_tome_and_principe.geojson | 8 +
.../src/countries/senegal.geojson | 20 +
.../src/countries/seychelles.geojson | 32 +
.../src/countries/sierra_leone.geojson | 10 +
.../src/countries/slovakia.geojson | 14 +
.../src/countries/solomon_islands.geojson | 16 +
.../src/countries/somalia.geojson | 19 +
.../src/countries/south_africa.geojson | 15 +
.../src/countries/srilanka.geojson | 9838 ------------------
.../src/countries/sudan.geojson | 23 +
.../src/countries/suriname.geojson | 16 +
.../src/countries/taiwan.geojson | 27 +
.../src/countries/the_bahamas.geojson | 36 +
.../src/countries/togo.geojson | 11 +
.../src/countries/tonga.geojson | 11 +
.../src/countries/trinidad_and_tobago.geojson | 22 +
.../src/countries/tunisia.geojson | 29 +
.../src/countries/turks_and_caicos_islands.geojson | 12 +
.../united_states_minor_outlying_islands.geojson | 14 +
.../countries/united_states_virgin_islands.geojson | 9 +
.../src/countries/vanuatu.geojson | 12 +
.../src/countries/wallis_and_futuna.geojson | 9 +
.../src/countries/yemen.geojson | 27 +
.../src/countries/zimbabwe.geojson | 16 +
.../src/countries_custom/italy_regions.geojson | 26 -
.../src/Multi/controlPanel.ts | 2 +-
.../BigNumber/BigNumberPeriodOverPeriod/PopKPI.tsx | 48 +-
.../BigNumberPeriodOverPeriod/buildQuery.ts | 64 +-
.../BigNumberPeriodOverPeriod/controlPanel.ts | 84 +-
.../BigNumberPeriodOverPeriod/transformProps.ts | 58 +-
.../BigNumber/BigNumberPeriodOverPeriod/types.ts | 5 +-
.../src/Timeseries/transformProps.ts | 34 +-
.../src/Timeseries/transformers.ts | 3 +
superset-frontend/src/SqlLab/actions/sqlLab.js | 16 +-
.../Chart/ChartContextMenu/ChartContextMenu.tsx | 7 +-
.../Chart/ChartContextMenu/useContextMenu.test.tsx | 84 +-
.../src/components/ListView/Filters/Search.tsx | 13 +-
.../src/components/ListView/Filters/index.tsx | 2 +
superset-frontend/src/components/ListView/types.ts | 1 +
.../src/dashboard/actions/dashboardState.js | 7 +
.../src/dashboard/components/Dashboard.jsx | 23 +
.../src/dashboard/components/Dashboard.test.jsx | 133 +
.../dashboard/components/FiltersBadge/index.tsx | 5 +-
.../SliceHeaderControls.test.tsx | 55 +-
.../components/SliceHeaderControls/index.tsx | 5 +-
.../src/dashboard/components/dnd/handleDrop.js | 9 +-
.../dashboard/components/gridComponents/Tab.jsx | 6 +
.../components/gridComponents/Tab.test.tsx | 84 +-
.../src/dashboard/reducers/dashboardState.js | 7 +
.../src/dashboard/reducers/dashboardState.test.ts | 13 +-
.../src/dashboard/util/getDropPosition.js | 2 +-
.../src/explore/actions/saveModalActions.js | 259 -
...dalActions.test.js => saveModalActions.test.ts} | 379 +-
.../src/explore/actions/saveModalActions.ts | 321 +
.../src/explore/components/ControlRow.test.tsx | 94 +-
.../src/explore/components/ControlRow.tsx | 14 +-
.../ColorSchemeControl/ColorSchemeControl.test.tsx | 8 +
.../controls/ColorSchemeControl/index.tsx | 10 +-
.../components/controls/ComparisonRangeLabel.tsx | 107 +
.../components/controls/TimeOffsetControl.tsx | 87 +
.../src/explore/components/controls/index.js | 4 +
.../src/features/alerts/AlertReportModal.tsx | 54 +-
.../alerts/components/NotificationMethod.tsx | 104 +-
superset-frontend/src/features/alerts/types.ts | 1 +
.../src/pages/SavedQueryList/index.tsx | 8 +-
superset/annotation_layers/annotations/schemas.py | 4 +-
superset/charts/data/api.py | 7 +-
superset/commands/report/execute.py | 21 +-
superset/common/query_context_processor.py | 233 +-
superset/common/query_object.py | 2 +-
superset/common/utils/dataframe_utils.py | 11 +
superset/common/utils/time_range_utils.py | 8 +-
superset/config.py | 2 +
superset/connectors/sqla/views.py | 12 +-
superset/dashboards/schemas.py | 4 +-
superset/databases/ssh_tunnel/models.py | 15 +-
superset/dataframe.py | 12 +-
superset/db_engine_specs/README.md | 22 +-
superset/db_engine_specs/base.py | 5 +-
superset/db_engine_specs/bigquery.py | 34 +-
superset/db_engine_specs/presto.py | 57 +-
superset/db_engine_specs/snowflake.py | 28 +-
superset/embedded/view.py | 7 +-
superset/initialization/__init__.py | 3 +-
superset/key_value/utils.py | 2 +-
superset/migrations/shared/catalogs.py | 8 +-
superset/migrations/shared/utils.py | 33 +-
...14-43_17fcea065655_change_text_to_mediumtext.py | 48 +-
...0-52_58d051681a3b_add_catalog_perm_to_tables.py | 4 +-
...33_4081be5b6b74_enable_catalog_in_databricks.py | 4 +-
...42_enable_catalog_in_bigquery_presto_trino_.py} | 16 +-
...9_f7b6750b67e8_change_mediumtext_to_longtext.py | 54 +
...56ffb_add_subject_column_to_report_schedule.py} | 25 +-
...9123a_update_charts_with_old_time_comparison.py | 212 +
superset/models/core.py | 6 +-
superset/models/dashboard.py | 4 +-
superset/models/helpers.py | 2 +-
superset/models/sql_lab.py | 14 +-
superset/queries/saved_queries/api.py | 1 +
superset/reports/api.py | 1 +
superset/reports/models.py | 2 +
superset/reports/schemas.py | 17 +
superset/result_set.py | 4 +-
superset/security/manager.py | 1 +
superset/sql_lab.py | 11 +-
superset/sqllab/api.py | 11 +-
superset/sqllab/execution_context_convertor.py | 14 +-
superset/sqllab/query_render.py | 1 +
superset/tasks/slack_util.py | 2 +-
superset/translations/de/LC_MESSAGES/messages.json | 9921 +++++++++---------
superset/translations/en/LC_MESSAGES/messages.json | 7766 +++++++-------
superset/translations/es/LC_MESSAGES/messages.json | 6013 +++++------
superset/translations/fr/LC_MESSAGES/messages.json | 7849 +++++++-------
superset/translations/fr/LC_MESSAGES/messages.po | 4 +-
superset/translations/it/LC_MESSAGES/messages.json | 6344 ++++++------
superset/translations/ja/LC_MESSAGES/messages.json | 8535 ++++++++-------
superset/translations/ja/LC_MESSAGES/messages.po | 7597 +++++++-------
superset/translations/ko/LC_MESSAGES/messages.json | 6371 ++++++------
superset/translations/nl/LC_MESSAGES/messages.json | 7619 +++++++-------
superset/translations/pt/LC_MESSAGES/messages.json | 6276 ++++++------
.../translations/pt_BR/LC_MESSAGES/messages.json | 9610 ++++++++---------
superset/translations/ru/LC_MESSAGES/messages.json | 9156 ++++++++---------
superset/translations/sk/LC_MESSAGES/messages.json | 7760 +++++++-------
superset/translations/sl/LC_MESSAGES/messages.json | 10244 ++++++++++---------
superset/translations/tr/LC_MESSAGES/messages.json | 105 +-
superset/translations/uk/LC_MESSAGES/messages.json | 9844 +++++++++---------
superset/translations/zh/LC_MESSAGES/messages.json | 8557 +++++++---------
.../translations/zh_TW/LC_MESSAGES/messages.json | 3234 ++----
superset/utils/cache.py | 2 +-
superset/utils/core.py | 149 +-
superset/utils/date_parser.py | 7 +-
superset/utils/encrypt.py | 9 +-
superset/utils/json.py | 211 +
superset/utils/log.py | 44 +
superset/utils/schema.py | 4 +-
superset/views/all_entities.py | 28 +-
superset/views/api.py | 13 +-
superset/views/base.py | 107 +-
superset/views/chart/views.py | 12 +-
superset/views/core.py | 19 +-
superset/views/css_templates.py | 2 +-
superset/views/dashboard/views.py | 60 +-
superset/views/database/views.py | 38 +-
superset/views/sql_lab/views.py | 9 +-
superset/views/tags.py | 21 +-
superset/viz.py | 10 +-
tests/integration_tests/charts/api_tests.py | 14 +
tests/integration_tests/conftest.py | 3 +-
tests/integration_tests/core_tests.py | 10 +-
tests/integration_tests/databases/api_tests.py | 2 +-
tests/integration_tests/datasource_tests.py | 8 +-
tests/integration_tests/event_logger_tests.py | 54 +-
...update_charts_with_old_time_comparison__test.py | 315 +
tests/integration_tests/model_tests.py | 8 +-
tests/integration_tests/query_context_tests.py | 11 +-
tests/integration_tests/security/api_tests.py | 12 +
tests/integration_tests/sqllab_tests.py | 10 +-
tests/integration_tests/utils/encrypt_tests.py | 27 +-
tests/integration_tests/utils_tests.py | 15 +-
.../common/test_get_aggregated_join_column.py | 77 -
tests/unit_tests/common/test_time_shifts.py | 187 +
tests/unit_tests/db_engine_specs/test_bigquery.py | 94 +
tests/unit_tests/db_engine_specs/test_presto.py | 88 +
tests/unit_tests/db_engine_specs/test_snowflake.py | 88 +
tests/unit_tests/db_engine_specs/test_trino.py | 89 +
tests/unit_tests/utils/date_parser_tests.py | 21 +
tests/unit_tests/utils/json_tests.py | 114 +
tests/unit_tests/utils/test_core.py | 41 -
291 files changed, 73945 insertions(+), 78513 deletions(-)
create mode 100644 CHANGELOG/4.0.1.md
delete mode 100644 databases/trino.png
rename
superset-frontend/cypress-base/cypress/{e2e/chart_list/chartlist.applitools.test.ts
=> applitools/chartlist.test.ts} (100%)
rename
superset-frontend/cypress-base/cypress/{e2e/dashboard/dashboard.applitools.test.ts
=> applitools/dashboard.test.ts} (96%)
rename
superset-frontend/cypress-base/cypress/{e2e/dashboard_list/dashboardlist.applitools.test.ts
=> applitools/dashboardlist.test.ts} (100%)
rename
superset-frontend/cypress-base/cypress/{e2e/explore/explore.applitools.test.ts
=> applitools/explore.test.ts} (93%)
rename
superset-frontend/cypress-base/cypress/{e2e/sqllab/sqllab.applitools.test.ts =>
applitools/sqllab.test.ts} (100%)
create mode 100644
superset-frontend/packages/superset-ui-chart-controls/src/sections/timeComparison.tsx
create mode 100644
superset-frontend/packages/superset-ui-core/src/time-comparison/getTimeOffset.ts
create mode 100644
superset-frontend/packages/superset-ui-core/test/time-comparison/getTimeOffset.test.ts
create mode 100644
superset-frontend/packages/superset-ui-core/test/time-comparison/parseDttmToDate.test.ts
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/aland.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/american_samoa.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/andorra.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/angola.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/anguilla.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/antarctica.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/antigua_and_barbuda.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/armenia.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/azerbaijan.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/bahrain.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/bangladesh.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/barbados.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/belarus.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/belize.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/benin.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/bermuda.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/bhutan.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/bosnia_and_herzegovina.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/botswana.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/brunei.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/burkina_faso.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/cambodia.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/cameroon.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/cape_verde.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/central_african_republic.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/chad.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/comoros.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/cook_islands.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/croatia.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/democratic_republic_of_the_congo.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/djibouti.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/dominica.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/equatorial_guinea.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/eritrea.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/fiji.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/french_polynesia.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/gabon.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/gambia.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/ghana.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/greece.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/greenland.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/grenada.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/guinea.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/guyana.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/israel.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/laos.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/lebanon.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/lesotho.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/liberia.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/libya.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/luxembourg.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/macedonia.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/madagascar.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/malawi.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/maldives.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/mali.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/malta.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/marshall_islands.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/mauritania.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/mauritius.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/moldova.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/mongolia.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/montenegro.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/montserrat.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/mozambique.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/namibia.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/nauru.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/nepal.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/new_caledonia.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/new_zealand.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/niger.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/northern_mariana_islands.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/palau.geojson
delete mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/puerto
rico.geojson
delete mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/puerto_rico.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/romania.geojson
delete mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/saint_barthelemy.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/saint_lucia.geojson
delete mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/saint_martin.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/saint_pierre_and_miquelon.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/saint_vincent_and_the_grenadines.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/samoa.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/san_marino.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/sao_tome_and_principe.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/senegal.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/seychelles.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/sierra_leone.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/slovakia.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/solomon_islands.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/somalia.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/south_africa.geojson
delete mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/srilanka.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/sudan.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/suriname.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/taiwan.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/the_bahamas.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/togo.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/tonga.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/trinidad_and_tobago.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/tunisia.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/turks_and_caicos_islands.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/united_states_minor_outlying_islands.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/united_states_virgin_islands.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/vanuatu.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/wallis_and_futuna.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/yemen.geojson
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/zimbabwe.geojson
delete mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries_custom/italy_regions.geojson
delete mode 100644 superset-frontend/src/explore/actions/saveModalActions.js
rename superset-frontend/src/explore/actions/{saveModalActions.test.js =>
saveModalActions.test.ts} (55%)
create mode 100644 superset-frontend/src/explore/actions/saveModalActions.ts
create mode 100644
superset-frontend/src/explore/components/controls/ComparisonRangeLabel.tsx
create mode 100644
superset-frontend/src/explore/components/controls/TimeOffsetControl.tsx
copy
superset/migrations/versions/{2024-05-08_19-33_4081be5b6b74_enable_catalog_in_databricks.py
=> 2024-05-09_18-44_87ffc36f9842_enable_catalog_in_bigquery_presto_trino_.py}
(73%)
create mode 100644
superset/migrations/versions/2024-05-09_19-19_f7b6750b67e8_change_mediumtext_to_longtext.py
copy
superset/migrations/versions/{2024-05-08_19-33_4081be5b6b74_enable_catalog_in_databricks.py
=> 2024-05-10_11-09_9621c6d56ffb_add_subject_column_to_report_schedule.py}
(67%)
create mode 100644
superset/migrations/versions/2024-05-10_18-02_f84fde59123a_update_charts_with_old_time_comparison.py
create mode 100644 superset/utils/json.py
create mode 100644
tests/integration_tests/migrations/f84fde59123a_update_charts_with_old_time_comparison__test.py
delete mode 100644 tests/unit_tests/common/test_get_aggregated_join_column.py
create mode 100644 tests/unit_tests/common/test_time_shifts.py
create mode 100644 tests/unit_tests/utils/json_tests.py