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

Fix allowed zipfile upload size #361

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

Conversation

ifrh
Copy link
Contributor

@ifrh ifrh commented Jan 3, 2023

This Pullrequest is an "update" to pullrequest #356

This closes #356
This fixes #359 , hso-praktomat/praktomat#15

Edit:
the tests (py3.6 to py3.10) don't pass because I didn't merge #348 into this branch.
the test (py3.5) don't pass because of SystemError: ffi_prep_closure(): bad user_data (it seems that the version of the libffi library seen at runtime is different from the 'ffi.h' file seen at compile-time)

hannesbraun and others added 4 commits December 22, 2022 13:07
The parameter max_file_size now also controls the maximum size of the sum of file sizes in an uploaded zip file. This allows uploading zip files larger than 1 MB (if configured).
This fixes KITPraktomatTeam/Praktomat/KITPraktomatTeam#359 , hso-praktomat/praktomat/KITPraktomatTeam#15
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.

solutions/forms.py should use task.max_file_size if uploaded solution is a zip-file.
2 participants