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

Improving the maxbytes setting

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.7, 1.7.1, 1.7.2, 1.8
    • 1.9
    • Administration
    • None
    • MOODLE_17_STABLE, MOODLE_18_STABLE
    • MOODLE_19_STABLE

    Description

      Before the administration interface moving to formslib, I seem to recall that the setting for maxbytes allowed a dropdown selection of upload sizes, much like the course page. Now the setting is just a text field which requires sizes to be specified in bytes (not the most intuitive thing to do).

      I can't think of a reason as to why this needs to be a text field (particularly when other parts of the interface use the dropdown approach). There also seems to be the (not particularly documented) behaviour that setting this to 0 will use the servers limit.

      I've created a patch to use a dropdown box in order to set the max size, rather than needing to specify in bytes in text format.

      Attachments

        Activity

          People

            poltawski Dan Poltawski
            poltawski Dan Poltawski
            Nobody Nobody
            Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              3/Mar/08