nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
27.45k stars 4.08k forks source link

Force file drop users to enter an email address. #39534

Open paul-ororke opened 1 year ago

paul-ororke commented 1 year ago

HI,

I would like to be able to force users uploading to a "file Drop" to be forced to enter their email address and have their files uploaded to a subfolder of the "Drop file shared folder" that uses the email address as it's name.

Our use case is software bug reporting. For crashes or hangs we ask users to provide supporting files, dump files, input/output etc. My current solution uses an old "Own Cloud" instance that isolated the file drops from the file storage.

On moving to the latest NextCloud Hub docker AIO I find the "file drop" suitable but for the inability to keep discrete user files associated. I do not want to create accounts for these users, yet it cannot be truly anonymous. My current solution allows users to create a folder and name it eponymously.

Even better would be a "File Drop white list" function where I could add/remove an email address to a list, then send users to a URL for file drop that would prompt for their email. If they are on the list they get the same upload experience as now, but it would transparently put that user's files in their eponymously named folder. If they are not white listed they get a message (that we can customize) telling them what they should do to get access.

joshtrichards commented 1 year ago

Hi @paul-ororke - I haven't thought too deeply about your request, but the Guests app comes to mind: https://apps.nextcloud.com/apps/guests

Also, for some of your other needs, something involving Workflows.

paul-ororke commented 1 year ago

Thanks Josh,

I took a look at https://apps.nextcloud.com/apps/guests and it is close but not quite what I am looking for because we don't always know who will be uploading before hand.

It just occurred to me that this is Open Source. Maybe I can script an action. Any suggestions where to start reading? I am not a developer myself, just a sysadmin, but I have access to smarter fellows who can code...

please and thanks

Paul

furchtlos76 commented 1 year ago

Thanks Josh,

I took a look at https://apps.nextcloud.com/apps/guests and it is close but not quite what I am looking for because we don't always know who will be uploading before hand.

It just occurred to me that this is Open Source. Maybe I can script an action. Any suggestions where to start reading? I am not a developer myself, just a sysadmin, but I have access to smarter fellows who can code...

please and thanks

Paul

I found a solution for me, even i still dont understand why this is a dropbox only feature. What i did, i coded a frontend website via help from chatgpt - that makes hat i want. Ir was quite easy, even i am not a coder. It offers a form where uploader posts his name inside and can select or drag and drop files, than it creats a new folder with date and name of the uploader via webdav and a special user (only allowed to this folder) and copies all the uploaded files inside this folder, than it sends me a mail, "Name" has Uploaded new files :-) And i can now drop dropbox and have a nice frontend with own logo, informationtext for the uploaders and so on for my nextcloud that runs even external. Maybe this would be something for you too

schleyk commented 10 months ago

Thanks Josh, I took a look at https://apps.nextcloud.com/apps/guests and it is close but not quite what I am looking for because we don't always know who will be uploading before hand. It just occurred to me that this is Open Source. Maybe I can script an action. Any suggestions where to start reading? I am not a developer myself, just a sysadmin, but I have access to smarter fellows who can code... please and thanks Paul

I found a solution for me, even i still dont understand why this is a dropbox only feature. What i did, i coded a frontend website via help from chatgpt - that makes hat i want. Ir was quite easy, even i am not a coder. It offers a form where uploader posts his name inside and can select or drag and drop files, than it creats a new folder with date and name of the uploader via webdav and a special user (only allowed to this folder) and copies all the uploaded files inside this folder, than it sends me a mail, "Name" has Uploaded new files :-) And i can now drop dropbox and have a nice frontend with own logo, informationtext for the uploaders and so on for my nextcloud that runs even external. Maybe this would be something for you too

Hi furchtlos76, I am looking for exactly this solution. is it possible to share your created frontend with me?

thanks Kevin