-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
apps/dav: add some OSX specific quirks. #36800
Conversation
56080ad
to
99e2708
Compare
Actually, the delegation dialog and the participants dialog of the OSX calendar app in "Ventura" now finds the principals. Inviting participants seems to work, delegation is still flaky: the delegation is transmitted to the NC server but the OSX calendar app somehow has problems with the response. The web-server access log however only shows
when updating the delegation settings. |
22b6c01
to
b1156ce
Compare
What can be used in place of the asterisk? Parsing the user-agent with a regexp is probably a little bit costly, and here only necessary for the report requests. |
6543b7b
to
11cc75a
Compare
2b24c42
to
4671fc6
Compare
4671fc6
to
a089db9
Compare
4b2e884
to
345751f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks great!
43ada45
to
57c5c15
Compare
Do you mind reverting your composer-related changes other than adding the new class in Please squash your commits as well. |
I have probably just a recent composer version installed, which no longer support PHP 5. But for the question: I do not mind at all. However, ideally the Nextcloud core developers would just regenerate the autoload-files with whatever composer version they usually use. I think without the composer changes at least the continuous integration test has no chance to succeed.
I do not mind, but isn't this done automatically during merge? Doesn't matter, I'll squash them. |
Actually, I would suggest to squash all commits with the exception of the composer changes. |
@tcitworld In order to avoid unnecessary work I'll wait for a response from your side. Of course, it is not a problem to just squash all commits in to one, I just think that it makes sense to keep all generated files separate from the real changes. |
Yeah, I guess this is done one in a while, but let's not create conflits if we can avoid them.
This is not enabled for this repository, not sure why, probably Github drops Sign-off information during squashing. |
e7f443a
to
ced9c4c
Compare
Signed-off-by: Claus-Justus Heine <[email protected]>
ced9c4c
to
64e9dcc
Compare
I have just also squashed the composer changes into the remaining single commit. |
Are there intentions to backport to NC 26 ? |
Does this plugin still works? If yes, how do I activate it? |
I am brand spanking new to NextCloud, I have just completed installation for the first time. I'm running Nextcloud Hub 9 (30.0.1) -- which I assume means I'm running NextCloud 30.0.1. |
This is not a plugin but a code change. It has been implemented. DAV is core functionality. In this case a fix for the "Calendar" app. |
That's great news! |
This issue is closed and outdated. When you think there is still a problem, create a new bug report/issue. btw. in the meantime: apple is notorious for bending even their own standards. you can delegate via the nextcloud web interface, which will reflect back to apple calendar app. but your contribution is helpfull, so when you describe the symptoms/observations closely and post a report, thats the right way to confront this problem. another btw: if you are going to deal with this specific issue, if you can, its a good idea to include the webservers access.log entries in the report, that apple calender triggers during your attempt. |
Hi labor4, In the meantime, it would be great if I can set up delegatation via the nextcloud web interface, but I've not been able to find that, would you be so kind as to point me in the right direction? In any case, many thanks for your help and assistance. |
Nope, AFAIK this is still not exposed in the web interface, though it should be supported by the calendar backend. See here: |
thanks given said issue (still valid?), we maybe speak of different technical things. i tested it a while ago and „shared“ a cal to another user in web, and found it to be handed down to apple calender, seemingly in a way that was transparent (as in „does not know“) to the client. how this really differentiates against a proper „caldav delegation“ i do not know. i did have the (unproven) suspicion that this may be a „dontworry“ replacement method for this need that works better. same way NC finally ditched the apple-specific calendar-invitation chaos and went the more cross/stable google-way with mails and links. but thats just my guts speaking. 🙏😁 carefull testing for usability by the user is advised, i guess. sorry. dont know more. is there an arguement that „sharing a calendar in some way or meaning internally via web to another user“ is not possible? |
"delegation" means that you let someone else edit your calendars on behalf of yourself, you remain the organizer. It is not visible that it wasn't you who edited things. The use case is e.g. when "the big boss" delegates his calendars to a clerk who manages his appointments. This is different from a shared writable calendar, here the person who creates an event is the organizer which then in general is different from the owner of the calendar. And yes: if you share a calendar to someone else then this calendar will appear in that other ones caldav collection and is visible through the caldav protocol. And yes: the issue a mentioned in my previous post is still valid, it is still not possible to manage calendar delegation in the frontend. |
Summary
Following @georgehrke suggestion in the linked issue this PR adds a special
QuirksPlugin
which tweaks report requests from the half-eaten-apple OS to include theapply-to-principal-collection-set
flag.This is done by a Sabre ServerPlugin with
beforeMethod:*
listener which decodes the HTTP_USER_AGENT and areport
listener which then tweaks a{DAV:}principal-property-search
report request to have the flag set.TODO
Checklist