ismartcoding / plain-app

PlainApp is an open-source application that allows you to manage your phone through a web browser. Access files, videos, music, contacts, sms, calls, and more from your desktop using a secure, easy to use web interface!
https://docs.plain.icu
GNU Affero General Public License v3.0
2.19k stars 114 forks source link

File management issue #99

Closed RedCrafter07 closed 8 months ago

RedCrafter07 commented 8 months ago

Describe the bug

Hello. I just went to the web dashboard and deleted an old audio file from it before uploading a new one. I selected the one file I wanted to delete. However, it deleted all my audio files on my phone, forever. I can't get them back anymore.

To Reproduce Steps to reproduce the behavior:

  1. Go to Audio on the web dashboard
  2. Click on any audio file and delete it
  3. all files get deleted after some time (it happened for me for the first time, I've tried it before and it worked normally)

Expected behavior Deleting all files instead of all

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

ismartcoding commented 8 months ago

Sorry to hear that. OMG, you are a life saver. This happens when click the delete button twice.

RedCrafter07 commented 8 months ago

I was able to restore the important files somehow, thanks for fixing, I hope I could help so this doesn't happen to others :)

ismartcoding commented 8 months ago

I hope this won't happen to others...

RedCrafter07 commented 8 months ago

Yes, but it's fixed, so that's good. Another suggestion I'd make is to move them to the recycle bin instead of permanently deleting them. That way, users can change their minds after deleting files (like in other file management systems), and such problems wouldn't be as critical as the files could be easily recovered.