Граф коммитов

3265 Коммитов

Автор SHA1 Сообщение Дата
Ben Campbell 49deaec6f2 Bug 1682943 - Remove nsISimpleEnumerator use in nsISmtpService.idl. r=mkmelin 2020-12-17 10:02:30 +13:00
Ping Chen fa9d012f66 Bug 944367 - Remove Log4Moz from newmailaccount and mailnews/base. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D99755
2020-12-16 05:03:19 +00:00
Alessandro Castellani 531a61c4f1 Bug 1658781 - Fix the existing account name condition in the account manager. r=mkmelin 2020-12-16 11:57:14 -08:00
tom@pep-project.org bb0e6135a7 Bug 1680795 - Simplify code in nsDelAttachListener and correct comments. r=benc 2020-12-16 12:34:57 +02:00
Ping Chen d9f608033c Bug 1677683 - Part 4: Handle authentication in sendMailMessage. r=mkmelin
Supports plain password, encrypted password, OAuth.

Differential Revision: https://phabricator.services.mozilla.com/D98041

--HG--
extra : moz-landing-system : lando
2020-12-15 06:40:40 +00:00
Magnus Melin 940e4c597c Backed out changeset 05adf8cffed2 (bug 244347) to fix problems with chat accounts. rs=backout 2020-12-14 12:44:21 +02:00
Khushil Mistry 5640a40e0d Bug 244347 - allow changing sort order of accounts. r=mkmelin 2020-12-13 12:26:13 +02:00
Richard Marti 15d3564e05 Bug 1681659 - Port bug 1674806: Remove windowtype attribute from mail/components/preferences. r=mkmelin DONTBUILD 2020-12-12 10:59:45 +02:00
Magnus Melin 07bdeb7688 Backed out changeset b9d851f8bb37 (bug 1681659) for test failures in comm/mail/test/browser/account/browser_archiveOptions.js 2020-12-11 12:48:51 +02:00
Richard Marti 22e002f4a6 Bug 1681659 - Port bug 1674806: Remove windowtype attribute from mail/components/preferences. r=mkmelin 2020-12-11 10:09:34 +02:00
Ben Campbell ee79f6c3fd Bug 1681009 - Remove nsIMutableArray use from nsIMsgMailView, nsIMsgFilter and nsIMsgSearchSession. r=mkmelin 2020-12-07 17:26:44 +13:00
Geoff Lankow 63e7615fba Bug 1662979 - Add support for OAuth2 CardDAV providers. r=mkmelin
So far, this will only work for Google CardDAV, but I've included the fixes for dealing with the
Yahoo! server's idiosyncrasies, so that when the time comes, all we have to do is add the Yahoo!
details to OAuth2Providers.jsm.

Differential Revision: https://phabricator.services.mozilla.com/D98400

--HG--
extra : moz-landing-system : lando
2020-12-09 22:23:39 +00:00
Richard Marti 40bd5d104a Bug 1681083 - Make the newmail alert dark with dark themes. r=aleca 2020-12-08 12:57:52 +02:00
Ben Campbell a09229121a Bug 1612239 - Remove nsIArray usage from nsIMsgFolder. r=mkmelin
--HG--
extra : amend_source : 5c6bd195120cd6ded0571a3ec88a6575020f9ed2
2020-12-03 13:41:57 +13:00
Geoff Lankow 0bf3d559ef Bug 1680653 - Clear the default account if it is removed and no other account can be default. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D98706

--HG--
extra : amend_source : 6f41ff9c409f60234a2b2673a6b47975d201a92f
2020-12-04 22:31:17 +02:00
Geoff Lankow 962eaf601e Port bug 1675329: Add a second argument when calling nsIAppStartup::Quit. rs=bustage-fix 2020-12-04 20:02:33 +13:00
David Ward d82d62bf8e Bug 1679664 - Part 2: Handle unspecified settings in SMTP server info box. r=mkmelin
If "Advanced config" was clicked during account creation, some settings
might not have been selected yet. Let the UI show this accurately.

Differential Revision: https://phabricator.services.mozilla.com/D98110

