Skip to content

Conversation

@kesselb
Copy link
Collaborator

@kesselb kesselb commented Jul 3, 2025

Summary

TODO

  • Manual testing mail provider
  • Manual testing fallback

Checklist

@kesselb kesselb self-assigned this Jul 3, 2025
@kesselb kesselb added the 2. developing Work in progress label Jul 3, 2025
@kesselb kesselb added this to the Nextcloud 32 milestone Jul 3, 2025
@kesselb kesselb marked this pull request as ready for review July 3, 2025 19:05
@kesselb
Copy link
Collaborator Author

kesselb commented Jul 3, 2025

cc @ChristophWurst, could you do a smoke test with evolution?

@kesselb kesselb added feature: caldav Related to CalDAV internals 3. to review Waiting for reviews and removed 2. developing Work in progress labels Jul 3, 2025
Copy link
Member

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

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

The invites you have forwarded are processed correctly by Evolution 👍

@kesselb kesselb force-pushed the bug/53811/charset-imip branch 3 times, most recently from 9c5f7a0 to f807249 Compare July 6, 2025 17:47
kesselb added 2 commits July 6, 2025 20:06
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
@kesselb kesselb force-pushed the bug/53811/charset-imip branch from f807249 to 4dee178 Compare July 6, 2025 18:06
@kesselb
Copy link
Collaborator Author

kesselb commented Jul 6, 2025

Hi,

I wanted a test to ensure we are not losing that requirement for charset=utf-8 in a future change, as it’s a detail that’s easy to miss.

The IMipPlugin sends emails for iTIP messages (e.g. calendar invitations or updates). That involves a couple of dependencies needed to get the job done. It’s therefore no surprise that our unit tests for IMipPlugin make heavy use of test doubles. I often find it hard to find out the actual purpose of a test because the majority of the test code is mocking dependencies.

Therefore, I opted not to add another test to IMipPluginTest but to start from scratch. While it’s currently inevitable to use mocks, I at least want to avoid mocking the “core components” IMipPlugin, IMipService, and EventComparisonService, as they are tightly coupled anyway.

IMipPluginCharsetTest still makes heavy use of test doubles, but it's hopefully a bit easier to understand and has a clearer scope.

@kesselb
Copy link
Collaborator Author

kesselb commented Jul 6, 2025

Re-requested a review, because of new test.
I would not backport the test, as it requires PHPUnit 10.

Copy link
Member

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

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

:shipit:

@kesselb kesselb merged commit f0dd367 into master Jul 7, 2025
194 checks passed
@kesselb kesselb deleted the bug/53811/charset-imip branch July 7, 2025 08:26
@kesselb
Copy link
Collaborator Author

kesselb commented Jul 7, 2025

/backport to stable31

@kesselb
Copy link
Collaborator Author

kesselb commented Jul 7, 2025

/backport to stable30

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 feature: caldav Related to CalDAV internals

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Charset for imip invitations not set to UTF-8

5 participants