Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
In #141 it was discussed to enable the user to upload data directly from cloud storage. This feature speeds up the annotation workflow by no longer requiring the user to download all data files to their machine and also enables data import into doccano in higher compliance environments where users may not be allowed to download data files to their machine.
This pull request implements the data import from cloud by integrating:
libcloud storage to have a single SDK in the import API to interact with a wide range of cloud storage systems such as AWS S3, Google Cloud Storage, Azure Blob Storage, etc.
django-cloud-browser to enable the user to navigate the cloud storage interactively and select which file to upload. Note that the cloud browser uses libcloud under the hood so it supports the exact same set of cloud storages as the import API.
The animation below shows the cloud upload experience:
The cloud upload feature is functionally complete but the default UI of django-cloud-browser is fairly basic. I'd be very happy to take guidance on how to improve the CSS to make it more aligned with doccano, e.g. is there a UI style-guide for doccano?
Resolves #141