--HG--
extra : rebase_source : 9e16089498d7e20b1a66412f47b0e0a2c8585c2e
2020-11-29 02:57:34 +00:00
Khushil Mistry 8783b24ad5 Bug 1679269 - remove <deck> XUL element from removeAccount.xhtml dialog. r=aleca 2020-12-01 12:58:06 +02:00
Khushil Mistry 38607c0766 Bug 1679268 - Remove the XUL <deck> element from the subscribe.xhtml dialog. r=aleca 2020-12-01 12:57:46 +02:00
Ben Campbell 7ef33cbbeb Bug 1612239 - Remove nsIArray usage in nsIMsgFolder.DownloadMessagesForOffline(). r=mkmelin 2020-11-30 12:39:19 +02:00
Ben Campbell bfc7644683 Bug 1612239 - Remove nsIArray usage in nsIMsgCopyService.CopyMessages(). r=mkmelin 2020-11-29 12:51:55 +02:00
Magnus Melin 938ba4544d Bug 1679148 - fix includes to unbust builds after bug 1673931. r=bustage-fix 2020-11-24 23:46:27 +02:00
Rob Lemley 2668029972 Bug 1678441 - Add missing license headers to mail code. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D97677
2020-11-19 21:02:00 +00:00
Ping Chen d3f2d3ae4d Bug 1671880 - Part 2: Remove charset attribute from msg folder. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D97110

--HG--
extra : amend_source : 4cd4e5518281266aaca3ae51daad1636e977ddef
2020-11-19 14:38:45 +02:00
Richard Marti b79585e029 Bug 1664586 - Ensure that the new mail icon is removed from the system tray at shutdown. r=mkmelin 2020-11-19 14:35:28 +02:00
Geoff Lankow b9e48a04a7 Backed out changeset 8587f3e2dbbf (bug 1662665) for breaking tests.
--HG--
extra : rebase_source : 6a54710b5597914738e13abd9c420d92b52bee67
extra : histedit_source : cc6f9da408f138ed3948a5a2783ab3b35e1f6b3a
2020-11-18 14:23:28 +13:00
Khushil Mistry de8ef99bb6 Bug 1662665 - move nsMessengerContentHandler.cpp functionality into MessengerContentHandler.jsm. r=mkmelin 2020-11-17 12:23:20 +02:00
Magnus Melin 780a779ff7 Bug 1579608 - add CSP to about:accounts and about:downloads and about:support. r=khushil
The dom.security.skip_about_page_has_csp_assert pref is still needed since we have inline scripts.
=> assertion: "about: page must not contain a CSP including 'unsafe-inline'"
2020-11-15 12:54:37 +02:00
Lilian Braud e955bd3c35 Bug 1666882 - Update account title onblur after change of account name in Account Settings. r=thomasD,mkmelin
- In the am-main page of the account settings for most account types, when you change the account name and the input loses focus, we now also update the new account name in the caption of the main settings page (not only in the account manager tree).
  - Clean up code structure: Layout vs. code layer, coherence, consistency of function names etc.
  - Add function comments.

Differential Revision: https://phabricator.services.mozilla.com/D94474

--HG--
extra : amend_source : 979e4ecedef725b8f8d1c48c1d85753cb889c030
2020-11-13 09:52:44 +02:00
Lilian Braud 7c3bd6b164 Bug 1666882 - Remove angle brackets from <Account name> title in account settings which misrepresent it as the email address. r=thomasD
In account settings, the main section of each email account has a title which displays the account's pretty name in angle brackets, so it looks like an email address. Let's reduce the confusion by removing the angle brackets.

Differential Revision: https://phabricator.services.mozilla.com/D93881

--HG--
extra : amend_source : 1a150b3599fdb36dfd8f0d58c2febbcd4d0f890f
2020-11-13 09:27:27 +02:00
Ping Chen b968c66541 Bug 1671880 - Part 1: Remove mailnews.view_default_charset pref. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D96676

--HG--
extra : moz-landing-system : lando
2020-11-11 10:25:11 +00:00
Ben Campbell 07e1ef8693 Bug 1676320 - Rename nsICopyMsgStreamListener.idl to match nsICopyMessageStreamListener. r=mkmelin
--HG--
rename : mailnews/base/public/nsICopyMsgStreamListener.idl => mailnews/base/public/nsICopyMessageStreamListener.idl
2020-11-10 12:42:49 +02:00
Rob Lemley 74c6535302 Bug 1672798 - Run black formatting on mozbuild and mozconfigure files. r=mkmelin
Bringing some sanity to our Python scripts.

Differential Revision: https://phabricator.services.mozilla.com/D95402

--HG--
extra : rebase_source : 7eed46d79663fa1f261bd64d9bc1c83c4867bfc4
extra : histedit_source : b8b700c76ab2fee92eb426b5a5b69dc86376e60f
2020-10-30 14:28:33 -04:00
Ping Chen 3aff791e93 Bug 1667557 - Fix print preview by init ppBrowser first. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D95956

