Skip to content

feat(imessage-2fa): add support for the 2FA from Epos Card Japan - #22593

Merged
raycastbot merged 4 commits into
raycast:mainfrom
clins1994:ext/imessage-2fa
Nov 8, 2025
Merged

raycastbot merged 4 commits into
raycast:mainfrom
clins1994:ext/imessage-2fa

Conversation

@clins1994

@clins1994 clins1994 commented Nov 2, 2025 •

Copy link
Copy Markdown
Contributor

Description

✅ Add support for the 2FA from Epos Card Japan 👍

Tests

✅ Add a unit test for it
✅ Ran locally (see screenshot)

imessage-2fa 2025-11-03 at 00 50 18

Considerations

We could try to ask AI to extract these codes as a fallback 💡

If I run into the same issue again I'll try to do it ...

@raycastbot raycastbot added extension fix / improvement Label for PRs with extension's fix improvements extension: imessage-2fa Issues related to the imessage-2fa extension platform: macOS labels Nov 2, 2025
@raycastbot

ghost commented Nov 2, 2025 •

Copy link
Copy Markdown
Collaborator

Thank you for your contribution! 🎉

🔔 @yuercl @thomaspaulmann @arronhunt @ronaldheft @hitolaus @taschaub @omaerkhan you might want to have a look.

You can use this guide to learn how to check out the Pull Request locally in order to test it.

You can expect an initial review within five business days.

ghost left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Greptile Overview

Greptile Summary

This PR adds internationalization support for Japanese 2FA messages by extending the code extraction logic to handle full-width colons (:) commonly used in Japanese text. The changes modify regex patterns throughout the extractCode function to support both regular ASCII colons (:) and Japanese full-width colons (:), specifically targeting Epos Card2FA messages in Japan. The Japanese keyword "パスワード" (password) is also added to the supported pattern matching. This enhancement maintains full backward compatibility with existing functionality while expanding the extension's usability for Japanese users.

Important Files Changed

Filename Score Overview
extensions/imessage-2fa/src/utils.ts 5/5 Updated regex patterns to support full-width colons and Japanese "パスワード" keyword for 2FA code extraction
extensions/imessage-2fa/src/utils.test.ts 5/5 Added test case for Japanese Epos Card 2FA message with full-width colon pattern

Confidence score: 5/5

  • This PR is safe to merge with minimal risk
  • Score reflects a well-implemented internationalization enhancement with proper test coverage and backward compatibility
  • No files require special attention

2 files reviewed, no comments

Edit Code Review Agent Settings | Greptile

@clins1994 clins1994 changed the title add support for Japanese full-width colons in 2FA code extraction feat(imessage-2fa): add support for the 2FA from Epos Card Japan Nov 2, 2025

ghost left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@raycast-extensions-bot raycast-extensions-bot Bot added the Approved Approved by a user label Nov 8, 2025
@pernielsentikaer pernielsentikaer self-assigned this Nov 8, 2025

ghost left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good to me, approved 🔥

@raycastbot
raycastbot merged commit 52b198d into raycast:main Nov 8, 2025
@github-actions

ghost commented Nov 8, 2025

Copy link
Copy Markdown
Contributor

@raycastbot

ghost commented Nov 8, 2025

Copy link
Copy Markdown
Collaborator

🎉 🎉 🎉

We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag.

@clins1994
clins1994 deleted the ext/imessage-2fa branch April 4, 2026 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Approved Approved by a user extension fix / improvement Label for PRs with extension's fix improvements extension: imessage-2fa Issues related to the imessage-2fa extension platform: macOS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants