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

v2: initial implementation #490

Merged
merged 131 commits into from
Mar 17, 2023
Merged

v2: initial implementation #490

merged 131 commits into from
Mar 17, 2023

Conversation

emersion
Copy link
Owner

@emersion emersion commented Mar 11, 2023

  • Hangs when a parse error happens in a FETCH (FetchCommand channel not closed)
  • Recover from panics in decoder goroutine
  • Figure out a better design for FetchItemDataSection
  • Figure out a better design for unilateral responses getting mixed up in regular responses
  • Add a way to test a connection's liveness (v1's LoggedOut channel)
  • Timeouts
  • Retrofit IMAP4rev1 support
  • Expose current state, capabilities, and selected mailbox data
  • Validate flags/mailbox/etc before encoding
  • Consider adding separate types for FetchItemData{Body,Binary}Section.Section
  • Parse and expose COPYUID in response to MOVE command
  • Add support for LITERAL-
  • Add IMAP4rev1 fallbacks for IDLE and MOVE
  • Add support for NAMESPACE
  • Add support for ESEARCH and SEARCH-RES

We need to register the command before endCommand: literals are
sent before the command's final CRLF. When the server refuses a
literal, it fails the whole command.
This makes it way clearer who's responsible for ending the command.
@emersion emersion added this to the v2 milestone Mar 17, 2023
@emersion
Copy link
Owner Author

Alright, I think this is a good starting point. Let's merge this and continue the work on the v2 branch.

@emersion emersion marked this pull request as ready for review March 17, 2023 12:24
@emersion emersion merged commit 79453e9 into v2 Mar 17, 2023
@emersion emersion deleted the v2-wip branch March 17, 2023 12:24
@emersion emersion mentioned this pull request Mar 17, 2023
26 tasks
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