summaryrefslogtreecommitdiffstats
path: root/mailnews/imap/src
Commit message (Collapse)AuthorAgeLines
* Bug 1453643 - Enable proper retry on oauth2 authenication failure.Gaming4JC2020-01-11-26/+34
| | | | This prevents mail applications from attempting to use an unauthenticated connection to mailbox(s) and avoid unexpected deletion of local mbox files and subsequent re-download of mailbox content over imap.
* Bug 1176399 - Multiple requests for master password when GMail OAuth2 is ↵Gaming4JC2020-01-11-0/+7
| | | | enabled.
* Bug 1494764 - Removed MOZ_ASSERT but now still process line where it would ↵Matt A. Tobin2019-11-12-22/+45
| | | | | | | | occur. MOZ_ASSERT changed to NS_WARNING. Also correctly handle case where last chunk ends with \r. Tested to make sure that regression identified in Bug 1494764 comment 10 remains fixed and that non-chunked and chunked messages are handled correctly including when \r\n is split between chunks. Tag #1273
* Manually revert Bug 1494764 - Removed MOZ_ASSERT but now still process line ↵Matt A. Tobin2019-11-12-7/+5
| | | | | | where it would occur. Tag #1273
* Issue #1258 - Follow up to Part 8: Ifdef MailNews OAuth2 SupportMatt A. Tobin2019-11-12-0/+2
|
* Bug 1580187 - Add null check to avoid crash in nsImapService::NewChannel().Matt A. Tobin2019-11-11-1/+1
| | | | Tag #1273
* Bug 1507718 - crash in nsImapProtocol::GetMessageSize(). Make ↵Matt A. Tobin2019-11-10-3/+3
| | | | | | m_hostSessionList an nsCOMPtr. Tag #1273
* Bug 344205 - React correctly to NO/BAD tagged response to imap IDLE.Matt A. Tobin2019-11-10-8/+62
| | | | | | User is notifified and IDLE state is not entered if IDLE command fails. Tag #1273
* Bug 1257058 - Distinguish 'empty password' from no password received to ↵Matt A. Tobin2019-11-10-2/+5
| | | | | | avoid shutdown crash. Tag #1273
* Bug 1333038 - Use 'modern' pointers to fix crash due to ↵Matt A. Tobin2019-11-10-8/+6
| | | | | | | | nsMsgLineStreamBuffer object being deleted while still in use. Suspected "use after free" in nsMsgLineStreamBuffer::ReadNextLine() leading to crash since object may be destroyed while still in use on another thread. Tag #1273
* Bug 1494764 - Removed MOZ_ASSERT but now still process line where it would ↵Matt A. Tobin2019-11-10-6/+8
| | | | | | | | occur. MOZ_ASSERT changed to NS_WARNING. Also correctly handle case where last chunk ends with \r. Tested to make sure that regression identified in Bug 1494764 comment 10 remains fixed and that non-chunked and chunked messages are handled correctly including when \r\n is split between chunks. Tag #1273
* Bug 145113 - Make "next chunk starts with newline" flag a member variable to ↵Matt A. Tobin2019-11-10-9/+12
| | | | | | fix MOZ_ASSERT(). Tag #1273
* Bug 1317117 - call msgStore folder deletion during imap/news empty trash.Matt A. Tobin2019-11-10-41/+13
| | | | | | Also factors out some common code into nsMSgDBFolder::Delete(), and makes a couple of incidental changes to try and clarify the responsibilies of nsIMsgPluggableStore::DeleteFolder(). Tag #1273
* Bug 1444389 - Fix crash in nsImapProtocol::HandleMessageDownLoadLine().Matt A. Tobin2019-11-10-0/+1
| | | | Tag #1273
* Bug 1216951 - Fix broken handling of split CR and LF between chunks.Matt A. Tobin2019-11-10-26/+98
| | | | Tag #1273
* Bug 1416033 - remove some unneeded includes in mailnewsMatt A. Tobin2019-11-10-8/+1
| | | | Tag #1273
* Bug 825513 - Fix crash in nsImapProtocol::GetMessageSize() by adding null ↵Matt A. Tobin2019-11-10-32/+21
| | | | | | check for m_runningUrl && m_hostSessionList. Tag #1273
* Bug 1487082 - Resolve potential for build bustage regarding bad implicit ↵Matt A. Tobin2019-11-10-13/+13
| | | | | | | | | | | conversion constructors * Part 1: make conversion CTORs explicit. Minor tweaks to conform with new(ish) static analysis rule which flags up implicit single-argument conversion constructors. * Part 2: fix a couple of double-mRefCnt declaration errors. * Part 3: Fix unsafe use of NS_ConvertASCIItoUTF16(). Tag #1273
* Bug 1079280 - Don't transmit email when imap append response is bad.Matt A. Tobin2019-11-10-1/+5
| | | | | | This only applies to non-literal+ appends. Bad response typically occurs when {size} parameter of append command is larger than server can accept. This prevents TB from sending megabytes of data to a server that has already rejected it. Tag #1273
* Bug 1404049 - fix that mail.imap.use_literal_plus set to false may have no ↵Matt A. Tobin2019-11-10-12/+8
| | | | | | | | effect. This is because it was only used in response to a CAPABILITY imap request. However, often CAPABILITY response occurs without a request so TB sees no need to do a request. Fix by moving the usage of use_literal_plus to where LITERAL+ capability is actually used. Tag #1273
* Bug 1328847 - Change SEC_NORMAL to SEC_ALLOW_CROSS_ORIGIN_DATA_IS_NULL where ↵Matt A. Tobin2019-11-10-1/+1
| | | | | | system principal is used. Tag #1273
* Issue #1258 - Part 8: Ifdef MailNews OAuth2 SupportMatt A. Tobin2019-11-05-3/+48
| | | | Use --disable-mailnews-oauth2 to exclude it. Confvars won't be respected.
* Issue #1258 - Part 1: Import mailnews, ldap, and mork from comm-esr52.9.1Matt A. Tobin2019-11-03-0/+44184