MDL-39913 assignsubmission_file: add file types restriction
commit4044cad5ea062a714330e69f69c02a8407501f29
authorJonathon Fowler <fowlerj@usq.edu.au>
Fri, 13 Jun 2014 00:58:55 +0000 (13 10:58 +1000)
committerJohn Okely <john@moodle.com>
Fri, 7 Apr 2017 08:02:00 +0000 (7 16:02 +0800)
treee174376c3a811e02131dd163eab5ff8dfd3982e2
parent4e5a22df7a66ee912bd3206963b9c20f4f9d3b47
MDL-39913 assignsubmission_file: add file types restriction

Testing for uploading a non-permitted file won't work as things stand
currently because the filemanager throws an exception that Behat
catches, which causes a fail.
lang/en/mimetypes.php
mod/assign/submission/file/lang/en/assignsubmission_file.php
mod/assign/submission/file/locallib.php
mod/assign/submission/file/tests/behat/file_type_restriction.feature [new file with mode: 0644]
mod/assign/submission/file/version.php