Feature Request: Recycle bin #822

Closed
opened 2026-02-04 22:23:17 +03:00 by OVERLORD · 14 comments
Owner

Originally created by @PeterBizQIT on GitHub (Sep 20, 2018).

Describe the feature you'd like
When deleting a whole book, chapter or a single page it gets deleted immediately. I would like to see a recycle bin feature so books, chapters and pages don't get deleted right away. When a book, chapter or page is moved to the recycle bin the user can choose to delete it permanently. Also, there should be an administrator configurable setting for automatic removal of items in the recycle bin after x amount of days which can also be disabled.

Describe the benefits this feature would bring to BookStack users
This should prevent accidental removal of books, chapters or pages.

Originally created by @PeterBizQIT on GitHub (Sep 20, 2018). **Describe the feature you'd like** When deleting a whole book, chapter or a single page it gets deleted immediately. I would like to see a recycle bin feature so books, chapters and pages don't get deleted right away. When a book, chapter or page is moved to the recycle bin the user can choose to delete it permanently. Also, there should be an administrator configurable setting for automatic removal of items in the recycle bin after x amount of days which can also be disabled. **Describe the benefits this feature would bring to BookStack users** This should prevent accidental removal of books, chapters or pages.
Author
Owner

@derek-shnosh commented on GitHub (Sep 21, 2018):

Excellent suggestion.

@derek-shnosh commented on GitHub (Sep 21, 2018): Excellent suggestion.
Author
Owner

@qianmengnet commented on GitHub (Oct 6, 2018):

Yes, it's very important, because the book might have been written very hard, and deleting it might have just clicked the button twice

@qianmengnet commented on GitHub (Oct 6, 2018): Yes, it's very important, because the book might have been written very hard, and deleting it might have just clicked the button twice
Author
Owner

@heroin-moose commented on GitHub (May 24, 2019):

Yep, this is kinda must have. This is one of the last issuees that prevents us from moving the knowledge base to the BookStack.

@heroin-moose commented on GitHub (May 24, 2019): Yep, this is kinda must have. This is one of the last issuees that prevents us from moving the knowledge base to the BookStack.
Author
Owner

@davidbremser commented on GitHub (Aug 20, 2019):

We have spun up an internal BookStack environment and have been putting it through the paces to see if it fits as our internal Wiki / documentation portal. We are quite keen to move forward with it, but just discovered this "Achilles heal." We accidentally deleted a book (all chapters and pages included of course) and realized there is no Activity tracking, or even worse, no restore / undo / recycle option. We did take a look in the DB and could see reference to where it was, and the user id that deleted it, but for all purposes it was gone, along with the content. Fortunately we were able to restore from a snapshot, but this is a bit of a deal breaker.

We are looking at creating a separate "Recycle" shelf to hold items for deletion by a "super admin" but hardly a good solution. Any chance this enhancement or feature request is on the immediate roadmap?

Very nice product otherwise - appreciate the hard work!

@davidbremser commented on GitHub (Aug 20, 2019): We have spun up an internal BookStack environment and have been putting it through the paces to see if it fits as our internal Wiki / documentation portal. We are quite keen to move forward with it, but just discovered this "Achilles heal." We accidentally deleted a book (all chapters and pages included of course) and realized there is no Activity tracking, or even worse, no restore / undo / recycle option. We did take a look in the DB and could see reference to where it was, and the user id that deleted it, but for all purposes it was gone, along with the content. Fortunately we were able to restore from a snapshot, but this is a bit of a deal breaker. We are looking at creating a separate "Recycle" shelf to hold items for deletion by a "super admin" but hardly a good solution. **Any chance this enhancement or feature request is on the immediate roadmap?** Very nice product otherwise - appreciate the hard work!
Author
Owner

@sexy-trousers commented on GitHub (Aug 23, 2019):

I have to agree - not having the ability to undelete/restore items or elements is a major flaw.

It's just my 2 cents, but I'd stop any work on authentication API's and other features and focus on the basics as a) mistakes happen and b) image the disasters a disgruntled employee could do!

