Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-66357

Remove support for Mozilla Backpack

    XMLWordPrintable

Details

    • MOODLE_38_STABLE, MOODLE_39_STABLE
    • MOODLE_39_STABLE
    • MDL-66357-master
    • Hide

      Tip:  Firefox displays better JSON content (so it's easier to find the fields to check).

       Setup

      1. As admin verify that badges are enabled in Administration / Site administration / Advanced features.
      2. Go to "Site administration / Badges / Badges settings" and set:
        • Badge issuer name to "Issuer1"
        • Badge issuer email address to "issuer@moodle.invalid"
      3. Go to "Site administration / Badges / Manage Badges / Add a new badge" and create a badge at site level.
      4. Add a criteria to the badge so it can be manually issued by role.
      5. Enable the badge.
      6. Issue the badge to the admin user.

      Testing scenario 1: Remove Mozilla backpack references.

      1. Login as admin.
      2. Access to "Site administration / Badges / Backpack settings".
      3. Check selected value for "Active external backpack" is "https://badgr.io".
      4. Check there is only one entry in "Active external backpack" list.
      5. Check "Default" value for "Active external backpack" is "https://badgr.io".

      Testing scenario 2: Issues displayed as expected

      1. View this user's profile page.
      2. Verify that in "Badges from [Moodle instance name]" you now see your local badge.
      3. Access to the badge.
      4. In the URL, replace badges/badge.php?hash= to badges/assertion.php?b= (the context after hash= should be keept).
      5. Add "&action=1" at the end of the previous URL.
      6. Check the JSON content displayed contains issuer with the following fields: name, url, email, @context, id, type.
      7. Add "&obversion=1" at the end of the previous URL (after &action=1).
      8. Check the JSON content displayed contains issuer with a URL to issuer_json.php
      9. Open the URL in the issuer field
      10. Check the JSON content displayed contains the following fields: name, url, email
      Show
      Tip :  Firefox displays better JSON content (so it's easier to find the fields to check).  Setup As admin verify that badges are enabled in Administration / Site administration / Advanced features. Go to "Site administration / Badges / Badges settings" and set: Badge issuer name to "Issuer1" Badge issuer email address to "issuer@moodle.invalid" Go to "Site administration / Badges / Manage Badges / Add a new badge" and create a badge at site level. Add a criteria to the badge so it can be manually issued by role. Enable the badge. Issue the badge to the admin user. Testing scenario 1: Remove Mozilla backpack references. Login as admin. Access to "Site administration / Badges / Backpack settings". Check selected value for "Active external backpack" is "https://badgr.io". Check there is only one entry in "Active external backpack" list. Check "Default" value for "Active external backpack" is "https://badgr.io". Testing scenario 2: Issues displayed as expected View this user's profile page. Verify that in "Badges from [Moodle instance name] " you now see your local badge. Access to the badge. In the URL, replace badges/badge.php?hash= to badges/assertion.php?b= (the context after hash= should be keept). Add "&action=1" at the end of the previous URL. Check the JSON content displayed contains issuer with the following fields: name, url, email, @context, id, type. Add "&obversion=1" at the end of the previous URL (after &action=1). Check the JSON content displayed contains issuer with a URL to issuer_json.php Open the URL in the issuer field Check the JSON content displayed contains the following fields: name, url, email
    • Moppies Kanban

    Description

      Mozilla backpack will close soon and, once the service will shut down, the references to https://backpack.openbadges.org/ should be removed.

      Also, OPEN_BADGES_V2 should be set as a default OB version.

      Attachments

        Issue Links

          Activity

            People

              sarjona Sara Arjona (@sarjona)
              sarjona Sara Arjona (@sarjona)
              Carlos Escobedo Carlos Escobedo
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Anna Carissa Sadia Anna Carissa Sadia
              Yuliya Bozhko, Amaia Anabitarte, Carlos Escobedo, Laurent David, Mikel Martín Corrales, Sabina Abellan, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                15/Jun/20

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 3 hours, 50 minutes
                  1d 3h 50m