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

Add available processors (e.g. email, mobile) in the settings

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.6
    • Fix Version/s: 3.6
    • Component/s: Messages
    • Labels:
    • Testing Instructions:
      Hide

      Requirements

      1. Please test this on both the Clean and Boost themes

      Default test

      1. Create a Moodle site with a user
      2. Log in as that user
      3. Open the message drawer and view the messaging settings (the cog icon)
      4. Try changing each of the preferences you see
        • Note: By default you should only see “email” under “Notification preferences” until the site admin configures other options
      5. Reload the page after you change one
      6. View the messaging settings are the reload
      7. CONFIRM that the setting is the same value that you set it to before the page reload
      8. Repeat with each setting

      Test multiple notification processors

      1. Log in as admin
      2. Go to site administration > plugins > message outputs > manage message outputs
      3. Configure the mobile and jabber message outputs by clicking on the “settings” page
        • Note: You don’t have to put in real values in the settings, just put realistic looking data in to trick Moodle into thinking they are configured
      4. After the settings are added click the “eye” icon to enable both outputs
      5. Open the messaging drawer and view the settings page
      6. CONFIRM that you see notification preferences toggle for the mobile output but not for the jabber one (this is because you haven’t configured it for this specific user)
      7. Open the notification popover (click the little bell icon in the nav bar at the top)
      8. Go to the notification settings page (click the cog icon)
      9. You should see that the “Jabber” output has an exclamation mark next to it because it hasn’t been configured for this user yet
      10. Click on “Jabber” to open the settings dialogue and add in some random text for the “Jabber ID” to fake configure it
      11. Save the changes and reload the page
      12. Open the message drawer and view the settings
      13. CONFIRM that you now see “Jabber” under the notification preference section (along with the other enabled processors)
      14. Try toggling each of the processors on/off in the message settings page and reload the page between each change
      15. CONFIRM that after each page reload the setting is what you set it to
      16. Go back to the “manage message outputs” in the site administration
      17. Enable/disable each of the outputs
      18. Open the message drawer settings page after each enable/disable
      19. CONFIRM that you don’t see a toggle for any of the disabled outputs under the notification preferences section of the messaging settings
        • Note: enabling/disabling the “web” output doesn’t affect the messaging settings

      Test default message outputs

      1. Log in as admin
      2. Go to site administration > message outputs > default message outputs
      3. Search for the “Personal messages between users” setting
      4. Try changing the different outputs values from “Permitted” to either “Locked” or “Disallowed”
      5. Open the message drawer settings after each one is changed
      6. CONFIRM that the toggle is disabled with a message in brackets next to it (either “Locked” or “Disallowed”) if the output is set to Locked or Disallowed
      Show
      Requirements Please test this on both the Clean and Boost themes Default test Create a Moodle site with a user Log in as that user Open the message drawer and view the messaging settings (the cog icon) Try changing each of the preferences you see Note: By default you should only see “email” under “Notification preferences” until the site admin configures other options Reload the page after you change one View the messaging settings are the reload CONFIRM that the setting is the same value that you set it to before the page reload Repeat with each setting Test multiple notification processors Log in as admin Go to site administration > plugins > message outputs > manage message outputs Configure the mobile and jabber message outputs by clicking on the “settings” page Note: You don’t have to put in real values in the settings, just put realistic looking data in to trick Moodle into thinking they are configured After the settings are added click the “eye” icon to enable both outputs Open the messaging drawer and view the settings page CONFIRM that you see notification preferences toggle for the mobile output but not for the jabber one (this is because you haven’t configured it for this specific user) Open the notification popover (click the little bell icon in the nav bar at the top) Go to the notification settings page (click the cog icon) You should see that the “Jabber” output has an exclamation mark next to it because it hasn’t been configured for this user yet Click on “Jabber” to open the settings dialogue and add in some random text for the “Jabber ID” to fake configure it Save the changes and reload the page Open the message drawer and view the settings CONFIRM that you now see “Jabber” under the notification preference section (along with the other enabled processors) Try toggling each of the processors on/off in the message settings page and reload the page between each change CONFIRM that after each page reload the setting is what you set it to Go back to the “manage message outputs” in the site administration Enable/disable each of the outputs Open the message drawer settings page after each enable/disable CONFIRM that you don’t see a toggle for any of the disabled outputs under the notification preferences section of the messaging settings Note: enabling/disabling the “web” output doesn’t affect the messaging settings Test default message outputs Log in as admin Go to site administration > message outputs > default message outputs Search for the “Personal messages between users” setting Try changing the different outputs values from “Permitted” to either “Locked” or “Disallowed” Open the message drawer settings after each one is changed CONFIRM that the toggle is disabled with a message in brackets next to it (either “Locked” or “Disallowed”) if the output is set to Locked or Disallowed
    • Affected Branches:
      MOODLE_36_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE
    • Pull Master Branch:
      MDL-64054-master

      Description

      See Dani's comment here:
      https://tracker.moodle.org/browse/MDL-63303?focusedCommentId=644178&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-644178

      We need to add all available processors to the settings page to go along with the email one.

        Attachments

        1. boost.PNG
          boost.PNG
          212 kB
        2. clean.PNG
          clean.PNG
          203 kB

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  3/Dec/18

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h