Skip to content

There is no delete mechanism for attachmentsย #677

Closed
@couling

Description

@couling

Refering to:

  • Gitea version (or commit ref): v1.0.0-126-g302fa42
  • Feature Request.

There is no delete mechanism at all for attachments.

  • The user should be presented with the option to delete any / all attachments from an issue comment.
  • Attachments should be deleted immediately when an issue / issue comment are deleted.
  • Attachments should be deleted immediately when a release is deleted
  • "Orphaned"Attachments should be deleted periodically (eg: cron job). Orphaned attachments have both attachment.CommentID and attachment.ReleaseId of 0. They occur when a user starts creating an issue, uploads an attachment and then closes the browser without submitting.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedtype/enhancementAn improvement of existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions