Skip to content

Retention policy / auto-delete old saved files #18

Description

@CosmicCEO

Sprint: sprint-6 (files: Settings.swift, AttachmentUnloader.swift)

Add a Settings-backed max-age for saved files; AttachmentUnloader deletes files older than that threshold on a schedule, with a clear warning (in-app and in the setting's description) that this breaks already-sent email links.

Acceptance criteria

  • Files older than the configured age are removed.
  • Files within the window are untouched.
  • Off by default; enabling it requires an explicit confirmation given the link-breaking consequence.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions