Textpattern Forum

You are not logged in. Register | Login | Help

#1 2010-06-07 11:55:09

Gocom
Developer
Registered: 2006-07-14
Posts: 4,405
Website

rah_post_versions: Revision control for articles, forms and pages

Rah_post_versions brings revision control to Textpattern backends. The plugin stores old versions and changes made to articles, forms, pages, styles, categories and site preferences.

I took some snapshots of the interface. Click the images to enlarge (each image weights about 1080×560px/30KB):


The main panel, shows list of items, grouped changes


List of changes made to an item


Viewing a change


Preferences panel


Filtering opitons


Reposting a change (stylesheet named test); shows a message

Descriped in few words, rah_post_versions gives:

  • The revision browser with the interface shown above.
  • Able to view and go back to old versions of articles, forms and pages.
  • Able to track modifications and see whats been send to the server.
  • The plugins weights 32 KB with around 1300 lines of code.
  • Requires TXP 4.0.7 or newer.

More info and downloads


Rah-plugins | What? I’m a little confused… again :-) <txp:is_god />

Offline

#2 2010-06-07 13:41:25

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 5,714
Website

Re: rah_post_versions: Revision control for articles, forms and pages

Are you some kind of mind reader? The technology behind this awesome beastie is exactly the sort of thing I think we need for a mysterious project which I’ll mail you about later.

Gonna download this sucker and take it to meet my mum. You rock.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern.

Txp Builders – finely-crafted code, design and Txp

Online

#3 2010-06-07 14:05:47

Gocom
Developer
Registered: 2006-07-14
Posts: 4,405
Website

Re: rah_post_versions: Revision control for articles, forms and pages

Bloke wrote:

Are you some kind of mind reader?

Noooo, and most definitely not a stalker who saw that note on your table last monday. Good pancakes, btw… not that I ate any. Moving on…

The technology behind this awesome beastie is exactly the sort of thing I think we need for a mysterious project which I’ll mail you about later.

Mysterious mail about mysterious project. I like it. I will read it carefully in my mysterious lair as soon it drops into my mysterious email box.

Gonna download this sucker and take it to meet my mum. You rock.

Means a lot coming from you; my plugin meets your mum. Odd first date, atleast but a movie playing next to the browser window.


Rah-plugins | What? I’m a little confused… again :-) <txp:is_god />

Offline

#4 2010-06-07 15:49:04

floodfish
Member
From: Brooklyn, NY
Registered: 2007-01-11
Posts: 155
Website

Re: rah_post_versions: Revision control for articles, forms and pages

This is exciting. Nice!

Offline

#5 2010-06-07 17:04:01

JanDW
Plugin Author
From: Providence, RI, USA
Registered: 2008-07-18
Posts: 327
Website

Re: rah_post_versions: Revision control for articles, forms and pages

Waaaaaaa! This sounds very nice… I’ll take it out for a spin soon! Thanks Gocom.
Very, very curious what the Bloke sweatshop is up to.


TXPDream – A Textpattern Tag Library for Adobe Dreamweaver. (updated for 4.2.0) | jdw_if_ajax – Only serve certain parts of a page when requested with AJAX

Offline

#6 2010-06-07 17:29:43

monkeyninja
Plugin Author
From: Sheffield, UK
Registered: 2008-10-14
Posts: 185
Website

Re: rah_post_versions: Revision control for articles, forms and pages

This looks amazing. Great work Gocom!

Offline

#7 2010-06-07 18:30:56

mrdale
Moderator
From: Walla Walla
Registered: 2004-11-19
Posts: 2,041
Website

Re: rah_post_versions: Revision control for articles, forms and pages

mmmmmmmmazing!

Can you provide more details about how to get it to track items other than articles?

I assume by adding ‘css:edit, css:save’ etc to the preferences.

Offline

#8 2010-06-07 18:37:16

candyman
Member
From: Italy
Registered: 2006-08-08
Posts: 437

Re: rah_post_versions: Revision control for articles, forms and pages

Hat off.

The various versions of the stored articles can be deleted or managed in any way?
I mean: can I delete versions with minimal changes and keep only those with significant progress?

Last edited by candyman (2010-06-07 18:39:03)

Offline

#9 2010-06-07 19:30:16

Gocom
Developer
Registered: 2006-07-14
Posts: 4,405
Website

Re: rah_post_versions: Revision control for articles, forms and pages

Thank you all :-)

mrdale wrote:

Can you provide more details about how to get it to track items other than articles?

Thank you for asking, saved us from a lot of trouble :-) I did forget to add the all pages to the initial installer. I released version 0.2 that will add more monitored pages to the preferences during the install. The change won’t effect current users as you have already installed the beast.

All current users can use following code in the monitored pages field:

article:edit, article:create, article:publish, article:save, page:page_create, page:page_edit, page:page_save, form:form_create, form:form_edit, form:form_save, prefs:prefs_save, prefs:advanced_prefs_save, category:cat_article_create, category:cat_image_create, category:cat_file_create, category:cat_link_create, category:cat_article_save, category:cat_image_save, category:cat_file_save, category:cat_link_save, section:section_create, section:section_save, link:link_post, link:link_save, discuss:discuss_save, image:image_save, file:file_save, css:css_save

This will add more pages to the monitored list. Sorry for the inconvenience guys and ladies.

candyman wrote:

The various versions of the stored articles can be deleted or managed in any way?

Individual changes can be deleted with the list view’s multiedit function.


Rah-plugins | What? I’m a little confused… again :-) <txp:is_god />

Offline

#10 2010-06-07 21:26:16

jakob
Moderator
From: Germany
Registered: 2005-01-20
Posts: 1,893
Website

Re: rah_post_versions: Revision control for articles, forms and pages

looks amazing (not to say awesome). I can think of one or two places where this would come in handy. Kudos!


TXP Builders – finely-crafted code, design and txp

Offline

Board footer

Powered by FluxBB