← Back to team overview

mahara-contributors team mailing list archive

[Bug 1896683] A change has been merged

 

Reviewed:  https://reviews.mahara.org/12114
Committed: https://git.mahara.org/mahara/mahara/commit/1ad45d2da804480c4b780effcf3f405db938f04c
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    main

commit 1ad45d2da804480c4b780effcf3f405db938f04c
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Mon Oct 19 17:13:26 2020 +1300

Bug 1896683: Doing checks on special upload places

Problems
1) matrix files are not able to be uploaded if '$cfg->validfiletypes'
is on and '.matrix' is not specified but should not need to be
specified as it is an admin section thing

2) csv uploads don't go thru uploadmanager are so not actually checked
if they are valid csv files

Change-Id: I91c3c2da6edd2a2f34d62d621c374abf86166971
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: mahara-contributors
https://bugs.launchpad.net/bugs/1896683

Title:
  Allow CSV, ZIP, and MATRIX files on certain screens when file
  extension restrictions are in place

Status in Mahara:
  In Progress

Bug description:
  When the config variable '$cfg->validfiletypes' is set, only the file
  types mentioned can be uploaded to Mahara. That impacts a number of
  admin screens where we need to be able to upload CSV and MATRIX files
  in particular:

  - Add people by CSV
  - Create groups by CSV
  - Add group members by CSV
  - Import SmartEvidence framework file
  - Upload Leap2A file to create an account (and same for importing Leap2A into an existing account).

  It would not necessarily be good to have to allow these file types in
  general. Therefore, it would be good to always allow them on the
  screens where they are needed to fulfil basic operations in Mahara.

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



References