Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.
Please keep in mind:
Yes, V3 is on lts.But I guess this will only apply to v4?
UPDATE chv_images
SET image_expiration_date_gmt = "0000-00-00 00:00:00"
WHERE image_uploader_ip = "ip here";
I ran the query, all image pages are 404. But I can still direct access the images (yes I've purged the CloudFlare cache, and have tried in 2 browsers in incognito mode.)Yes, V3 is on lts.
As this is self-hosted, not "hacking" the database directly doesn't make any sense.
To manually implement this is easy as:
SQL:UPDATE chv_images SET image_expiration_date_gmt = "0000-00-00 00:00:00" WHERE image_uploader_ip = "ip here";
Great. I'll wait for a few hours I guess.The query send these images to he removed by the cron. How long it takes depend on where the are those files hosted, local storage gets removedf faster, external takes longer.
You can edit the Queue class to alter the chunk size.