Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#37 2010-06-11 15:43:16

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

Gocom wrote:

With 4294967295 revisions, you would have 8 terabytes of data stored.

I’ll get back to you then :)

Added diff tool.

Très cool!


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

#38 2010-06-13 04:13:03

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

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

the_ghost wrote:

In Diff tool when the first version of field didn’t contain anything it looks like i 2px line. Maybe it worth to add min-height to this blocks?

Good idea, but it’s not possible to make it as high as the line. Every browser handles line height differently and block elements do not scale according dpi/zoom setting set for fonts.

From my point of view, basically it now looks as good as it would look with min-height. The height would never be same as the line-height. It’s as usable and it reserves important space.

Only viable method is to add unbreakable space inside the blocks, or remove the blocks altogether if the older is empty.

Offline

#39 2010-06-13 17:59:06

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

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

OK, now this plugin officially spanks my butt and calls me Judy.

The only thing I could think of to make it better would be an accordion for contained revisions…

  • Item 1 (+)
  • Item 2 (-)
    • Revision 1
    • Revision 2
    • Revision 3
  • Item 3 (+)

+5 Finland. THANKS

Offline

#40 2010-06-15 16:17:17

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

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

Minor version 0.5 released. Makes no difference to anything, just clean code a bit. Changelog:

  • Removed twice presented conditional.

More info and downloads

Offline

#41 2010-06-15 21:26:00

Zanza
Plugin Author
Registered: 2005-08-18
Posts: 699
Website

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

I must say that this plugin is awesome and it is a great step forward for TXP itself! Filled a gap between other CMS. Thank so much!

Z-

Offline

#42 2010-06-16 16:02:40

Grégocentrique
Plugin Author
From: Rouen, France
Registered: 2009-12-19
Posts: 28
Website

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

Hi,

I don’t tried your plugin yet, but it seems a great and very useful one.

Do you think that it will be possible to work with multiple environment (dev, testing, production) thank to it? Or maybe did you plan a feature like this?

Last edited by Grégocentrique (2010-06-16 16:03:35)

Offline

#43 2010-06-16 16:53:44

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

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

Grégocentrique wrote:

I don’t tried your plugin yet, but it seems a great and very useful one.

I sure hope so :-)

Do you think that it will be possible to work with multiple environment (dev, testing, production) thank to it? Or maybe did you plan a feature like this?

Sorry, I’m not really following :-) Maybe I’m bit dummy and my eyes are transfering your question as mambo-jambo. Wouldn’t be the first nor the last time.

Are you asking if the plugin works in all production modes? Then yes. But I supose that wasn’t what you meant.

If you are asking if it allows you to run multiple enviroments of one install (site), then no. It’s a revision manager; it stores revisions and comes with a revision browser. That sort of development enviroment is not what the plugin is ment to do and is not planned.

If you are asking if saving revision could optinally turned off based on the production status, then why not. That can be implemented.

Offline

#44 2010-06-19 23:17:13

TJ
Member
From: Alton, Missouri USA
Registered: 2010-01-14
Posts: 23
Website

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

Hello and thank you for this great concept and plug in.

I’m getting these errors when I click on the “event” = “write” and I click on one of the instances…

Notice: Array to string conversion in /home/myDir/public_html/mysite.com/textpattern/lib/txplib_misc.php(594) : eval()'d code on line 1110
Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/myDir/public_html/mysite.com/textpattern/lib/txplib_misc.php(594) : eval()'d code on line 1120

Anyone else getting this?

Thank you in advance.
TJ


“…freely ye have received, freely give.” | www.PublishingAWebsite.com

Offline

#45 2010-06-19 23:49:50

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

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

TJ wrote:

Hello and thank you for this great concept and plug in.

Thanks you, TJ :-)

I’m getting these errors when I click on the “event” = “write” and I click on one of the instances…

What are you meaning exactly? What is the URL requested (/textpattern/?foo=bar) when that happens, or could take screenshot, so I could get a clearer look of what you’re meaning. I will be happy look at it as soon as I know where it happens.

Offline

#46 2010-06-20 01:10:40

TJ
Member
From: Alton, Missouri USA
Registered: 2010-01-14
Posts: 23
Website

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

Hi!

OK, when I click on Extensions/Post Versions/ I see the list of saved versions.

When I click on a saved version that is in the “Write” category (as opposed to “Forms” for example) and then click on any of the saved versions, I receive the errors I posted before.

The errors show up on the top of the screen above the menu bar.

Here is a couple of address bar locations.

textpattern/?event=rah_post_versions&step=rah_post_versions_view&group_id=3&id=36

and another…

textpattern/?event=rah_post_versions&step=rah_post_versions_view&group_id=2&id=2

Thanks.
TJ

Last edited by TJ (2010-06-20 01:16:00)


“…freely ye have received, freely give.” | www.PublishingAWebsite.com

Offline

#47 2010-06-20 01:25:01

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

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

TJ wrote:

When I click on a saved version that is in the “Write” category (as opposed to “Forms” for example) and then click on any of the saved versions, I receive the errors I posted before.

I see. Then that probably means that the revision somehow saved an array, which means that the form had an array in it (inputs with name="foo[]").

What plugin you have installed?

Anyway, I probably have to add check if the post data contains an array, and if so, loop that too.

Offline

#48 2010-06-20 01:59:53

TJ
Member
From: Alton, Missouri USA
Registered: 2010-01-14
Posts: 23
Website

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

OK. I’ll get you a list of the plug-ins…

aam_zcr_clearcache
ajw_comment_alt
ajw_comment_num
ajw_if_comment_owner
aks_header
arc_twitter
arc_youtube
asy_jpcache
asy_wondertag
bot_show_image
gbp_admin_library
gbp_permanent_links
hak_tinymce

jbx_multiple_image_upload
jmd_sitemap
mem_postmaster
mem_postmaster_library
rah_comments
rah_comment_spam
rah_metas
rah_post_versions
rss_auto_excerpt
rss_suparchive
rss_unlimited_categories
rvm_privileged
smd_lately
smd_prefalizer
upm_image

wet_haystack
wet_peex
wet_quicklink

wyn_recent_comments
zem_contact_lang
zem_contact_reborn
zem_nth

I know it’s a lot, but I can’t help myself…

You’ll probably want me to cycle through the plugins and see if I can find the “one” causing the array. And, yes, I’ll be happy to.

Thanks,
TJ


“…freely ye have received, freely give.” | www.PublishingAWebsite.com

Offline

Board footer

Powered by FluxBB