Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CalDAV: Support calendar sharing via MacOS Calendar.app #5050

Open
Tracked by #20096
rumxxx opened this issue May 22, 2017 · 13 comments
Open
Tracked by #20096

CalDAV: Support calendar sharing via MacOS Calendar.app #5050

rumxxx opened this issue May 22, 2017 · 13 comments
Labels
1. to develop Accepted and waiting to be taken care of enhancement feature: caldav Related to CalDAV internals feature: dav feature: sharing help wanted

Comments

@rumxxx
Copy link

rumxxx commented May 22, 2017

Currently, trying to share a calendar using the MacOS Calendar.app produce the following error:

"user":"ncadmin","app":"webdav","method":"POST","url":"/remote.php/dav/calendars/ncadmin/3F283E41-2239-452D-BE13-382E6CBB282F/","message":"Exception: {"Message":"HTTP\/1.1 501 There was no plugin in the system that was willing to handle this POST method.","Exception":"Sabre\\DAV\\Exception\\NotImplemented","Code":0,"Trace":"#0 \/var\/www\/nc12\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#1 \/var\/www\/nc12\/apps\/dav\/lib\/Server.php(253): Sabre\\DAV\\Server->exec()\n#2 \/var\/www\/nc12\/apps\/dav\/appinfo\/v2\/remote.php(33): OCA\\DAV\\Server->exec()\n#3 \/var\/www\/nc12\/remote.php(162): require_once('\/var\/www\/nc12\/a...')\n#4 {main}","File":"\/var\/www\/nc12\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","Line":487,"User":"ncadmin"}","userAgent":"Mac+OS+X/10.12.5 (16F73) CalendarAgent/386","version":"12.0.0.29"}

SabreDAV already support this->http://sabre.io/blog/2016/sharing-changes/ and would be nice to see this implemented into NC.

@MorrisJobke
Copy link
Member

cc @rullzer @georgehrke

@insseek
Copy link

insseek commented Jan 16, 2019

I am having the same issue.

The iCal error message:

The server responded with an error.
The request for account “xxx” failed.
The server responded with“501”to operation CalDAVUpdateShareesQueuableOperation.

@nextcloud-bot nextcloud-bot removed the stale Ticket or PR with no recent activity label Jan 16, 2019
@georgehrke
Copy link
Member

requires us to change from our own sharing implementation to Sabre/DAV's. Will have to evaluate how complex that's gonna be.

@BKapelari

This comment has been minimized.

@georgehrke
Copy link
Member

@BKapelari
Please use the Github Reactions feature instead of commenting +1, 👍 etc. These kinds of comments just unnecessarily notify everyone subscribed to this issue. Thx! :)

@stale

This comment has been minimized.

@stale stale bot added the stale Ticket or PR with no recent activity label Jun 8, 2019
@kesselb kesselb added 0. Needs triage Pending check for reproducibility or if it fits our roadmap and removed stale Ticket or PR with no recent activity labels Jun 9, 2019
@georgehrke georgehrke added 1. to develop Accepted and waiting to be taken care of help wanted and removed 0. Needs triage Pending check for reproducibility or if it fits our roadmap labels Sep 14, 2019
@szaimen
Copy link
Contributor

szaimen commented May 26, 2021

Do you still want to implement this? If no, please close this issue. Thanks!

@rumxxx
Copy link
Author

rumxxx commented May 26, 2021

@szaimen Yes, please.

@szaimen
Copy link
Contributor

szaimen commented May 26, 2021

So I suppose calendar sharing still doesn't work with the macOS calendar and NC21.0.2?

@ChristophWurst
Copy link
Member

Also see #26668 for a related ticket about how sharing is handled now vs how it could be handled instead.

@mrzool
Copy link

mrzool commented Aug 23, 2021

Just adding some detail from my testing: this issue is particularly disrupting, as the error posted above by @inseeker seems to persists even after unsharing the calendar or restarting Calendar.app.

As soon as a calendar gets shared using the built-in dialog in Calendar.app there's no way to get rid of the warning sign in the sidebar nor of the error messages popping up at regular intervals. You're pretty much stuck with a broken calendar.

Screen Shot 2021-08-23 at 21 37 32

Screen Shot 2021-08-23 at 21 37 37

EDIT: Unsharing the calendar and deactivating and reactivating the CalDAV account in the settings seems to make the error messages go away. Still, this is sadly not viable for production in a site using Calendar.app as main CalDAV client.

Very much looking forward to see some support implemented (or at least some more gracious error handling).

@ChristophWurst ChristophWurst added the feature: caldav Related to CalDAV internals label Dec 17, 2021
@b-pfl
Copy link

b-pfl commented Apr 12, 2023

It really leaves a bad taste that fixing existing bugs seems to have a much lower priority than introducing new features with each release. We would pretty much appreciate the opposite order!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Accepted and waiting to be taken care of enhancement feature: caldav Related to CalDAV internals feature: dav feature: sharing help wanted
Projects
None yet
Development

No branches or pull requests