I would image adding a status flag to the elements wouldn't be too bad (active/inactive or visible/hidden) with an option to purge the hidden bits every X days - but I totally understand if its not that easy...

But I have to say, even though it's awesome, its not something I can recommend to my company or peers until an undelete/recycle bin feature is in place..

Thanks for all your hard work so far! TJ

@sexy-trousers commented on GitHub (Aug 23, 2019): I have to agree - not having the ability to undelete/restore items or elements is a major flaw. It's just my 2 cents, but I'd stop any work on authentication API's and other features and focus on the basics as a) mistakes happen and b) image the disasters a disgruntled employee could do! I would image adding a status flag to the elements wouldn't be too bad (active/inactive or visible/hidden) with an option to purge the hidden bits every X days - but I totally understand if its not that easy... But I have to say, even though _it's awesome_, its not something I can recommend to my company or peers until an undelete/recycle bin feature is in place.. Thanks for all your hard work so far! TJ
Author
Owner

@Rumcajsev commented on GitHub (Oct 8, 2019):

I totally agree with this request - this seems like the last thing from the REALLY necessary basics.
As @sexy-trousers said, I believe that this should be at the highest priority.

@Rumcajsev commented on GitHub (Oct 8, 2019): I totally agree with this request - this seems like the last thing from the REALLY necessary basics. As @sexy-trousers said, I believe that this should be at the highest priority.
Author
Owner

@dopyrory3 commented on GitHub (Jul 6, 2020):

Yeah we really do need to get this working, we've had to setup cron jobs to keep daily backups and do manual SQL insertion to deal with recovery now.
This would be the most important feature for our deployment, accidents happen.

@dopyrory3 commented on GitHub (Jul 6, 2020): Yeah we really do need to get this working, we've had to setup cron jobs to keep daily backups and do manual SQL insertion to deal with recovery now. This would be the most important feature for our deployment, accidents happen.
Author
Owner

@joaomezzari commented on GitHub (Jul 9, 2020):

+1 for this one

@joaomezzari commented on GitHub (Jul 9, 2020): +1 for this one
Author
Owner

@heroin-moose commented on GitHub (Jul 9, 2020):

Well, we've migrated to Confluence while waiting :(

@heroin-moose commented on GitHub (Jul 9, 2020): Well, we've migrated to Confluence while waiting :(
Author
Owner

@PeterBizQIT commented on GitHub (Jul 10, 2020):

In the mean time we've also migrated to Confluence and stopped using Bookstack. Bookstack was fun for the time being but in the end didn't meet our requirements. I will close this feature request.

@PeterBizQIT commented on GitHub (Jul 10, 2020): In the mean time we've also migrated to Confluence and stopped using Bookstack. Bookstack was fun for the time being but in the end didn't meet our requirements. I will close this feature request.
Author
Owner

@sexy-trousers commented on GitHub (Jul 10, 2020):

Why would you close this feature request? Its still critical it is developed - regardless if you've lost faith in Bookstack or moved onto another product! Please Re-open this request!

TJ

@sexy-trousers commented on GitHub (Jul 10, 2020): Why would you close this feature request? Its still critical it is developed - regardless if you've lost faith in Bookstack or moved onto another product! Please Re-open this request! TJ
Author
Owner

@heroin-moose commented on GitHub (Jul 10, 2020):

Because he does not wish to get notifications perhaps. You can open a new one.

@heroin-moose commented on GitHub (Jul 10, 2020): Because he does not wish to get notifications perhaps. You can open a new one.
Author
Owner

@Rumcajsev commented on GitHub (Jul 10, 2020):

In case this stays closed I've created #2183

@Rumcajsev commented on GitHub (Jul 10, 2020): In case this stays closed I've created #2183
Author
Owner

@ssddanbrown commented on GitHub (Nov 7, 2020):

Adding here since many people may not be following the new issue:

A recycle bin implementation has been added in #2283. This will be part of the next feature release, v0.31.

@ssddanbrown commented on GitHub (Nov 7, 2020): Adding here since many people may not be following the new issue: A recycle bin implementation has been added in #2283. This will be part of the next feature release, v0.31.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#822