Donkie / Spoolman

Keep track of your inventory of 3D-printer filament spools.
MIT License
757 stars 77 forks source link

Feature request - Add (SDS) Safety Data Sheet & Technical Data Sheet #395

Open TexZeTech opened 1 month ago

TexZeTech commented 1 month ago

I would like the integration of Safety Data Sheet(s) & Technical Data Sheet(s) with links to original source(s).

Describe the solution you'd like A way to easily upload files to a location (eg; to a network share or docker container) and to display this information when looking for it into another window eg; if its a pdf or text file to then open it in a new tab or internal window.

Describe alternatives you've considered Manually adding pdfs/text/jpgs to network share or the like and linking to those from the spoolman DB.

Donkie commented 4 weeks ago

You can already do this using the Extra Fields feature. Upload them to a location of your choice and then add them as links to your own custom field.

I don't want to add any file hosting capabilities to Spoolman since that is a whole can of worms of security related issues.

TexZeTech commented 4 weeks ago

You can already do this using the Extra Fields feature. Upload them to a location of your choice and then add them as links to your own custom field.

This is why I stated what I've considered, but I clearly didn't convey that correctly.

I don't want to add any file hosting capabilities to Spoolman since that is a whole can of worms of security related issues.

I guess I don't fully appreciate what security issues could arise from uploading to an internal docker named volume linked to Spoolman for secondary file storage.

I just don't think it would be that large of an issue at least no less then someone trying to break the docker container using something like SQL privilege escalation or any other method of attack, however I will be the first to admit I don't code for a living.

What I would like is to simply reference a named volume that is linked up with Spoolman where I can pass a file over to that volume using your interface in a convent way for filament referencing.

If I have Manufactures -> Filaments -> Spools eg; Prusa3d -> PETG -> Prusa3d - Ultramarine Blue Transparent then I pass the file to the folder path that is generated to match where ever the SDS / Data Sheet are added. So if I attach the SDS to the Filament it would show up /ID#/ID#/sds.pfd eg; /3/9/sds.pdf or something human readable.

This could also just generate the folder path for the location in question and the user has to use ftp (or other method) to add the file manually this is less ideal though.

In either case at the minimum I would like a window that displays similar function to https://www.w3docs.com/snippets/html/how-to-embed-pdf-in-html.html like when you open the QR Code Scanner window.

Again thank you for the great application.