Commit graph

112 commits

Author SHA1 Message Date
Jeremy Andrews
c4fdd1d9ee Issue #1312 - Switch to X-Mailer, and pull from AppInfo instead of HTTP headers.
I've been thinking about this issue, and ultimately it's just correcting a
mistake Mozilla made that no consumer of UXP's MailNews ever complained about
before, so I think it's reasonable to fix the default behavior first, and then
let others complain before I start worrying about prefs or ifdefs. One thing
at a time.
2023-11-16 10:21:11 +08:00
Moonchild
2f117eecaa Issue #1656 - Remove more vim control lines.
Vim control lines were re-introduced or not entirely cleaned up.
This nukes them again.
Removing from embedding, extensions, gfx, hal, ipc, layout, mailnews,
media and memory. More to come.
2023-05-05 22:57:19 +08:00
FranklinDM
2048f4df51 No issue - [MailNews] Fix build bustage due to recent MIME API changes 2023-04-30 09:30:17 +08:00
Mavridis Philippe
e8f840bf2f MailNews: Re-check availability of OAuth2 when hostname fields modified.
This is for those cases where the hostnme of the email address is not
the actual hostname of the e-mail service (e.g. GMail with a custom
domain).

This should resolve issue athenian200/epyrus#53.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
2023-02-22 07:04:18 +08:00
Jeremy Andrews
e3aa3c2963 Issue #1312 - Fix potential crashes in MailNews.
These are straightforward, one-line changes with no obvious dependencies. Probably could have been taken a long time ago.

Ref: BZ 1638634, 1606091
2022-07-30 08:43:45 +08:00
Jeremy Andrews
6182744d96 [MailNews] Allow shift-clicking on Edit As New to edit a message as plaintext.
Ref: BZ 731688
2022-06-06 08:57:39 +08:00
Brian Smith
d5c43d1d35 Issue #1829 - Readd code cleanup that is not Mac related that got clobbered by reverting Issue #1751 2022-05-04 10:01:23 +08:00
Brian Smith
13fcc4a046 Issue #1829 - Revert "Issue #1751" 2022-05-04 09:40:24 +08:00
Moonchild
eaf9e756a0 Issue #21 - Remove remaining telemetry structs, callers and flags. 2022-04-28 10:33:44 +08:00
Moonchild
ba00d14c12 Issue #1751 - Remove Mac code behind MOZ_WIDGET_TOOLKIT == 'cocoa' 2021-06-24 11:09:47 +08:00
Moonchild
a4b0f333ba Issue #1751 -- Remove XP_MACOSX conditionals from the rest of the tree.
This also removes some PP abuse and takes file entries out of PP when no longer
needed without XP_MACOSX conditionals.
2021-05-07 09:53:59 +08:00
Gaming4JC
99cde7ce7b [widget] MailNews Followup: Require user interaction when picking files or folders v2
98f6ad61f4f3c66209036db4bc7a4ae6ff4d1d3d introduced a boolean, this just passes it down and fixes build bustage of mailnews.
2021-03-04 09:21:25 +08:00
Moonchild
0cd673d720 Issue #1656 - Part 6: Clean up the build files 2020-09-25 22:04:23 +08:00
Moonchild
538b420319 Issue #1656 - Part 4: Manual cleanup 2020-09-25 22:04:20 +08:00
Moonchild
30df895eb2 Issue #1656 - Part 3: Nuke more vim config lines in the tree.
Another S&R run with some smarter matching.
2020-09-25 22:04:17 +08:00
Moonchild
8c395520d9 Issue #1656 - Part 1: Nuke most vim config lines in the tree.
Since these are just interpreted comments, there's 0 impact on actual code.
This removes all lines that match /* vim: set(.*)tw=80: */ with S&R -- there are
a few others scattered around which will be removed manually in a second part.
2020-09-25 22:04:12 +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
Gaming4JC
c0409464b6 Bug 1613623 - For IMAP, no longer allow STARTTLS when server sends PREAUTH greeting.
Tag #1312
2020-06-20 06:44:27 +08:00
Matt A. Tobin
2bc74563e1 Remove unused mailnews.mozbuild 2020-03-05 09:38:22 +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
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
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
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
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