-
-
Notifications
You must be signed in to change notification settings - Fork 337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove from history w/files #2754
Comments
This has been discussed before, with conclusion "No", but as a user I still would like to have this. So that you can use SAB to remove a Linux iso image you don't want any longer. I believe reasons for No were:
|
I guess we can add it the same way Sonarr does with a checkbox in the delete confirmation to also delete files. |
went to add this, first went to add to purge history overly.. discovered that we have guards to not remove files for 'completed' jobs when trying to do it for value=all or completed. which i guess makes sense to prevent abuse/accidents.. as we only allow it if you pass a specific nzo value. however, it doesnt look like we've ever documented this behavior... additionally on our wiki I see we wrongly note that we wont remove files for failed jobs by default, but that does not look correct from what I see. https://sabnzbd.org/wiki/configuration/4.2/api#history_main
so my tentative plan is to not remove the guards and keep the guard to prevent wiping all completed/all items w/files. and just add a checkbox to the prompt if people want to remove files they can check that off before submitting. that way we dont have to add another icon or anything. then need to see if the purge history overly > purge page - looks like it actually tries to delete the files and passes the id one at a time.. so need to update it to denote its doing the files.. but might add an additional entry to actually do one or the other there.. |
to follow up, yeah we do not remove files for completed downloads no matter how its sent.. which changed in 4.2.0a1
|
@thezoggy That code was not used to remove the files in the Complete Folder. It always only worked on the Incomplete paths. We never had functionality to remove from Complete Folder. |
looking again, you are correct. i could have sworn we used to allow removing completed at some point but doesnt look like it. |
keep running into issues where what should be a simple 5min thing turns into more and more. |
I'll keep it open as it's a valid feature request :) |
Description
right now when removing an entry from history it just removes it from the history and does not remove the files.
this while safe, does mean users have to either know to remove via api instead or just go manually cleanup. this results in some users having clutter and not realizing it.
thoughts on making the remove icon have menu to allow users to select both options?
or add another icon to remove w/files - colorized to red or something - could only show if "destructive mode" enabled in config.
The text was updated successfully, but these errors were encountered: