105 Commits (1ba7be01793fa6ac6d35704ac2edeb127ca794f8)

Author SHA1 Message Date
Brian White 1ba7be0179 Connection: change argument check 10 years ago
Brian White 48871df508 Connection: fix IDLE for enqueue after next tick 10 years ago
Brian White 1aed2f7938 Connection: fix style 10 years ago
Brian White 1fc2d7a089 Connection: wait for continuation before DONE 10 years ago
Patrick McCarren 9a56390e59 Added append LITERAL+ extension support
The client will automatically detect if the server supports
LITERAL+ during an append, and if so, will immediately send
the message data. This allows messages to be append to a
Microsoft Exchange server.
10 years ago
Brian White 6d7dfe18d4 Connection: fix style 10 years ago
Andreas Fischer c9f241700f Allow existing Socket object to be injected. 10 years ago
Ângela Igreja efd9ad23ac Actually parse the uidnext response in the status call. 10 years ago
Brian White 5348216781 Connection: don't disable keepalive timer on socket 'error' 10 years ago
Brian White a4be10ce13 Connection: once->on in case of multiple socket errors 10 years ago
Ângela Igreja ada57df5b9 Fix silly typo.
It's too late in the evening.
10 years ago
Ângela Igreja 12554368fe Allow the user supplied tlsOptions to overridde the host name used for certification validation. 10 years ago
Ângela Igreja 9c2a92b184 Fix the need for rejectUnauthorized being false. The tlsOptions object should include a host for certificate verification. 10 years ago
Ângela Igreja 2d5f15b282 Fixed imap.status not returning with UIDNEXT. 10 years ago
Brian White 26aede8408 style change and lint 10 years ago
Brian White 15ee85e7b9 Connection: lint 10 years ago
Brian White 060a50a6e8 Connection: add configurable authentication timeout 10 years ago
Brian White a607d1edae Connection: convert `bodies` specifiers to strings before parsing 10 years ago
Brian White 9e16442688 Connection: fix 'mail' event argument 10 years ago
Brian White c94cc42a84 Connection: add guard in destroy() 10 years ago
Chotiwat Chawannakul 01c855ea08 Connection: fix an issue with mailboxes that don’t support modseq (NOMODSEQ) 10 years ago
Brian White bf919af813 Connection: ensure non-empty seqno/uid lists 10 years ago
Brian White 4a56566590 Merge pull request #323 from dominikgehl/dgl/RFC6154
added special_use_attrib
10 years ago
Brian White 93308c64e5 Connection: for BODY[] part expressions, switch from string comparison to parsed expression comparison 11 years ago
Brian White 6084484218 Connection: for NOOP, make sure to re-NOOP when still idle 11 years ago
Dominik Gehl 38373c34d7 added special_use_attrib 11 years ago
Dominik Gehl 8ed32d7fa9 added support for ENVELOPE fetch 11 years ago
Brian White 32445a188b lint 11 years ago
Brian White 9a961cc35c Connection: add guard when updating name of currently open box during rename 11 years ago
Brian White f83449f801 Connection: add persistentUIDs property to Box objects 11 years ago
Brian White 8d9f1871be Connection: pass just the textCode values where necessary 11 years ago
Brian White 4dfe687a55 Connection: only pass specific text codes to callbacks 11 years ago
Brian White 3c507f20bb Connection: check UIDPLUS availability before attempting a UID EXPUNGE 11 years ago
Brian White 0e07b83230 Connection: fix style 11 years ago
Brian White 302e241458 Connection: fix nested OR when searching 11 years ago
Brian White 11b37fcd8f Merge pull request #283 from wavify/tagged-ok
Pass tagged OK text code as the last argument of the callback (for APPENDUID, COPYUID, etc.)
11 years ago
Brian White 9f5ba4de8c Merge pull request #307 from dominikgehl/dgl/idExtension
support for IMAP ID extension (RFC 2971)
11 years ago
Dominik Gehl 93337c567f further improvements to ID extension support 11 years ago
Dominik Gehl 4ff1b82b9f ID support improvements 11 years ago
Brian White 9ee0f51818 connection: add additional guards for idle changing 11 years ago
Dominik Gehl b697dfe66d support for IMAP ID extension (RFC 2971) 11 years ago
Ronnie 91fd2d1512 Removed separate if for esearch result 11 years ago
Ronnie 436a2761b2 esearch should call _esearch and return data to callback. Removed space in _esearch command and put it before encode, as query already has a space 11 years ago
Dominik Gehl bf9984f063 allow flags with backslash in append
https://github.com/mscdex/node-imap/issues/186
11 years ago
Brian White 377fbc1f98 lint 11 years ago
Chotiwat Chawannakul 0e89bca78e Handle undefined quota list response when set quota on some imap server (e.g. cyrus) 11 years ago
Brian White 69a9031d7c Connection: change style for hasNonASCII() 11 years ago
Brian White d028aadfca Merge pull request #291 from kevinoid/starttls-fixes
Fix broken STARTTLS
11 years ago
Kevin Locke 2981485551 Fix for servers with LOGINDISABLED before STARTTLS
When connecting to a server that advertises LOGINDISABLED in its
CAPABILITIES before STARTTLS, the connection raises an error and
destroys the socket before completing STARTTLS.  This is demonstrated in
the following debug output:

debug: [connection] Connected to host
debug: <= '* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS LOGINDISABLED] Dovecot ready.'
debug: => 'A0 CAPABILITY'
debug: <= '* CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS LOGINDISABLED'
debug: <= 'A0 OK Pre-login capabilities listed, post-login capabilities have more.'
error: Error: Logging in is disabled on this server source=authentication
debug: [connection] Closed

It appears that a return after _starttls was overlooked (since _starttls
will call _login again once the STARTTLS has completed).

Signed-off-by: Kevin Locke <klocke@quantpost.com>
11 years ago
Sagar Mehta 57a80b854c switched error text to prefer whatever is in info.text field even in case of oauth error 11 years ago