Object edit extension handler - changelog

Author Message

Kristof Coomans

Tuesday 28 March 2006 1:27:57 am

I'm looking at the content object edit extension handler functionality, which will be part of the upcoming eZ publish 3.8 release.

It looks like such a handler is ideal for implementing a "changelog", using a seperate db table. When editing an object, there will be an extra text field where you can write a little note about what you've changed in the specific version you're editing.

Is there anyone interested in having this "changelog" feature? Or was there someone with the same idea and has he or she already made such an extension?

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Paul Borgermans

Tuesday 28 March 2006 1:50:38 am

With the content diff implementation if implemented fully, this would rather be *why* something has changed ;-)

--paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Kristof Coomans

Tuesday 28 March 2006 2:14:28 am

Idd, you're right. That's what I actually meant :)

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Xavier Dutoit

Tuesday 28 March 2006 8:06:50 am

Hi,

Wouldn't it be easier/more the ez way to create a new attribute "logger" that tracks that ? No need for a separate table and you put that only on the content you want to track.

For those of us (ie. me ;) that have some difficulties to follow all the nice extensions you spoil us with, could you remind me what this content object edit extension handler does ?

Any link more than welcome.

X+

http://www.sydesy.com

Kristof Coomans

Tuesday 28 March 2006 10:12:59 am

If you're having objects that can be edited by many people (eg. in a wiki), other people's changelog notes can get deleted by accident. I believe in some cases it's better to just have a changelog attribute, in other cases not.

You can read more about the new content edit extension handler functionality at http://pubsvn.ez.no/nextgen/trunk/doc/features/3.8/content_edit_extension_handler.txt ( I didn't invent this one ;-) ).

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Gabriel Ambuehl

Tuesday 28 March 2006 11:45:25 am

Maybe we can get blog trackbacks without workflow hackery now?

I dont really see what you're trying to achieve, though. Is the changelog to be filled automatically or by the users?

Visit http://triligon.org

Kristof Coomans

Tuesday 28 March 2006 10:13:33 pm

Hi guys

Xavier, you were right about the attribute. If we have a custom datatype (based on the text field) that clears it's own attribute content whenever a new version of the attribute gets created, then each object version can contain it's own changelog note. It will be very easy to display those notes eg. in the content/versions view in an additional column.

Thanks for bringing me back on the right track with your good advice! :)

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Kristof Coomans

Wednesday 29 March 2006 12:15:57 am

I committed something to SVN: http://pubsvn.ez.no/community/trunk/extension/changelog. You can take a look at it when you have some time.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Xavier Dutoit

Wednesday 29 March 2006 2:11:04 am

Argl !

I managed to install and test your (wonderful) extension xajax to add classes and you've published 3 in the meantime ;)

Quick question on the licence: on one txt you mention LGPL but you're put the GPL.txt in the doc. What's the right one ?

I'm not sure it makes a lot of difference as it works only with ez that is GPLed, but anyway, just to pretend I've read the doc ;)

X+

http://www.sydesy.com

Kristof Coomans

Wednesday 29 March 2006 2:31:36 am

Indeed, it had to be GPL. It has been corrected in svn.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

kracker (the)

Friday 08 December 2006 4:31:52 am

<b>All</b>

I have added a basic entry for the changelog extension on eZpedia!
<i>http://ezpedia.org/wiki/en/ez/changelog_attribute</i>

Please feel free to extend and add to this documentation article.

//kracker

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.