Commit graph

144 commits

Author SHA1 Message Date
Matt A. Tobin
7fac86416c Issue #1377 - Fix porting typo in mailnews/base/search/content/searchWidgets.xml
MailNews Core being historically comm tended to avoid defining shorthand for Components.interfaces
2020-02-07 07:52:23 +08:00
Roy Tam
678ad26488 Merge remote-tracking branch 'origin/master' into custom 2020-01-24 09:39:16 +08:00
Matt A. Tobin
45cb58760b Issue #1358 - Default to SSL/TLS when using the Account Wizard 2020-01-24 09:28:12 +08:00
Roy Tam
5ff81ed6e6 Merge remote-tracking branch 'origin/master' into custom 2020-01-03 13:44:57 +08:00
Gaming4JC
f6096004d7 Bug 1599054 - allow callers to ommit sending OAuth2 client_secret parameter. 2020-01-03 13:44:14 +08:00
Gaming4JC
1bc5f20c3a Bug 1597933 - Use URLSearchParams for setting params for OAuth2 authorization request. 2020-01-03 13:44:13 +08:00
Gaming4JC
30b347303b Bug 1597933 - use fetch + URLSearchParms instead of Http.jsm to request OAuth2 access token. 2020-01-03 13:44:11 +08:00
Gaming4JC
a8ac34b90b Bug 1597933 - don't pass string constants to determine OAuth refresh token or not. 2020-01-03 13:44:10 +08:00
Gaming4JC
b037870a86 Bug 1597933 - improve OAuth2 params parsing. 2020-01-03 13:44:09 +08:00
Gaming4JC
9839bd3335 Bug 1597933 - clean up OAuth2 code: remove responseType which is always code.
Response type token is part of the OAuth 2.0 Implicit Flow which is not used in Mail Applications, but also discouraged by the OAuth Working Group: https://developer.okta.com/blog/2019/05/01/is-the-oauth-implicit-flow-dead
2020-01-03 13:44:08 +08:00
Gaming4JC
671b973fe5 Bug 1453643 - Enable proper retry on oauth2 authenication failure.
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.
2020-01-03 13:44:07 +08:00
Gaming4JC
f7a24c87f6 Bug 1176399 - Multiple requests for master password when GMail OAuth2 is enabled. 2020-01-03 13:44:05 +08:00
Roy Tam
39b5cb2fd9 Merge remote-tracking branch 'origin/master' into custom 2019-12-10 10:51:12 +08:00
Gaming4JC
5199f3f3b8 Bug 1571481 - Improve multipart/alternative.
w/ Fixup for 1464056 - Follow-up: rename pref to align with mailnews.p7m_external (which was already in 52.x but missing a single line)

Tag #1311
2019-12-10 10:50:22 +08:00
Gaming4JC
0c908247d6 Bug 1482248 - don't crash on empty file name in nsMsgLocalStoreUtils::nsShouldIgnoreFile.
Tag #1311
2019-12-10 10:50:20 +08:00
Gaming4JC
a5aa1c26bf Bug 1509685 - Add more bounds checking in nsMsgDBView::UpdateDisplayMessage() to avoid crashes
Tag #1311
2019-12-10 10:50:19 +08:00
Roy Tam
33f029715a Merge remote-tracking branch 'origin/master' into custom 2019-11-29 11:37:55 +08:00
adeshkp
e1a84dd730 Issue #1258 - Remove remaining chat core bits
This fixes Interlink build on Mac.
2019-11-29 11:37:02 +08:00
Roy Tam
593762743f restore xp compatibility 2019-11-17 00:15:05 +08:00
Matt A. Tobin
084ac5f020 Bug 1592407 - Port OAuth2 decoding fix from gData add-on. 2019-11-17 00:12:46 +08:00
Matt A. Tobin
1953b80007 Issue #1258 - Follow up to Part 8: Ifdef MailNews OAuth2 Support
Ifdef second authOAuth2 string in emailWizard.js
2019-11-17 00:12:42 +08:00
Matt A. Tobin
2e230a6c19 Bug 1494764 - Removed MOZ_ASSERT but now still process line where it would 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
2019-11-17 00:12:40 +08:00
Matt A. Tobin
725462eff3 Manually revert Bug 1494764 - Removed MOZ_ASSERT but now still process line where it would occur.
Tag #1273
2019-11-17 00:12:38 +08:00
Matt A. Tobin
8cfac849f3 Issue #1258 - Follow up to Part 8: Ifdef MailNews OAuth2 Support
Fix verifyConfig.js
2019-11-17 00:12:37 +08:00
Matt A. Tobin
65944ea58a Issue #1258 - Part 10: Remove chat core bits 2019-11-17 00:12:35 +08:00
Matt A. Tobin
fe11727f3d Issue #1258 - Follow up to Part 8: Ifdef MailNews OAuth2 Support 2019-11-17 00:12:34 +08:00
Matt A. Tobin
6a2e0c0286 Issue #1258 - Part 9: Add close-icon class to close button in newmailalert.xul 2019-11-17 00:12:32 +08:00
Matt A. Tobin
11672d13e6 Bug 726655 - Add null check in nsMsgDBView::GetThreadContainingMsgHdr() to avoid crash.
Tag #1273
2019-11-17 00:12:28 +08:00
Matt A. Tobin
af8d327f15 Bug 786683 - check success of GetFilePath() throughout nsMsgBrkMBoxStore.cpp.
Tag #1273
2019-11-17 00:12:26 +08:00
Matt A. Tobin
e7cf7528e2 Bug 1584473 - Fix several issues
* Fix undefined HRESULT codes in class CMapiApi in MapiApi.cpp.
* Fix doubled up sub-expressions in MIME and MAPI.
* Remove broken/unused morkRowCellCursor::MakeCell()

