620 Commits (fork)
 

Author SHA1 Message Date
Sven Slootweg 91714b7dda WIP 3 years ago
Sven Slootweg c345fdd74d WIP 3 years ago
Sven Slootweg 3357108b52 WIP 3 years ago
Sven Slootweg 3e532e3ff6 Refactor tests (WIP) 3 years ago
Sven Slootweg 7344b45be0 WIP 4 years ago
Sven Slootweg 68c9001270 Set up ESLint 4 years ago
Sven Slootweg fa16276050 Ignore node_modules 4 years ago
Brian White 867aa88a33
bump version 8 years ago
Tony Mobily fd7422a609
readme: document socketTimeout option 8 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
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 10 years ago
Brian White 1745b22f25 Connection: use socket.end() instead of socket.destroy() 10 years ago
Brian White 8eddf61860 Connection: pass COPYUID info if server has UIDPLUS 10 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 11 years ago
Brian White 1ba7be0179 Connection: change argument check 11 years ago
Brian White 48871df508 Connection: fix IDLE for enqueue after next tick 11 years ago
Brian White 1aed2f7938 Connection: fix style 11 years ago
Brian White 1fc2d7a089 Connection: wait for continuation before DONE 11 years ago
Brian White 6d2adbce2c Merge pull request #405 from LiftMe/master
Added append LITERAL+ extension support
11 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.
11 years ago
Brian White b525a6a849 Merge pull request #402 from kitaev/master
esearch parser was failing on single digit items, like 'ALL 1'
11 years ago
Alexander Kitaev 937336e440 esearch parser was failing on single digit items, like 'ALL 1' 11 years ago