Uh oh!
There was an error while loading. Please reload this page.
feat(caldav): Create personal event for out-of-office messages - #41340
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| fclose($stream); | ||
| } | ||
| } | ||
| } else if ($event instanceof OutOfOfficeClearedEvent) { |
Check notice
Code scanning / Psalm
RedundantConditionGivenDocblockType
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
miaulalala
commented
Nov 14, 2023
You can leave as is except for the PRODID. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| $vCalendar->add($vtimezone); | ||
| /** @psalm-suppress UndefinedMethod */ | ||
| $vEvent->DTSTART->setDateTime($start->setTimezone($calendarTimeZone)->setTime(0, 0)); |
Check notice
Code scanning / Psalm
PossiblyNullReference
| /** @psalm-suppress UndefinedMethod */ | ||
| $vEvent->DTSTART->setDateTime($start->setTimezone($calendarTimeZone)->setTime(0, 0)); | ||
| /** @psalm-suppress UndefinedMethod */ | ||
| $vEvent->DTEND->setDateTime($end->setTimezone($calendarTimeZone)->setTime(0, 0)); |
Check notice
Code scanning / Psalm
PossiblyNullReference
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
86f50b6 to
5b7a547Compare| if ($user->getUID() !== $this->getUserId()) { | ||
| throw new InvalidArgumentException("The user doesn't match the user id of this absence! Expected " . $this->getUserId() . ", got " . $user->getUID()); | ||
| } | ||
| if ($this->getId() === null) { |
Check notice
Code scanning / Psalm
DocblockTypeContradiction
tcitworld
commented
Dec 11, 2023
@ChristophWurst#42142 made me notice I had never submitted my review. Added two comments directly on commit itself since I can't post it anymore. |
Summary
Create and maintain an event in a user's personal calendar when they configure an out of office message.
TODO
Checklist