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

fix(dav): don't schedule out-of-office jobs for dates in the past #41778

Merged
merged 1 commit into from
Nov 28, 2023

Conversation

st3iny
Copy link
Member

@st3iny st3iny commented Nov 27, 2023

  • Resolves: none

Summary

There should be no job scheduled and no start event emitted if the start date of an out-of-office period lies in the past. The same goes for end events.

I also added some tests to prevent regressions in the future.

Checklist

@st3iny st3iny added the 3. to review Waiting for reviews label Nov 27, 2023
@st3iny st3iny added this to the Nextcloud 29 milestone Nov 27, 2023
@st3iny st3iny self-assigned this Nov 27, 2023
@st3iny st3iny added bug feature: caldav Related to CalDAV internals feature: dav and removed feature: caldav Related to CalDAV internals labels Nov 27, 2023
@st3iny
Copy link
Member Author

st3iny commented Nov 27, 2023

/backport to stable28

Comment on lines -53 to -54
private IConfig $appConfig,
private IManager $calendarManager,
Copy link
Member Author

Choose a reason for hiding this comment

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

Kind of unrelated but my PHPStorm complained that those 2 parameters are not used anywhere outside the constructor (only written).

@st3iny st3iny merged commit edc4880 into master Nov 28, 2023
50 checks passed
@st3iny st3iny deleted the fix/dav/schedule-ooo-jobs branch November 28, 2023 18:40
@blizzz blizzz mentioned this pull request Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging this pull request may close these issues.

3 participants