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

10495 Коммитов

Автор SHA1 Сообщение Дата
Alessandro Castellani 7afd823984 Bug 1922849 - Port bug 1894633: Stop fetching icons from the network in Places. r=tobyp,mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D224617

--HG--
extra : amend_source : b6233bf2c363ab005d5b19f90ce00230ad5ef108
2024-10-05 13:51:28 +03:00
Magnus Melin 89dbe9128a Bug 1915397 - fix resource leak in MimeMultipartAlternative_flush_children. r=john.bieling
CID: 1537771

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

--HG--
extra : amend_source : 787cf54c0402a0650700c662978a449f95b08a79
2024-10-02 15:11:53 -07:00
Magnus Melin 30a13f76de Bug 1915397 - fix uninitialized pointer fields in nsImapServerResponseParser::​nsImapServerResponseParser(). r=tobyp
CID: 1137607

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

--HG--
extra : amend_source : e5ad3225b47fd89e3924992791b15eceed9eb21f
2024-10-02 15:11:17 -07:00
Kai Engert d11b135e87 Bug 1921950 - Remove unused code for ROT13 encoding. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D224232

--HG--
extra : rebase_source : 5446d9b616c6c4d9e4ec29c8b5d70526c06fec3d
2024-10-02 13:13:44 +03:00
Ben Campbell 8eec786bad Bug 1921899 - Move nsMsgDBFolder::CreateFileForDB() into nsImapMailFolder. r=mkmelin
nsImapMailFolder is the sole caller of CreateFileForDB().

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

--HG--
extra : rebase_source : c0ef4d8feda4da9124469ea5907457ccaa9c4cc2
2024-10-02 13:12:57 +03:00
Ben Campbell 6e20076e9f Bug 1718998 - Comment-only. Clarify params of nsIImapServerSink.possibleImapMailbox(). r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D224272

--HG--
extra : rebase_source : b126d3554eee696a3e8650d6ef73a1aab6729811
2024-10-02 13:10:56 +03:00
Magnus Melin 7693b84de5 Bug 1804185 - fix subject in nsIMsgThread. r=john.bieling
No functional change, but ensures no charset garbling across xpcom boundaries.

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

--HG--
extra : rebase_source : bcce1cf0b75b547ad15204079eb7560968a036cc
2024-10-02 13:09:57 +03:00
Magnus Melin 7eebd34e84 Bug 1915397 - fix uninitialized scalar fields in nsLocalMailCopyState::​nsLocalMailCopyState(). r=BenC
CID: 1137619

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

--HG--
extra : rebase_source : c16b534d0662d7ee8600988d7261abb04644ac85
extra : amend_source : 218ec20613cf0740d0e10a837631d19c5e8c1a3f
2024-10-01 13:52:00 +03:00
Magnus Melin 9212327827 Bug 1915397 - fix resource leak in morkFactory::​MakeHeap(). r=BenC
CID: 221061

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

--HG--
extra : rebase_source : d6fb2804f2cbcad5dcbdb78c1ae7ef66cb271d06
extra : amend_source : 79fd056748066b76fe3676e50b9e0596c4dd83bd
2024-10-01 13:51:24 +03:00
Magnus Melin 475aacfa12 Bug 1915397 - fix resource leak in MimeMultipartSigned_emit_child(). r=BenC
CID: 450615

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

--HG--
extra : rebase_source : 8cc39d1e8498848eaa73f969e14192689a9d2976
extra : amend_source : 151888c2bf992d6f5caa0a915e9e89ebd1343d3d
2024-10-01 13:50:58 +03:00
Magnus Melin eafc23d18b Bug 1915397 - fix resource leaks in mime_parse_stream_complete. r=BenC
CID: 1137489
CID: 1137488

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

--HG--
extra : rebase_source : 9240181f632d2e43e8e02f4e2d0541d0c20c9f99
extra : amend_source : 6637a0240f8f3400e65984bbfdf7d1070d8058e1
2024-10-01 13:50:25 +03:00
Magnus Melin a0974d4ebc Bug 1915397 - fix unused value in nsMimeBaseEmitter::MimeGetStringByID. r=BenC
CID: 1260153

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

--HG--
extra : rebase_source : a4d516ad875d616de555a7da5f4be554cd2c4f35
extra : amend_source : 4736e1ec0819973bf18c4acf1f8669f29fe3cd1e
2024-10-01 13:49:54 +03:00
Magnus Melin 773f66b6d1 Bug 1921739 - New imap messages in subfolder are not showing under some conditions. r=kaie
Backing out bug 1907691 and fixing it without any additional cleanup.

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

--HG--
extra : rebase_source : 5b3841d2d57fb27ec2f1c4bfd926c37ce594ea3e
extra : amend_source : 44a584aa7e58d3f749ded8821f4ddc23920b6d11
2024-10-01 13:47:36 +03:00
Kai Engert 8ca48e491a Bug 1919290 - Use smarter logic to avoid code repetition. r=BenC
Differential Revision: https://phabricator.services.mozilla.com/D224164

--HG--
extra : rebase_source : 781b5bdb7930542b7776815126dee6858b79a557
2024-09-30 21:56:30 +02:00
Kai Engert 4954523ba3 Bug 1919290 - Type checking for output and image closure parameters in C MIME code. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D223088

--HG--
extra : rebase_source : ff3a2d74dca6e48fae0932af87259fd3720fb10f
2024-09-30 19:34:15 +02:00
Kai Engert 569a04bb6f Bug 1919290 - Type checking for data_object in C MIME code. r=BenC
Differential Revision: https://phabricator.services.mozilla.com/D223087

--HG--
extra : rebase_source : 3c2a73c9433c953457a93e1bb270b3c664e39ce4
2024-09-20 14:09:53 +02:00
Kai Engert 30ce1a27b4 Bug 1919290 - Type checking for an initial set of closure parameters in C MIME code. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D222475

--HG--
extra : rebase_source : 744f1bf4c96356538f48996f27decea1d47b85a1
2024-09-17 10:17:56 +02:00
Geoff Lankow 3bd0c36d98 Bug 1921313 - Use wildcards for office365.com, outlook.com and hotmail.com in OAuth2 hostnames. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D223881

--HG--
extra : rebase_source : 49239a465d31365e599009fdf1c498c6baedacb3
extra : amend_source : 34e6e95ee2dd5c5b83fdf7e80d1765b134ac8b17
2024-09-27 10:41:30 +12:00
Magnus Melin 332b11a11d Bug 1915098 - Gracefully handle cards with _href undefined. r=darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D220221

--HG--
extra : rebase_source : 292a54559ee9d2862a68e818c466b633efb4d431
extra : amend_source : b2c2785e99cf29671112410648945ab06331576a
2024-09-30 12:53:21 +03:00
Geoff Lankow e831583b72 No bug - Fix white-space in an IDL file. rs=me 2024-09-30 10:44:14 +13:00
Magnus Melin 75516d469c Bug 1915397 - fix uninitialized scalar fields in mime_stream_data::​mime_stream_data(). r=tobyp
CID: 1137614

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

--HG--
extra : moz-landing-system : lando
2024-09-27 21:50:17 +00:00
Magnus Melin adff1e9891 Bug 1915397 - fix uninitialized scalar field in nsPgpMimeProxy::​nsPgpMimeProxy(). r=kaie
CID: 1137589

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

