Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add automated checks for newer Grist versions #1508

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

jordigh
Copy link
Contributor

@jordigh jordigh commented Mar 12, 2025

Context

We would like to make our self-hosted admins better aware that a newer version of Grist might be available. We'll then display a dismissable banner that informs them in case the version they are running is out of date.

Proposed solution

By default, we'll enable version checking for newer versions, save the results to the config database, and if the version checked is newer, we'll display it in the UI.

Has this been tested?

  • 👍 yes, I added tests to the test suite
  • 💭 no, because this PR is a draft and still needs work
  • 🙅 no, because this is not relevant here
  • 🙋 no, because I need help

Screenshots / Screencasts

Coming soon...

jordigh added 4 commits March 10, 2025 22:16
We'll need this in its own place so we can call it without going
through the install API.
This will be an admin-only config setting, which is fine, as only
admins should be informed if there is a newer Grist version available.
Simple function to hit the remote endpoint and save the result to the
home db, so it's available to the config.
We keep track of checking task so that we can disable it later when we
have a user interface to enable or disable automated version checks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant