walsgit/recycle-bin

Flarum extension to manage deleted (hidden) discussions

Fund package maintenance!
Website

Installs: 745

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Language:TypeScript

Type:flarum-extension

0.2.0 2025-01-08 16:22 UTC

This package is auto-updated.

Last update: 2025-01-08 16:23:54 UTC


README

License Latest Stable Version Total Downloads Donate here

A Flarum extension to manage deleted (hidden) discussions and posts.

Screenshot

With Recycle Bin you can:

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

🐞 Known issues :

  • Search filter for discussions 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 confirming your mass action)

Notes

  • This is my very first Flarum extension
  • Developed and tested on Flarum 1.8.5 (v 0.2 of the extension dev. & tested on Flarum 1.8.9)
  • 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