Tag #1273
2019-11-17 00:12:25 +08:00
Matt A. Tobin
800fce0b81 Bug 1240290
Tag #1273
2019-11-17 00:12:23 +08:00
Matt A. Tobin
338383f722 Bug 1580187 - Add null check to avoid crash in nsImapService::NewChannel().
Tag #1273
2019-11-17 00:12:21 +08:00
Matt A. Tobin
73047ccc74 Bugs 1437282, 1438590, 1506587, and 1498795
* strip unnecessary ==== padding in base64 text.
* Extension of the characters to be encoded (quoted-printable) according to RFC2047.
* Remove unwanted characters from headers. Compact extraneous white space in display name to avoid sender address spoofing.
* Be more tolerant of spaces in base64-encoded RFC 2047 tokens.

Tag #1273
2019-11-17 00:12:18 +08:00
Matt A. Tobin
38d6dbd4bd Bug 1558595
Tag #1273
2019-11-17 00:12:16 +08:00
Matt A. Tobin
97e994c45a Bug 1315662 - delete SMTP server login credentials when deleting the account or if hostname/username changes.
Tag #1273
2019-11-17 00:12:15 +08:00
Matt A. Tobin
a4ab7d01df Bug 1554098 - deduce RSS media enclosures type from extension when missing.
Tag #1273
2019-11-17 00:11:29 +08:00
Matt A. Tobin
a74473ec0b Bug 1480063 - Remove mimeEncodeSubject (encodeMimePartIIStr_UTF8) from feeds.
Tag #1273
2019-11-17 00:11:27 +08:00
Matt A. Tobin
8a8393dbc4 Bug 1528496 - Correctly fix Bug 1023285 and utf8 addressing header display for jsmime.
Tag #1273
2019-11-17 00:11:26 +08:00
Matt A. Tobin
f1a3fd9fda Bug 1423487 - Support multiple authors in RSS feeds.
Tag #1273
2019-11-17 00:11:24 +08:00
Matt A. Tobin
d60003b8d1 Bug 1167982 - Do charset detection for all text/* attachments in composition, not just text/plain.
Tag #1273
2019-11-17 00:11:22 +08:00
Matt A. Tobin
d27ecf750c Bug 522450 - Place mail copy on the correct folder when using Reply to List
This bug never landed in c-c

Tag #1273
2019-11-17 00:11:20 +08:00
Matt A. Tobin
13a2cf2b8a Tails 6156 - Fix outdated error handling in accountcreation and remove buggy debug code
Tag #1273
2019-11-17 00:11:18 +08:00
Matt A. Tobin
0f7827bc8d Bug 971347 - Fix autoconfig vulnerable to active MITM attacks for all domains (including the ones in ISPDB)
Tag #1273
2019-11-17 00:11:17 +08:00
Matt A. Tobin
707ff44b81 Bug 1020971 - Port bug 1015664: Remove NS_HIDDEN and friends.
Tag #1273
2019-11-17 00:11:15 +08:00
Matt A. Tobin
87073feb8a Bug 1546840 - Allow GloDa queries for read or unread messages
Tag #1273
2019-11-17 00:11:13 +08:00
Matt A. Tobin
c173b90220 Bug 1508054 - reduce exposed API of nsMsgHdr.
Tag #1273
2019-11-17 00:11:12 +08:00
Matt A. Tobin
c45692398e Bug 1386601 - experimental patch to investigate Thunderbird topcrash, serializes S/MIME verification.
Tag #1273
2019-11-17 00:11:10 +08:00
Matt A. Tobin
3a92a80285 Bug 1495698 - Fix hang when HTML signature references non-existent image.
Tag #1273
2019-11-17 00:11:08 +08:00
Matt A. Tobin
84617f965f Bug 1525120 - Fix condition for decoding attachments (base64/qp) when saving or forwarding.
Tag #1273
2019-11-17 00:11:06 +08:00
Matt A. Tobin
6debc5b306 Bugs 1507218 and 1528615
Tag #1273
2019-11-17 00:11:05 +08:00