I would really like this as well.
It seems like this feature is somewhat implemented:
Settings I use:
clean orphan uploads grace period hours: 1
purge deleted uploads grace period days: 1
A deleted upload does not include the case of a post being deleted with the image contained within it though. The image/upload needs to be edited out of the post first prior to deletion I believe.
I can confirm that images won’t be deleted if the (only) post containing that specific image has been deleted, as I have images that still exist in the database and s3 from a post that was deleted in 2023 (with the image not being used in any other posts). I’ve never had it delete them for previous cases also.
So if a mod deletes a post due to having an uploaded image that is against the rules, to really delete it they need to edit it out of the topic/post first (and hope it doesn’t exist in any other posts). Otherwise it will exist on S3 indefinitely, at least from my understanding.
Some features that would be really great:
-
purge deleted uploads grace period days - Either have this setting include the case of an image being contained inside a deleted post, or add another setting for that case.
-
purge deleted uploads grace period days - Use hours instead of days. Copyright removal requests generally need extremely prompt action to be taken, within 24-48hrs. 1 day is way too slow for this case. Any CDN cache liekly needs to also be manually purged after it has been deleted also, making the timeline even tighter.
-
Being able to delete/purge an image from the dashboard. Though, if purge deleted uploads included images inside deleted posts, this would be less necessary, but there are still cases like the image being used as an avatar, or profile banner etc. as well as being more efficient for mods. Feature suggestion: Image removal/purge via web dashboard
-
Make the image urls searchable, this would cover the case of a moderator being able to find all topics/posts that contain a specific image in order to delete those posts also. Without needing to use SSH.
-
Ability to ban certain hashes from being uploaded would be a nice touch.
It would be nice because then processes like this could be handled by someone without SSH access and technical skills. Especially because of how quickly these need to be handled. It’s prohibitively expensive to need technical staff ready 24/7 to handle any case like this that comes up, including on every holiday, weekends, when someone is sick etc. You can’t predict when it will occur, so therefore need to always be ready to handle one promptly at any time. It’s an inescapable attribute of UGC.