########################################################################################## LOC-11: Automatic room closure ########################################################################################## Issue Type: New Feature ----------------------------------------------------------------------------------------- Issue Information ==================== Priority: Major Status: Closed Resolution: Done (2018-05-19 13:09:04) Project: LocalChat (LOC) Reported By: btasker Assigned To: btasker Components: - Server Targeted for fix in version: - V0.0.2 Time Estimate: 0 minutes Time Logged: 0 minutes ----------------------------------------------------------------------------------------- Issue Description ================== After a defined period of inactivity, a room (and any stored messages, associated users etc) should be purged. At end of use, a room owner should *always* use room /close, this feature is intended purely as a safety net for occasions where an owner gets disconnected and cannot reconnect for some reason. The period should be a reasonable one (6 hours maybe) and should probably be configurable on the server side. ----------------------------------------------------------------------------------------- Activity ========== ----------------------------------------------------------------------------------------- 2018-05-13 12:59:33 btasker ----------------------------------------------------------------------------------------- One thing this does hit up against, is the same question in as LOC-6. How should we schedule this task? Using a cronjob means an additional setup step (and there's a risk an adversary could quietly delete the cron without anyone noticing). Scheduling within the main process would probably be preferable. ----------------------------------------------------------------------------------------- 2018-05-19 12:48:36 git ----------------------------------------------------------------------------------------- -- BEGIN QUOTE -- Repo: LocalChat Host:Rimmer commit 0968e8506e30342a6cd55c6fc9b5cd13c2aa1578 Author: B Tasker