← Back to team overview

mahara-contributors team mailing list archive

[Bug 1808245] A change has been merged

 

Reviewed:  https://reviews.mahara.org/9371
Committed: https://git.mahara.org/mahara/mahara/commit/ad7d27ba6109230db37988c1d5bda9824f5dbb63
Submitter: Cecilia Vela Gurovic (ceciliavg@xxxxxxxxxxxxxxx)
Branch:    master

commit ad7d27ba6109230db37988c1d5bda9824f5dbb63
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Thu Dec 13 12:08:16 2018 +1300

Bug 1808245: Show max upload filsize for 'file' field

And allow one to set it to user max quota if needed

behatnotneeded

Change-Id: Ia689f8f7f61e81810559c6d170f5366379b3ea6d
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1808245

Title:
  Make 'file' upload form field respect user quota better

Status in Mahara:
  Fix Committed

Bug description:
  Currently the 'file' form field doesn't do the following:

  1) It doesn't display the max file size (the 'filebrowser' form field
  does this)

  2) It returns the site's max file size on validation error even if a
  use has a quota value smaller

  Things to change:

  1) allow the maxfilesize value to be able to be set to user's max
  value if uploading into the user area, eg for importing skins/leap2a
  files - as the relating content of images/files will end up counted as
  user quota

  2) allow the upload_manager() class to return error in correct max
  filesize

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1808245/+subscriptions


References