First public pre-release of kirby-trash, a proper trash can for Kirby CMS.
Pre-release
Pre-release
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 akirby trash:cleanupCLI command for cronjobs - Permissions (
access,restore,delete), admin-only by default enabledandrootoptions 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.