Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-4574

Support links to badges by hash

XMLWordPrintable

    • Hide

      Test in a 4.4 site and a 4.5 site. All steps are the same in both except step 5.

      1. Log in the app with a student using a tablet.
        1. Enable push notifications for badges.
      2. Log in the app with a teacher using a phone.
        1. Enable push notifications for badges.
      3. In LMS with the teacher:
        1. Create a badge and set "Notify badge creator" to "Every time" in the Message section of the badge.
        2. Award the badge to the student
        3. Get the URL of the awarded badge. It should look like "/badges/badge.php?hash=...".
        4. Add a URL resource pointing to the badge URL anywhere in the site.
      4. In the app with the student.
        1. Click on the received notification
        2. Verify that the badge is opened in the app and the name of the user of the badge is displayed.
        3. Access the resource with the badge URL.
        4. Verify that the badge is opened in the app and the name of the user of the badge is displayed.
        5. Access the badges of the user.
        6. Verify that the badges are displayed in a split view.
      5. In the app with the teacher.
        1. In the 4.4 site:
          1. Click on the received notification.
          2. Verify that the badge is opened in the browser.
          3. Access the resource with the badge URL.
          4. Verify that the badge is opened in the browser.
        2. In the 4.5 site:
          1. Click on the received notification.
          2. Verify that the badge is opened in the app and the name of the user of the badge is displayed.
          3. Access the resource with the badge URL.
          4. Verify that the badge is opened in the app and the name of the user of the badge is displayed.
      Show
      Test in a 4.4 site and a 4.5 site. All steps are the same in both except step 5. Log in the app with a student using a tablet. Enable push notifications for badges. Log in the app with a teacher using a phone. Enable push notifications for badges. In LMS with the teacher: Create a badge and set "Notify badge creator" to "Every time" in the Message section of the badge. Award the badge to the student Get the URL of the awarded badge. It should look like "/badges/badge.php?hash=...". Add a URL resource pointing to the badge URL anywhere in the site. In the app with the student. Click on the received notification Verify that the badge is opened in the app and the name of the user of the badge is displayed. Access the resource with the badge URL. Verify that the badge is opened in the app and the name of the user of the badge is displayed. Access the badges of the user. Verify that the badges are displayed in a split view. In the app with the teacher. In the 4.4 site: Click on the received notification. Verify that the badge is opened in the browser. Access the resource with the badge URL. Verify that the badge is opened in the browser. In the 4.5 site: Click on the received notification. Verify that the badge is opened in the app and the name of the user of the badge is displayed. Access the resource with the badge URL. Verify that the badge is opened in the app and the name of the user of the badge is displayed.
      •  
    • MOODLE_405_STABLE
    • Moodle Apps - 2024 i3.1, Moodle Apps - 2024 i3.2

      A link to a badge that includes only the badge:

      https://mysite/badges/badge.php?hash=336c7c732a349be3f20d2008a3c53c84c7d0456b

      This is possible 4.3 onward thanks to MDL-74570 (core_badges_get_user_badge_by_hash)

            albert.gasset@moodle.com Albert Gasset
            jleyva Juan Leyva
            Dani Palou Dani Palou
            Isabel Renedo Rouco Isabel Renedo Rouco
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 days, 4 hours, 26 minutes
                4d 4h 26m

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