Recycle Bin - working module ready to be contributed

Talk about new features for CMSMS and modules.
Post Reply
smithdesign77
Forum Members
Forum Members
Posts: 30
Joined: Mon Jan 02, 2017 10:27 pm

Recycle Bin - working module ready to be contributed

Post by smithdesign77 »

I have loved using CMSms for many years - I'd guess it must be fifteen … or even more.
However, there has been this ONE thing, that drove me crazy ever since: Content that has been updated by overwriting, or deleted content was gone for *EVER* with no chance of getting it back. :'(

Since I'm not a coder myself (and have had lots of trouble finding people in my area — and WHEN I finally had someone, he was either unreliable or was indeed very good but didn't want to dive into the mechanics of CMSms), it took a while…
However, now I have managed - not only to order but also to finally receive - a working module that saves the content of pages pre-edit and pre-delete.

• yet there is no admin page
• yet the path for the file backups (a JSON, the content is basically what's regularly been sent to the database on the content-update-trigger) is hard-coded
• yet there is no option to restore the content (easily) - you need to download the file, open it and read up, what you are looking for

But, for the first shot, I'm still thrilled! 8)
Content is now not LOST anymore! What a day! ;D

If any one is interested, I'd love to contribute this module to the project.
Mostly to express my thanks for all of your time and effort - and of course, I'd be happy if one day some coder would like to contribute to an admin page; settable options for the saving path of the files; options to restore the content back into the live page; options to delete n-th versions of backed up pages; extend the module for news articles and perhaps even other modules, templates, stylesheets, whatsoever; and whatever else may be of use for the world. :)

One more down-take next to the -yet- missing features is that the developer who made this for me has done me a great favor diving into CMSms. While he told me that he enjoyed it and found the principles of CMSms very appealing, he does not want to maintain the module. So, unless someone skilled wants to take care of it, it remains as-is.

I have the module only as an expanded version here, not as XML - so I'll attach just the folder as an ZIP to this topic. If you need me to send it somewhere or do another file-format, I'll be happy to try, if I can do it.
I just hope any one has any interest in such a thing as a recycle bin - I missed this feature for many years and am just happy to have at least something. :)
Thank you!
Attachments
RecycleBin.zip
(4.94 KiB) Downloaded 70 times
User avatar
chrisbt
Dev Team Member
Dev Team Member
Posts: 189
Joined: Sun Sep 05, 2010 6:11 am
Location: Sheffield, UK

Re: Recycle Bin - working module ready to be contributed

Post by chrisbt »

Sounds like a really interesting module. I'd be very glad to take it on and get it available on the forge as a module, and look at adding the features you mentioned.

Thanks very much for a good idea, and sharing. :)
User avatar
chrisbt
Dev Team Member
Dev Team Member
Posts: 189
Joined: Sun Sep 05, 2010 6:11 am
Location: Sheffield, UK

Re: Recycle Bin - working module ready to be contributed

Post by chrisbt »

Hi, that module is ready to be added to the CMSMS Forge as soon as the project folders are created.

I've also set up a Github repository for it: https://github.com/kiwichrisbt/RecycleBin

This also includes the 'Issues' that are the feature requests you listed above, or the ones that I believe are feasible.

The developer did a great job of making a lovely simple little module that just works. Looking forward to evolving it. :)
User avatar
jonkibri
New Member
New Member
Posts: 1
Joined: Mon Sep 02, 2024 10:09 am
Location: Bangladesh
Contact:

Re: Recycle Bin - working module ready to be contributed

Post by jonkibri »

Having a recycle bin feature for CMSms would be a game-changer. Even though it’s missing some features, it's a huge step forward to ensure content isn’t lost forever. I hope someone from the community steps in to enhance it. I'd love to see how it evolves!
jce76350
Beta Tester
Beta Tester
Posts: 2046
Joined: Mon May 29, 2006 1:20 pm
Location: Rouen

Re: Recycle Bin - working module ready to be contributed

Post by jce76350 »

The current version is bad - it's not a real module. It's a do-it-yourself solution, but it's not at all in the spirit of a d-module, with a user interface. The Archiver project already existed ;)
Jean-Claude Etiemble MyPageFr
Post Reply

Return to “Feature ideas”