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

feat: [ZIF-982] remove message size check on save draft #471

Merged
merged 14 commits into from
Apr 3, 2024
Merged

Conversation

frisonisland
Copy link
Contributor

@frisonisland frisonisland commented Mar 28, 2024

Removes check on email size when saving a draft (see first commit).

All other changes are about light-refactoring (method names, visibility, inlined values, private methods) of ParseMimeMessage in its own package and tests. Some private methods have been simplified as they were called only with arguments always having the same value, so value has been inlined.
Thanks to this refactor, test and analysis we identified 3 major usages for ParseMimeMessage:

  • parsing a send an email soap request
  • parsing a save draft soap request
  • parsing a calendar/invite soap request

@frisonisland frisonisland changed the title chore: [ZIF-982] chore: [ZIF-982] remove message size check on save draft Mar 28, 2024

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

1 similar comment

This comment has been minimized.

This comment has been minimized.

@frisonisland frisonisland marked this pull request as ready for review April 3, 2024 08:16
@frisonisland frisonisland requested a review from a team as a code owner April 3, 2024 08:16
@frisonisland frisonisland requested review from sonersivri, danielemegna and ppolito-zextras and removed request for a team April 3, 2024 08:16
Copy link

Failed

  • 74.80% Coverage on New Code (is less than 80.00%)

Analysis Details

0 Issues

  • Bug 0 Bugs
  • Vulnerability 0 Vulnerabilities
  • Code Smell 0 Code Smells

Coverage and Duplications

  • Coverage 74.80% Coverage (27.40% Estimated after merge)
  • Duplications 0.17% Duplicated Code (2.90% Estimated after merge)

Project ID: zextras:zm-mailbox

View in SonarQube

@frisonisland frisonisland changed the title chore: [ZIF-982] remove message size check on save draft feat: [ZIF-982] remove message size check on save draft Apr 3, 2024
@frisonisland frisonisland merged commit d9114e5 into devel Apr 3, 2024
2 of 3 checks passed
@frisonisland frisonisland deleted the ZIF-982 branch April 3, 2024 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants