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

Update MoodleNet profile help text

    XMLWordPrintable

Details

    • MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE
    • MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE
    • MDL-74189-master
    • Hide

      Prerequisites

      You will need to have a MoodleNet account (https://moodle.net)

      Test 1 (upgrade)

      1. Make sure that you haven't upgraded the site yet.
      2. Login as a user
      3. Go to the user's profile
      4. Go to Edit profile
        1. For 'MoodleNet profile' set '@example@moodle.net'
        2. Press 'Update profile'
      5. Log out.
      6. Log in as admin.
      7. Run the upgrade.
      8. Go to Site administration > General > Messaging > Notification settings
        1. Enable notifications for "Notices about minor problems" for the "Web" interface.
        2. Press "Save changes"
      9. Run cron (php admin/cli/cron.php)
      10. Log in as admin
        1. confirm that you get a notification stating that the linked MoodleNet profiles have been removed.
      11. View the full notification.
        1. confirm that the full notification states that the user data related to any linked MoodleNet profiles has been removed and the users will need to reset it by linking their MoodleNet profile ID.{}
      12. Log out.
      13. Log in with the same user from step 2.
      14. Go to the user's profile
      15. Go to Edit profile
        1. confirm that the 'MoodleNet profile ID' field is empty.

      Test 2 (linking a MoodleNet profile)

      1. Login as Admin.
      2. Go to Site administration > Courses > Activity chooser > Activity chooser settings
        1. For 'Activity chooser footer' set 'MoodleNet'
        2. Press 'Save changes'
      3. Create a course.
      4. Go to the course and turn editing on.
      5. Click on the 'Add an activity' link to open the activity chooser
      6. Click on the 'or browse for content on MoodleNet' link in the footer of the activity chooser.
      7. Now, in the MoodleNet modal window
        1. confirm that there is a text which explains that the user should copy the ID from their MoodleNet profile and paste in the input field in order to link their MoodleNet profile on the site.
        2. confirm that the input field has the following placeholder "a1b2c3d4e5f6-example@moodle.net"
      8. In the input field enter '@example@moodle.net' and press 'Save and go'
        1. confirm that a validation message is displayed stating that you need to enter a valid MoodleNet profile ID and the input was not saved.{}
      9. In a new tab, open MoodleNet (https://moodle.net) and sign in with your account.
      10. Go to your profile page on the MoodleNet platform.
      11. Click on the 'Copy ID' button (this will save your MoodleNet profile ID to the clipboard)
      12. Now go back to the tab of your Moodle site.
      13. Paste the copied ID into the input field and press 'Save and go'
        1. confirm that the MoodleNet profile has been succesfully linked.
      Show
      Prerequisites You will need to have a MoodleNet account ( https://moodle.net ) Test 1 (upgrade) Make sure that you haven't upgraded the site yet. Login as a user Go to the user's profile Go to Edit profile For 'MoodleNet profile' set '@example@moodle.net' Press 'Update profile' Log out. Log in as admin. Run the upgrade. Go to Site administration > General > Messaging > Notification settings Enable notifications for "Notices about minor problems" for the " Web " interface. Press "Save changes" Run cron ( php admin/cli/cron.php ) Log in as admin confirm that you get a notification stating that the linked MoodleNet profiles have been removed. View the full notification. confirm that the full notification states that the user data related to any linked MoodleNet profiles has been removed and the users will need to reset it by linking their MoodleNet profile ID. { } Log out. Log in with the same user from step 2. Go to the user's profile Go to Edit profile confirm that the 'MoodleNet profile ID' field is empty. Test 2 (linking a MoodleNet profile) Login as Admin. Go to Site administration > Courses > Activity chooser > Activity chooser settings For 'Activity chooser footer' set 'MoodleNet' Press 'Save changes' Create a course. Go to the course and turn editing on. Click on the 'Add an activity' link to open the activity chooser Click on the 'or browse for content on MoodleNet' link in the footer of the activity chooser. Now, in the MoodleNet modal window confirm that there is a text which explains that the user should copy the ID from their MoodleNet profile and paste in the input field in order to link their MoodleNet profile on the site. confirm that the input field has the following placeholder "a1b2c3d4e5f6-example@moodle.net" In the input field enter '@example@moodle.net' and press 'Save and go' confirm that a validation message is displayed stating that you need to enter a valid MoodleNet profile ID and the input was not saved. { } In a new tab, open MoodleNet ( https://moodle.net ) and sign in with your account. Go to your profile page on the MoodleNet platform. Click on the 'Copy ID' button (this will save your MoodleNet profile ID to the clipboard) Now go back to the tab of your Moodle site. Paste the copied ID into the input field and press 'Save and go' confirm that the MoodleNet profile has been succesfully linked.
    • 1
    • QA time, QA time 2

    Description

      MoodleNet have changed their profile format away from @example@moodle.net to a1b2c3d4e5f6-example@moodle.net

      This is leading to a QA failure (MDLQA-16640).

      We will need a better solution for the future, but for the time being:

      1. Update the placeholder in activity chooser to something like a1b2c3d4e5f6-example@moodle.net
      2. Check that there isn't a leading @ which is a holdover from the previous format
      3. Update the help text to inform the user that the profile is the end part of the url on their MoodleNet profile page - https://moodle.net/profile/a1b2c3d4e5f6-example (MoodleNet are working on a copy username to clipboard on the profile page, check to see if this has been implemented).
      4. Update the QA test to specify the new format for the profile (both MDLQA-16640 and the master).
      5. Make sure to backport this as previous versions are also affected.

      Attachments

        1. MDL-74189_test 1_1.png
          MDL-74189_test 1_1.png
          104 kB
        2. MDL-74189_test 1_2.png
          MDL-74189_test 1_2.png
          66 kB
        3. MDL-74189_test 1_3.png
          MDL-74189_test 1_3.png
          94 kB
        4. MDL-74189_test 2_1.png
          MDL-74189_test 2_1.png
          74 kB
        5. MDL-74189_test 2_2.png
          MDL-74189_test 2_2.png
          77 kB
        6. MDL-74189_test 2_3.png
          MDL-74189_test 2_3.png
          78 kB

        Issue Links

          Activity

            People

              Geshoski Mihail Geshoski
              abgreeve Adrian Greeve
              Ferran Recio Ferran Recio
              Victor Déniz Falcón Victor Déniz Falcón
              Angelia Dela Cruz Angelia Dela Cruz
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 7 hours, 16 minutes
                  7h 16m

                  Clockify

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