| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| collections | ||
| factories | ||
| models | ||
| spec | ||
| spec_helpers | ||
| utils | ||
| views | ||
| base.js | ||
| common_helpers | ||
| index.js | ||
| sock.js |
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 |
|---|---|---|
| .. | ||
| collections | Loading commit data... | |
| factories | Loading commit data... | |
| models | Loading commit data... | |
| spec | Loading commit data... | |
| spec_helpers | Loading commit data... | |
| utils | Loading commit data... | |
| views | Loading commit data... | |
| base.js | Loading commit data... | |
| common_helpers | Loading commit data... | |
| index.js | Loading commit data... | |
| sock.js | Loading commit data... |