--HG--
extra : moz-landing-system : lando
2024-09-27 21:50:17 +00:00
Magnus Melin 918f80ec0d Bug 1915397 - fix uninitialized pointer field in MimePgpeData::​MimePgpeData(). r=kaie
CID: 1137590

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

--HG--
extra : moz-landing-system : lando
2024-09-27 21:50:16 +00:00
Magnus Melin 9ea0e6644c Bug 1915397 - fix uninitialized scalar field in nsParseNewMailState::​nsParseNewMailState(). r=john.bieling
CID: 1137591

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

--HG--
extra : moz-landing-system : lando
2024-09-27 21:50:16 +00:00
Magnus Melin 9965e37b7b Bug 1915397 - fix uninitialized scalar field in nsMsgMailboxParser::​nsMsgMailboxParser(). r=thunderbird-reviewers,babolivier
CID: 1137592

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

--HG--
extra : moz-landing-system : lando
2024-09-27 21:50:16 +00:00
Magnus Melin f2fdfc0ffa Bug 1915397 - fix uninitialized pointer fields in nsLocalMoveCopyMsgTxn::​nsLocalMoveCopyMsgTxn(). r=tobyp
CID: 1137594

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

--HG--
extra : moz-landing-system : lando
2024-09-27 21:50:15 +00:00
Magnus Melin 678dce6ba4 Bug 1915397 - fix uninitialized scalar field in nsImapUrl::​nsImapUrl(). r=thunderbird-reviewers,babolivier
CID: 1137605

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

--HG--
extra : moz-landing-system : lando
2024-09-27 21:50:15 +00:00
Geoff Lankow 1164f60297 Bug 1901705 - Remove mailnews/db/moz.build. r=aleca
This file doesn't do anything, it's not included in the parent directory's moz.build.

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

--HG--
extra : amend_source : 15bdf5d0265acb59820753044062263ccef4148a
2024-09-27 13:55:16 +03:00
Magnus Melin 5a7518ff13 Bug 334657 - make ics parsing more tolerant to non-utf8 data. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D223675

--HG--
rename : calendar/test/unit/data/import.ics => calendar/test/unit/data/importLatin1.ics
extra : rebase_source : 84382d48d1517b381fdbab641fb7d6315d614a0d
2024-09-27 10:34:18 +03:00
Ben Campbell 521811c6f4 Bug 1806770 - Add IMAP UID support functions to nsIMsgDatabase. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D223046

--HG--
extra : moz-landing-system : lando
2024-09-24 21:55:18 +00:00
Ben Campbell 8815b97218 Bug 1806770 - Add nsIMsgHdr.uidOnServer attr. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D221591

--HG--
extra : moz-landing-system : lando
2024-09-24 21:55:17 +00:00
welpy-cw e69b857558 Bug 1913600 - Adjust drag'n'drop handling of compose window after bug 1851536. r=mkmelin
Since https://phabricator.services.mozilla.com/D193762 has landed, multiple selected contacts with display names that are dragged into the compose window are treated as attachments. This patch excludes dragged items containing the "text/x-moz-address" flavor from being checked for valid attachments and handles them directly.

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

--HG--
extra : moz-landing-system : lando
2024-09-24 16:58:56 +00:00
Geoff Lankow a02d112db6 Bug 1920628 - Remove pref for testing Google OAuth2 granular permissions. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D223254

--HG--
extra : rebase_source : c41652fcbc11fce8fc75de47059dcdf9ce85f4c1
2024-09-24 15:59:39 +12:00
Geoff Lankow a6f2a35882 Bug 1920626 - Only update saved OAuth tokens if the scopes match. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D223252

--HG--
extra : rebase_source : bc89b0062adb5a8cc08d301f608c0e900cb99248
2024-09-24 14:34:14 +12:00
Geoff Lankow 15999f476e Bug 1920419 - Fix what happens if an *.oauth2.scope pref is empty. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D223251

--HG--
extra : rebase_source : 5cf4f446f51d7d4226fedde55143413ecbdc516e
2024-09-24 14:34:58 +12:00
Geoff Lankow decf8cd4d2 Bug 1920419 - Add logging to OAuth2Module.sys.mjs. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D223077

--HG--
extra : rebase_source : 0be44e6ed7646ce3c604f1287925407d087b5e2b
extra : amend_source : 1ed8fd9a8ca2fe1654db9f02671e36683694de0b
2024-09-20 11:59:05 +12:00
Geoff Lankow a71123080c Bug 1920419 - Handle OAuth scopes with Set functions, and fix cache checking. r=mkmelin
Using `isSupersetOf` makes the intention of the code clearer, and hopefully prevents future mistakes.

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

--HG--
extra : rebase_source : fcc0f5a47d2898e1586de2e9b2c4c6c34aa20192
extra : amend_source : 0f4e9afe01790928bf17d8d760d16fc2ed3343c1
2024-09-23 11:13:25 +12:00
Geoff Lankow 87840c8a1b Bug 1920419 - Test that OAuth2Module correctly saves and restores tokens. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D223075

--HG--
extra : rebase_source : 87d26b79b6a6bfc264090a7748b124d021b8ba37
extra : amend_source : bf2cabf48115919d70f65a55747f52c0d1e2b977
2024-08-28 22:14:21 +12:00
Magnus Melin ab83c0242b Bug 1581079 - Try to fix crash in [@ PL_strncpy | PL_strncat | nsParseMailMessageState::GetAggregateHeader]. r=BenC,kaie
This clarifies the type of a few variables.
Ensure header value+length are not out of sync in a couple of places.

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

--HG--
extra : amend_source : 490f9bec75dd288cb20be42f1b74ae6df6fe3b38
2024-09-23 12:04:57 -04:00
Kai Engert 4d5d81ebf6 Bug 1581079 - Backing out changeset 35f473611f68. rs=bustage 2024-09-20 17:36:23 +02:00
Magnus Melin 7c03f5d676 Bug 1581079 - Try to fix crash in [@ PL_strncpy | PL_strncat | nsParseMailMessageState::GetAggregateHeader]. r=BenC
This clarifies the type of a few variables.
Ensure header value+length are not out of sync in a couple of places.

Differential Revision: https://phabricator.services.mozilla.com/D221032
2024-09-17 11:43:24 +00:00
Ben Campbell 3437cb4058 Bug 1911916 - Part 6 of 6. Add xpcshell test to check that msgStore is providing timestamps. r=tobyp,mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D222063

--HG--
extra : moz-landing-system : lando
2024-09-19 22:00:54 +00:00
Ben Campbell 5894bdc656 Bug 1911916 - Part 5 of 6. Preserve mbox "From "-line sender/timestamp during compaction. r=tobyp
Differential Revision: https://phabricator.services.mozilla.com/D222062

--HG--
extra : moz-landing-system : lando
2024-09-19 22:00:54 +00:00
Ben Campbell cb4f690c6d Bug 1911916 - Part 4 of 6. Provide a fallback date during folder repair. For malformed messages missing "Date:" header. r=tobyp
Differential Revision: https://phabricator.services.mozilla.com/D221751

