-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Respect allowed file types option #755
Conversation
view.php
Outdated
$acceptedtypes = ['*']; | ||
} | ||
else { | ||
$acceptedtypes = ['doc', 'docx', 'wpd', 'html', 'htm', 'ps', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where did this list of types come from?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I created that list based on the guide found here: https://guides.turnitin.com/hc/en-us/articles/23929463501965-File-requirements
There is a list of file types in PP that I could copy from, but I am unsure whether we would have different allowed file types between the two plugins
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK I figure it makes sense that they would be the same, so I have copied the list from the other plugin for now and pushed another commit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please get Stephanie to confirm this list
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK will do
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
approved
Right now we don't respect the 'Allow Submission of Any File Type' option. We are currently allowing submission of any file type regardless of whether this option is set or not.
I have added a list of file types to accept based on this guide: https://guides.turnitin.com/hc/en-us/articles/23929463501965-File-requirements
It is important that the list of accepted file extensions is accurate, so please could any reviewers check it and let me know if there are any that are wrong or any more I need to add.