609 Commits (00ef369670278a33ead740f82fd3022a239c2625)
 

Author SHA1 Message Date
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
Brian White b4772a6c3d
bump version 8 years ago
Brian White 27b0df695d
bump utf7 dependency 8 years ago
Brian White fa250376dc bump version 9 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
Brian White 5d2d9227e9 test: fix parser tests 9 years ago
Andrea Parodi 2373af9e79 Connection: fix config variable reference 9 years ago
Brian White 69d594b5f6 bump version 9 years ago
Brian White 808565e979 Connection: workaround broken IMAP servers 9 years ago
Brian White 3effb953b3 bump version 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
Brian White 57d4c381fc Merge pull request #435 from wavify/ignore-invalid-first-line
Fix a crash when parsing the first header line that starts with a whitespace
10 years ago
Chotiwat Chawannakul 36f2290a0c Parser: ignore invalid first line that starts with a whitespace 10 years ago
Brian White c35e79803d Merge pull request #424 from mercmobily/master
Added socketTimeout option to ensure that OS-level timeouts are handled by node-imap
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 7bea9b5f1d bump version 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 ee032e2385 test: turn off debug output 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 d423813130 bump version 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
Brian White 6d2adbce2c Merge pull request #405 from LiftMe/master
Added append LITERAL+ extension support
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 b525a6a849 Merge pull request #402 from kitaev/master
esearch parser was failing on single digit items, like 'ALL 1'
10 years ago
Alexander Kitaev 937336e440 esearch parser was failing on single digit items, like 'ALL 1' 10 years ago
Brian White 57bde8c1b2 bump version 10 years ago
Brian White 05dd60ebb6 Parser: improve quoted string escaping 10 years ago
Brian White d32d09a422 bump version 11 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
Brian White e542ce8727 Merge pull request #388 from bantu/inject-socket-object
Allow existing Socket object to be injected.
11 years ago
Andreas Fischer c9f241700f Allow existing Socket object to be injected. 11 years ago
Brian White db82633ea5 Merge pull request #372 from wavify/fix-b-multibyte
Fix base64 decoding of multi-byte character
11 years ago
Brian White 23d11baca0 Merge pull request #380 from vvo/patch-1
docs(UIDPLUS): correct doc on copy/move
11 years ago
Vincent Voyer 37a6e2fea2 docs(UIDPLUS): correct doc on copy/move 11 years ago