Closed barrydegraaff closed 5 years ago
Hi @barrydegraaff
Currently the support for WebDAV in Seafile is just the minimal. We don't plan to add extended features to WebDAV since Seafile doesn't rely on it heavily. So could you do without the extended properties? If I understand correctly, you can already work with Seafile just with standard WebDAV protocol. Listing, download, uploading all work.
Perhaps you can tell us more details about how you plan to integrate with Seafile by WebDAV.
Hello Jiaqiang,
I am integrating into Zimbra Email Collaboration platform, basically on premise Google Apps. (https://www.zimbra.com/) (https://zetalliance.org/)
Since I already wrote an integration based on WebDAV standard (for Nextcloud) re-using that saves a lot of time.
It is not a big issue, but having the library-id and the share link token returned on webdav calls would save us some REST calls to determine those for each object we need to put shared links on or when doing DAV operations between libraries.
Some outdates screenshots. [ https://github.com/Zimbra-Community/owncloud-zimlet | https://github.com/Zimbra-Community/owncloud-zimlet ] [ http://barrydegraaff.github.io/owncloud/ | http://barrydegraaff.github.io/owncloud/ ] Basically people can save emails and documents from Zimbra to DAV but also add attachments to email from DAV or add public link shares.
Kind regards,
Barry de Graaff Zeta Alliance Co-founder & Developer zetalliance.org | github.com/Zimbra-Community
Signal: +31 617 220 227 Fingerprint: 97f4694a1d9aedad012533db725ddd156d36a2d0
Hi @barrydegraaff
Thanks for the information. I think you may use WebDAV to upload/download documents to Seafile. But for creating share links it needs to use our web API. Actually we have developed a Zimlet for adding share links in Zimbra: https://github.com/haiwen/seafile-zimlet. But we don't have enough time to maintain this Zimlet. If you're interested, you can fork and keep it up to date, or reuse some code from that Zimlet.
Hello,
I am writing an 3rd party integration for Seafile using the API and WebDAV. Not sure if I should use WebDAV at all. But since I am re-using an existing project.
I have a question, does seafdav support custom dav properties? I looked in PropertyManagerInterface and this does not seem to be the case. It would be nice to have at least the parent repo_id. So I do not need to make an API call just to find that. And when using the API and DAV combined, I pretty much always need repo_id.
Right now I can do:
I want to extend it to:
For example Nextcloud implements custom DAV properties as well to support their file-sharing API's when used in combination with DAV.
See also https://www.greenbytes.de/tech/webdav/draft-reschke-webdav-allprop-include-latest.html