Store files in drive directly from UI (was: Store Files in Database)
- To allow users to upload a local picture
- Cache an upstream pictures (which might disappear soon)
Actually this is even more necessarry to store custom CSS for Zimit recipes.
I believe the solution could looks like:
- A DB table to store the file blobs
- New API end points to write/read a file from the DB
- A Vue.js dialog/overlay to allow view/upload/modify the content. In case of a picture a thumbnail view and upload file input would be good. In case of text, being able to edit additionaly the current version would be even better.
- This vue.js dialog could be linked to a dedicated button beside the url text inputs if needed. In that case, the url value would be pointing to the zimfarm API
@rgaudin Does that sounds reasonable? Optimal?
This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.
We have now https://drive.farm.openzim.org, which means that the Zimfarm UI should allow to write files there (probably by instanciating a WebDAV client).
This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.