-
Bug
-
Resolution: Fixed
-
Blocker
-
2.3
-
MOODLE_23_STABLE
-
MOODLE_24_STABLE
-
MDL-33766-master -
In your private files, you can see 'Maximum size for new files: XXX'. This value is actually the 'userquota' setting where it should be:
min(array('userquota' - 'used_disk_space', get_user_max_upload_file_size($context, $CFG->maxbytes))).
|
The maxbytes setting can be bypassed using the capability 'moodle/course:ignorefilesizelimits'
To be fixed
- Wording of 'Maximum size for new files' (or at least figuring out what it means, cf. MDL-27163)
- Upload limit based on maxbytes
- Upload limit based on user free disk space as well
- When the quota is exceeded, it is not clear that the files are not saved. User could lose all new uploaded files without knowing!
To replicate
- Upload a few files to exceed userquota, save your changes, logout, login, files are gone!
- Play with the upload_max_size, userquota and maxbytes.
- caused a regression
-
MDL-36708 file_is_draft_area_limit_reached should not consider references
-
- Closed
-
- Discovered while testing
-
MDL-36472 My private files user quota error message improvements
-
- Closed
-
- has a non-specific relationship to
-
MDL-37560 File areas ignore the setting $CFG->maxbytes
-
- Closed
-
- has been marked as being related by
-
MDL-27156 File System Repository files limited by PHP upload_max_filesize limits
-
- Closed
-