D16509: Eventviews: associate calendar color to remoteID rather than ID.
David Faure
noreply at phabricator.kde.org
Fri Nov 2 16:02:26 GMT 2018
dfaure added a comment.
In D16509#352669 <https://phabricator.kde.org/D16509#352669>, @dkurz wrote:
> In D16509#352607 <https://phabricator.kde.org/D16509#352607>, @dvratil wrote:
>
> > assuming DAV actually supports that.
>
>
> It doesn't: https://stackoverflow.com/a/30871369.
> I didn't find "color" nor "colour" in any CalDAV/WebDAV/iCal RFC either, except for one unrelated match in https://tools.ietf.org/html/rfc4791.
DAV clearly supports retrieving colors for calendar folders, that's what's happening here.
See davCollection.color(), and the fact that src/common/davcollectionsfetchjob.cpp:331 sets the color in the collection, based on the property "calendar-color" in the namespace "http://apple.com/ns/ical/". No idea which RFC this would come from though.
But what I'm missing is a way to upload a color, i.e. modify this server-side.
I guess this needs to be added in DavCollectionModifyJob...
REVISION DETAIL
https://phabricator.kde.org/D16509
To: dfaure, dvratil, dkurz, ochurlaud
Cc: #kde_pim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20181102/145a9baa/attachment.html>
More information about the kde-pim
mailing list