Skip to content
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

feat: allow to configure upload file size #349

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ErickMurillo
Copy link

What are the relevant tickets?

None, it will be useful for users to be able to customize the upload size of documents.

What's this PR do?

This PR is intended to can customize the upload size limit

How should this be manually tested?

Add the STUDENT_FILEUPLOAD_MAX_SIZE variable with the custom size in the config.yml

Example:
STUDENT_FILEUPLOAD_MAX_SIZE = 10 * 1000 * 1000 #10MB

@pdpinch
Copy link
Member

pdpinch commented Nov 23, 2023

New settings require an annotation comment, as specified in OEP-17 https://docs.openedx.org/projects/openedx-proposals/en/latest/best-practices/oep-0017-bp-feature-toggles.html

How will this setting interact with file upload size limits set in nginx?

@ErickMurillo
Copy link
Author

New settings require an annotation comment, as specified in OEP-17 https://docs.openedx.org/projects/openedx-proposals/en/latest/best-practices/oep-0017-bp-feature-toggles.html

How will this setting interact with file upload size limits set in nginx?

Hi, i just added the settings annotation comments.

About your questions -> In this case, placing the modification in the ingress-nginx is enough, but the idea would be that the Xblock is not a limitation regardless of changes made at other levels.

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

Successfully merging this pull request may close these issues.

2 participants