Open juliushaertl opened 2 years ago
@juliushaertl I think we implement everything, so it can be closed?
No this one is still a valid enhancement, as currently the automatic webdav locking is only performed if you use the windows webdav network drive option. With our clients you still need to manually lock before opening office/libreoffice.
There are some interesting bits in the sea file implementation about automatically detecting lock files from msoffice/libreoffice
https://github.com/haiwen/seafile/blob/207bd49dcc26ce9600209a7c8720778dd978c5aa/daemon/repo-mgr.c#L3854-L3855
https://github.com/haiwen/seafile/blob/207bd49dcc26ce9600209a7c8720778dd978c5aa/daemon/repo-mgr.c#L3515-L3557
Might be worth to have another look if we can either detect that in the clients and lock the file automatically, or sync the lock files and handle that on the server (that however is currently on the list of ignored files in the client)