Skip to content

#5308 Fix the error when sending password-protected emails that contain emojis - #5321

Merged
sosnovsky merged 25 commits into
masterfrom
issue-5308-fix-email-sending-issue-for-recipient-email-containing-emoji
Oct 3, 2023
Merged

#5308 Fix the error when sending password-protected emails that contain emojis#5321
sosnovsky merged 25 commits into
masterfrom
issue-5308-fix-email-sending-issue-for-recipient-email-containing-emoji

Conversation

@martgil

@martgil martgil commented Jul 23, 2023

Copy link
Copy Markdown
Collaborator

This PR adds .stripEmojis() to strip out emojis of the recipient contact's name.

close #5308


Tests (delete all except exactly one):

  • Tests added or updated

To be filled by reviewers

I have reviewed that this PR... (tick whichever items you personally focused on during this review):

  • addresses the issue it closes (if any)
  • code is readable and understandable
  • is accompanied with tests, or tests are not needed
  • is free of vulnerabilities
  • is documented clearly and usefully, or doesn't need documentation

@martgil
martgil requested a review from sosnovsky as a code owner July 23, 2023 09:26
@martgil
martgil marked this pull request as draft July 23, 2023 09:26
@martgil martgil changed the title #5308 Fix the error when sending password-protected emails that contain emojis. #5308 Fix the error when sending password-protected emails that contain emojis Jul 23, 2023
@martgil
martgil marked this pull request as ready for review July 29, 2023 06:53
@martgil

martgil commented Jul 29, 2023

Copy link
Copy Markdown
Collaborator Author

Manual test:

Screencast.from.2023-07-29.14-57-12.webm

@martgil

martgil commented Jul 29, 2023

Copy link
Copy Markdown
Collaborator Author

@sosnovsky ready for review. thank you.

@sosnovsky sosnovsky left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Works well 👍 Just a couple small improvements needed

Comment thread extension/js/common/platform/xss.ts Outdated
Comment thread extension/chrome/elements/compose-modules/compose-input-module.ts Outdated
@martgil
martgil marked this pull request as draft July 31, 2023 10:51
Comment thread extension/js/common/platform/xss.ts Outdated
@martgil
martgil marked this pull request as ready for review August 2, 2023 07:24
@martgil
martgil requested a review from sosnovsky August 2, 2023 07:24
@martgil

martgil commented Aug 2, 2023

Copy link
Copy Markdown
Collaborator Author

ready for review again. thank you.

@martgil
martgil marked this pull request as draft August 2, 2023 08:10
@martgil

martgil commented Aug 2, 2023

Copy link
Copy Markdown
Collaborator Author

marking back to draft state a better solution can be discussed at #5308

@martgil
martgil marked this pull request as ready for review September 27, 2023 11:43
@martgil

martgil commented Sep 27, 2023

Copy link
Copy Markdown
Collaborator Author

@sosnovsky Ready for review. thank you!

Comment thread extension/js/common/platform/xss.ts
Comment thread extension/chrome/elements/compose-modules/compose-input-module.ts Outdated
Comment thread test/source/tests/compose.ts
@martgil
martgil marked this pull request as draft September 28, 2023 11:50
@martgil
martgil marked this pull request as ready for review September 30, 2023 11:58
@martgil
martgil requested a review from sosnovsky September 30, 2023 11:59
@martgil

martgil commented Sep 30, 2023

Copy link
Copy Markdown
Collaborator Author

@sosnovsky ready for review. thank you!

Comment thread extension/chrome/elements/compose-modules/compose-recipients-module.ts Outdated
Comment thread test/source/tests/compose.ts Outdated
@martgil
martgil requested a review from sosnovsky October 2, 2023 09:27
Comment thread extension/chrome/elements/compose-modules/compose-recipients-module.ts Outdated
Comment thread extension/chrome/elements/compose-modules/compose-recipients-module.ts Outdated
Comment thread extension/chrome/elements/compose-modules/compose-recipients-module.ts Outdated
Comment thread extension/chrome/elements/compose-modules/compose-recipients-module.ts Outdated
Comment thread extension/chrome/elements/compose-modules/compose-recipients-module.ts Outdated
Comment thread extension/js/common/api/account-servers/external-service.ts
@martgil
martgil requested a review from sosnovsky October 3, 2023 04:38
Comment thread test/source/mock/google/strategies/send-message-strategy.ts Outdated
@martgil

martgil commented Oct 3, 2023

Copy link
Copy Markdown
Collaborator Author

@sosnovsky This should be all good and ready to merge. thanks!

@martgil
martgil requested a review from sosnovsky October 3, 2023 07:08

@sosnovsky sosnovsky left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Yeah, all good now 👍

@sosnovsky
sosnovsky merged commit c75fca5 into master Oct 3, 2023
@sosnovsky
sosnovsky deleted the issue-5308-fix-email-sending-issue-for-recipient-email-containing-emoji branch October 3, 2023 07:09
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.

Unable to send password messages if the contact name retrieved from contacts.google.com includes emoji

2 participants