← Back to team overview

mahara-contributors team mailing list archive

[Bug 1381773] Re: Allow the 'accept' file upload attribute to be set for artefact chooser

 

** Changed in: mahara
   Importance: Undecided => Wishlist

** Changed in: mahara
       Status: New => Confirmed

-- 
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/1381773

Title:
  Allow the 'accept' file upload attribute to be set for artefact
  chooser

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  Now that bug #1262928 is done we should expand this to deal with items
  uploaded by the artefact chooser.

  This is a bit more tricky as the chooser can be used for uploading
  different things depending on where it is called

  What we would need to do is:

  1) Pass to the artefactchooser an array to indicate what types of
  acceptable files can be chosen

  2) To keep a list of acceptable types so that we can add/edit in one
  place rather than having to update all the forms (so need to tweak the
  existing csv ones)

  This way if a user is trying to add an image block they can filter the
  list to valid image types when uploading etc.

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


References