Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-11366

Add "MOD Version Check" for extensions to the core

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-dev
    • Fix Version/s: 3.1.0-b4
    • Component/s: Extensions
    • Labels:
      None

      Description

      As we already have a composer.json for extensions in place, we can just add the version-file url to it and then compare the currently installed version against the one from the version file and notify the admin about possible updates, when he visits the "Extensions Manager".

      Link to the 3.0 MOD: https://www.phpbb.com/customise/db/mod/mod_version_check/

        Activity

        Hide
        erangamapa erangamapa [X] (Inactive) added a comment - - edited

        What is the most suitable way to show updated Extensions ? I suggest we should add a column named 'updates' to the table
        in extension manager. Column will have two values 'Updated' and 'Available'. 'Available' will be a link to latest extension
        version download url(Which should included in composer.json).

        Show
        erangamapa erangamapa [X] (Inactive) added a comment - - edited What is the most suitable way to show updated Extensions ? I suggest we should add a column named 'updates' to the table in extension manager. Column will have two values 'Updated' and 'Available'. 'Available' will be a link to latest extension version download url(Which should included in composer.json).
        Hide
        VSE Matt Friedman added a comment -

        I think the Extensions table should be left alone (otherwise you'd have to wait on http requests to download extension update info for every extension every time you load the extensions page... just takes one slow server to make that a pain in the butt).

        The best way is under the Extensions Options -> Details page. Add a block called something like "Download" and display the current version of the extension there as a clickable link to download it. And perhaps if the installed version is < the current version, display some highlighted text saying, "A new version is available!" in that same block.

        Show
        VSE Matt Friedman added a comment - I think the Extensions table should be left alone (otherwise you'd have to wait on http requests to download extension update info for every extension every time you load the extensions page... just takes one slow server to make that a pain in the butt). The best way is under the Extensions Options -> Details page. Add a block called something like "Download" and display the current version of the extension there as a clickable link to download it. And perhaps if the installed version is < the current version, display some highlighted text saying, "A new version is available!" in that same block.

          People

          • Assignee:
            nickvergessen Joas Schilling
            Reporter:
            nickvergessen Joas Schilling
          • Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development