Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

能不能支持一下历史记录功能! #6

Open
astbl123 opened this issue Jan 17, 2020 · 9 comments
Open

能不能支持一下历史记录功能! #6

astbl123 opened this issue Jan 17, 2020 · 9 comments

Comments

@astbl123
Copy link

看了一下onlyoffice的接口,想自己实现这个功能,但貌似很麻烦,个人不懂php,麻烦大佬支持一下这个功能!谢谢!

@zhtengw
Copy link
Owner

zhtengw commented Jan 19, 2020

你的历史记录指的是 “最近打开的文档……” 还是 “文档的版本历史”?
如果是前者,在onlyoffice里没有找到api。
如果是后者,API里要求每个历史版本的文档都要发送“时间”、“key”等信息,也就是说,需要有另外一个文件储存这个文档的这些历史信息。这个历史信息文件不好放到与文档同目录,而放在别的目录又会有同名文档的问题。目前没有想到好的解决办法。建议还是直接用可道云本身的历史版本功能。

@astbl123
Copy link
Author

历史记录指的时候“文档的版本历史”,可道云本身的历史版本功能指的是官方“onlyoffice插件”吗?这个要付费的,个人使用买不起。

@astbl123
Copy link
Author

astbl123 commented Jan 21, 2020

关于onlyoffice历史记录功能已经有人用golang实现,可以参考一下:
https://github.com/3xxx/ONLYOFFICE-golang

@zhtengw
Copy link
Owner

zhtengw commented Jun 1, 2020

你好,a035ef9 已支持文档历史的功能,如果还有需要,可以使用试试。

@song7557
Copy link

版本历史功能貌似有点问题,多几个历史版本后,选择其中一个版本,页面一直显示“加载更改” @zhtengw

@zhtengw
Copy link
Owner

zhtengw commented Jul 13, 2020

那我有空再测试看看

@song7557
Copy link

image
在KodExplorer v4.40上测试出现这个情况 @zhtengw

@yaolinhong
Copy link

有实现过历史记录版本回退的功能吗?

这里看到一个仓库,有c#的实现
https://github.com/ONLYOFFICE/DocSpace/blob/master/products/ASC.Files/Core/Core/FileStorageService.cs

@13414897882
Copy link

13414897882 commented Nov 22, 2022 via email

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants