Re: [Owncloud] SabreDAV license
On 21.12.2011 12:23, Evert Pot wrote: Hi, happy Christmas everyone! On Dec 21, 2011, at 11:08 AM, Andreas Schneider wrote: Is it possible to add a special property in sabredav to be able to set the modification time of a file, like utimes(2)? According to the spec, the last modification date of a resource *should* be protected. While it would still be possible to allow this property to be modified, this is a change that: * would have to be implemented within Owncloud Attached is a patch against oc master implementing the ability to change of the property modificationTime using an epoch value for resources in ownCloud webdav. I tested it with cadaver and propset/propget like this: dav:/oc/files/webdav.php/ propget einfinn.jpg Fetching properties for `einfinn.jpg': DAV: getlastmodified = Fri, 23 Dec 2011 12:00:27 + DAV: getcontentlength = 65666 DAV: resourcetype = DAV: getcontenttype = image/jpeg; dav:/oc/files/webdav.php/ propset einfinn.jpg modificationTime 1324839600 Setting property on `einfinn.jpg': succeeded. dav:/oc/files/webdav.php/ propget einfinn.jpg Fetching properties for `einfinn.jpg': DAV: getlastmodified = Sun, 25 Dec 2011 19:00:00 + DAV: getcontentlength = 65666 DAV: resourcetype = DAV: getcontenttype = image/jpeg; * would also have to be implemented in your client Hope that can take away one roadblock from implementing a proper csync solution for syncing. The problem of course remains that with this patch, its going to be an ownCloud specific implementation instead of a general webdav solution in csync. have fun, Klaas oc_modify_lastmodtime.dif Description: video/dv ___ Owncloud mailing list Owncloud@kde.org https://mail.kde.org/mailman/listinfo/owncloud
Re: [Owncloud] SabreDAV license
Wow! Awesome. A big step forward to a proper syncing solution. :-) Cheers Frank On 25.12.2011, at 21:33, Klaas Freitag wrote: On 21.12.2011 12:23, Evert Pot wrote: Hi, happy Christmas everyone! On Dec 21, 2011, at 11:08 AM, Andreas Schneider wrote: Is it possible to add a special property in sabredav to be able to set the modification time of a file, like utimes(2)? According to the spec, the last modification date of a resource *should* be protected. While it would still be possible to allow this property to be modified, this is a change that: * would have to be implemented within Owncloud Attached is a patch against oc master implementing the ability to change of the property modificationTime using an epoch value for resources in ownCloud webdav. I tested it with cadaver and propset/propget like this: dav:/oc/files/webdav.php/ propget einfinn.jpg Fetching properties for `einfinn.jpg': DAV: getlastmodified = Fri, 23 Dec 2011 12:00:27 + DAV: getcontentlength = 65666 DAV: resourcetype = DAV: getcontenttype = image/jpeg; dav:/oc/files/webdav.php/ propset einfinn.jpg modificationTime 1324839600 Setting property on `einfinn.jpg': succeeded. dav:/oc/files/webdav.php/ propget einfinn.jpg Fetching properties for `einfinn.jpg': DAV: getlastmodified = Sun, 25 Dec 2011 19:00:00 + DAV: getcontentlength = 65666 DAV: resourcetype = DAV: getcontenttype = image/jpeg; * would also have to be implemented in your client Hope that can take away one roadblock from implementing a proper csync solution for syncing. The problem of course remains that with this patch, its going to be an ownCloud specific implementation instead of a general webdav solution in csync. have fun, Klaas oc_modify_lastmodtime.dif___ Owncloud mailing list Owncloud@kde.org https://mail.kde.org/mailman/listinfo/owncloud Frank Karlitschek karlitsc...@kde.org ___ Owncloud mailing list Owncloud@kde.org https://mail.kde.org/mailman/listinfo/owncloud
Re: [Owncloud] SabreDAV license
On Sunday 18 December 2011 14:03:22 Evert Pot wrote: Alright. Well if things do pop up, the door is open. You'll find with all the shaky clients out there it isn't exactly an exact science :) Hi Evert, I'm not a web developer and not a webdav expert. I'm a system C developer and I would like to do file synchronization with owncloud. The problem with webdav is that you only can read the modification time of a file, but you're not able to set it. Is it possible to add a special property in sabredav to be able to set the modification time of a file, like utimes(2)? Cheers, -- andreas -- Andreas Schneider GPG-ID: F33E3FC6 www.cryptomilk.orga...@cryptomilk.org ___ Owncloud mailing list Owncloud@kde.org https://mail.kde.org/mailman/listinfo/owncloud
Re: [Owncloud] SabreDAV license
On Dec 21, 2011, at 11:08 AM, Andreas Schneider wrote: On Sunday 18 December 2011 14:03:22 Evert Pot wrote: Alright. Well if things do pop up, the door is open. You'll find with all the shaky clients out there it isn't exactly an exact science :) Hi Evert, I'm not a web developer and not a webdav expert. I'm a system C developer and I would like to do file synchronization with owncloud. The problem with webdav is that you only can read the modification time of a file, but you're not able to set it. Is it possible to add a special property in sabredav to be able to set the modification time of a file, like utimes(2)? According to the spec, the last modification date of a resource *should* be protected. While it would still be possible to allow this property to be modified, this is a change that: * would have to be implemented within Owncloud * would also have to be implemented in your client So no easy answer unfortunately. Evert ___ Owncloud mailing list Owncloud@kde.org https://mail.kde.org/mailman/listinfo/owncloud
Re: [Owncloud] SabreDAV license
On Dec 18, 2011, at 4:18 AM, Robin Appelman wrote: uhhh, oops, I really though we had all the licensing stuff fixed, added the licence file to git master and stable. The one maintaining the webdav feature at the moment is probably me since the one who originally integrated it doesn't have much time to work on ownCloud anymore. webdav (and card/caldav) is a pretty big feature for us but I don't think we have any issue with it besides authentication on apache+php-cgi servers.sabredav does it work correctly and I don't think we needed to much with it besides the initial integration. Alright. Well if things do pop up, the door is open. You'll find with all the shaky clients out there it isn't exactly an exact science :) Good luck with everything, Evert - Robin Appelman On Sun, Dec 18, 2011 at 03:34, Evert Pot ev...@rooftopsolutions.nl wrote: Hi guys, I've noticed you are redistributing SabreDAV, but you're not including the LICENSE file; which is pretty much the only clause you have to follow. Any chance this can get fixed before your next release? Also, I'm not very sure how big the webdav feature is for you, but if it is.. Would love to get in touch with the person maintaining it. I can probably be of help with some of the more complicated bugs, and in return it would be great to get more feedback, channeled from what seems to be a pretty large tech-savvy user base. Hit me up! Evert ___ Owncloud mailing list Owncloud@kde.org https://mail.kde.org/mailman/listinfo/owncloud ___ Owncloud mailing list Owncloud@kde.org https://mail.kde.org/mailman/listinfo/owncloud
Re: [Owncloud] SabreDAV license
uhhh, oops, I really though we had all the licensing stuff fixed, added the licence file to git master and stable. The one maintaining the webdav feature at the moment is probably me since the one who originally integrated it doesn't have much time to work on ownCloud anymore. webdav (and card/caldav) is a pretty big feature for us but I don't think we have any issue with it besides authentication on apache+php-cgi servers.sabredav does it work correctly and I don't think we needed to much with it besides the initial integration. - Robin Appelman On Sun, Dec 18, 2011 at 03:34, Evert Pot ev...@rooftopsolutions.nl wrote: Hi guys, I've noticed you are redistributing SabreDAV, but you're not including the LICENSE file; which is pretty much the only clause you have to follow. Any chance this can get fixed before your next release? Also, I'm not very sure how big the webdav feature is for you, but if it is.. Would love to get in touch with the person maintaining it. I can probably be of help with some of the more complicated bugs, and in return it would be great to get more feedback, channeled from what seems to be a pretty large tech-savvy user base. Hit me up! Evert ___ Owncloud mailing list Owncloud@kde.org https://mail.kde.org/mailman/listinfo/owncloud ___ Owncloud mailing list Owncloud@kde.org https://mail.kde.org/mailman/listinfo/owncloud