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

file uploading validation #76

Open
khoathanglong opened this issue Sep 19, 2019 · 0 comments
Open

file uploading validation #76

khoathanglong opened this issue Sep 19, 2019 · 0 comments
Labels
enhancement New feature or request upload-frontend

Comments

@khoathanglong
Copy link
Collaborator

khoathanglong commented Sep 19, 2019

The upload form should show the conditions that the files should adhere to. The form should show:

  • what mime types are expected for a given source type, once the source type is selected.
  • what the maximum size of a file is.

The mime type comes from source types request, the maximum size should be configurable, e.g. via an environment variable, since it depends on the deployment of the system. The same maximum should be configured in nginx as in the frontend.

Edit: clarification

Original issue:

  • At the moment source type accepts all type files. Maybe we should get file type (extension) along with source type?

  • No file size limitation required. Should we have limitation on a single file size and display it in the UI? (and total files size when support multiple file upload)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request upload-frontend
Projects
None yet
Development

No branches or pull requests

2 participants