Skip to content

Display warning in version-check if installed version needs to be updated because of critical issues (CVE) #1965

@dragonchaser

Description

@dragonchaser

Initial Checklist

  • I understand this is a feature request and questions should be posted in the Community Discussions
  • I searched issues and couldn’t find anything (or linked relevant results below)

Idea

The version information is retrieved from: https://update.opencloud.eu/server.json, extend the json to contain a field "critical" for each update-channel. If the installed version matches one of the versions mentioned there, visually display a hint in the bottom left version display to indicate that the admin urgently needs to update.

Proposed structure:

{
   "channels":{
      "rolling":{
         "current_version":"5.0.2",
         "url":"https://github.com/opencloud-eu/opencloud/releases/tag/v5.0.2",
         "critical":"5.0.1,5.0.2"
      },
      "stable":{
         "current_version":"4.0.3",
         "url":"https://github.com/opencloud-eu/opencloud/releases/tag/v4.0.3",
         "critical":"4.0.1,4.0.2"
      },
      "lts":{
         "current_version":"2.0.5",
         "url":"https://github.com/opencloud-eu/opencloud/releases/tag/v2.0.5",
         "critical":"2.0.1,2.0.2,2.0.3,2.0.4"
      },
      "lts-2.0":{
         "current_version":"2.0.5",
         "url":"https://github.com/opencloud-eu/opencloud/releases/tag/v2.0.5",
         "critical":"2.0.1,2.0.2,2.0.3,2.0.4"
      }
   }
}

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Qualification

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions