Refactor project import functionality to support zip file uploads and enforce size limits#559
Refactor project import functionality to support zip file uploads and enforce size limits#559stijnpotters1 wants to merge 6 commits into
Conversation
… enforce size limits
…ndle related exceptions
…ty and maintainability
|
Matthbo
left a comment
There was a problem hiding this comment.
The max uncompressed size is 80MB, but what if you'd want to increase this as a non-developer?
Maybe it should be an app constant so its configurable for the backend and the frontend can request the max upload restrictions from the api
As a non-developer there is no way to increase the 80MB size. Even if we implement a configurable constant in the app that provides the possibility to increase the size, the nginx client_max_body_size will prevent the folder to even end up in the app. This is a global constant in nginx and we can not dynamically change this per client or session |
No but a system admin usually can, not even giving the option means we might walk into this issue sooner or later, giving the system administrator the power to configure it means it will be their problem instead of a technical issue |



With a file too big:
