Auto-archival of unclaimed asciicasts (GC) #333
This PR adds ability to auto-archive asciicasts that have been uploaded by anonymous users (from unknown/unregistered installations).
For users who haven't linked their local installation to their online account (via
The idea behind this feature is to "garbage collect" dead recordings (where "dead" == watched/shared, then forgotten/abandoned), which will clean up storage. It will also ensure the recordings that are preserved are linked to real user accounts, and these users can be reached (abuse reports etc).
Archival will not delete the recordings, only mark them as archived, which will result in hiding it from all listings, and showing "This recording has been archived" message for direct asciicast links. Actual removal from database and file store will happen N days after archival, and will be part of a separate PR.
Archival is disabled by default, and can be enabled by setting
We're going to enable this on asciinema.org.