owncloud/richdocuments

Revision History broken

Closed this issue · 3 comments

Hey on there!

Revision History seems to be broken ((

image

System:
CODE running on Ubuntu 18.04.4 LTS
LOOLWSD 6.4.9
LOKit Collabora Office 6.4-39
Collabora Online app 2.5.0
ownCloud 10.7.0

Same issues here:
#275
#222

Maybe, a way to fix from NC:
nextcloud/richdocuments#9
nextcloud/richdocuments#27

/js/documents.js:

image

maybe, someone forgot about this? )
or OC10x still not supports a feature?

maybe, versioning API could be used instead files_versions app itself?

https://doc.owncloud.com/server/developer_manual/webdav_api/files_versions.html

mrow4a commented

This is not an easy fix @hodyroff . The issue here is that we switched for version to META endpoint and DAV (Propfind/Copy/etc). This means, it would be really hard to access it that way from frontend, none of the apps actually does that.

However, what can be done is what onlyoffice did. Backend integration. We just put a wrapper on top of oc10 versions, and access them directly. Thus implement our own controller here. The limitation would be that we probably could be only seeing contents of versions, but we cannot manage versions (restore/publish/dowload/etc), this would need to be done from versions tab in OC UI. Can probably be done via some button to redirect there 🤷🏻‍♂️

I think this is good solution as streamlines with OnlyOffice, and I would progress with it.