[x] Basic feature tests for lock/unlock by users/apps
[x] Update and propagate Etag on lock/unlock
[ ] Only the parent etags should be updated, however this currently does not seem to propagate then to the parents of an incoming file share for the recipient Would require https://github.com/nextcloud/server/issues/8477
[x] Also add 412/423 status to OCS API
[x] Expose meaningful message on 412/423 responses
This will enable the clients to already start with their implementation of file locking.
Fixes #51 Fixes #57 Fixes #44
Only the parent etags should be updated, however this currently does not seem to propagate then to the parents of an incoming file share for the recipientWould require https://github.com/nextcloud/server/issues/8477This will enable the clients to already start with their implementation of file locking.