GRN2-xx: Allowed file types now matches BigBlueButton (#1966)

* Allowed file types now matches BigBlueButton

* Uppercased file types are now allowed

* Rubocop
This commit is contained in:
Ahmad Farhat
2020-08-04 10:35:07 -04:00
committed by GitHub
parent 35c82f9c17
commit 0710c569b7
7 changed files with 6 additions and 5 deletions

View File

@ -129,7 +129,7 @@ module Greenlight
config.help_url = ENV["HELP_URL"].nil? ? "https://docs.bigbluebutton.org/greenlight/gl-overview.html" : ENV["HELP_URL"]
# File types allowed in preupload presentation
config.allowed_file_types = ".doc,.docx,.pptx,.pdf"
config.allowed_file_types = ".doc,.docx,.ppt,.pptx,.pdf,.xls,.xlsx,.txt,.rtf,.odt,.ods,.odp,.odg,.odc,.odi,.jpg,.jpeg,.png"
# DEFAULTS

View File

@ -411,7 +411,7 @@ en:
forgot_password: Forgot Password?
preupload:
change: Replace Presentation
choose: Choose a file (%{type})
choose: Choose a file...
current: "Current Presentation:"
footer: Depending on the size of the presentation, it may require additional time to upload before it can be used.
invalid: Invalid size/file type. Please see the restrictions below.