--HG--
extra : moz-landing-system : lando
2024-09-19 22:00:53 +00:00
Ben Campbell f6fd6b9b10 Bug 1911916 - Part 3 of 6. Change nsIStoreScanListener.onStartMessage() to pass out envAddr and envDate data if available. r=tobyp
Differential Revision: https://phabricator.services.mozilla.com/D221750

--HG--
extra : moz-landing-system : lando
2024-09-19 22:00:53 +00:00
Ben Campbell d6adee0937 Bug 1911916 - Part 2 of 6. Make MboxMsgInputStream attempt to parse sender and date in "From " lines. r=tobyp
Differential Revision: https://phabricator.services.mozilla.com/D221749

--HG--
extra : moz-landing-system : lando
2024-09-19 22:00:52 +00:00
Ben Campbell 3c842346d6 Bug 1911916 - Part 1 of 6. Write envelope sender and timestamp values into mbox "From " separator lines. r=tobyp,mkmelin
If no sender or timestamp are provided, then defaults will be used:
"-" for sender, in line with previous versions of TB.
Current time for received timestamp.

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

--HG--
extra : moz-landing-system : lando
2024-09-19 22:00:52 +00:00
Magnus Melin c5bb0c22c2 Bug 1915208 - show OAuth2 authentication method also for ews. r=tobyp
We only need to do it on init, since it's not allowed to change hostname without restart.

Differential Revision: https://phabricator.services.mozilla.com/D222282
2024-09-16 12:59:24 +00:00
Kai Engert 506b01de88 Bug 1852662 - Fix UndefinedBehaviorSanitizer warning in mimebuf.cpp:132. r=BenC
Differential Revision: https://phabricator.services.mozilla.com/D222284

--HG--
extra : rebase_source : 4604bd88c3f31aa0b5443291acd65e55456fdc7e
extra : amend_source : 85b19c81ad1fd1c475e44c77c3df6d5e41e94186
2024-09-16 13:33:40 +02:00
Magnus Melin 726325f7ee Bug 1917472 - Show/hide SMTP Server OAuth2 authentication method based on filled in hostname. r=tobyp
Differential Revision: https://phabricator.services.mozilla.com/D222269

--HG--
extra : amend_source : 4bef6608e2d3e8b26987af8b0f392e9307b1c01d
2024-09-16 10:17:19 +00:00
Magnus Melin 28d02b714b Bug 1907691 - Fix Crash in [@ strlen | nsCharTraits<T>::length] via nsImapServerResponseParser::mailbox and nsImapServerResponseParser::ParseIMAPServerResponse. r=tobyp
Differential Revision: https://phabricator.services.mozilla.com/D222093

--HG--
extra : rebase_source : 741e023bb1b07f6cebab8a4d8404ebffb4c403a4
2024-09-16 06:59:27 +00:00
Geoff Lankow 72733c5e07 Bug 1917993 - Improve performance of tags display in cards view. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D222061

--HG--
extra : rebase_source : 64695976703204a7810edb1ef85734847b92cfe8
2024-09-13 14:07:39 +12:00
Martin Giger 4ccaff45e6 Bug 1918630 - Fix some of the new eslint failures, EventUtils and MailTestUtils. r=kaie
Remaining pieces of Revision: https://phabricator.services.mozilla.com/D222147

--HG--
extra : amend_source : a8bb1c112998a0847bbedd5192161b1c957e6419
2024-09-14 18:01:39 +02:00
Martin Giger 85ad8ae333 Bug 1918630 - Port bug 1575506: Fix some of the new eslint failures. r=kaie
Subset of the patch, excluding
- mailnews/test/resources/MailTestUtils.sys.mjs
- mail/test/browser/shared-modules/EventUtils.sys.mjs

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

--HG--
extra : rebase_source : 69e22acc3233034f4337548726d37ff1fe56fcc9
2024-09-13 16:32:33 +00:00
Sarim Khan 13a37f7a7a Bug 1836511 - Track filter-moved messages for POP3 accounts to properly update new message counts and notify. r=BenC
- Introduce m_filterTargetFoldersMsgMovedCount to track moved messages
- Set msgIsNew to false for filter-moved messages to decrease inbox new message count
- Update filter target folders new message counts and fire notification at the end of message download

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

--HG--
extra : moz-landing-system : lando
2024-09-14 09:15:33 +00:00
Magnus Melin 443ddae2e7 Bug 1868517 - Remove deprecated trySTARTTLS and migrate any accounts using trySTARTTLS to alwaysSTARTTLS. r=leftmostcat
Very few users will have this, as it's not been shown in the UI for many many years.

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

--HG--
extra : moz-landing-system : lando
2024-09-12 20:44:48 +00:00
Ben Campbell 09af98d359 Bug 1917179 - Tweak nsMsgOfflineImapOperation::SetSrcMessageKey() so it doesn't corrupt m_messageKey. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D221291

--HG--
extra : rebase_source : 64f8b6a818c73984fb48761ec66194c3c3f9d0f9
2024-09-12 10:26:06 +12:00
Ben Campbell 0756489bb8 Bug 1911916 - Remove dead function MsgGenerateNowStr() in nsMsgUtils. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D221747

--HG--
extra : rebase_source : 791f80fd1833a09e07ef5ff6bb4d91d9b074ccdd
2024-09-12 10:22:50 +12:00
Vineet Deo a5100a8dbd Bug 1806770 - Fix whitespace linting error in mailnews/db/msgdb/src/nsMailDatabase.cpp. r=leftmostcat DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D221719

--HG--
extra : moz-landing-system : lando
2024-09-11 12:52:40 +00:00
Ben Campbell a7f475e580 Bug 1806770 - Remove dead code cruft nsMsgOfflineOpEnumerator. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D220775

--HG--
extra : amend_source : 4c9581398d2c480f8b9f1c2b342893e71940290c
2024-09-10 21:25:24 +12:00
Ben Campbell 2b08b6e761 Bug 1718998 - Comments only. Add some notes about IMAP offline copy/move operations. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D221289

--HG--
extra : amend_source : 8c2de3774f74aa3e1dcdcca2b26d675929ca9e68
2024-09-10 15:28:12 +12:00
Geoff Lankow 7648cf48f0 Bug 1916564 - Port bug 71895: Remove Hidden Window from Linux and Windows builds. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D221006

--HG--
extra : rebase_source : 5c3f6de10d9aab9aa179c164e73dde701d2e9718
extra : amend_source : 236aaf404a0d44c09770ab4268a1a466d8d734ef
2024-09-04 21:58:32 +12:00
Magnus Melin d4bfa5b019 Bug 1917218 - Fix crash in [@ nsMsgMdnGenerator::SendMdnMsg]. r=leftmostcat
Differential Revision: https://phabricator.services.mozilla.com/D221343

--HG--
extra : rebase_source : a9f7d186ba91ec041191d5d3f71cefcf47cb5339
extra : amend_source : cd7bd1b5c2e49c27453d5b64dddac770452eed3f
2024-09-08 13:57:38 +03:00
Brendan Abolivier d2a0beaf18 Bug 1914662 - Correctly extract or generate a message ID for delayed sending. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D220297

