carlnewton / habitat

GNU Affero General Public License v3.0
14 stars 1 forks source link

Add cleanup scheduled task or cron job to actually delete removed posts and comments (etc) #18

Open carlnewton opened 1 month ago

carlnewton commented 1 month ago

Users that have been suspended for over 30 days should have their hearts deleted Posts that have been removed for over 30 days should be deleted Images of posts that have been removed for over 30 days should be deleted Comments that have been removed for over 30 days should be deleted

carlnewton commented 1 month ago

Symfony supports both Scheduled tasks and Cron jobs, I don't yet know which would be more suitable or how they work differently. A decision needs to be made here.

carlnewton commented 1 month ago

This also implies that functionality exists for posts, comments and users to be reinstated.

carlnewton commented 1 month ago

User accounts that have not been verified in over 30 days should be deleted