Page 1 of 1

Deletion of part of document history

PostPosted:Thu Jun 18, 2015 1:30 pm
by mountain73
Hi.

With windows 7, I mapped openkm server into a drive and open/edit documents directly from there.
So, each time I save the document (around each hour to avoid data losses), a new minor version is incremented.
As a result, I got a lot minor versions which also take a lot of memory space.

I've got two questions then:
1- is this possible to delete some selected versions in history to save memory?
2- is it possible to upgrade directly a minor version change to major one from web interface without the edit/update ones?

Thanks a lot
mountain73

Re: Deletion of part of document history

PostPosted:Sat Jun 20, 2015 8:10 am
by jllort
The only option we have now is to compact history ( all, not selecting single documents in history to be deleted, could be implemented ). About update major or minor version without edit / update -> is not possible you will break the check-in - check-out logic. You could try with bulk upload, will detect the document and do for you the check-in, checkout process in transparent way.

Re: Deletion of part of document history

PostPosted:Thu Jun 25, 2015 8:21 am
by mountain73
Hi.

I understand than promotting minor to major version should remain manual operation with edit/update (unless using professional edition).

Regarding history cleaning, I think that it would be a nice and smart improvement to have the feature "keep only major version" that keep major version + latest version if minor one because all history cleaning seems to radical to me.

Exemple: if latest version is 2.4, kept versions will be: 1.0; 2.0; and 2.4

Regards.

Mountain73

Re: Deletion of part of document history

PostPosted:Fri Jun 26, 2015 2:26 pm
by jllort
Your propose is useful for you, but probably not for other users, my suggestion is consider it as a customization. I think the goal is do as Automation task.

You should create a new action based on document update event ( post ) -> and then automatically clean the version following your own logic.
http://wiki.openkm.com/index.php/Automation
http://wiki.openkm.com/index.php/Extend_automation_6.0

Here you got the portable dev environment http://sourceforge.net/projects/openkmportabledev/