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

Add support to Open Badges 2.0 platforms

XMLWordPrintable

    • MOODLE_36_STABLE
    • MOODLE_37_STABLE
    • MDL-63262-master
    • Hide

      Requirements

      1. 2 accounts on badgr.io and one account on backpack.openbadges.org
      2. mailcatcher (or similar or working mail) to intercept mails
      3. The first part of this test (the Mozilla backpack connection) will not work on a local host Moodle; it must be online.

      Setup

      1. Login as admin.
      2. Access to "Site administration | Badges | Backpack settings" and make sure the site backpack is set to "https://backpack.openbadges.org/" .
      3. Go to "Site administration | 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. Set an expiry for the badge a few days in the future.
      6. Add an Alignment to the badge.
      7. Enable the badge.
      8. Issue the badge to another user (we will call them student1).
      9. Login as that other user.
      10. Make sure you can read emails sent to the email address for this user.
      11. Go to Preferences (from the user menu).
      12. Go to backpack settings.
      13. Add the email address for the backpack.openbadges.org account as the email address for the backpack connection.
      14. Read the verification email and click on the link to verify the connection to the backpack.
      15. View this users profile page.
      16. Click on the image of the badge awarded to this user.
      17. Click on the "Add to backpack" button.  
      18. Login into the backpack.openbadges.org 
      19. Check the badge has been sent to the backpack

      Test

      1. Login as admin
      2. Access the "Site administration | Badges | Backpack settings" page and change the admin setting "badges_site_backpack" to "https://badgr.io"
      3. Access to "Site administration | Badges | Badges settings" and add one of the email addresses for the badgr accounts as the Moodle admin setting "badges_defaultissuercontact"
      4. Go to "Site administration | Badges | Manage backpacks"
      5. Edit the settings for the badgr.io backpack.
      6. Enter the password that matches the email address for this badgr account.
      7. Login as the user who received a badge already (student1)
      8. Verify you can view your badges in your profile.
      9. Go to Preferences (from the user menu).
      10. Go to backpack settings
      11. Disconnect the backpack
      12. Connect to the new backpack by entering the "other badgr account email address and password".
      13. Read the verification email and click on the link to verify the connection to the backpack.
      14. View this user's profile page.
      15. Click on the image of the badge awarded to this user.
      16. Click on the "Add to backpack" button.
      17. Login to badgr.io with the same "other badgr account email address and password" and verify the badge now exists in this backpack. 
      18. Verify the badgr badge has a matching expiry date and (shows the same Alignments for the badge). 
      19. Verify the badgr badge lists the same criteria for the badge.
      20. In badgr create a public collection and add some badges to it.
      21. In Moodle go to backpack settings.
      22. Verify the new collection from badgr can be displayed in Moodle
      23. Add the new collection to the "collections from your backpack to display on this site" and save changes.
      24. Verify the badges in the collection now show in Moodle under "My badges from other web sites" on your profile.
      25. Click on a badge from the collection.
      26. Verify the details of the badge are correct.
      27. Login as admin
      28. Access to "Site administration | Advanced features" and disable badges (turn admin setting enablebadges off)
      29. Login as student1 again
      30. Verify no badges are shown on your profile page.

       

       ^^ The Mozilla backpack will stop working soon (May/June 2019 approx)

      Show
      Requirements 2 accounts on badgr.io and one account on backpack.openbadges.org mailcatcher (or similar or working mail) to intercept mails The first part of this test (the Mozilla backpack connection) will not work on a local host Moodle; it must be online. Setup Login as admin. Access to "Site administration | Badges | Backpack settings" and make sure the site backpack is set to "https://backpack.openbadges.org/" . Go to "Site administration | 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. Set an expiry for the badge a few days in the future. Add an Alignment to the badge. Enable the badge. Issue the badge to another user (we will call them student1). Login as that other user. Make sure you can read emails sent to the email address for this user. Go to Preferences (from the user menu). Go to backpack settings. Add the email address for the backpack.openbadges.org account as the email address for the backpack connection. Read the verification email and click on the link to verify the connection to the backpack. View this users profile page. Click on the image of the badge awarded to this user. Click on the "Add to backpack" button.   Login into the backpack.openbadges.org  Check the badge has been sent to the backpack Test Login as admin Access the "Site administration | Badges | Backpack settings" page and change the admin setting "badges_site_backpack" to "https://badgr.io" Access to "Site administration | Badges | Badges settings" and add one of the email addresses for the badgr accounts as the Moodle admin setting "badges_defaultissuercontact" Go to "Site administration | Badges | Manage backpacks" Edit the settings for the badgr.io backpack. Enter the password that matches the email address for this badgr account. Login as the user who received a badge already (student1) Verify you can view your badges in your profile. Go to Preferences (from the user menu). Go to backpack settings Disconnect the backpack Connect to the new backpack by entering the "other badgr account email address and password". Read the verification email and click on the link to verify the connection to the backpack. View this user's profile page. Click on the image of the badge awarded to this user. Click on the "Add to backpack" button. Login to badgr.io with the same "other badgr account email address and password" and verify the badge now exists in this backpack.  Verify the badgr badge has a matching expiry date and ( shows the same Alignments for the badge ).  Verify the badgr badge lists the same criteria for the badge. In badgr create a public collection and add some badges to it. In Moodle go to backpack settings. Verify the new collection from badgr can be displayed in Moodle Add the new collection to the "collections from your backpack to display on this site" and save changes. Verify the badges in the collection now show in Moodle under "My badges from other web sites" on your profile. Click on a badge from the collection. Verify the details of the badge are correct. Login as admin Access to "Site administration | Advanced features" and disable badges (turn admin setting enablebadges off) Login as student1 again Verify no badges are shown on your profile page.     ^^ The Mozilla backpack will stop working soon (May/June 2019 approx)

      In mid August 2018, Mozilla announced the retirement of the Mozilla Backpack which had not been updated for Open Badges v2.0 (OBv2).

      As we are adding OBv2 support to Moodle on MDL-58454, next step will be to connect it to some of the OBv2 platforms to take advantage of these changes. There are 11 different platforms currently certified as OBv2 compliant, so maybe it would worth to add support for 3rd party plugins to connect Moodle with several OBv2 platforms.

        1. Screenshot_1.PNG
          Screenshot_1.PNG
          44 kB
        2. Step 16_Error.PNG
          Step 16_Error.PNG
          49 kB
        3. Step 16 Error_After disconnecting and reconnecting.jpg
          Step 16 Error_After disconnecting and reconnecting.jpg
          39 kB
        4. Backpack setting screen.PNG
          Backpack setting screen.PNG
          37 kB
        5. User Backpack settings.PNG
          User Backpack settings.PNG
          55 kB
        6. expiry_date.png
          expiry_date.png
          315 kB
        7. badgr_mail.png
          badgr_mail.png
          68 kB
        8. image-2019-05-08-15-56-48-554.png
          image-2019-05-08-15-56-48-554.png
          59 kB

            damyon Damyon Wiese
            sarjona Sara Arjona (@sarjona)
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Simey Lameze Simey Lameze
            Votes:
            5 Vote for this issue
            Watchers:
            20 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 weeks, 4 days, 5 hours, 41 minutes
                2w 4d 5h 41m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.