Repository navigation
받은 첨부파일 목록과 저장 - #66
Conversation
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2bc0a8c6ce
ℹ️ 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".
|
Codex 지적 2건을 e284391에서 반영했습니다. @codex review 언어 (최우선)리뷰 제목·본문·요약·지적 사항은 모두 한국어로 작성하세요. 댓글작성지적은 문제, 재현 조건, 수정 방향 순서로 짧게 쓰세요. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e284391d00
ℹ️ 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".
|
Codex Review: Didn't find any major issues. Breezy! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
There was a problem hiding this comment.
🛡️ Codex Security Review · Automatically triggered
Here are some automated security review suggestions for this pull request.
Reviewed commit: bcd2b54e04
ℹ️ 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.
실제 사용자 인증(#20) 전까지 네트워크 호출자가 첨부 원문을 받지 못하게 막는다. ALLOW_REMOTE_MAIL_ACCESS=true로만 원격 허용.
|
Codex 지적 1건을 9d9f379에서 반영했습니다. @codex review 언어 (최우선)리뷰 제목·본문·요약·지적 사항은 모두 한국어로 작성하세요. 댓글작성지적은 문제, 재현 조건, 수정 방향 순서로 짧게 쓰세요. |
loopback 요청이라도 Host가 loopback이 아니거나 Origin 헤더가 있으면(브라우저 경유, DNS 리바인딩) 403으로 막는다. ALLOW_REMOTE_MAIL_ACCESS=true면 모두 허용.
|
Codex Review: Didn't find any major issues. Chef's kiss. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
IMAP BODYSTRUCTURE 크기는 전송 인코딩 크기라 실제 파일보다 크게 보였다. base64 파트는 줄바꿈 오버헤드를 빼고 3/4로 환산한 추정 크기를 반환한다.
|
실제 macOS 앱 확인에서 나온 문제: 첨부 크기가 IMAP 인코딩 크기로 표시됨(실제 3,655B 파일이 5,012B로 표시).
커밋: 4809bd6 @codex review 언어 (최우선)리뷰 제목·본문·요약·지적 사항은 모두 한국어로 작성하세요. 댓글작성지적은 문제, 재현 조건, 수정 방향 순서로 짧게 쓰세요. |
|
Codex Review: Didn't find any major issues. Chef's kiss. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
🛡️ Codex Security Review · Automatically triggeredSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
…ents # Conflicts: # apps/server/package.json
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8980cdef8b
ℹ️ 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".
…ents # Conflicts: # apps/server/package.json # apps/server/src/mail/Pop3Receiver.ts
- 본문 전체가 첨부인 단일 파트 메일의 루트를 part 1로 정규화해 목록·다운로드에 포함 - inline/무disposition text/plain·text/html 첨부는 ImapFlow download의 UTF-8 변환·format=flowed 해제를 피해 BODY[] 원문을 받아 전송 인코딩만 디코딩
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
…ents # Conflicts: # apps/server/package.json
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
…ents # Conflicts: # apps/server/package.json
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
…ents # Conflicts: # apps/server/package.json
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
…ents # Conflicts: # apps/server/package.json
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
…ents # Conflicts: # apps/server/package.json
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
…ents # Conflicts: # apps/client/lib/services/mail_api_client.dart # apps/client/macos/Flutter/GeneratedPluginRegistrant.swift # apps/client/pubspec.lock # apps/client/pubspec.yaml # apps/client/test/widget_test.dart # apps/server/.env.example # apps/server/package.json # apps/server/src/api/routes.ts # apps/server/src/domain/types.ts # apps/server/src/mail/ImapReceiver.ts # apps/server/src/server.ts
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Refs
Refs #28
배경
받은 메일의 첨부가 있다는 것만 알 수 있고 열거나 저장할 수 없었다. 제안서 1단계(받은 첨부 목록과 저장)를 구현한다.
변경
attachments(part, 파일명, MIME, 크기)를 추가하고,GET /accounts/:accountId/messages/:messageId/attachments/:part가 IMAP 파트를 캐시 없이 스트리밍한다(파일명은 RFC 5987 인코딩). 파일명 디코딩은 imapflow의 RFC 2231 처리에 의존한다.file_selector저장 대화상자, dio 다운로드). macOS 샌드박스에files.user-selected.read-write권한 추가.검증
미확인/후속
cid:인라인 이미지는 후속. [보안] 인증 없는 메일 API가 모든 웹사이트(CORS)와 같은 네트워크에 열려 있음 #20(인증 없는 API) 선행 권장.