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

Quiz time period setting should use admin_setting_configduration

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.8.2
    • 2.9
    • Quiz
    • MOODLE_28_STABLE
    • MOODLE_29_STABLE
    • Hide
      1. Go to Admin > Plugins > Activity modules > Quiz (> General settings if necessary.)
      2. Change all of the settings that now use the duration control
        • Time limit - 7 minutes
        • Submission grace period - 5 days
        • Last submission grace period - 57 seconds
        • Enforced delay between 1st and 2nd attempts - 37 minutes.
        • Enforced delay between later attempts - 0
        • Auto-save delay - 3 seconds.
      3. Read the name and description of all those settings, to verify that the words make sense now that the setting type has been changed.
      4. Save changes, and verify that the values have been saved correctly.
      5. Add a new quiz to a course. For the settings that appear on the form, verify that the defaults you set are used.
      6. Start a quiz attempt, open developer tools console in your browser. Change an answer, and verify that the auto-save happens a few seconds after your answer was change.
      Show
      Go to Admin > Plugins > Activity modules > Quiz (> General settings if necessary.) Change all of the settings that now use the duration control Time limit - 7 minutes Submission grace period - 5 days Last submission grace period - 57 seconds Enforced delay between 1st and 2nd attempts - 37 minutes. Enforced delay between later attempts - 0 Auto-save delay - 3 seconds. Read the name and description of all those settings, to verify that the words make sense now that the setting type has been changed. Save changes, and verify that the values have been saved correctly. Add a new quiz to a course. For the settings that appear on the form, verify that the defaults you set are used. Start a quiz attempt, open developer tools console in your browser. Change an answer, and verify that the auto-save happens a few seconds after your answer was change.

    Description

      Now that it is available, this is a better UI.

      To do this, I need to add a new admin_setting_configduration_with_advanced class.

      Also, while doing this, I will reduce the default quiz autos-save time from 2 minutes to 1 minute. That should be safe in terms of sever load, and much safer for students. Note this change will only really affect new installs.

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              timhunt Tim Hunt
              Mahmoud Kassaei Mahmoud Kassaei
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Rajesh Taneja Rajesh Taneja
              Tim Hunt, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11/May/15