Skip to content
This repository has been archived by the owner on Jun 12, 2023. It is now read-only.

Have specific message for files uploaded with no extension #101

Open
thepurpleblob opened this issue Apr 3, 2017 · 2 comments
Open

Have specific message for files uploaded with no extension #101

thepurpleblob opened this issue Apr 3, 2017 · 2 comments

Comments

@thepurpleblob
Copy link
Contributor

thepurpleblob commented Apr 3, 2017

Currently files with no extension get a 'This filetype is not supported' message from Urkund.

However, as we know that a missing extension is going to be a problem can this be handled either (ideally) at upload time or by a more specific message. Students never realise that lack of an extension is the problem.

@danmarsden
Copy link
Owner

Isn't this already handled in the new 3.3 Assignment settings which allow you to restrict the file types you can upload?

@thepurpleblob
Copy link
Contributor Author

I'm not sure it is by default. Surely you would have to add an exhaustive list of filetypes?

With unoconv being next to useless, we may start restricting to .pdf anyway.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants