620 Commits (fork)
 

Author SHA1 Message Date
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
Brian White f96816c5f6 Style changes and re-instate error message to login callback when no support auth available 12 years ago
Bruno Morency 1b50f88949 Use XLIST on instead of LIST if supported by server and stop filtering mailbox attributes when parsing the response. 12 years ago
Bruno Morency 7e3eb1059b Support OAuth for authentication if server has AUTH=XOAUTH capability 12 years ago
Brian White 7f7389779a Merge pull request #53 from vedmalex/master
fixed: unlimited error loop
12 years ago
vedmalex 545198b378 fixed: issue with error loop in pipe code
so this code make error recurrung call and as the result stack overflow when come things wrong with connection lost connection or dns lookup failed

  var cleartext = pair.cleartext;
  cleartext.socket = socket;

  function onerror(e) {
    if (cleartext._controlReleased)
      cleartext.socket.emit('error', e);// in this line we call emit error event in recurring way. 
  }

  socket.on('error', onerror);// this code the same as cleartext.socket.on('error', onerror)
12 years ago
Brian White 2a9dda2723 Bump version 12 years ago
Brian White 359498abe9 Do not modify Buffer prototype in case some other module does, with the same function name 12 years ago
Brian White a63a609260 Bump version 12 years ago
Brian White fd31fd53f3 Minor doc update 12 years ago
Brian White af0ca9bab4 Allow options object for append() to be completely optional 12 years ago
Brian White 2b320b12b6 Force IDLE extension support to wait for continuation from server 12 years ago
Brian White 68b5ad0c58 Merge pull request #45 from noosbox/master
Add support for APPEND -- thanks @ajessup
12 years ago
Andrew Jessup 7981e3e0e5 Removes spurious line break in APPEND 12 years ago
Andrew Jessup 85ac886d00 Ignores continuation commands due to IDLE 12 years ago
Andrew Jessup 681da750db Strips out spurious debugger breaks 12 years ago
Andrew Jessup 189e4c4e4e Adds correct respect for contiunation responses following APPEND 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