--HG--
extra : amend_source : 2b8372d71c3484a280f76e4915896e2eaac15d1a
extra : absorb_source : af7b000b38c88dcbfdda999fa33ec31f90f9da13
2024-09-05 13:47:48 +03:00
Magnus Melin 1cf45b027d Bug 1898488 - Fix Copy to sent folder Retry causing TypeError: can't access property "processCanceledByUser", this._sendProgress is undefined. r=gds
Differential Revision: https://phabricator.services.mozilla.com/D211433

--HG--
extra : rebase_source : 50ec2e8064cc773390964ac06f668f0e4c0f8f1c
extra : amend_source : e6f6581d6e4b89c4c852dab40a63abb7d997d6a0
extra : absorb_source : 306213984a582d720bb0681b27f9b8d4101ad7c3
2024-09-05 13:46:59 +03:00
Magnus Melin 4d94e7caa3 Bug 1908866 - Don't request EWS permissions for non EWS accounts as EWS permissions may not be granted for security reasons. r=babolivier
Differential Revision: https://phabricator.services.mozilla.com/D220925

--HG--
extra : amend_source : 8ec57e6cbacb728f2bd7c2795b49d571c7d43244
2024-09-05 13:24:14 +12:00
Geoff Lankow 0c18ffab8c Bug 1901962 - Test message sending scenarios. r=mkmelin
These test sending messages from the compose window with a variety of connection/authentication
problems. They are closely related to the tests named browser_getMessages with the same suffixes.

Sending a message presents a variety of prompt windows to the user, particularly when something
goes wrong. I've tried to avoid writing tests that lock in this behaviour in the hope that one day
somebody will overhaul it.

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

--HG--
extra : moz-landing-system : lando
2024-09-04 10:49:40 +00:00
Magnus Melin 0679e1ce0a Bug 1915397 - Fix resource leak in EncodeImap. r=BenC
CID: 1537740

Differential Revision: https://phabricator.services.mozilla.com/D220620
2024-08-29 19:06:46 +00:00
Magnus Melin 84f76a1e2b Bug 1915397 - Fix dereference before null check in nsImapIncomingServer::GetMsgFolderFromURI. r=BenC
CID: 1537418

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

--HG--
extra : moz-landing-system : lando
2024-09-04 00:30:30 +00:00
Magnus Melin dc4bc6b2a9 Bug 1915397 - fix resource leak in nsImapNamespaceList::GetNamespaceForFolder. r=BenC
CID: 1534793

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

--HG--
extra : amend_source : b08c42e305a92aafbb2342a2c3a9328ec73c62c7
2024-09-04 06:28:44 +12:00
Ben Campbell ecf3f53133 No Bug - Minor nsOfflineImapOperation comment tweaks. rs=me
--HG--
extra : rebase_source : f48e7da6e95525ada8e16ee031967682c04ea80a
2024-09-03 16:09:16 +12:00
Magnus Melin 8066a59ded Bug 1915397 - fix unitialized scalar field in MboxCompactor. r=BenC DONTBUILD
CID: 1600522

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

--HG--
extra : amend_source : bccd7a21c75fd27609710d718dfd1eebc8a700f2
2024-09-03 09:16:10 +03:00
Magnus Melin 0da9df9936 Backed out changeset 03abb6a12276 (bug 1915397).
--HG--
extra : rebase_source : 2ad45c0a70257249da77abab0feb2bafd67161e0
extra : amend_source : 1fa9e9663a1b15765a87147e06f070aadca74c0f
2024-09-03 09:14:19 +03:00
Magnus Melin 5b7c1c5c88 Bug 1915397 - fix uninitialized scalar variable in nsCMSMessage::​CommonVerifySignature. r=kaie
CID: 1616909

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

--HG--
extra : rebase_source : 6f06f6950ab5f585c6170bc5f1d207dc62bdd2fa
extra : amend_source : df0ee1571708e59249e67c4e3922af9999c625c1
2024-09-02 17:08:42 +03:00
Magnus Melin 29eb7354f0 Bug 1915397 - Fix resource leak in nsImapServerResponseParser::xmailboxinfo_data. r=gds
CID: 450306

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

--HG--
extra : rebase_source : 82a954df631bfad370778888995c5561aac24f7c
extra : amend_source : 09159c9274422262d816ca6e400ce754b36fdb30
2024-09-02 17:06:55 +03:00
Magnus Melin b56bed310c Bug 1915397 - remove logically dead code in nsMsgDBView::​SecondaryCompare. r=welpy-cw
CID: 1539175

For id the code bails out already at https://searchfox.org/comm-central/rev/498e1dfdb84c8c9fcc4a0afc20acc9bd1f061500/mailnews/base/src/nsMsgDBView.cpp#4189

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

--HG--
extra : rebase_source : 981c4d0e553666a72cae3d37ba60b66ae5bf6f45
extra : amend_source : d1e5bbe198966514f9a70d7cb5efdd737acfc492
2024-09-02 17:06:11 +03:00
Magnus Melin fa65a2c49b Bug 1915397 - fix unitialized scalar field in MboxCompactor. r=BenC
CID: 1600522

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

--HG--
extra : rebase_source : 16bf7007a0ce1ea3b0ccbdf1d28a9dfa7688f717
extra : amend_source : aaa159e84a30fa7bb7360ba023eb30d0c604f4dd
2024-09-02 17:05:20 +03:00
Magnus Melin cb68ff35eb Bug 1911951 - Fix hostname validity check - don't create servers with hostnames that could not be used. r=babolivier,tobyp
Instead, use <key>.invalid as hostname.
For CreateIncomingServer(), error out directly.

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

--HG--
extra : rebase_source : d4e2a1ea642a50cc39f2ec6b1be77c3b85269e20
2024-09-02 15:06:44 +03:00
Ben Campbell 3d89d37b44 Bug 1718998 - Add some hit & run comments to IMAP offline operations code. r=tobyp
Differential Revision: https://phabricator.services.mozilla.com/D220757

--HG--
extra : moz-landing-system : lando
2024-09-02 10:03:17 +00:00
Ben Campbell 603e095cc0 Bug 1718998 - Rename misleading var in nsImapMoveCopyTxn. r=aleca
Not strictly a comment change, but purely cosmetic. Doesn't affect generated code.

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

--HG--
extra : moz-landing-system : lando
2024-09-02 09:36:41 +00:00
Geoff Lankow 4a64fb502b No bug - Remove some pointless abbreviations of Ci members. rs=me 2024-09-02 10:38:40 +12:00
Geoff Lankow 19578865b1 No bug - Remove some pointless abbreviations of Ci members. rs=me 2024-08-30 16:32:45 +12:00
Magnus Melin 4a4f467d77 Bug 1902742 - Prevent display names from ISPDB mistakenly being parsed as a date. r=babolivier
Differential Revision: https://phabricator.services.mozilla.com/D220373

--HG--
extra : moz-landing-system : lando
2024-08-28 22:59:16 +00:00
welpy-cw 711e05a96e Bug 1774455 - Fix Quick Filter sort in threaded views sorted by Order Received ascending. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D219911

--HG--
extra : rebase_source : 57a5618b01d9c3ec05ecc06da24cbfed47d034a7
2024-08-24 11:58:49 +00:00
Magnus Melin daed10d50c Bug 1914792 - Port bug 1870226 to Thunderbird - Update eslint-plugin-jsdoc. r=freaktechnik
See https://hg.mozilla.org/mozilla-central/rev/06d1e6e91857

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

