130 Commits (3357108b5200c051e2b2cc4add2a0bf4e91f302d)

Author SHA1 Message Date
Mark Steve Samson 7ee99cd6ac Fixed extra indention on methods below fetch 11 years ago
Mark Steve Samson 0b712c3a9a Fixed indention in `ImapConnection.fetch` args doc 11 years ago
mscdex 6de8d3834e re-word documentation slightly 11 years ago
mscdex f62659a523 re-add node 0.6 compatibility 11 years ago
mscdex 23463b1e8f update node requirement 11 years ago
mscdex b7a8c2114e fix missing require for first example and fix example spacing in readme 11 years ago
mscdex 6303fe2adf document connected and authenticated properties 11 years ago
mscdex 44fb676910 fix unsolicited fetch response detection 11 years ago
mscdex a730e0d0da fix readme style 11 years ago
mscdex 4398a801e4 remove displayName 11 years ago
Brian White 6c3d6568c5 fix fetch() options a bit and don't default to fetching body structure 11 years ago
Brian White f36958f4cc update readme 11 years ago
Brian White ad40107344 update example 11 years ago
Brian White 42871d1285 allow `headers` to be a string for fetch() 11 years ago
Brian White 2029bd9da3 default to all fields for undefined `headers.fields` for fetch() 11 years ago
Brian White dfb729b140 fix readme style 12 years ago
Brian White 2d0772ac56 remove example 12 years ago
mscdex c709348849 Update more documentation to reflect fetch() rewrite 12 years ago
mscdex 3ed5cc54d1 partial update for readme post-fetch() rewrite 12 years ago
Brian White 9e4223019f fix one last typo 12 years ago
Brian White e24cc45b13 fix typo 12 years ago
Brian White d00135d4d6 try to be a bit clearer about where the extra gmail properties are stored 12 years ago
Brian White ec01e96e2b Add UTF-7 support where needed for mailbox names 12 years ago
Brian White dbf5a9d6aa Change readme markdown syntax to appease Github 12 years ago
Brian White 321387c0e6 Fix confusing unseen mailbox count behavior 12 years ago
Brian White 1265ebd501 Make sort() criteria doc style match that of search()'s 12 years ago
Brian White 03aa1b0c2b Document uidnext 12 years ago
Brian White 61300babde Fix docs: validity should be uidvalidity 12 years ago
Brian White dc1bca241f Improve sort() documentation 12 years ago
Brian White b3e47568bf Add documentation for sort() 12 years ago
Brian White aa2d6931b0 Add documentation for unseen message count and reword message counts descriptions 12 years ago
Brian White 8376ee1559 Add uidvalidity event and make uidvalidity, uidnext, etc consistently an integer 12 years ago
Brian White f4641e9523 Add readOnly attribute to mailbox object when opening 12 years ago
Brian White d00edf7f2c Fix property doc style 12 years ago
Brian White 36d65c6d8f Add xoauth2 support 12 years ago
Stuart Carnie 12d979f976 Move APIs to Gmail Extensions 12 years ago
Stuart Carnie 295d6ffd06 Added support to add/remove X-GM-LABELS 12 years ago
Brian White 4c9f28f910 Re-wording 12 years ago
Brian White 56f7e5953a Remove mystery variable in examples 12 years ago
Brian White a66bfe807c Update documentation 12 years ago
Brian White 2dc948c75a Change ID->UID in readme to more closely match IMAP terminology 12 years ago
Brian White b8689f8335 Document debug config option 12 years ago
Chotiwat Chawannakul 23779f307f Fix typo. Update delim to delimiter in readme. 12 years ago
Brian White dfc511a552 Add documentation for status() 12 years ago
Brian White b30ce27923 Add note in readme about using a list of sequence numbers as a criteria when searching 12 years ago
Brian White 303f53bdfb Minor readme style fix 12 years ago
Brian White df0f24a4da Fix style in readme 12 years ago
Brian White 07624f1f37 Re-work the readme 12 years ago
Brian White 0c9baf755d Use node's built-in HTTP parser for headers or headers and bodies 12 years ago
Brian White f2f1086ae8 Document xoauth config property 12 years ago
Brian White bad4584e50 Fix readme markdown rendering some more
Closes #65
12 years ago
Brian White 635e521ff6 Fix markdown parsing in readme 12 years ago
Brian White d6ea43d36e Update TODO 12 years ago
Brian White 2e9f05e968 Adjust link (mime.js->mimelib) in readme 12 years ago
Brian White fd31fd53f3 Minor doc update 12 years ago
Andrew Jessup 0b319c31a0 Updates .append() and ._send() to support Buffers, .append() to use a configuration object, and some code tidying 12 years ago
Andrew Jessup f8f923a6d0 Addded basic support for APPEND command 12 years ago
Brian White c77f652a28 Add namespaced sequence number-based functions and remove some unnecessary try-catch blocks 13 years ago
Rubycut 852558acde Add installation instructions. 13 years ago
Brian White 42b71ce503 Add sequence number to fetched messages and emit two new connection events: 'deleted' and 'msgupdate'. 13 years ago
Brian White d0d078cbe4 Added support for most of Gmail's IMAP extensions and made the server's capabilities array public 13 years ago
Benoît Zugmeyer 0b380017fc Allow ALL in search queries 13 years ago
Brian White 04753b2423 Add ability to fetch an entire email message (including headers) by specifying 'full' for the body property with fetch(). 13 years ago
Brian White ab6403735c Simplify and fix parsing of message structures and mailbox namespaces 13 years ago
Brian White 7a9ae9f9bd Fix README markdown format so it renders correctly on github. 13 years ago
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 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 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 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