INGInious icon indicating copy to clipboard operation
INGInious copied to clipboard

[frontend/tasks] Cap the student shown file upload limit to the server's limit.

Open anthonygego opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe. Teachers can set the maximum size for their file upload problems, but they can virtually sets a larger size than the one accepted by the web server. Therefore the students don't understand why the file is not uploaded.

Describe the solution you'd like A limit can be specified in the webapp config so that the subproblem class can access the information.

Describe alternatives you've considered Maybe we can propagate this from the webserver to the wsgi options, but would it be convenient ?

anthonygego avatar Jun 16 '23 09:06 anthonygego