-
-
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
Add user setting to hide birthdays from deceased contacts #36327
Conversation
Closes #24742 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
foreach ($datesToSync as $type) { | ||
$this->updateCalendar($cardUri, $cardData, $book, (int) $calendar['id'], $type, $reminderOffset); | ||
$this->updateCalendar($cardUri, $cardData, $book, (int) $calendar['id'], $type, $reminderOffset, $showBirthdaysFromDeceasedContacts); |
Check failure
Code scanning / Psalm
InvalidArgument
* PT9H) or null if no reminder is wanted. | ||
* | ||
* @param string $userPrincipal | ||
* @return string|null |
Check failure
Code scanning / Psalm
MismatchingDocblockReturnType
@@ -62,6 +62,7 @@ | |||
<settings> | |||
<admin>OCA\DAV\Settings\CalDAVSettings</admin> | |||
<personal>OCA\DAV\Settings\AvailabilitySettings</personal> | |||
<personal>OCA\DAV\Settings\PersonalCalendarSettings</personal> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#34626 (comment) you were right
@tcitworld if it would be a general setting like "Show birthdays after death" then yeah, Calendar makes sense. So since this general setting would rely on the "Death date" being set in the contact anyway, this should ideally be a per-contact setting in contacts. When "Death date" is set, there can be a checkbox "Show birthday in calendar" below. What do you think? |
@jancborchardt We already have the feature to exclude specific contacts from the birthday calendar. This is about having a global setting to avoid setting this for all deceased contacts manually. It may not be needed, and we can just close #24742. |
@tcitworld thanks! Continued at #24742 (comment) |
TODO
Checklist