618 Commits (3357108b5200c051e2b2cc4add2a0bf4e91f302d)
 

Author SHA1 Message Date
Brian White 0ed5b5b32f Update TODO 13 years ago
Brian White 5aaa70e68f 0.4.0 compatibility. 0.2.x no longer supported. 13 years ago
Brian White d9e705dea8 Modify fetch() to be async and to no longer buffer message bodies. Fix NOOP handling. 13 years ago
Brian White b9718b5402 Add configurable debug function in constructor options and incorporate a few fixes. 13 years ago
Brian White 093f95006c Initial commit of package.json. 14 years ago
Brian White 2a6d162025 More refactoring, fixes, and additional features.
copy(), move(), fetch(), *Flags(), and *Keywords() methods now allow multiple message IDs.

move() now actually expunges the original message after copying, rather than merely setting the Deleted flag.

Removed command-specific items from the global state data and greatly simplified the populating of callback arguments.

Smarter literal data handling.

search() no longer goes kaput when no messages match the given criterion.

fetch() now always passes an Array to the callback.

Only pass the mailbox object to the callback for openBox() and renameBox().

Added UID criteria for search().

Fixed parsing of FETCH responses and added the message ID to the object generated by the FETCH parser.
14 years ago
Brian White 1519eb3043 Lots of additions and fixes.
Mailbox namespaces (if supported by the server) are now available as a property of ImapConnection and is automatically populated right after login.

The server's (top-level) mailbox hierarchy delimiter is also now available as a property of ImapConnection.

Reverted changes to allow reuse of an ImapConnection instance (for now).

Mailbox and message flags now no longer include the backslash prefix. Additionally, the preceding backslash for flags is not needed for functions that accept flags.

Added additional mailbox-specific methods: getBoxes, addBox, delBox, and renameBox.

Added additional message-specific methods: addKeywords, delKeywords, copy, and move.

Added keyword search option.

Refactored parsing functions a bit to make things a little more DRY.
14 years ago
Brian White 4af7472a7b Implement "OR" for message search. 14 years ago
Brian White e45b904800 Implemented configurable connection timeout.
Update and fix for README too.
14 years ago
Brian White a10f9539f0 Fix README layout issue. 14 years ago
Brian White 09b2fe0968 Swap out regex used for parsing FETCH responses for a real parser. Not all IMAP servers respond with the requested FETCH data in the same order. 14 years ago
Brian 0bc8f47e97 Added the ability to specify a byte range when fetching a message's (raw or part) body. Fixed a bug that was causing flags to not be added or removed at all. Lastly, a list of available permanent flags for the current mailbox is now available under the permFlags property of the mailbox object. 14 years ago
Brian 0c5ed3df53 Added support for IMAP STORE and EXPUNGE commands, fixed parsing of dispositions with NIL parameters in BODYSTRUCTUREs, and fixed the regex for capturing the BODYSTRUCTURE sent by the server. 14 years ago
Brian c45ab05455 Fixed error in README. 14 years ago
Brian e87b527fc3 Add license. 14 years ago
Brian 392b42bd3f A few more README changes. 14 years ago
Brian 66f3d87e18 Fix README style issues. 14 years ago
Brian 0d593c4b0c Initial commit. 14 years ago