This commit puts a limit on the size of files that course staff can upload to MongoDB. The limit is enforced on the frontend in javascript as well as backend via the /upload endpoint. The limit is hard-coded in cms/envs/common.py and may be changed according to the user's custom needs. If the user tries to upload a file that's too large, an error message will pop up, with a customizable url that pointing the user to an external page with an alternate upload procedure. This url is specified im cms/envs/common.py. If not set, this url will not be displayed.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
asset_index.js | Loading commit data... | |
base.js | Loading commit data... | |
checklists.js | Loading commit data... | |
common_deps.js | Loading commit data... | |
container.js | Loading commit data... | |
course.js | Loading commit data... | |
course_create_rerun.js | Loading commit data... | |
course_info.js | Loading commit data... | |
edit_tabs.js | Loading commit data... | |
export.js | Loading commit data... | |
group_configurations.js | Loading commit data... | |
import.js | Loading commit data... | |
index.js | Loading commit data... | |
login.js | Loading commit data... | |
manage_users.js | Loading commit data... | |
outline.js | Loading commit data... | |
register.js | Loading commit data... | |
settings.js | Loading commit data... | |
settings_advanced.js | Loading commit data... | |
settings_graders.js | Loading commit data... | |
textbooks.js | Loading commit data... | |
xblock_validation.js | Loading commit data... |