Recycle Bin walsgit/recycle-bin

Flarum extension to manage deleted (hidden) discussions

Recycle Bin

License Latest Stable Version Total Downloads

A Flarum extension to manage deleted (hidden) discussions.

Screenshot

With Recycle Bin you can:

  • list all hidden discussions
  • restore a hidden discussion (unhide)
  • forever delete a hidden discussion (remove from db)
  • Mass restore & delete discussions

🐞 Known issues :

  • Search filter only works with complete words (returns a empty list for partial words) and isn't limited to discussion titles but also returns discussions where the searched word is found in its messages (replies) too.
  • Mass restore or delete need a full page refresh to update de list and total number of hidden discussions (the page refresh is implemented but it's not ideal, you'll have to wait for it after cofirming your mass action)

Notes

  • This is my very first Flarum extension
  • Developed and tested on Flarum 1.8.5
  • Extention settings page is based on the core UserListPage.tsx (Users settings page).
  • Developped this with the help of AI (mainly ChatGPT, Cody & Gemini)

Installation

Install with composer:

composer require walsgit/recycle-bin:"*"

Updating

composer update walsgit/recycle-bin:"*"
php flarum migrate
php flarum cache:clear

Links

Versions

  • Version 0.1.7.

    Likely works with Flarum v1.8.7.

  • 3 additional versions.
  • Extension created.