← Back to team overview

mahara-contributors team mailing list archive

[Bug 1808245] Re: Make 'file' upload form field respect user quota better

 

** Changed in: mahara
       Status: Fix Committed => Fix Released

-- 
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 Released

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