Sven Slootweg
91714b7dda
WIP
3 years ago
Sven Slootweg
c345fdd74d
WIP
3 years ago
Sven Slootweg
3357108b52
WIP
3 years ago
Sven Slootweg
7344b45be0
WIP
4 years ago
Brian White
2fb335a3c7
Connection: fix 'this' reference
8 years ago
Victor Sklyar
31e29ab772
Connection: pass localAddress to socket.connect()
8 years ago
simonhochrein
00ef369670
Connection: remove deprecated JS API usage
...
Fixes: https://github.com/mscdex/node-imap/issues/483
8 years ago
Sinux
37abe764ba
Connection: validate whether uid and seqno is positive
8 years ago
Matthias Biggeleben
941b071f80
Parser: fix IDLE parsing
...
Dovecot might answer DONE with some statistics:
IDLE OK Idle completed (0.001 + 0.093 + 0.092 secs).
The plus character passes RE_PRECEDING which leads to dead end
code-wise.
8 years ago
Suraj Sharma
c2a859727d
Parser: handle tagged responses without response code and/or other text
9 years ago
Craig Paterson
3051724f85
lib: add support for retrieving special-use mailboxes
9 years ago
Matthias Biggeleben
f74f257932
Connection: allow custom metadata to be fetched
9 years ago
Andrea Parodi
2373af9e79
Connection: fix config variable reference
9 years ago
Brian White
808565e979
Connection: workaround broken IMAP servers
9 years ago
Brian White
1745b22f25
Connection: use socket.end() instead of socket.destroy()
9 years ago
Brian White
8eddf61860
Connection: pass COPYUID info if server has UIDPLUS
9 years ago
Eric Pinzur
b607d5fa7d
Parser: fixed exception when parsing invalid bodystructure
10 years ago
subbi
98200e0b3f
Connection: allow append with custom flags
10 years ago
Andrey Pankov
50ab051651
Additional special use attribute '\\Important' used by Gmail
10 years ago
Chotiwat Chawannakul
36f2290a0c
Parser: ignore invalid first line that starts with a whitespace
10 years ago
Tony Mobily
b98b9e3997
Applied a default to config.socketTimeout, renamed error name to something more specific, added space for style
10 years ago
Tony Mobily
15f03a4cb4
Added socketTimeout option, which ensure that OS-level timeout is handled for all sockets handled by the library
10 years ago
Brian White
8100c0c134
Connection: allow more keepalive configuration
10 years ago
Brian White
fbbeac1bae
Connection: fix style
10 years ago
Brian White
8376f212e6
Parser: ensure no socket read if push() calls _read() during body finish
...
This fixes an edge case where the following happens:
* a body stream had data pushed to it such that the highWaterMark was reached
* when the body stream buffer dips below highWaterMark, _read() is called
* _read() tries to read more data from the socket, which pushes the last part of the body
* the last body part push() again calls _read() which in turn reads more data from the socket
* at this point the parser state is not stable because _body._read and _body are not reset yet, this causes the parser to potentially try to start reading the beginning of a response in the middle of the data for another fetch result for example
Fixes #345
10 years ago
Brian White
42a486d2df
Parser: decode names in envelope
10 years ago
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
Alexander Kitaev
937336e440
esearch parser was failing on single digit items, like 'ALL 1'
10 years ago
Brian White
05dd60ebb6
Parser: improve quoted string escaping
10 years ago
Brian White
c705211ee4
Parser: add workaround for node v0.10.29 regression
...
Signed-off-by: Brian White <mscdex@mscdex.net>
11 years ago
Brian White
cb74e957bd
Parser: fix style
11 years ago
Brian White
6d7dfe18d4
Connection: fix style
11 years ago
Andreas Fischer
c9f241700f
Allow existing Socket object to be injected.
11 years ago
Chotiwat Chawannakul
4d3da4ab0f
Parser: fix base64 decoding of multi-byte character
11 years ago
Chotiwat Chawannakul
c159c112b1
Parser: join only consecutive q-encoded words
11 years ago
Ângela Igreja
efd9ad23ac
Actually parse the uidnext response in the status call.
11 years ago
Brian White
5348216781
Connection: don't disable keepalive timer on socket 'error'
11 years ago
Brian White
a4be10ce13
Connection: once->on in case of multiple socket errors
11 years ago
Ângela Igreja
ada57df5b9
Fix silly typo.
...
It's too late in the evening.
11 years ago
Ângela Igreja
12554368fe
Allow the user supplied tlsOptions to overridde the host name used for certification validation.
11 years ago
Ângela Igreja
9c2a92b184
Fix the need for rejectUnauthorized being false. The tlsOptions object should include a host for certificate verification.
11 years ago
Ângela Igreja
2d5f15b282
Fixed imap.status not returning with UIDNEXT.
11 years ago
Chotiwat Chawannakul
b630ed05ce
Parser: fix premature decoding of encoded words ending with an incomplete multi-byte character
11 years ago
Brian White
7a843a7c29
Merge pull request #352 from ericz/master
...
Fix imap.openBox not returning with highestmodseq`
11 years ago
Brian White
2e7196e477
Merge pull request #351 from wavify/mime-decode-lws
...
Parser: ignore linear whitespace between consecutive mime-encoded words in header
11 years ago
Eric Zhang
0dcffb816b
Fix RE_UNTAGGED regex not picking up highestmodseq
11 years ago