--HG--
extra : rebase_source : b40147a61da24053a546533aed08f0a830b082ed
2024-08-26 08:29:10 +00:00
Magnus Melin f00830e408 Bug 1907603 - Fix "TypeError: aPart is null MimeMessage.sys.mjs". r=john.bieling
Differential Revision: https://phabricator.services.mozilla.com/D219723

--HG--
extra : rebase_source : 78c088f6220097f818c476f010e587250bb1a72e
2024-08-21 11:14:34 +03:00
Magnus Melin 9961990206 Bug 1912083 - Adjust Thunderbird code for "Switch url argument to UTF8 string.". rs=bustage-fix
Port https://hg.mozilla.org/mozilla-central/rev/245988a0e81b
2024-08-21 09:47:03 +03:00
Ben Campbell d8217b66e7 Bug 1911264 - Simplify runtime-type access for message nsITransaction undo/redo objects. r=mkmelin
This patch removes all the support for the various generic PropertyBag interfaces.
It adds a new interface, nsIMsgTxn, which extends nsIMsgTxn to add msgWindow and txnType read-only attributes.
Methods in nsMessenger that previously QIed to nsIPropertyBag2 now just QI to nsIMsgTxn instead to access the dedicated txnType attr.

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

--HG--
extra : amend_source : bd62cadadb35599190f310ed619a585d4ae3c3c5
2024-08-21 08:05:32 +03:00
Richard Marti 34da4b7822 Bug 1904229 - Move the Account actions menulist to a header button. r=freaktechnik,laurel
Differential Revision: https://phabricator.services.mozilla.com/D214674

--HG--
extra : amend_source : 3262232c320c0070e31aa9343dabe67980cb7f3a
2024-08-21 08:01:09 +03:00
Yury Ivanovich cbc2cfb348 Bug 1913565 - Remove incorrect enlargement of single view array. r=welpy-cw,mkmelin
Extra fix: Remove unused variable.

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

--HG--
extra : amend_source : 97ad4287154eda46c022187df82b56e2f0ae7328
2024-08-19 12:52:24 +03:00
Toby Pilling 2de70e8e68 Bug 1912556 - Allow Scope requests to include parameters such as offline_access without failing. r=darktrojan
== How to Test ==
- Delete profile
- Add new & authenticate O365 account with EWS enabled
- Close & reopen Client
- [Should NOT be prompted again for credentials]
- Add new Google IMAP account
- At granular Google permissions prompt, choose at least email
- [Account should be set up and email should be downloaded]

If testing with an existing account, after successfully re-authenticating once on first restart, subsequent restarts should not prompt for authentication.

