tracking: Integrate imap-codec. #222

Open
opened 2023-05-30 12:28:16 +03:00 by duesee · 2 comments

Leaving this issue here so that we have something to reference in the code.

These are some things we still need to do:

  • Sending commands.

    • Replace remaining send_command_raw(&[u8]) instances.
      • Some instances can not be changed until imap-codec supports the relevant IMAP capability, i.e..,
        • LIST \"{}\" \"\" RETURN (STATUS (MESSAGES UNSEEN))
        • (CHANGEDSINCE {})
      • Some instances can already be refactored but I need to understand what the code should do in the first place :-)
  • Receiving responses.

    • Unify types ...
      • Query (meli) vs SearchKey (imap-codec)
      • Envelope (meli) vs Envelope (imap-codec)
      • Flag (meli) vs Flag (imap-codec)
      • ...
    • Replace read_response.
Leaving this issue here so that we have something to reference in the code. These are some things we still need to do: * Sending commands. * [ ] Replace remaining `send_command_raw(&[u8])` instances. * Some instances can not be changed until imap-codec supports the relevant IMAP capability, i.e.., * `LIST \"{}\" \"\" RETURN (STATUS (MESSAGES UNSEEN))` * `(CHANGEDSINCE {})` * Some instances can already be refactored but I need to understand what the code should do in the first place :-) * Receiving responses. * [ ] Unify types ... * `Query` (meli) vs `SearchKey` (imap-codec) * `Envelope` (meli) vs `Envelope` (imap-codec) * `Flag` (meli) vs `Flag` (imap-codec) * ... * Replace `read_response`.

@duesee what remains of this task now that IMAP requests are merged?

@duesee what remains of this task now that IMAP requests are merged?
Poster
Owner

A bit from everything :-) I planed to proceed with response handling early next week.

Most items above are bound to response handling, i.e., Query, Envelope, read_response. But there are some better APIs that we can also use to make the last imap-codec PR nicer.

I'll update this issue as I go.

A bit from everything :-) I planed to proceed with response handling early next week. Most items above are bound to response handling, i.e., `Query`, `Envelope`, `read_response`. But there are some better APIs that we can also use to make the last imap-codec PR nicer. I'll update this issue as I go.
Manos Pitsidianakis added the
IMAP
label 2023-07-02 18:38:10 +03:00
Manos Pitsidianakis added this to the Integrate imap-codec into IMAP backend project 2023-07-02 18:39:38 +03:00
Manos Pitsidianakis pinned this 2023-07-24 11:54:21 +03:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: meli/meli#222
There is no content yet.