zimfarm icon indicating copy to clipboard operation
zimfarm copied to clipboard

Store files in drive directly from UI (was: Store Files in Database)

Open kelson42 opened this issue 5 years ago • 7 comments

  • To allow users to upload a local picture
  • Cache an upstream pictures (which might disappear soon)

kelson42 avatar Nov 10 '20 09:11 kelson42

Actually this is even more necessarry to store custom CSS for Zimit recipes.

kelson42 avatar Jan 14 '21 21:01 kelson42

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?

kelson42 avatar Jan 14 '21 21:01 kelson42

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.

stale[bot] avatar Mar 19 '21 23:03 stale[bot]

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).

kelson42 avatar Oct 28 '21 07:10 kelson42

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.

stale[bot] avatar Mar 02 '22 09:03 stale[bot]

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.

stale[bot] avatar Jun 12 '22 20:06 stale[bot]

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.

stale[bot] avatar May 26 '23 18:05 stale[bot]