Skip to content

First public pre-release of kirby-trash, a proper trash can for Kirby CMS.

Pre-release
Pre-release

Choose a tag to compare

@sigtrygg-space sigtrygg-space released this 06 Jul 18:34
63fcdce

First public pre-release of kirby-trash, a proper trash can for Kirby CMS.

Highlights

  • Soft-delete for pages and files via page.delete:before / file.delete:before
    hooks — a failing safety copy blocks the actual deletion
  • Panel area with restore, permanent delete and "empty trash": table layout with
    original path, size, deletion date and time left, plus a details dialog with
    all metadata and direct restore/delete actions
  • Automatic cleanup with configurable retention (retentionDays, default 30,
    -1 = keep forever) and a kirby trash:cleanup CLI command for cronjobs
  • Permissions (access, restore, delete), admin-only by default
  • enabled and root options accept closures for logic-driven switching
  • English and German translations

Requires Kirby 5 and PHP 8.2+. See the README
for installation and options, and the CHANGELOG
for the full list.