Re: [xwiki-users] Clean History Document

2010-12-21 Thread Le Génie
Use this snippet with care. I've just tried it on my test environment and my
attachment store seems to be corrupted. Investigating ...

2010/12/20 Eugen Colesnicov 

>
> For the clearing attachments history - look here:
>
> http://xwiki.475771.n2.nabble.com/How-can-one-delete-older-versions-of-any-given-attachment-td4794525.html
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/Clean-History-Document-tp5834419p5853576.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Clean History Document

2010-12-20 Thread Eugen Colesnicov

For the clearing attachments history - look here:
http://xwiki.475771.n2.nabble.com/How-can-one-delete-older-versions-of-any-given-attachment-td4794525.html
-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/Clean-History-Document-tp5834419p5853576.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Clean History Document

2010-12-14 Thread Le Génie
A question related to this one : how to delete the old revision of an
attachement ?

I think that a purge snippet that delete all the revision (of a page or an
attachment) older than N (5 or 3) would be very useful.

Does someone develop this kind of script ?

Maxime

2010/12/14 super54 

>
> Hi all,
>
> On my wiki, I have many modification and my list grown...
>
> I search on forum and in Internet and i have not found any script to clean
> the history
>
> I just find a suggestion...
> you can write a scheduler task that runs once a week and
> resets the history for the documents with at least 50 versions, or
> delete all versions older than one month, for example.
>
> How can I create this on my wiki ?
>
>
> Thanks for all.
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/Clean-History-Document-tp5834419p5834419.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Clean History Document

2010-12-14 Thread super54

Hi all,

On my wiki, I have many modification and my list grown...

I search on forum and in Internet and i have not found any script to clean
the history

I just find a suggestion...
you can write a scheduler task that runs once a week and
resets the history for the documents with at least 50 versions, or
delete all versions older than one month, for example.

How can I create this on my wiki ?


Thanks for all.
-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/Clean-History-Document-tp5834419p5834419.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users