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

Improving the maxbytes setting

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.7, 1.7.1, 1.7.2, 1.8
    • Fix Version/s: 1.9
    • Component/s: Administration
    • Labels:
      None
    • Affected Branches:
      MOODLE_17_STABLE, MOODLE_18_STABLE
    • Fixed Branches:
      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  3/Mar/08