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

Ensure support email address is mandatory

XMLWordPrintable

    • MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • MDL-72984-master
    • Hide

      New install test

      1. Clone moodle repository and apply the patch.
      2. Proceed with the install.
      3. In the new settings page (after entering admin user account details).
      4. Make sure the Support email is now present on the list of the new settings.
      5. Try to save changes.
      6. Make sure it displays a Required validation error.
      7. Enter an invalid email address.
      8. Make sure it displays a This value is not valid validation error.
      9. Make sure you cannot proceed with the install without entering a valid email address.
      10. Once the install finished, go to Site administration > Server > Support contact
      11. Try to empty the supportemail field and click Save changes.
      12. Make sure it displays a Required validation error.
      13. Enter an invalid email address and click Save changes.
      14. Make sure it displays a This value is not valid validation error.

      Upgrade test

      1. Before the upgrade (without the patch applied) go to Site administration > Server > Support contact
      2. Empty the supportemail field and click Save changes.
      3. Apply with patch and run the upgrade.
      4. Make sure you are requested to fill the Support email during the upgrade process.
      5. Try to proceed the upgrade without setting a support email.
      6. Make sure it displays a Required validation error.
      7. Enter an invalid email address.
      8. Make sure it displays a This value is not valid validation error.
      9. Fill the email field with a valid email address.
      10. Make sure the upgrade finishes as expected.
      11. Repeat steps [11-14] from previous test.
      12. Make sure you are not able to unset the support email.

      CLI install

      1. Clone integration (with patch applied)
      2. Open a terminal and start the cli install:

        php admin/cli/install.php
        

      3. Go through the install and make sure there's a new prompt for Support email address.
      4. Make sure the setting is optional (you should be able to bypass it by pressing enter)
      5. Don't finish the install and stop the installation (Ctrl + C)
      6. Start the install again, but this time pass the supportemail setting in the cli command:

        php admin/cli/install.php --supportemail=youremailaddres@email.com
        

      7. Make sure you are prompted to enter the support email address during install.
      8. Finish the install and make sure the support email has been set.

      Footer popover displays support email

      1. Go to site administration
      2. Click on the footer popover
      3. Make sure it displays the support email in the popover
      4. Make sure that it looks like the image below. I.e. There is no divider between the "Help and documentation" link and the "Contact support" link:
      Show
      New install test Clone moodle repository and apply the patch. Proceed with the install. In the new settings page (after entering admin user account details). Make sure the Support email is now present on the list of the new settings. Try to save changes. Make sure it displays a Required validation error. Enter an invalid email address. Make sure it displays a This value is not valid validation error. Make sure you cannot proceed with the install without entering a valid email address. Once the install finished, go to Site administration > Server > Support contact Try to empty the supportemail field and click Save changes . Make sure it displays a Required validation error. Enter an invalid email address and click Save changes . Make sure it displays a This value is not valid validation error. Upgrade test Before the upgrade (without the patch applied) go to Site administration > Server > Support contact Empty the supportemail field and click Save changes . Apply with patch and run the upgrade. Make sure you are requested to fill the Support email during the upgrade process. Try to proceed the upgrade without setting a support email. Make sure it displays a Required validation error. Enter an invalid email address. Make sure it displays a This value is not valid validation error. Fill the email field with a valid email address. Make sure the upgrade finishes as expected. Repeat steps [11-14] from previous test. Make sure you are not able to unset the support email. CLI install Clone integration (with patch applied) Open a terminal and start the cli install: php admin/cli/install.php Go through the install and make sure there's a new prompt for Support email address . Make sure the setting is optional (you should be able to bypass it by pressing enter) Don't finish the install and stop the installation (Ctrl + C) Start the install again, but this time pass the supportemail setting in the cli command: php admin/cli/install.php --supportemail=youremailaddres@email.com Make sure you are prompted to enter the support email address during install. Finish the install and make sure the support email has been set. Footer popover displays support email Go to site administration Click on the footer popover Make sure it displays the support email in the popover Make sure that it looks like the image below. I.e. There is no divider between the "Help and documentation" link and the "Contact support" link:
    • 2
    • HQ Team International CI H2-21, HQ Team International CIH2-212, HQ Team International CIH2-213

      To make it easier for our users to get additional assistance we want to ensure the site support email address is always configured.

      For this purpose we want to introduce the following changes:

      1. Make the site support email address mandatory (Administration > Server > Support contact).
      2. List the email address in the new '?' pop-up.
      3. Add the ability to set the support email during CLI installation, but make it optional in this case so that we don't negatively affect any automations/scripts etc the partners/cloud etc may use to create new sites.

       

        1. New install test_Test Passed.png
          184 kB
          Gladys Basiana
        2. Upgrade test_Test Passed.png
          201 kB
          Gladys Basiana
        3. Cli install test_Test Passed.png
          80 kB
          Gladys Basiana
        4. Footer popover displays support email_Test Passed.PNG
          9 kB
          Gladys Basiana
        5. popover_empty_div.png
          11 kB
          Jake Dallimore
        6. popover_correct.png
          15 kB
          Jake Dallimore
        7. NEW Footer popover displays support email_Test Passed.PNG
          11 kB
          Gladys Basiana

            lameze Simey Lameze
            sanderbangma Sander Bangma
            Michael Hawkins Michael Hawkins
            Jake Dallimore Jake Dallimore
            Gladys Basiana Gladys Basiana
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 week, 40 minutes
                1w 40m

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