-
- Downloads
Various improvements to version update checks (#15517)
* Various improvements to version update checks *************************** * Release project changes * *************************** Updating version_info.clj code to build version-info-ee.json file for Enterprise Edition build Adding test for both oss and ee version info file generation logic Decoupling GitHub milestone from version and setting it to be the OSS value for :ee release build Adding nREPL alias for release deps.edn project and usage note ************************ * Core product changes * ************************ Adding new :ee version of :mb-version-info-url (:mb-version-info-ee-url) with default value to match the file name generated by the release code Making enterprise-edition? public from core.clj, since it's now needed from the upgrade check code to switch between the URLs Adding new setting to store when updates were last checked (since it's on a 12-hour interval) Changing update check code to both set this new timestamp setting (always) to the current time, and set version-info itself to nil if the update check fails (so that users won't see "latest and greatest" if the update check succeeded at some point in the past, but then started failing Frontend changes: Showing the "last checked" timestamp (in user's browser timezone) when we show the "Sorry" text because of being unable to check for updates, so they know when the last check was made Removing custom implementation of MetabaseSettings.versionInfo from EE frontend code since it's no longer needed (and never worked), because the EE backend will now be hitting a different URL with the version info specifically for EE releases Linking to https://www.metabase.com/docs/<newVersion>/operations-guide/upgrading-metabase.html URL instead of simply /start
Showing
- bin/release/README.md 8 additions, 0 deletionsbin/release/README.md
- bin/release/deps.edn 8 additions, 4 deletionsbin/release/deps.edn
- bin/release/src/release/common.clj 9 additions, 0 deletionsbin/release/src/release/common.clj
- bin/release/src/release/common/github.clj 1 addition, 1 deletionbin/release/src/release/common/github.clj
- bin/release/src/release/set_build_options.clj 10 additions, 7 deletionsbin/release/src/release/set_build_options.clj
- bin/release/src/release/version_info.clj 28 additions, 21 deletionsbin/release/src/release/version_info.clj
- bin/release/test/release/version_info_test.clj 48 additions, 0 deletionsbin/release/test/release/version_info_test.clj
- enterprise/frontend/src/metabase-enterprise/plugins.js 0 additions, 3 deletionsenterprise/frontend/src/metabase-enterprise/plugins.js
- frontend/src/metabase/admin/settings/components/SettingsUpdatesForm.jsx 7 additions, 2 deletions...etabase/admin/settings/components/SettingsUpdatesForm.jsx
- frontend/src/metabase/lib/settings.js 17 additions, 1 deletionfrontend/src/metabase/lib/settings.js
- src/metabase/config.clj 1 addition, 0 deletionssrc/metabase/config.clj
- src/metabase/core.clj 2 additions, 1 deletionsrc/metabase/core.clj
- src/metabase/public_settings.clj 7 additions, 1 deletionsrc/metabase/public_settings.clj
- src/metabase/task/upgrade_checks.clj 7 additions, 2 deletionssrc/metabase/task/upgrade_checks.clj
Loading
Please register or sign in to comment