Skip to content

feature: Improved Recurrence Invitations Messages - #45547

Merged
SebastianKrupinski merged 1 commit into
masterfrom
feature/recurrence-invitations2
Jul 18, 2024
Merged

feature: Improved Recurrence Invitations Messages#45547
SebastianKrupinski merged 1 commit into
masterfrom
feature/recurrence-invitations2

Conversation

@SebastianKrupinski

@SebastianKrupinskiSebastianKrupinski commented May 28, 2024

Copy link
Copy Markdown
Contributor

Summary

Improved Recurrence Invitations Messages

@github-advanced-securitygithub-advanced-securityAI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Psalm found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

@SebastianKrupinski

Copy link
Copy Markdown
ContributorAuthor

TODO: unit tests

@SebastianKrupinski
SebastianKrupinskiforce-pushed the feature/recurrence-invitations2 branch from 7ce69d0 to 27b9da6CompareJune 7, 2024 16:31
@github-actions

Copy link
Copy Markdown
Contributor

Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!

(If you believe you should not receive this message, you can add yourself to the blocklist.)

Comment threadapps/dav/lib/CalDAV/EventReader.php
Comment threadapps/dav/lib/CalDAV/EventReaderRDate.php
Comment threadapps/dav/lib/CalDAV/EventReaderRRule.php
Comment threadapps/dav/tests/unit/CalDAV/EventReaderTest.php
Comment threadapps/dav/lib/CalDAV/EventReaderRRule.php Outdated
Comment threadapps/dav/lib/CalDAV/EventReaderRRule.php Outdated
Comment threadapps/dav/lib/CalDAV/EventReaderRRule.php Outdated
Comment threadapps/dav/lib/CalDAV/EventReader.php Outdated
Comment threadapps/dav/lib/CalDAV/EventReader.php Outdated
Comment threadapps/dav/lib/CalDAV/EventReader.php
Comment threadapps/dav/lib/CalDAV/EventReader.php
Comment threadapps/dav/lib/CalDAV/EventReaderRDate.php Outdated
Comment threadapps/dav/lib/CalDAV/Schedule/IMipService.php Outdated
Comment threadapps/dav/lib/CalDAV/Schedule/IMipService.php Outdated
Comment threadapps/dav/lib/CalDAV/Schedule/IMipService.php Outdated
Comment threadapps/dav/lib/CalDAV/Schedule/IMipService.php Outdated
Comment threadapps/dav/lib/CalDAV/Schedule/IMipService.php Outdated
Comment threadapps/dav/lib/CalDAV/Schedule/IMipService.php Outdated
Comment threadapps/dav/lib/CalDAV/Schedule/IMipService.php Outdated
Comment threadapps/dav/lib/CalDAV/Schedule/IMipService.php

@st3inyst3iny left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

In general there are a lot of ternary operators. I'm not a big fan because they sacrifice readability for brevity.

I tagged the ones that are a bit problematic from my point of view. I'd also prefer some of the others to be refactored to regular if statements but have no hard opinions.

E.g. there are a lot of return cond ? a : b constructs.


It would also be nice to have some exemplary screenshots of the new messages or concrete steps for testing.

@SebastianKrupinski

Copy link
Copy Markdown
ContributorAuthor

It would also be nice to have some exemplary screenshots of the new messages or concrete steps for testing.

For testing just create a new calendar event with at least one attendee that has a valid email address.

Here are some screenshots of the new messages...

Singleton Partial Day Event

Screenshot 2024-06-25 174246

Singleton Complete Day Event

Screenshot 2024-06-25 175756

Recurring Daily Event

Screenshot 2024-06-25 174523

Recurring Weekly Event

Screenshot 2024-06-25 174959

Recurring Bi-Weekly Event

Screenshot 2024-06-25 175235

Recurring Month Event with Absolute Date

Screenshot 2024-06-25 175425

Recurring Monthly Event with Relative Date

Screenshot 2024-06-25 175615

Comment threadapps/dav/lib/CalDAV/Schedule/IMipService.php Outdated
Comment threadapps/dav/lib/CalDAV/EventReaderRDate.php Outdated
Comment threadapps/dav/lib/CalDAV/EventReaderRRule.php Outdated
Comment threadapps/dav/lib/CalDAV/EventReaderRRule.php
Comment threadapps/dav/lib/CalDAV/EventReaderRRule.php Outdated
Comment threadapps/dav/lib/CalDAV/EventReaderRRule.php Outdated
Comment threadapps/dav/lib/CalDAV/EventReader.php Outdated
Comment threadapps/dav/lib/CalDAV/EventReader.php Outdated
Comment threadapps/dav/lib/CalDAV/EventReader.php
Comment threadapps/dav/lib/CalDAV/EventReader.php
Comment threadapps/dav/lib/CalDAV/Schedule/IMipService.php
Comment threadapps/dav/lib/CalDAV/Schedule/IMipService.php
Comment threadapps/dav/lib/CalDAV/Schedule/IMipService.php
Comment threadapps/dav/lib/CalDAV/Schedule/IMipService.php
@SebastianKrupinski
SebastianKrupinskiforce-pushed the feature/recurrence-invitations2 branch from 7940339 to fb4cf4aCompareJuly 9, 2024 14:52
@SebastianKrupinskiSebastianKrupinski added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Jul 9, 2024

@st3inyst3iny left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM! Extensive unit tests are great.

@SebastianKrupinski
SebastianKrupinskiforce-pushed the feature/recurrence-invitations2 branch from fb4cf4a to f60780eCompareJuly 17, 2024 15:35
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
@SebastianKrupinski
SebastianKrupinskiforce-pushed the feature/recurrence-invitations2 branch from f60780e to 43ee948CompareJuly 17, 2024 23:11
@SebastianKrupinski
SebastianKrupinski merged commit 31d051a into masterJul 18, 2024
@SebastianKrupinski
SebastianKrupinski deleted the feature/recurrence-invitations2 branch July 18, 2024 10:57
@blizzzblizzz mentioned this pull request Jul 24, 2024
bb4242 added a commit to bb4242/nextcloud-server that referenced this pull request Jan 6, 2025
See nextcloud/calendar#5706
and FossifyOrg/Calendar#135
This issue was previously fixed in
nextcloud#44938, but seems to have
reverted in nextcloud#45547
Signed-off-by: Brett Bethke <10068296+bb4242@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsbugfeature: caldavRelated to CalDAV internalsfeedback-requested

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Event update email unclear with recurrence exceptions

8 participants

@SebastianKrupinski@AndyScherzinger@ChristophWurst@st3iny@kesselb@miaulalala@github-advanced-security@solracsf