137 Commits (975c6916e5d4db0e2bd646f16fb9cfd02ae66bef)
 

Author SHA1 Message Date
Robin Qu 975c6916e5 remove test; fix small bugs 12 years ago
Robin Qu 2965e3f889 support find uid by multiple seqno 12 years ago
Robin Qu 0153a433d6 Merge remote-tracking branch 'upstream/master' 12 years ago
Brian White 51c7348cba Merge pull request #76 from wavify/master
Fix missing message structure in fetch result
12 years ago
Robin Qu 4f9defb0a1 support sequence set for search 12 years ago
Chotiwat Chawannakul 84318676c6 Fix undefined login callback call when connection timed out 12 years ago
Chotiwat Chawannakul ca317f56d9 Fix missing message structure in fetch result 12 years ago
Chotiwat Chawannakul 3ef5ad8f18 Merge branch 'master' of https://github.com/mscdex/node-imap
Conflicts:
	imap.js
12 years ago
Brian White 0135f16e47 Add mailbox name to result for status() 12 years ago
Brian White edcfbdb797 Add status command 12 years ago
Brian White 83a3008658 Rename _supports() -> _serverSupports() 12 years ago
Brian White 7efda6cb9e Misc minor changes + be less strict on non-selectable mailboxes
Closes #58
12 years ago
Brian White af0c191ec1 Better "constant" variable naming in mimeparser 12 years ago
Brian White f9c72c9323 Misc performance improvements for utility functions 12 years ago
Brian White 21e50a9887 Use string.indexOf() since we already have a stringified version of the response chunk 12 years ago
Brian White 4f8fbcbe01 Use custom message parser instead of node core's HTTP response parser
node core's HTTP response parser's header value unfolding removes any and all whitespace when concatenating lines together.

The new custom parser also removes any and all whitespace, but replaces all of said whitespace with a single space. Some message parsers behave this way also, while others choose to only remove the CRLF and preserve any other proceeding, leading whitespace.
12 years ago
Brian White 27d2ae8c8d Save message part's disposition type where available
Closes #59

Thanks @asutherland
12 years ago
Brian White 733cb24767 Revert header collection behavior such that header values are always arrays of strings instead of only when duplicate headers are found 12 years ago
Brian White a77fa792b5 Fix error when calling validateUIDList() internally. 12 years ago
Brian White 03b4cefe84 Fix more style 12 years ago
Brian White bcacc36582 Fix capatilization of Deleted flag when moving a message 12 years ago
Brian White 0c9baf755d Use node's built-in HTTP parser for headers or headers and bodies 12 years ago
Brian White 1866d4ad88 Simplify checking of server capabilities 12 years ago
Brian White 15a2e1036b Remove unused variable 12 years ago
Brian White dc45f96e21 Use lazy debugging output and some style changes / code reorganization 12 years ago
Brian White 4053d58dd9 Add RFC reference for NAMESPACE capability 12 years ago
Brian White 36e3a1743c Add namespace parsing tests 12 years ago
Brian White 46258a961d Adjust style for FETCH response parsing tests 12 years ago
Brian White 82bf5911ac Add FETCH response parsing tests 12 years ago
Brian White 5cd24335e4 First go at code reorganization. 12 years ago
Chotiwat Chawannakul 0b1c66178c Always use LIST to get delimiter to support Cyrus IMAP server.
Signed-off-by: Brian White <mscdex@mscdex.net>
12 years ago
Chotiwat Chawannakul e0cc3a8d26 Always use LIST to get delimiter to support Cyrus IMAP server. 12 years ago
Brian White 402dabbeee Bump version 12 years ago
Brian White 29174e42e4 Fix connection-level error propagation 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 1da71e1d51 style changes 12 years ago
Brian White a3ac806638 Merge pull request #57 from fstab/master
Do not overwrite pre-existing boxes in getBoxes()
12 years ago
Fabian Stäber 1ee51e318a Complete result of getBoxes()
When I run LIST on my IMAP server, I get something like this:

. LIST "" "*"
...
* LIST (\HasNoChildren) "." "INBOX.archiv.inbox2005"
* LIST (\HasNoChildren) "." "INBOX.archiv.inbox2006"
* LIST (\HasNoChildren) "." "INBOX.archiv.inbox2007"
* LIST (\HasNoChildren) "." "INBOX.archiv.inbox2009"
* LIST (\HasChildren) "." "INBOX.archiv"
...

The current implementation overwrites the "INBOX.archiv.inbox..."
boxes as soon as "INBOX.archiv" is processed.

This is a small fix to make sure that the previously processed
boxes are not overwritten.
12 years ago
Brian White d6ea43d36e Update TODO 12 years ago
Brian White 89bf36de93 Bump version 12 years ago
Brian White 570a57dc15 Do not check for 'AUTH=PLAIN' capability when attempting to do plain-text authentication.
As per RFC 3501, all IMAP servers must implement at least plain-text authentication, whether they advertise the capability or not.
12 years ago
Brian White ec07815fa2 Add kludge for GMail because they've stopped (at least for now) advertising plaintext auth
However, plaintext auth *does* still work, it's just no longer advertised. :-\
12 years ago
Brian White 619034d356 Bump version 12 years ago
Brian White 2e9f05e968 Adjust link (mime.js->mimelib) in readme 12 years ago
Brian White 3997f92ee1 Fix plain-text logins
Fixes #54
12 years ago
Brian White 9bbb3b59b7 Remove old, commented code 12 years ago
Brian White 5ba4638734 Relax mailbox name regex 12 years ago
Brian White 5c9343dacd Make debug function per-instance instead of global 12 years ago