[[ https://treeherder.mozilla.org/jobs?repo=try-comm-central&revision=1e6580b1922db87dab6fb64a11b8f19f95d209ca | Try run here ]]

Props to darktrojan for the help here!

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

--HG--
extra : amend_source : f88afe28c12a0cc779b6030ea79ff0ce5cb67be0
2024-08-15 17:15:19 +01:00
Geoff Lankow fb4b5cb0cc Bug 1912556 - Remove offline_access from the OAuth scopes we request from Microsoft. r=tobyp
Differential Revision: https://phabricator.services.mozilla.com/D219072

--HG--
extra : rebase_source : 881f7b9d09f7799f5e0844f25e48e8646e34cc34
2024-08-12 22:46:30 +01:00
Geoff Lankow e07a9c37b5 Bug 1909789 - Test that scopes modified during OAuth2 authentication are saved correctly. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D217668

--HG--
extra : rebase_source : dabf9c9a6941a2c5909f2a2c269962855606fe4b
extra : amend_source : 1783931cf3727c5688a5d18a9944c110cadf608e
2024-07-25 16:30:31 +12:00
Geoff Lankow 26b2e4298d Bug 1912738 - Ignore the order of OAuth2 scopes when looking for a refresh token. r=tobyp
The order is unimportant as long as we have all of the scopes we are looking for.

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

--HG--
extra : rebase_source : 04c793b00965be517fed3e0b3970584d6491bf97
2024-08-12 11:53:09 +01:00
Geoff Lankow 18536e4111 No bug - Remove a duplicate interface declaration in an IDL file. rs=me
--HG--
extra : rebase_source : 9f2a84a470e580841c5478e22f6ce9ae35ebc9d8
2024-08-12 13:26:11 +01:00
welpy-cw fe0f4b6998 Bug 1902597 - Fix message deletion in cross-folder search views. r=mkmelin
- Refactor and fix `nsMsgSearchDBView::DeleteMessages()` to apply the correct deletion method for messages from different accounts.
- Enable undeleting of messages marked as deleted.
- Mark messages as read before deleting them (see bug 1859677)
- Update `m_totalMessagesInView` correctly when messages are moved or marked as deleted.

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

--HG--
extra : amend_source : 30d4ad367f74641b67f2e61c2eb86c3bb668274b
2024-08-10 13:47:31 +03:00
welpy-cw e74826d5d6 Bug 1894214 - Fix "Mark All Read" for Quick Filter and virtual folders. r=mkmelin
This essentially backs out the changeset for bug 519687 to fix the regression regarding Quick
Filter and adds the functionality for multi-folder search views.

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

--HG--
extra : amend_source : 4c820786f2d3bd9149dd986bf2377f9ce022c947
2024-08-10 13:46:59 +03:00
Geoff Lankow 303f21bc41 Bug 1909789 - Adjust account setup to handle partial granting of OAuth2 permission. r=tobyp
## Setup needed

- Go to this function: https://searchfox.org/comm-central/rev/78281e3c069c538140edb1b86dd975f7cf423bbf/mailnews/base/src/OAuth2.sys.mjs#121
- And add `params.append("enable_granular_consent", "true");` to enable granular consent.

### How to test
**When setting up a mail account, and**
1. Granting all permissions,
  - does the mail account work?
  - can address books and calendars be set up in the mail setup wizard?
  - can address books and calendars be set up separately after the mail setup wizard?
2. Granting only the mail permission,
  - does the mail account work?
  - can address books and calendars be set up in the mail setup wizard? (no automatic attempt should be made)
  - can address books and calendars be set up separately after the mail setup wizard?
3. Not granting the mail permission,
  - do we handle this like a cancellation of the prompt?
4. Not granting any permissions but accepting the prompt,
  - do we handle this like a cancellation of the prompt?
5. If we set up an address book or calendar first, can we still set up mail?

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

--HG--
extra : moz-landing-system : lando
2024-08-08 22:17:39 +00:00
Magnus Melin b772054c6c Bug 1911076 - ensure MboxMsgInputStream msgOffset is 64bit, so 32bit installations can handle files > 4GB. r=aleca,babolivier
Differential Revision: https://phabricator.services.mozilla.com/D218724

--HG--
extra : amend_source : 3165d18f306fe7fc0fad648a8603a4ee56228897
2024-08-08 10:44:55 +01:00
welpy-cw a55fda179c Bug 1691301 - Fix size of filter log and junk log dialogs. r=Paenglab
Differential Revision: https://phabricator.services.mozilla.com/D218654

--HG--
extra : amend_source : e5baed5c9b55ad0ff6c2d4990bd5e5a059307d55
2024-08-07 17:23:46 +01:00
welpy-cw df237f2552 Bug 1911603 - Fix size of folder list edit dialog in virtual folder properties. r=Paenglab
Differential Revision: https://phabricator.services.mozilla.com/D218534

--HG--
extra : amend_source : eebd4bd25c6d1f5146c4beeaa5cfbcc2d36568a6
2024-08-07 17:22:48 +01:00
welpy-cw 0cc5158068 Bug 1908761 - Simplify and improve handling of secondary sorts in DBViewWrapper. r=aleca,babolivier
To set the secondary sort, `DBViewWrapper` lets the view sort itself twice in many cases such as
entering/leaving Quick Filter or leaving Grouped By Sort, as well as just changing the sort type
itself. Since `nsMsgDBView::Sort()` already takes the secondary sort into account, these
additional calls can be removed, which can significantly improve performance depending on the
individual sort types.

When leaving Grouped By Sort, the secondary sort type will always be set to Order Received, which
prevents having a comparably slow sort type such as by From, Recipient, or Correspondents as
secondary sort in place.

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

--HG--
extra : amend_source : 734d4576517f02968371cd35bad740906afabbfa
2024-08-06 17:15:01 +01:00
welpy-cw 99d06d3cc8 Bug 1910477 - Fix parsing of EML files containing large headers. r=BenC
Differential Revision: https://phabricator.services.mozilla.com/D218463

--HG--
extra : amend_source : f8abb20a74542e64149d2475a3725a229456871b
2024-08-06 11:32:44 +01:00
Brendan Abolivier f58877b934 Bug 1860334 - Follow-up: C++ format. r=rjl DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D218545

--HG--
extra : amend_source : a90fc9cb4acf3d6497184e3c976e289152db4adb
2024-08-05 17:12:54 +01:00
Brendan Abolivier 1a96a61526 Bug 1906188 - Follow-up: add missing semicolon. r=rjl
Differential Revision: https://phabricator.services.mozilla.com/D218537

--HG--
extra : rebase_source : a8d52e4b4353a0bd0b534b1dd41df298e96e77fc
2024-08-05 16:50:21 +01:00
Brendan Abolivier bc503307b1 Backed out changeset 151ea25996a0 (bug 1910477) for causing build failures
Please ignore the backout commit in the previous push - it was mistakenly targetting the wrong patch.

--HG--
extra : amend_source : 3c5374b9bbbdb81a8469a120c47a1db58ae7137e
2024-08-05 11:57:26 +01:00
ISHIKAWA, Chiaki 2b1d1f7c51 Bug 1909771 - Avoid UndefinedBehavior mailnews/compose/src/nsMsgCompose.cpp. r=babolivier
Differential Revision: https://phabricator.services.mozilla.com/D217997

--HG--
extra : amend_source : 93cd665d11eed8e089da058ad3ae80ce11dce3cf
2024-08-05 11:57:11 +01:00
Brendan Abolivier f368643b24 Backed out changeset 1c648455532f (bug 1909771) for causing build failures
--HG--
extra : amend_source : 34b6f60fb38fddc100fd07484f48c593e37d34df
2024-08-05 11:53:25 +01:00
ISHIKAWA, Chiaki 17404cd990 Bug 1909771 - Avoid UndefinedBehavior mailnews/compose/src/nsMsgCompose.cpp. r=babolivier
Differential Revision: https://phabricator.services.mozilla.com/D217997

--HG--
extra : amend_source : f03fe441e91ab54fa13aa0d05090da61cbfc6bbf
2024-08-05 11:05:20 +01:00
welpy-cw fab4d6c857 Bug 1910477 - Fix parsing of EML files containing large headers. r=BenC
Differential Revision: https://phabricator.services.mozilla.com/D218463

--HG--
extra : amend_source : 9fa11dddf0781df4814cecd50f39fd799f456c56
2024-08-05 11:04:38 +01:00
Alessandro Castellani 4c4ffffe3c Bug 1911352 - Port Bug 1910698: Remove nsIScriptError.sourceLine. r=leftmostcat
Differential Revision: https://phabricator.services.mozilla.com/D218436

--HG--
extra : moz-landing-system : lando
2024-08-03 03:15:14 +00:00
Brendan Abolivier be24bddc60 Bug 1911045 - Correct call to nsIExternalProtocolService::LoadURI. rs=bustage-fix
Differential Revision: https://phabricator.services.mozilla.com/D218292

--HG--
extra : amend_source : f0278f602c7c9385de81ca36f80915cab2f68746
2024-08-01 10:18:29 +01:00
Sean Burke aaa17b9c6e Bug 1860334 - Part 3: Implement XPCOM channel, service, and protocol components. r=babolivier,BenC
Differential Revision: https://phabricator.services.mozilla.com/D213693

--HG--
extra : moz-landing-system : lando
2024-07-31 21:28:43 +00:00
Sean Burke a5fb3d5c77 Bug 1860334 - Part 2: Implement EWS message body fetching. r=babolivier
Differential Revision: https://phabricator.services.mozilla.com/D215983

--HG--
extra : moz-landing-system : lando
2024-07-31 21:28:42 +00:00
Sean Burke 8fe7c234be Bug 1860334 - Part 1: Don't use nsIMsgMailNewsUrl interface. r=babolivier
nsIMsgMailNewsUrl carries significant semantic and behavioral load beyond the
functionality of a URI. It's undesirable to continue its use, and step one is to
not use it in new code.

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

--HG--
extra : moz-landing-system : lando
2024-07-31 21:28:42 +00:00
Martin Giger 783ba28314 Bug 1905715 - Stop using unnecessary tab- prefix in import code. r=arschmitz
Differential Revision: https://phabricator.services.mozilla.com/D215393

--HG--
extra : moz-landing-system : lando
2024-07-31 17:44:56 +00:00
Martin Giger 50a18e1415 Bug 1909302 - Remove rss.message.loadWebPageOnSelect. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D217695

--HG--
extra : moz-landing-system : lando
2024-07-29 00:59:59 +00:00
Ben Campbell c77adcc204 Bug 1878541 - Add migration code to delete nstmp files left over from failed folder compactions. r=darktrojan,freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D214916

--HG--
extra : moz-landing-system : lando
2024-07-23 13:00:03 +00:00
Rob Lemley 4b0d93681e Bug 1908668 - Update MAPI stub includes to support Win Arm64. r=dandarnell
Differential Revision: https://phabricator.services.mozilla.com/D216953

--HG--
extra : moz-landing-system : lando
2024-07-23 13:00:03 +00:00
Heather Ellsworth 2913beb941 Bug 18732 - Add the linux system tray icon crate and its ksni dependency, r=aleca,babolivier,heather
This initial version of the system tray crate is geared specifically for use on Linux
via the Status Notifier Item specification. However in the interests of collapsing similar
codepaths we've left just enough space to allow expanding this into a more general purpose
entry point for all supported platforms.

Note that it was very difficult to support x86 (32-bit) builds due to needing build environment changes
with regards to libpthread, so at this point the feature is explicitly requiring a 64-bit build of Thunderbird.
This can be alleviated in time with future iterations to ksni and experimenting with
`zdbus` to drop the `libdbus-sys` dependency, opening up the door to many other D-BUS
services in Thunderbird.

Note that this is a collaborative effort between Heather Elssworth and myself,
with Heather having completed the original groundwork and research. I focused more
on the integration aspects and threading model. This feature wasn't possible without
Heather's work.

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

--HG--
rename : third_party/rust/dbus/examples/adv_server.rs => third_party/rust/dbus-0.6.5/examples/adv_server.rs
rename : third_party/rust/dbus/examples/server.rs => third_party/rust/dbus-0.6.5/examples/server.rs
rename : third_party/rust/dbus/src/connection.rs => third_party/rust/dbus-0.6.5/src/connection.rs
rename : third_party/rust/dbus/src/connection2.rs => third_party/rust/dbus-0.6.5/src/connection2.rs
rename : third_party/rust/dbus/src/crossroads/crossroads.rs => third_party/rust/dbus-0.6.5/src/crossroads/crossroads.rs
rename : third_party/rust/dbus/src/crossroads/handlers.rs => third_party/rust/dbus-0.6.5/src/crossroads/handlers.rs
rename : third_party/rust/dbus/src/crossroads/info.rs => third_party/rust/dbus-0.6.5/src/crossroads/info.rs
rename : third_party/rust/dbus/src/crossroads/mod.rs => third_party/rust/dbus-0.6.5/src/crossroads/mod.rs
rename : third_party/rust/dbus/src/crossroads/stdimpl.rs => third_party/rust/dbus-0.6.5/src/crossroads/stdimpl.rs
rename : third_party/rust/dbus/src/dispatcher.rs => third_party/rust/dbus-0.6.5/src/dispatcher.rs
rename : third_party/rust/dbus/src/matchrule.rs => third_party/rust/dbus-0.6.5/src/matchrule.rs
rename : third_party/rust/dbus/src/objpath.rs => third_party/rust/dbus-0.6.5/src/objpath.rs
rename : third_party/rust/dbus/src/signalargs.rs => third_party/rust/dbus-0.6.5/src/signalargs.rs
rename : third_party/rust/dbus/src/stdintf.rs => third_party/rust/dbus-0.6.5/src/stdintf.rs
rename : third_party/rust/dbus/src/tree/factory.rs => third_party/rust/dbus-0.6.5/src/tree/factory.rs
rename : third_party/rust/dbus/src/tree/leaves.rs => third_party/rust/dbus-0.6.5/src/tree/leaves.rs
rename : third_party/rust/dbus/src/tree/methodtype.rs => third_party/rust/dbus-0.6.5/src/tree/methodtype.rs
rename : third_party/rust/dbus/src/tree/mod.rs => third_party/rust/dbus-0.6.5/src/tree/mod.rs
rename : third_party/rust/dbus/src/tree/objectpath.rs => third_party/rust/dbus-0.6.5/src/tree/objectpath.rs
rename : third_party/rust/dbus/src/tree/utils.rs => third_party/rust/dbus-0.6.5/src/tree/utils.rs
rename : third_party/rust/dbus/src/watch.rs => third_party/rust/dbus-0.6.5/src/watch.rs
rename : third_party/rust/dbus/src/tree/factory.rs => third_party/rust/dbus-tree/src/factory.rs
extra : moz-landing-system : lando
2024-07-22 09:30:58 +00:00
Magnus Melin 0b09795f68 Bug 1899602 - Distribute metrics.yaml files to where they belong. r=aleca
Stop using the tb. prefix, and put the probes in component relative metrics.yaml files

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

--HG--
extra : rebase_source : ba46a84da2a78c3e00a36c94de63e45eb07afb6d
extra : amend_source : c3dc50206c65e5d3cf74605af24cf453d4dbc1e0
2024-07-20 13:38:18 +03:00
Geoff Lankow 6748888715 Bug 1908033 - Prevent the creation of incoming servers with invalid hostnames. r=babolivier
Except "Local Folders" and "smart mailboxes", of course.

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

--HG--
extra : rebase_source : 04dbfe00eee61653c86a64d71ec401969b77a9f0
2024-07-16 11:49:16 +12:00
Ben Campbell 905e7e9fd1 Bug 1903174 - Add debug logging for AutoCompaction checking. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D216884

--HG--
extra : amend_source : c7c0249ed763dc6c9dcc2cca2eedea4af2a5d8b8
2024-07-17 23:51:16 +00:00
Rob Lemley 243e39b494 Bug 1908558 - Fix building with --disable-mapi. r=dandarnell
When --disable-mapi is set in mozconfig, the build fails with a Python KeyError due
to buildconfig.substs not having a "MOZ_MAPI_SUPPORT" key.

Using defined() here correctly handles non-present key.

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

--HG--
extra : amend_source : 1fb1ee525555ad9525ce07d96384692a0580d383
2024-07-17 22:54:48 +00:00
Sean Burke 03e5119a09 Bug 1906757 - Don't create message headers for EWS messages which already exist. r=aleca,babolivier
Differential Revision: https://phabricator.services.mozilla.com/D215981

--HG--
extra : amend_source : be2ba8d1c340dc9db304c7391cebac0f89584453
2024-07-17 16:00:36 -07:00
Neil Rashbrook 7d077663ca Bug 1907630 - JsAccount shouldn't create dummy store files. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D216446

--HG--
extra : amend_source : 775c1323276c377877f0851c5b4b0a865f9efc81
extra : absorb_source : b59730f7bb17c8b0928a8d1bdf0693b159c25273
2024-07-17 09:28:45 -07:00
Richard Marti d09607a653 Bug 1907761 - Fix the Offline Folder dialog with dark themes. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D216505

--HG--
extra : amend_source : f97fce2eb53c1ceb3117fe2796c59a2dee6007a6
2024-07-16 07:00:24 +00:00
Geoff Lankow 3e48244633 Bug 1903910 - Test that selection is restored correctly on folder switch or context menu closing. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D215462

--HG--
extra : rebase_source : a96a1bb061700e58116c325a8a6629fa088b0161
extra : amend_source : e60c04fca5b4431c7987d21a194768138f34e783
2024-06-17 16:27:12 +12:00
welpy-cw f39a805666 Bug 1903910 - Introduce nsMsgDBView::findIndexForMsgURI for restoring message selections. r=darktrojan
Since `nsMsgDBView::findIndexFromKey` is only used by `threadPane.restoreSelection` (and doesn't work properly for cross-folder views anyway), I suggest replacing it with `nsMsgDBView::FindIndexForMsgURI`. This new function does everything needed to restore a selected message by its URI and doesn't throw, so `threadPane.restoreSelection` can be simplified quite a bit.

This also includes a change to `threadPane._jsTree` to allow nested batch processing to prevent a performance regression when using quick filters on views with selected messages.

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

--HG--
extra : rebase_source : 3620f45e4dc9cd392314af7c6b1ae9000306fb60
2024-06-27 13:44:02 +00:00
Martin Giger b5fd6b411c Bug 1906705 - Fix message body as menu for feeds. r=vineet
Differential Revision: https://phabricator.services.mozilla.com/D216056

--HG--
extra : amend_source : 9653022da3d13799e6f8032b596d3b4c1420c603
2024-07-16 15:19:25 -07:00
Ben Campbell 044a30bb02 Bug 1718998 - Improve comments on nsIMsgDatabase nsIMsgDBHdr creation functions. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D216519

--HG--
extra : amend_source : f764c962dd6b4e595f04d3e979dc05c39a64338a
2024-07-16 15:18:43 -07:00
Yury Ivanovich 995c7d146d Bug 1905503 - Remove unneeded parameter from nsMsgComposeService::GetOrigWindowSelection(). r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D215288

--HG--
extra : amend_source : d566adb79d87b4cb320dce47c900586ad27f6cc4
2024-06-29 17:49:47 +00:00
Geoff Lankow d6ca709e26 Bug 1906992 - Fix tests that use non-standard hostnames. r=kaie CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D216362

--HG--
extra : rebase_source : 12ddaa3bc5c38cdae5666b083786ab74e4b03814
extra : amend_source : d7a0533d02e7c922a11014fa804245834b38f30e
2024-07-12 12:14:10 +12:00
Brendan Abolivier 8921e5dbdc Bug 1906992 - Ensure URLs are properly normalized for local folders and smart mailboxes. r=darktrojan,kaie
Differential Revision: https://phabricator.services.mozilla.com/D216314

--HG--
extra : rebase_source : 55877440017023ec33b578fd412b6c10176665b4
extra : amend_source : 4c30e1de5ff95e915b7c2e814b7ef6b036b012c5
2024-07-11 15:31:32 +00:00
Geoff Lankow 407a52449f Bug 1906835 - Always close backup database in nsMsgDBFolder::Shutdown. r=BenC DONTBUILD CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D216017

--HG--
extra : rebase_source : e188068df17cb86ac46aff0763f099d7353eaed5
extra : amend_source : 5da50ff031eb797beae84967d846f17d55735947
2024-07-05 16:49:23 +12:00
Sean Burke ba069c614f Bug 1906985 - Don't pass now-removed parameter to convertToDisplayIDN(). r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D216119

--HG--
extra : moz-landing-system : lando
2024-07-10 00:19:45 +00:00
Richard Marti 899a38df06 Bug 1906497 - Fix the LDAP dialog background color with dark themes. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D215848

--HG--
extra : amend_source : b5007182b2a731b85cf9760b13716000e655c4ce
2024-07-09 15:17:20 -07:00
John Bieling 4f3b48b0a4 Bug 1906863 - Fix typo on junkCommands.js. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D216037

--HG--
extra : amend_source : 852851ff515053e95310824ff01ec0ec73dc917f
2024-07-09 15:14:35 -07:00
Brendan Abolivier 90d5d6c888 Bug 1896171 - Part 6: Send outgoing message to Bcc recipients when using EWS. r=leftmostcat
EWS requires Bcc recipients to be passed separately from the others. This is
because non-Bcc recipients are included in the MIME content, and therefore don't
need to be included separately in the request. But for compliance and privacy,
we don't include Bcc recipients in the MIME content.

I've also used this opportunity to make the type of the recipients a bit more
structured, which isn't a huge flow change since we would end up doing the same
parsing on the SMTP server side. So this is a small change that ends up saving a
bit of complexity on the server implementation's side.

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

--HG--
extra : rebase_source : 77dc5f1821633c46b1c053fcce294fae088a4dcc
2024-06-06 18:48:19 +01:00
Brendan Abolivier dd51739d44 Bug 1896171 - Part 5: Ensure the Message-ID is correctly passed to nsIMsgOutgoingServer::sendMailMessage. r=mkmelin,leftmostcat
On top of removing the burden on server implementations for ensuring the
Message-ID exists, this change also fixes a potential issue with sending MDN
replies with a Message-ID that differs from the one in the reply's header.

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

--HG--
extra : rebase_source : cc6b9e9fe36fa950c96994ebd2adb4b5af4eec7b
2024-06-05 15:50:33 +01:00
Brendan Abolivier 17cac4f397 Bug 1896171 - Part 4: Send messages via EWS. r=leftmostcat
Differential Revision: https://phabricator.services.mozilla.com/D211575

--HG--
extra : rebase_source : bee38fde9dfcd15f18d37fdf7b01bce0f91e4fe3
extra : amend_source : ba5989241bce7537907896841161dd763cf66d7e
2024-06-05 15:59:11 +01:00
Alessandro Castellani 190cd87c78 Backed out changeset 2e4a17dc941a (bug 1896171) for causing build bustage. rs=backout 2024-07-08 16:40:53 -07:00
Alessandro Castellani c3a43db018 Backed out changeset c973e9e0fd14 (bug 1896171) for causing build bustage. rs=backout 2024-07-08 16:40:25 -07:00
Alessandro Castellani f3919460bf Backed out changeset 481a29285725 (bug 1896171) for causing build bustage. rs=backout 2024-07-08 16:40:06 -07:00
Ikey Doherty adf981cc53 Bug 1906188 - Enable Exchange by default on Daily. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D215929

--HG--
extra : moz-landing-system : lando
2024-07-08 22:48:48 +00:00
Brendan Abolivier 4e4fe65e1a Bug 1896171 - Part 6: Send outgoing message to Bcc recipients when using EWS. r=leftmostcat
EWS requires Bcc recipients to be passed separately from the others. This is
because non-Bcc recipients are included in the MIME content, and therefore don't
need to be included separately in the request. But for compliance and privacy,
we don't include Bcc recipients in the MIME content.

I've also used this opportunity to make the type of the recipients a bit more
structured, which isn't a huge flow change since we would end up doing the same
parsing on the SMTP server side. So this is a small change that ends up saving a
bit of complexity on the server implementation's side.

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

--HG--
extra : moz-landing-system : lando
2024-07-08 22:48:47 +00:00
Brendan Abolivier 0a0e00aea1 Bug 1896171 - Part 5: Ensure the Message-ID is correctly passed to nsIMsgOutgoingServer::sendMailMessage. r=mkmelin,leftmostcat
On top of removing the burden on server implementations for ensuring the
Message-ID exists, this change also fixes a potential issue with sending MDN
replies with a Message-ID that differs from the one in the reply's header.

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

--HG--
extra : moz-landing-system : lando
2024-07-08 22:48:47 +00:00
Brendan Abolivier 8368cfcc02 Bug 1896171 - Part 4: Send messages via EWS. r=leftmostcat
Differential Revision: https://phabricator.services.mozilla.com/D211575

--HG--
extra : moz-landing-system : lando
2024-07-08 22:48:46 +00:00
Geoff Lankow b904d8acfd Bug 1901705 - Remove migrations that have shipped in at least three ESRs. r=aleca
These migrations have been in version 102, 115, and now 128.

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

--HG--
extra : rebase_source : 9f417349b75f8dba2aa9132ddf27be0c6a7da36c
extra : amend_source : fafcc9cf3debcddd0e12a55bc018f0230c3a557a
2024-07-03 21:45:40 +12:00
Magnus Melin 99e2c1c3b4 Bug 1901439 - Total column shows no count for `Grouped by Sort`. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D215182

--HG--
extra : moz-landing-system : lando
2024-07-04 23:30:45 +00:00