--HG--
extra : amend_source : cfd770ed07262110950dd6ee85e901abf3dd845d
2020-11-06 12:18:24 +02:00
Richard Marti d1fc4cde91 Bug 1669781 - Add buttons to directly navigate between preferences and account manager. r=aleca 2020-10-30 09:15:20 +02:00
Magnus Melin c6bec23561 Bug 1672667 - don't use catchAll for nntp - not applicable and doesn't work. r=aleca
Reply/followup to nntp messages is broken (compose window doesn't come up) if catchAll is enabled for nntp.
2020-10-24 13:30:28 +03:00
Ping Chen 0617e7b061 Bug 1671131 - Port bug 1669925: Fix printing. r=mkmelin 2020-10-20 13:52:23 +09:00
Khushil Mistry 0de5b7682b Bug 1668502 - Fix opening per-account settings from context menu or account central may show the wrong account if account settings tab was already open. r=mkmelin 2020-10-20 10:54:06 +13:00
Magnus Melin bbaad6d8f9 Bug 1670354 - followup - apply clang-format. rs=clang-format DONTBUILD 2020-10-16 13:51:52 +03:00
Geoff Lankow 9d16399164 Bug 1671532 - Port bug 1669573 - Changes to date formatting enums. r=rjl
This kills the option to set mail.ui.display.dateformat.thisweek = 4.

Differential Revision: https://phabricator.services.mozilla.com/D93711

--HG--
extra : moz-landing-system : lando
2020-10-16 02:34:07 +00:00
Magnus Melin e4702f6033 Bug 1612239 - remove stray unneeded nsIArray references from some idl files. r=benc 2020-10-14 22:30:31 +03:00
Alfred Peters ce717ab0e7 Bug 1670459 - Fix a parameter problem when calling onCheckItem(). r=mkmelin DONTBUILD 2020-10-13 13:13:50 +03:00
Magnus Melin d321a035e8 Backed out changeset 99d2aab955ed (bug 1620310) for landing with wrong bug number: correct bug number is 1670459 2020-10-13 13:13:40 +03:00
Alfred Peters 3cd1e3c24e Bug 1620310 - Fix a parameter problem when calling onCheckItem(). r=mkmelin 2020-10-13 12:59:24 +03:00
aceman 5f5e336d31 Bug 1422622 - replace MockFactory with MockRegistrar in xpcshell tests. r=mkmelin 2020-10-12 17:57:45 +03:00
Rob Lemley 087d239cb5 Bug 1670354 - Port bug 1669925: Fix compile error no member named BlockUntilDone. rs=bustage-fix CLOSED TREE
--HG--
extra : histedit_source : bec0e42f572a11ebb8084dedefce833420b3573f
2020-10-09 20:05:15 -04:00
Geoff Lankow f359f548b8 Bug 1669872 - Create a cached function which calls cardForEmailAddress on all directories. r=mkmelin
This is more general than the previous version so that other code can call it too. I also realised with the 60s time out, waiting for Gloda to idle was unnecessary.

Differential Revision: https://phabricator.services.mozilla.com/D93069

--HG--
extra : moz-landing-system : lando
2020-10-09 12:48:27 +00:00
Gene Smith 781317a7df Bug 1571672 - Add support for imap capability UTF8=ACCEPT (RFC 6855). r=mkmelin 2020-10-07 22:51:37 +03:00
Alessandro Castellani 9935b8885a Bug 1667567 - Restore folder tree selection after color customization. r=mkmelin DONTBUILD
--HG--
extra : amend_source : 8699bd117c8e5a83892c3bc72630c1fb9d426b5f
2020-10-07 12:33:46 +03:00
Magnus Melin 10f4bab99b Bug 1668926 - for nsMsgAccountManager::SetSpecialFolder don't set rv and not use it. r=benc DONTBUILD
* CID 1467544: Code maintainability issues (UNUSED_VALUE)
/comm/mailnews/base/src/nsMsgAccountManager.cpp: 1317 in nsMsgAccountManager::SetSpecialFolders()()


________________________________________________________________________________________________________
*** CID 1467544: Code maintainability issues (UNUSED_VALUE)
/comm/mailnews/base/src/nsMsgAccountManager.cpp: 1317 in nsMsgAccountManager::SetSpecialFolders()()
1311 if (NS_SUCCEEDED(rv) && parent) {
1312 bool archiveEnabled;
1313 thisIdentity->GetArchiveEnabled(&archiveEnabled);
1314 if (archiveEnabled)
1315 rv = folder->SetFlag(nsMsgFolderFlags::Archive);
1316 else
>>> CID 1467544: Code maintainability issues (UNUSED_VALUE)
>>> Assigning value from "folder->ClearFlag(Archive)" to "rv" here, but that stored value is overwritten before it can be used.
1317 rv = folder->ClearFlag(nsMsgFolderFlags::Archive);
1318 }
1319 }
1320 1321 thisIdentity->GetStationeryFolder(folderUri);
1322 if (!folderUri.IsEmpty() &&
2020-10-03 10:40:36 +03:00