Skip to content

IMAP 서버 CAPABILITY 저장과 계정 화면 수신 방식 표시 - #69

Merged
littlebit0 merged 12 commits into
mainfrom
feat/issue-32-imap-capabilities
Nov 26, 2026
Merged

littlebit0 merged 12 commits into
mainfrom
feat/issue-32-imap-capabilities

Conversation

@littlebit0

Copy link
Copy Markdown
Owner

Refs

Refs #32

배경

레지스트리의 supportsIdle 고정값만 있어 실제 서버가 IDLE을 지원하는지 알 수 없고, 계정 화면에도 수신 방식이 보이지 않는다.

변경

  • IMAP 로그인 직후(검증·감시·동기화 연결) client.capabilities에서 IDLE/MOVE/SPECIAL-USE/CONDSTORE를 읽어 MailAccount.incomingCapabilities로 저장(선택 필드, 기존 계정과 호환). 감시 연결 성공 시 서버가 계정을 저장.
  • 계정 상세에 "수신 방식: 실시간(IDLE) / 주기 확인 / 확인 전"과 확인 시각 표시(한국어·영어).

검증

  • 서버 tsc, 테스트 24개 통과(imapCapabilities 신규). 클라이언트 analyze, 테스트 16개 통과(수신 방식 위젯 테스트 추가).
  • macOS 디버그 빌드 실행 확인: 빈 서버에서 앱과 계정관리 화면까지 열림. 계정 추가는 하지 않아 상세의 새 행은 위젯 테스트로만 확인.

미확인/후속

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-26T19:21:12.626609Z
We couldn’t complete this review. Comment @codex review to try again.
ffed202 New commits
🔒 Security Review ✅ Completed 2026-11-21T15:53:08.511720Z c97102e Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3445ca4106

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

서버가 IDLE을 광고해도 provider가 supportsIdle=false(custom 등)이면 watch()가
IDLE을 쓰지 않으므로 incomingCapabilities.idle을 false로 저장한다.
@littlebit0

Copy link
Copy Markdown
Owner Author

Codex 지적 1건을 c97102e에서 반영했습니다.

@codex review

언어 (최우선)

리뷰 제목·본문·요약·지적 사항은 모두 한국어로 작성하세요.

댓글작성

지적은 문제, 재현 조건, 수정 방향 순서로 짧게 쓰세요.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. More of your lovely PRs please.

Reviewed commit: c97102ea4e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review · Automatically triggered

Security review completed. No security issues were found in this pull request.

Reviewed commit: c97102ea4e

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

…pabilities

# Conflicts:
#	apps/server/package.json
#	apps/server/src/domain/types.ts
#	apps/server/src/mail/ImapReceiver.ts
#	apps/server/src/workers/MailSyncWorker.ts
main의 폴링 대체(PR 24)는 계정 재정의까지 반영해 IDLE 사용 여부를 정한다. 수신 방식 기록도 같은 기준을 쓴다.
…pabilities

# Conflicts:
#	apps/server/package.json
…pabilities

# Conflicts:
#	apps/server/package.json
…pabilities

# Conflicts:
#	apps/server/package.json
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

…pabilities

# Conflicts:
#	apps/server/package.json
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

…pabilities

# Conflicts:
#	apps/server/package.json
…pabilities

# Conflicts:
#	apps/server/package.json
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

…pabilities

# Conflicts:
#	apps/client/lib/services/mail_api_client.dart
#	apps/client/test/widget_test.dart
#	apps/server/package.json
#	apps/server/src/domain/types.ts
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@littlebit0
littlebit0 merged commit 1ebbc5a into main Nov 26, 2026
2 checks passed
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.

1 participant