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

[stable12] dont send invitations for past events #5841

Conversation

georgehrke
Copy link
Member

backport of #5304

Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
@georgehrke georgehrke added the 3. to review Waiting for reviews label Jul 23, 2017
@mention-bot
Copy link

@georgehrke, thanks for your PR! By analyzing the history of the files in this pull request, we identified @LukasReschke, @nickvergessen and @rullzer to be potential reviewers.

@jospoortvliet
Copy link
Member

jospoortvliet commented Jul 24, 2017

Would be good to get this in 12.0.1... though that is late huh? @LukasReschke ?

@MorrisJobke MorrisJobke added this to the Nextcloud 12.0.2 milestone Aug 2, 2017
@ggeorgg
Copy link

ggeorgg commented Aug 22, 2017

I've tested this and it does what the title says. Invitations are not sent for past events anymore with this fix.

Copy link
Member

@tcitworld tcitworld left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and works. 👍

/** @var ITimeFactory */
private $timeFactory;

const MAX_DATE = '2038-01-01';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason for this date ? Isn't this too much ?

@MorrisJobke MorrisJobke merged commit 6704e89 into stable12 Aug 30, 2017
@MorrisJobke MorrisJobke deleted the bugfix-stable12/2855/dont_send_invitations_for_past_events branch August 30, 2017 19:01
@tschlotfeldt
Copy link

I think these this not the right solution for the case that a user is importing his calendar(s) as in #2855.
This makes switching from another calendar server to NextCloud not easy. Still all the attendees of future appointments will get an invitation again. This would be very annoying.

@georgehrke
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants