-
-
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
Invitation send to attendees upon calendar import (also for past events) #2855
Comments
perhaps this may also be relevant... |
@Oclair Not at all relevant. I think I can confirm the issue. |
I can confirm this bug, btw. |
I don't think this is a regression. |
ah ok, sorry |
I've been reading a bit into RFC 6047 and 6638, though I'm not completely sure what the expected behavior is. maybe @evert can help :) |
We've had this ticket open for a while: https://github.com/fruux/sabre-dav/issues/569 I don't think I was able to find any information in RFCs about how past events should be treated, but it does make sense to me that our default ImipPlugin ignores any events that have already happened. |
@evert @georgehrke my suggestion would be:
|
yay
nay. Sending out invitations for events is a feature. If anything, we make it opt-out and not opt-in. |
That seems a decent solution, yes. |
Can this be prioritized? It sort of makes the calendar plugin useless (or very very annoying) if you want to migrate from one calendar system to Nextcloud. |
I had the impression that this was fixed i a subsequent update, is this
issue still not resolved @GanimanSwift ?
…On 5/22/17 18:44, GanimanSwift wrote:
Can this be prioritized? It sort of makes the calendar plugin useless
(or very very annoying) if you want to migrate from one calendar
system to Nextcloud.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2855 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAl0eyHNj2AiEebrJqkc5xwCfi_zb8ufks5r8btngaJpZM4LVTNC>.
|
@Oclair We have experienced it this morning on the most current Nextcloud and Cal plugins. A user imported a calendar through the Nextcloud web interface, and after importing, all attendees from past and present appointments were e-mailed invitations. After opening an issue in the plugin's github, @georgehrke notified me there was an open issue for this. |
I think this bug should be treated with much higher priority. I just sent out about 200 invitations about events happened in 2006. Not cool. |
@belidzs This issue is already assigned to the very next release 12.0.1 |
Since RC1 is already released, will this be postponed? |
Actually the bug probably has existed much longer, it was only reported 8 months ago :( |
@fmoessbauer @Oclair There is already a fix waiting to be merged. |
@georgehrke I thought you said this was going to be in the next release? Well, 12.0.1 and 12.0.2 have been released since you said that, and I still don't see a fix for this being merged in. Can we please get an update? |
@GanimanSwift see his previous comment: #5304 needs testing and reviewing. If you could install the patch, try it, see if it does what it should and doesn't break anything and report back in the tread that would be helpful and speed this up... |
#5304 introduces a config.php flag for that ;) |
Wish I would have known about this earlier. Sent out 27766 mails due to that. Yikes. |
Fixed with #5841 |
@georgehrke that config.php flag, is that documented by anything other than code? Would probably be good to use it when importing calendars ;-) |
@jospoortvliet See the PR. I removed it upon request from @MorrisJobke and @LukasReschke Will send a new PR for that. |
Ah, makes sense, sorry for missing that. Thanks! |
Is there a way to avoid sending invitations when importing a calendar ? |
hello @Mer0me, which nextcloud-version you were using? It happened to me with Nextcloud 17.1 and it was very embarrassing, since also invitations went out for appointments, for which I wasn't even the appointment-owner :-( - no matter if the appointment was in the past or in the future. Now I'm afraid it could happen also with the recent Nextcloud-releases! Seems to be a long running problem - see also bug #545 All notifications and invitations should be completely disabled during calendar import, since at the time the appointments were created (in whatever system) generated invitations to attendees and mailed them out. So there is absolutely no need to send again invitations when importing a calendar into nextcloud. The only way to avoid this seems to me to block the account with which Nextcloud sends the notifications in my Postfix and then clear the queue. But I don't know if there is an retry from Nextcoud, if it can't send the invitation? |
On NC v27.0.2 with Calendar App v4.4.5 , importing a .ics through the Calendar App still send invitations, even if you import the very same .ics twice. Workaround : disable invitation sending in Nextcloud Administration panel (groupware section) during the importation. But doing that prevent any user to send invitation through calendar until the parameter is reverted. Note that even if you import the .ics through a caldav client (like Thunderbird, even if client side email scheduling is checked in TB), when the event is synced on Nextcloud, the invitation is sent as well, unless the invitation sending is disabled in groupware section. |
Hi all, This problem still happens. a nice feature to have is when importing a calendar in the UI in the importing dialog a checkbox to enabled/disabled the notifications. Is that a possible feature to develop? other option that come to my mind is to have an option to completely enabled/disabled notifications in user settings... like the ones that exists in global settings-> groupware but per-user.. |
Seriously this was never resolved? |
Posted on #nextcloud on freenode irc
[15:12:36] just setting up nextcloud on a freebsd server today, and made a test user account and imported some account data from a google account. I imported a calendar and while importing the calendar nextcloud started to notify contacts for past appointments.....
[15:12:45] nextcloud 11.0 stable
[15:13:26] shutdown the postfix service and will remove the queue but guys this is quite an oversight....
[15:17:54] That sounds like a good github issue
[15:18:18] I'm a little surprised it doesn't check whether the date of an appointment is in the past before sending a notification
[15:18:43] there is about 10 years of google appointments getting mailed out to contacts
[15:18:52] import not yet complete
[15:19:07] pretty stunning oversight
[15:20:50] also as the user has not yet defined an email address the mail is going to the postmaster for the domain rofl....
[15:22:07] so basically the calendar app upon import even without a user defining an email address sends out mail via an imagined user/email address named after the site name @ the config domain name
Update 1
X-PHP-Originating-Script: 80:SimpleMailInvoker.php
you guys gotta patch this asap
There should be no immediate outbound mail triggered by importing data from outside data source. The import was not even half way through and the mails were flying out....
your calendar app sent out emails to 10 years of google calendar invitees..... really?
spammers can use this flaw actually...
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;CN=Some Dude ;X-NUM-GUESTS=0:mailto:user@server.nul
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;CN=Some Dude;X-NUM-GUESTS=0:mailto:user@server.nul
Steps to reproduce
Expected behaviour
upon Importation of google Calendar with past or present events with included invitees should never activate an immediate sending of invitations.
Actual behaviour
importing the calendar nextcloud started to notify contacts for past appointments
Server configuration
FreeBSD 11.0 -p6
Apache 2.4.25
mysql-server 5.6.34
PHP Version: 5.6.29
Memory Limit: 512.0 MB
Max Execution Time: 3600
Upload max size: 511.0 MB
Nextcloud version: 11
Fresh Install
Source from nextcloud.com
Signing status:
Signing status
List of activated apps:
App list
The content of config/config.php:
Config report
Are you using external storage, if yes which one:
no
Are you using encryption: yes
Are you using an external user-backend, if yes which one:
no
Browser: Chrome current
**Operating system: OSX 10.9.5
Logs
Web server error log
Web server error log
``` Insert your webserver log here ```Nextcloud log (data/nextcloud.log)
Nextcloud log
``` Insert your Nextcloud log here ```Browser log
Browser log
``` Insert your browser log here, this could for example include:a) The javascript console log
b) The network log
c) ...
The text was updated successfully, but these errors were encountered: