-
-
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
Support iMIP invitations from Mail #33001
Conversation
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.
Found 20 potential problems in the proposed changes. Check the Files changed tab for more details.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
@st3iny sorry I forgot to tell you: there will be two new endpoints for processing the invitations/responses but you can use them almost the same as the createFromString. I just need a recipient and sender for both to do the security checks as mentioned in the RFC. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
dd3e17a
to
43f7bec
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.
Looks good so far!
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.
Found 15 potential problems in the proposed changes. Check the Files changed tab for more details.
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.
Found 15 potential problems in the proposed changes. Check the Files changed tab for more details.
Thank you 👍 Looks good to me. Did a test run with 4 users.
The invitation is properly sent to all 4 guests. External guest with Gmail account accepted the invitation. Response went to Admin's inbox and IMipService updated the attendance for Admin, User2 and User 3 🥳 🥳 Updating the calendar attendance may take a while. On mailbox refresh the message is flagged as imip message and processed by a background job later. We recommend to run the background job every 5 minutes. I understand the technical reasoning yet it's not ideal. Thunderbird shows a hint when a message contains an imip reply/cancel and if the data is already processed. I believe that would be a nice enhancement. Run into the following "bug" while testing this PR. It seems unrelated and should not block it: I accepted the invitation for User2 via Calendar. The vcard is updated properly but the imip processing does not work. Only my (the copy in my personal calendar) is updated. Organizer and other attendees don't see the updated attendance. Looked at it with Xdebug for a second but could not figure it out. The imip logic is executed however it does not emit an imip message. A starting point for further debugging could be the InviteResponseController as it works over there. |
Sorry I think I "steh auf der Leitung": So you accepted an Invitation from Admin to User2 via Calendar, and the calendar doesn't distribute the changes to the other Attendees/ Guests? This sounds like a bug I've seen before... @st3iny how did you implement the Accept/Decline from Calendar? Does that do a PROPPATCH? |
Signed-off-by: Anna Larch <anna@nextcloud.com>
14d5763
to
4ca4b02
Compare
I just set the participation status of the attendee on the local copy and then save the ics again (via PUT). The rest is handled by Sabre and wasn't touched by me. |
It was the plus sign in Daniel's test email that makes it break 🕵️ |
@ChristophWurst @miaulalala @st3iny, please help get this fixed. When Office 365 sends calendar invitations, the snappymail nextcloud app by @the-djmaze handles them perfectly. They appear in the email message and can be added to a nextcloud calendar with one-click. Maybe this code that @the-djmaze mentioned will work? https://github.com/the-djmaze/snappymail/blob/fffc04499875531bd3dd626d01baaf7a86452cd3/plugins/nextcloud/js/message.js#L111-L179 |
Hi Luncheon, please stop mass tagging and commenting on old tickets and PRs. You're creating a lot of noise, not just for us but also the-djmaze. That isn't cool. If you have a feature request or bug to report, use the new issue button in the repository AFTER you've searched if an issue already exists. If it does, please refrain from commenting unless you have logs / debugging steps to add, and add your reaction to the ticket instead. If you're a developer, you can also contribute your own PRs and we will work with you to get them merged. Cheers. |
Fixes nextcloud/mail#6803
Fixes #19144
Fixes #22532
To Do:
Don't do "Fix CANCEL method for emails that are updated from UI (#33008) - the STATUS CANCELLED should also lead to an iMIP message with method CANCEL, not reply" as we're using a systemwide email address which could lead to cancellation email addresses not being processed by other mail clients.
Considerations: