In this issue I asked for better design for the emails being sent when inviting anyone to a event. This request is about the possibility to accept the invitation directly in the email, just like you can do with Google Calendar.
Right now you are presented with this (which is pretty nasty):
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Sabre//Sabre VObject 3.5.0//EN
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VTIMEZONE
TZID:Africa/Lagos
X-LIC-LOCATION:Africa/Lagos
BEGIN:STANDARD
TZOFFSETFROM:+0100
TZOFFSETTO:+0100
TZNAME:WAT
DTSTART:19700101T000000
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
CREATED:20161125T140909
DTSTAMP:20161125T140909
LAST-MODIFIED:20161125T140909
UID:1J4UQR666RZKWYABID5AF0QKT92XM3TB6JP2D8K0NIQ2VPZM2T9
SUMMARY:Julfest jobbet
LOCATION:Kontoret
CLASS:PUBLIC
STATUS:CONFIRMED
ORGANIZER;CN=Daniel Hansson:MAILTO:[email protected]
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;CUTYPE=INDIVIDUAL;X-NC-
GROUP-ID=0:MAILTO:[email protected]
DTSTART;TZID=Africa/Lagos:20161220T160000
DTEND;TZID=Africa/Lagos:20161220T170000
END:VEVENT
END:VCALENDAR
I think it's a must have to be able to accept the invitation directly in the email especially when speaking of enterprise, how can we compete with e.g. Google otherwise?
cc @Espina2 @eppfel @jancborchardt @MorrisJobke
This is a topic for the MAIL app. We can't even display all invitations, currently- @ChristophWurst and others (hopefully) are currently rethinking the display of the mails. See topic nextcloud/mail#160. Before this isn't done, we can't even think of connecting mail and calendar.
Maybe a moderator can move this topic to the mail app?
Edit: Fixed link to issue
@joergmschulz I don't agree that this is a mail app issue. What if you are not using the mail app? This issue is about sending invitations to anyone not only people using the mail app.
Try sending an invitation to one with Google Calendar, what will they see? They will see the regular invitation with "Yes" "No" "Maybe". Haven't tried sending an invitation to someone with outlook, but I imagine it's the same. The mail app is just a client to handle the mails that you have on another server, Nextcloud is not a mail server.
Ah, so I misunderstood your issue - because I didn’t have it yet.
All invitations I have sent and tested have been successful for: Thunderbird, Outlook, Outlook on WP8.1 and Apple Mail/iCal.
So, your Google doesn’t swallow the embedded invitation?
Big question: is this reproducible for other Google accounts?
Am 27.11.2016 um 17:54 schrieb Daniel Hansson notifications@github.com:
@joergmschulz https://github.com/joergmschulz I don't agree that this is a mail app issue. What if you are not using the mail app? This issue is about sending invitations to anyone not only people using the mail app.
Try sending an invitation to one with Google Calendar, what will they see? They will see the regular invitation with "Yes" "No" "Maybe". Havenät tried sending an invitation to someone with outlook, but I imagine it's the same. The mail app is just a client to handle the mails.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/nextcloud/server/issues/2338#issuecomment-263133056, or mute the thread https://github.com/notifications/unsubscribe-auth/AGOK_risFY8-AeOqWnp8qVwTQUPe2lRTks5rCbWugaJpZM4K8hoq.
@joergmschulz If the reciver have Nextcloud, and using another (domainbased) email that isn't connected to a service like Google e.g. [email protected] the only thing you the reciver will see is what I posted in my first issue. DAV must be able to somehow generate a nice invitation, or maybe it's PHP that's necesarry, idk really as I'm not a coder.
cc @nextcloud/calendar as this is probably more relevant for the folks ;)
I'd be happy to implement the server-side logic for accepting/rejecting invitations. Although I'd appreciate help with the mail template / mail design. (cc @eppfel ;))
@georgehrke do you have any version you like most (like from Google Calendar / Inbox, or iCloud, etc)? Then we could start building it based on that layout, and improve going forward. cc @nextcloud/designers
@enoch85 posted a screenshot in https://github.com/nextcloud/server/issues/2071
Ping
Ping too, having the power to answer to Nextcloud' calendar invitation inside the email would be great.
This is the big last feature that miss in this calendar.
3 companies using nextcloud as a calendar server waiting for it.
I could help for testing this feature.
@warnerbryce Help developing this feature would be even more appreciated ;)
@georgehrke Give me some months, I just have to learn PHP. ;)
Bountysource would be another option: https://www.bountysource.com/issues/39482696-enhancement-accept-calendar-invitation-directly-in-the-invitation-email
Well, let's get this started. Just posted $50.
Just posted $50.
Seems like it doesn't show up :/ I'll contact BountySource and make it happen.
Btw, Hackweek... Mind looking at this issue? please :)
Posted 50$, this enhancement is really important for me.
So, for a start...
There is a SabreDav Plugin: http://sabre.io/dav/scheduling/
Based on the both RFCs:
So we have to implement this on the server and than edit the mail template, as far as I understand it @georgehrke ?
The scheduling plugin is already enabled. ;)
We need to hook into the iTip plugin that sends the email, generate some token and write it to the database, use that token to generate a couple of links for the email.
The email needs:
and we need one token per attendee
Fixed the Bountsource issue so now it's $100 instead.
Any update for this request ? It's a deal-blocking for two clients. I will increase bounty in some days so...
Any update for this request ?
it's currently planned for Nextcloud 13 and I can assure you it won't come earlier, as we don't back port features to older releases.
See also #2149 for some technical ideas.
S**t it has been postponed again. I’m gonna increase the bounty by 100€ for making thing move and be sure it will be for nextcloud 14
Is there any workaround at the moment? My invitations get sent but that's it. A black hole, as nobody can confirm or reject participation. :(
I know, some of you are disappointed that this was postponed, but we made progress on this issue. The task list for this issue is quite long, but with Nextcloud 13 we tackled one of the biggest issues:
Migrating the invitation email to our email templating.
This makes adding buttons and links to the email extremely convenient and pretty much only leaves us with adding the server-side logic for the links (generating unique tokens, handling the requests, updating the organizer's event, allow attendee to leave comments and number of guests)
Great news, i thought it haven't move at all.
awesome. great to hear this is moving forward.
is any help still needed?
Nice to know it is now easy, esp as there's a 115 dollar bounty on it - so somebody has an easy way to earn that money 👍
Hi there,
I think I have a similar problem. Internally within the calendar user invites are working as expected. If I want to invite an _external_ googlemail user via email, that works too. Once the external gmail-user confirms the appointment (email), nothing changes in the status of the appointment within the nextcloud calendar entry. (Not accepted / rejected) It seems that the back channel between Google Mail and Nextcloud Calendar has problems. An email is generated that the gmail user have accpeted the invite and is sent to the emailaddress of the user who have created the calendar-entry, but I don't see the updated status in the calendar. Maybe your discussed workaround could help me out. @georgehrke When the update will be available? :) Many thanks.
@immae1, the email that gets from google can only affect your calendar if the email is somehow linked to the calendar application. In many instances this will not be the case. If the response from google goes to your yahoo email address, there is (currently, afaik) no way for calendar to know anything about it.
One of the proposed solutions is to have an HTML email content in the invite, containing a clickable link, clicking which would trigger a publicly accessible action on your calendar app. This would be a much more valuable solution for anybody with a public email address, I believe.
In any case, both solutions are technically valid and it would be great to have them both at some point in the future, to cover for different calendar/email solutions we are communicating with.
Speaking for Mac, I say this old roundtrip is doomed beyond help.
Just for the sake of how bad everything is:
;-)
For Mac, I think it looks like this (do correct me if I'm wrong):
I don't think this has ever worked once, I even think iCal is actually broken at point (4). I tried it for hours ;-). Recently I had a glance at an Apple iCloud mail invitation that uses the approach discussed in this thread.
The elegance with above discussion would be that the badness ends after point (2) AND it can be reversed (recipient changes invitation).
This will make the world better, I promise.
@labor4 Sell your Mac, buy a Dell XPS13 and be happy. :)
@labor4 :
If you're a mac user the invitation worked like this :
1- You have an iCloud account, so the invitation is sent via iCloud server, and the reciptiant user get an HTML email with three box Yes - No - Maybe, the user click to this link and your calendar is updated. Google do the same thing and Nextcloud will.
2- You're an old fellow, and you use iCal with OS X Server, you have an account, and an Email account configured in OS X Server for the invitations. You set an appointement with an attendee, OS X Server send an email from the account configured inside. The attendee receive an email, but the answer is sent by email, and OS X Server checks emails from this address and modify the appointement with this answer. I used it a lot some years ago, but it such a pain in the *ss because it's always buggy and use an email address just for invitation.
With the iCloud - Google - Microsoft - Nextcloud method, the box is an URL link, it's so more stable than the method with an email as an answer.
is this supposed to work when the email used to send invitations is the same as the one in 'reply-to' field (which receives the answers)?
@warnerbryce
Yes, I am an old fellow so I will no longer pain my *ss with OSX server.
I'd rather happily spend 2 hours hacking iptables to finally work around crappy Apple 8443/8843 port bugs to be able to use NC! Such is my devotion! cheers
@labor4 I started on Owncloud from version 6, i've worked with it on aWindows Server with Wamp, an OS X Server with Server.app, an OS X Server with Mamp, and now i'm on Nextcloud on Linux/Debian.
The best options you could get to have a nice Nextcloud Server working on OS X is : (first is worst then it increase)
1 - Use OS X Server app, modify /Library/Server/Web/Config files to make Apache web server works as you want (ports, ssl, .htaccess, etc...) Use postgresql as a database and php 5.... It's really anoying to make it works but it's possible and it's long.
2 - Use OS X system with MAMP (or MAMP Pro), easier to make it work, you can choose the version of apache you want, the version of php, mysql is there too. With a little bit of practice on software, you can have a good Nextcloud Server
3 - Use a virtualisation software (VirtualBox or Parallels) install a linux distribution, install Apache/Ngnix - Mysql-MariaDB - PHP7 - Certbot(letsencrypt). It's really easy to make snapshots, backups, and support from forum.
We're quite out of topic there, if you want to discuss about that you can join me on the help.nextcloud.com forum, my name is Nemskiller.
@warnerbryce
The best options you could get to have a nice Nextcloud Server working
...is the Nextcloud VM. ;)
@enoch85
It’s my way or the highway.
Yeah Nextcloud VM could be really the best start for a beginner and more.
Any news about this issue ? Does everything will be in the startingblocks for NC 14 ?
UP ? i hope it won't be delayed to NC 15
Hello @georgehrke and @jospoortvliet
We have no news about this, does it will be ready for NC 14 ?
@warnerbryce I will look into this in the next couple of days, don't worry 😉
Fix is in #9942
@warnerbryce Feel free to open a follow up ticket about the enhancements you suggested in the pull-request, so they don't get lost! :)
Most helpful comment
I know, some of you are disappointed that this was postponed, but we made progress on this issue. The task list for this issue is quite long, but with Nextcloud 13 we tackled one of the biggest issues:
Migrating the invitation email to our email templating.
This makes adding buttons and links to the email extremely convenient and pretty much only leaves us with adding the server-side logic for the links (generating unique tokens, handling the requests, updating the organizer's event, allow attendee to leave comments and number of guests)