Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: rah_post_versions: Revision control for articles, forms and pages
Released version 0.6. Changelog:
- Fixed: instances of missing HTML escaping (POST keys).
- Fixed: now the plugin checks if the revisioned data contains an array (
<input name="foo[bar]" />
etc) and shows it correctly. Thank you for reporting, TJ.
TJ wrote:
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.
Heh, no need to :-) I was just wondering what could possibly have added it there. Arrays are valid data that forms can send, and It’s really no plugins fault, except rah_post_versions’. From those atleast rss_unlimited_categories submits arrays.
v0.6 should fix the issues. Let me know if it works.
Last edited by Gocom (2010-06-20 02:28:53)
Offline
Re: rah_post_versions: Revision control for articles, forms and pages
Hi again!
I’ve gone through all plugins and shut them down one at a time. Then I shut groups with dependencies (i.e. libraries etc.) Then I shut all plugins down. (except for rah_post_versions, of course)
I still received the errors. Only on the write tab (so far).
I use <if_custom_field> in my write tab. Let me check if that might affect anything.
Thanks,
TJ
“…freely ye have received, freely give.” | www.PublishingAWebsite.com
Offline
Offline
Re: rah_post_versions: Revision control for articles, forms and pages
Hello Jukka,
That fixed it!
Thank you very much.
TJ
P.S. EDIT Sorry, I hadn’t refreshed my browser on that last message…
Last edited by TJ (2010-06-20 03:06:33)
“…freely ye have received, freely give.” | www.PublishingAWebsite.com
Offline
Re: rah_post_versions: Revision control for articles, forms and pages
TJ wrote:
Thank you very much.
Heh, no problem :-)
P.S. EDIT Sorry, I hadn’t refreshed my browser on that last message…
No worries. Hope you didn’t have too much extra trouble with disabling the plugins and such.
Last edited by Gocom (2010-06-20 03:08:36)
Offline
Re: rah_post_versions: Revision control for articles, forms and pages
My friend, let me just echo what’s been said on this thread…
This plugin is really a great contribution to textpattern. With this and some of the new additions to textpattern,
I think textpattern is poised to rocket up with exponential growth!
My two cents…
TJ
“…freely ye have received, freely give.” | www.PublishingAWebsite.com
Offline
Re: rah_post_versions: Revision control for articles, forms and pages
Released version 0.7. Changes:
- Fix/change: Diff tool shows/compares array data as blocks. Array’s are imploded and values are seperated with line breaks.
Offline
Re: rah_post_versions: Revision control for articles, forms and pages
Gocom wrote:
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.
[…]
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.
I’m so sorry about my english … :/
But I think you got it.
Actually, I am thinking for months in a plugin that could offer an online dev/test mode. I’m now always editing my blog templates directly online. I am too lazy to edit on local and then copy/paste/transfer my theme and forms online.
So I was looking for a way to get a restricted environment on my website, where I could freely edit and play with plugins, forms or articles. When all would be ok, I only should have to “publish” the whole thing to get it accessible to everyone (i.e. in production environment).
I think that a versioning system is the first step to get something like this. That’s why I asked you my question. And you answered it well. :)
Thank you, I hope that this post is more readable than my previous one (I tried conditional sentences :/ ).
Last edited by Grégocentrique (2010-06-21 19:52:56)
Offline
Re: rah_post_versions: Revision control for articles, forms and pages
Hi Grégocentrique:
You could copy your database from production enviroment to local enviroment, do all the work, and then, dump it back to production (or just the necessary tables, like pages and forms).
Or you may want to try with cnk_versioning as a way to editing pages and forms directly as files on the filesystem.
Offline
Re: rah_post_versions: Revision control for articles, forms and pages
Hi,
maniqui wrote:
You could copy your database from production enviroment to local enviroment, do all the work, and then, dump it back to production (or just the necessary tables, like pages and forms).
That’s precisely the kind of stuff that I wish to avoid. :)
Or you may want to try with cnk_versioning as a way to editing pages and forms directly as files on the filesystem.
I’ll try it. Maybe this plugin deserve an online to local transfer. ;)
Thank you!
Offline
#59 2010-06-21 21:19:32
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: rah_post_versions: Revision control for articles, forms and pages
Grégocentrique
Maybe this is not what you need, but for ‘shutting down’ the site during development you can use rvm_maintenance.
Offline
Re: rah_post_versions: Revision control for articles, forms and pages
Els wrote:
Grégocentrique
Maybe this is not what you need, but for ‘shutting down’ the site during development you can use rvm_maintenance.
Thanks. It could be useful to hide the website during (short) modifications.
Last edited by Grégocentrique (2010-06-25 11:57:02)
Offline