Commit graph

48 commits

Author SHA1 Message Date
Moonchild
0cd673d720 Issue #1656 - Part 6: Clean up the build files 2020-09-25 22:04:23 +08:00
Matt A. Tobin
d97bcfb97a Follow up to 39be34c06 - The check sound be if not ordered
FINE! I'll go to bed already...
2020-07-31 08:06:52 +08:00
Matt A. Tobin
b72d30186a [MailNews] Allow setting "Local Folders" as always the first displayed account 2020-07-31 08:06:07 +08:00
Matt A. Tobin
8d9b34816c [MailNews] Allow ordering of accounts to respect mail.accountmanager.accounts 2020-07-31 08:06:04 +08:00
Matt A. Tobin
8dbd3045dc Correct typo in mailnews/base/src/moz.build 2020-03-05 09:38:18 +08:00
Matt A. Tobin
b73780a36d Issue #65 - Remove AppConstants from mailnews/ 2020-02-07 07:52:30 +08:00
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
Matt A. Tobin
45cb58760b Issue #1358 - Default to SSL/TLS when using the Account Wizard 2020-01-24 09:28:12 +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
f7a24c87f6 Bug 1176399 - Multiple requests for master password when GMail OAuth2 is enabled. 2020-01-03 13:44:05 +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
adeshkp
e1a84dd730 Issue #1258 - Remove remaining chat core bits
This fixes Interlink build on Mac.
2019-11-29 11:37:02 +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
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
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
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
f1a3fd9fda Bug 1423487 - Support multiple authors in RSS feeds.
Tag #1273
2019-11-17 00:11:24 +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
87953b53dc Bug 1523048 - when copying a filter, copy its triggering events too (filterType).
Tag #1273
2019-11-17 00:11:01 +08:00
Matt A. Tobin
a3ac164730 Bug 809513 - Prevent unread Drafts from showing in new mail notification.
Change mainly affects Windows. However, Linux integration also changed so that it also allows new mail notification to occur for folder with SentMail flag.

Tag #1273
2019-11-17 00:10:51 +08:00
Matt A. Tobin
832d721135 Bug 1271353 - check own email addresses case-insensitively in correspondents column and ignore plus addressing part.
Tag #1273
2019-11-17 00:10:49 +08:00
Matt A. Tobin
af2693fe73 Bug 342632 - Allow defaultAccount to return success with nullptr result when there is no usable account.
Tag #1273
2019-11-17 00:10:45 +08:00
Matt A. Tobin
14590876b2 Bug 1333038 - Use 'modern' pointers to fix crash due to 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
2019-11-17 00:10:35 +08:00
Matt A. Tobin
3f68fdb0f4 Bug 1442648 - Fix mismatched types in mingw-w64 builds (const char16_t*/char16ptr_t).
When cross-compiling for Windows on Linux, fix mismatched types in nsMsgImapSearch.cpp. nsString::get() returns a char16ptr_t (with MOZ_USE_CHAR16_WRAPPER) and that causes a mismatch so we cast it to a const char16_t*. usAsciiCharSet is declared as a nsAutoString so we instead declare it as a char16_t* to avoid subsequent type mismatches.

Tag #1273
2019-11-17 00:10:29 +08:00
Matt A. Tobin
0f885aaad1 Bug 1317117 - call msgStore folder deletion during imap/news empty trash.
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
2019-11-17 00:10:28 +08:00
Matt A. Tobin
497286a00b Bug 1416033 - remove some unneeded includes in mailnews
Tag #1273
2019-11-17 00:10:21 +08:00
Matt A. Tobin
c021f0c983 Bug 1393219 - Code clean-up: Style nits, typos and trailing spaces
Tag #1273
2019-11-17 00:10:17 +08:00
Matt A. Tobin
3141e9940a Bug 646901 - add error checking to fix crash in nsMsgXFVirtualFolderDBView::OnSearchHit().
dbToUse was null

Rag #1273
2019-11-17 00:10:12 +08:00
Matt A. Tobin
eaac1c967d Bug 1487082 - Resolve potential for build bustage regarding bad implicit 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
2019-11-17 00:10:10 +08:00
Matt A. Tobin
11084d5e8c Bug 1427732 - fix newline handling when copying messages and compacting folders.
Tag #1273
2019-11-17 00:10:07 +08:00
Matt A. Tobin
86d4e9d3a6 Bug 516464 - Remove passwords from cache when password manager contents are changed to prevent stale password attempts.
Tag #1273
2019-11-17 00:09:59 +08:00
Matt A. Tobin
d0d5ec75d5 Bug 1328847 - Change SEC_NORMAL to SEC_ALLOW_CROSS_ORIGIN_DATA_IS_NULL where system principal is used.
Tag #1273
2019-11-17 00:09:57 +08:00
Matt A. Tobin
1531d6498d Issue #1258 - Part 8: Ifdef MailNews OAuth2 Support
Use --disable-mailnews-oauth2 to exclude it. Confvars won't be respected.
2019-11-17 00:09:28 +08:00
Matt A. Tobin
971009881c Issue #1258 - Part 7: UXP Specific fixes
* This includes Bug 1326433 for Janek fallout (ldap already had this fix)
2019-11-17 00:09:17 +08:00
Matt A. Tobin
8c31c0427a Issue #1258 - Part 5: Only IceDove cares about Thunderbird's baby mode account creation 2019-11-17 00:09:14 +08:00
Matt A. Tobin
0641178442 Issue #1258 - Part 4: Remove Add IM Account from Account Manager 2019-11-17 00:09:12 +08:00
Matt A. Tobin
18ffebc2a1 Issue #1258 - Part 3: Make mailnews and friends build 2019-11-17 00:09:10 +08:00
Matt A. Tobin
e400f4130a Issue #1258 - Part 1: Import mailnews, ldap, and mork from comm-esr52.9.1 2019-11-17 00:08:36 +08:00