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

17391 Коммитов

Автор SHA1 Сообщение Дата
Richard Marti 32757f5b99 Bug 1891233 - Only use "Inline" instead of "As Inline" for the Forward context menu. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D207345

--HG--
extra : amend_source : 21da4050f212c8858e2f73233ea7abb16ace52ac
2024-04-12 14:59:13 +00:00
welpy-cw 6a3d40e9b5 Bug 1891311 - Unify behavior of Esc and Ctrl-W keys in settings' dialogs. r=Paenglab
Differential Revision: https://phabricator.services.mozilla.com/D207361

--HG--
extra : amend_source : 7883bbe5c912252caa9450f38aa8ae017b353662
2024-04-13 21:40:25 +00:00
Magnus Melin 5b83fae143 Bug 1814893 - Clean up masterpass.sys.mjs. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D206604

--HG--
extra : rebase_source : 4248b3480c051414fa218eb3672e20d69f72a9f9
2024-04-03 16:09:36 +03:00
Magnus Melin f2da4d12f4 Bug 1814893 - Clean up GnuPGCryptoAPI.sys.mjs. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D206603

--HG--
extra : rebase_source : 365a419721ae5c679b14123797d0b8f283f95cff
2024-04-04 13:32:09 +03:00
Magnus Melin 16fd8a8775 Bug 1814893 - Clean up RNPCryptoAPI.sys.mjs. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D206602

--HG--
extra : rebase_source : 8cb0d8250d6c9451a3dc97a3bd18b42b6ac832de
2024-04-03 15:42:27 +03:00
Magnus Melin aadd7a52d8 Bug 1814893 - Clean up mimeVerify.sys.mjs. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D206601

--HG--
extra : rebase_source : 036068d75e31fb8299ff4d88849841987ee0636f
2024-04-03 15:23:25 +03:00
Magnus Melin f05c43c617 Bug 1814893 - Clean up decryption.sys.mjs. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D206600

--HG--
extra : rebase_source : 43a5c8519ebb6ca3ea81201070d05670a9e336bf
2024-04-04 13:26:06 +03:00
Magnus Melin 6c8ae4af8d Bug 1814893 - Clean up wkdLookup.sys.mjs. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D206599

--HG--
extra : rebase_source : 8621e8c46448f4bdedab66d529cf1881e329370a
2024-04-04 13:22:20 +03:00
Magnus Melin 3602c8543b Bug 1814893 - Clean up core.sys.mjs. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D206598

--HG--
extra : rebase_source : ee9d891199bb3857dade696fbbcb5be212d1bca6
2024-04-03 13:52:15 +03:00
Vineet Deo 79d42706c2 Bug 1866717 - Implement a clear button for the search bar custom element. r=aleca
**How to Test**
- Open mail tab
- Type input into either Quick Filter Bar or Global Search Bar
- Clear button should appear
- Clicking clear button should remove input and hide clear button
- Typing and hitting escape should remove input and hide clear button
- Typing and deleting should make clear button appear and then hide

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

--HG--
extra : moz-landing-system : lando
2024-04-13 10:17:03 +00:00
Magnus Melin 34d5c779bd Bug 1890632 - Cannot post a NNTP message to a newsgroup. r=kaie
We don't support encrypting to newsgroups. For other messages, you cannot send before
recipients have been set: the whole check is therefore pointless.

A lot of other things to clean up here as well... e.g. aliasing of functions of members
is certainly a bit unusual, and splitRecipients does not have a third arguments since many years,
but I guess it wasn't noticed due to the above...

Differential Revision: https://phabricator.services.mozilla.com/D207118
2024-04-12 14:34:09 +00:00
Magnus Melin 4c472e7e98 Bug 1880646 - Don't fall back to base domain SRV lookup for CalDAV autodiscovery. r=darktrojan
For the thunderbird fastmail imap test account, the issue is that since it's a thunderbird subdomain,
and there are no SRV records for it. During detection we fall back to asking SRV records for the basedomain, which
is thunderbird.net, which is known to be google hosted => we pop up OAuth2 to be able to detect calendars.

We don't fall back to base domain for CardDAV, and I would say we should not do it for CalDAV either.
This would potentially affect someone who is using a subdomain for hosting, but not setting
the SRV records for their subdomain - AND the base domain at the same time are setting the SRV records and
they are usable for the subdomain credentials.
Such cases probably exist, but it would not appear to be a very normal case. Where a subdomain is used
for the email address (which is where we get the subdomain from) likely it's often some kind of testing/staging
environment, like it is for thunderbird.net.

That OAuth2 is requested during account setup during CardDAV/CalDAV autodiscovery is in itself
not unexpected if we discover those services are hosted differently from mail, and thus might
not have the same credentials.

Differential Revision: https://phabricator.services.mozilla.com/D207010
2024-04-09 12:09:58 +00:00
welpy-cw 971bafbe14 Bug 1890044 - Restore sort type indicator in thread pane sort menu. r=darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D206821

--HG--
extra : rebase_source : 72e3100b5d5d1d4fb3181570fbf9b03a0f915372
2024-04-11 10:05:55 +00:00
Geoff Lankow 1b95da3125 Bug 1888019 - Add preferences needed to enable FxA tests. r=mkmelin
These preferences need a default value or otherwise the tests I'm trying to enable use a different default value and fail.

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

--HG--
extra : amend_source : 8ca6086dc4b4bc7b4476868db472005277ca9427
2024-04-11 00:36:47 +00:00
John Bieling 8f3843a8a0 Bug 1884497 - Attempt to fix test fails in browser_junkCommands.js. r=mkmelin
The log complains about "Exception while attempting to mark message with
gloda state afterdb commit". No expert here, but forcing gloda to index
and waiting for it to finish might help.

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

--HG--
extra : rebase_source : 50ec008ef6ba298a2eb754157c6fc730b12906cf
extra : amend_source : 1d9e0532a5b7e917026c3cceb9366b205485837b
2024-04-12 09:40:39 +02:00
Alessandro Castellani f10206cfce Bug 1733086 - Force openpgp key wizard subdialog to resize horizontally. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D158544

--HG--
extra : rebase_source : 3441c00315bbf3827ab2022bbfe0e6340c4772bb
2024-04-09 21:51:07 +00:00
Richard Marti d8c7b6c83b Bug 1890267 - Add "as" to the "Attachment" and "Inline" context menuitems. r=aleca,mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D206987

--HG--
extra : rebase_source : 8cd70044a622713977603ea880ef4b98994f154f
2024-04-10 18:20:08 +00:00
Alessandro Castellani 80f9b19d52 Bug 1890682 - Fix some high contrast mode color issues for folder pane, spaces toolbar, and unified toolbar. r=Paenglab
Differential Revision: https://phabricator.services.mozilla.com/D207089
2024-04-09 23:15:47 +00:00
Micah Ilbery 0c7604c377 Bug 1890674: Cards View, fix high contrast selection indicator and outline overlap issues. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D207084

--HG--
extra : amend_source : fa448acc1608f79b8cc3589123985070955e3900
2024-04-09 22:04:02 +00:00
Magnus Melin 7eec6a3aa3 Bug 1890654 - disable browser_dragndrop.js for mac until bug 1889640 is fixed. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D207132

--HG--
extra : amend_source : 24710b1216c0bf51065029acdfcc4783f61b8060
2024-04-10 11:28:03 +00:00
Alessandro Castellani 38372da6a4 Bug 1890388 - Fix the thread button cutoff in cards view. r=micahilbery
**HOW TO TEST**
- Hover over the thread button in the cards view.
- Try a multiple combination of densities and font sizes.
- Ensure the thread button always renders correctly and the top and bottom borders are visible.

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

--HG--
extra : amend_source : 04abff4ad2461220617ea897e5e88b77da7740d5
2024-04-10 00:16:06 +00:00
Ikey Doherty 5db8554d7d Bug 1843741 - Follow up fix for racey tests. r=mkmelin
As pointed out by mkmelin, there is some potential for raciness in the
testing where we could miss the click event.

We address this now rather than wait for a mystery intermittent test
failure to appear.

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

--HG--
extra : amend_source : 12ac9774f44f0848ccb5575b47521e2750d662a0
2024-04-10 13:55:31 +00:00
Ikey Doherty aaa9b240e9 Bug 1843741 - Stop overriding remote for blank targets. r=aleca,darktrojan
The prior change seems to have landed between fixes, as it then caused the links
on our troubleshooting page to stop working, by forcibly removing their docShell.

We now work around this issue by detecting the special case when a parent opener
has isRemote set, such as in the extensions use case.

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

--HG--
extra : rebase_source : e6c48e0911e067c12f8804d38df98999534efbfa
extra : amend_source : d6e6e5a13204c96f32739373692146bf70f4ef28
2024-04-10 03:23:16 +00:00
Alessandro Castellani c8135df07c Bug 1865615 - Ensure resetting the font size to OS value properly updates the about3Pane UI. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D194379

--HG--
extra : moz-landing-system : lando
2024-04-09 17:50:54 +00:00
John Bieling 1dc18fe906 Bug 1846274 - Add support for "runAt" in the `messageDisplayScripts.register`. r=darktrojan
This patch adds support for the 3 injection points `document_start`,
`document_end` and `document_idle` for message display scripts. This
allows dark reader add-ons [1] to inject their CSS at an earlier stage,
reducing white flicker.

This patch also tries to remove a flicker, which currently happens when
switching messages.

To see the effect of the patch, try dark mode with [1] first and then
with [2], which is the updated verison of the add-on, using
`document_start` to inject the CSS as early as possible.

[1] : https://addons.thunderbird.net/addon/darko_t/
[2] : https://bugzilla.mozilla.org/attachment.cgi?id=9393235

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

--HG--
extra : moz-landing-system : lando
2024-04-09 10:41:15 +00:00
Micah Ilbery 56996c1232 Bug 1890387: Cards View show replied, forwarded, and redirected state icons. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D206938

--HG--
extra : rebase_source : 2b642d1accb760e537f5d71fb90d3a8a0a4ff2d1
2024-04-08 17:23:20 +00:00
Richard Marti 713af472e2 Bug 1890345 - Fix on composer the tinting of the toolbars. r=sol
Differential Revision: https://phabricator.services.mozilla.com/D206917

--HG--
extra : rebase_source : bd102458264cc79c468a1eada34d91c3e0d0b9e5
2024-04-08 14:56:57 +00:00
Vineet Deo 43d9f4764c Bug 1889835 - Update Donation Appeal URL. r=aleca,sancus
Differential Revision: https://phabricator.services.mozilla.com/D206891

--HG--
extra : moz-landing-system : lando
2024-04-08 22:11:22 +00:00
welpy-cw bdf2dd7419 Bug 1886132 - Restore and improve functionality to open 'news' URIs. r=mkmelin
- 'news' URIs are opened in a new tab or window depending on preference.
- Enable opening 'news' URIs that do not specify a host by using the first NNTP server found.
- Open newsgroups identified by a URI directly without opening an empty message window.

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

--HG--
extra : amend_source : 11c0122632fccbd62d8c2b83e6b603d06cf68745
2024-04-08 21:21:51 +03:00
Richard Marti 146b9863b6 Bug 1889971 - In message context menu move the "Cancel" item back to main menu level. r=vineet
Differential Revision: https://phabricator.services.mozilla.com/D206846

--HG--
extra : amend_source : 17d89a715a93f5237572260593f17fab939b7bf9
2024-04-08 14:25:07 +03:00
Magnus Melin 0a3cadbb95 Bug 1814893 - Clean up sqliteDb.sys.mjs. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D206483

--HG--
extra : rebase_source : 8b020d9c769cca5bf0e043822a7ed2b8c43ee96a
2024-04-03 13:13:42 +03:00
Magnus Melin cde53f09d0 Bug 1814893 - Clean up encryption.sys.mjs. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D206344

--HG--
extra : rebase_source : 015699045d997bdc93f46851a74f446ac3e6e577
2024-03-28 22:38:19 +02:00
Magnus Melin 4e57db3a9d Bug 1814893 - Clean up keyserver.sys.mjs. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D206343

--HG--
extra : rebase_source : 6c47b79a13bb86a935245ec698feb536e72d51b1
2024-04-04 10:54:17 +03:00
Magnus Melin 1d3009823f Bug 1814893 - Clean up fixExchangeMsg.sys.mjs. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D206342

--HG--
extra : rebase_source : 9d6a0706c283d251e62798dfbfcba1bcd8f34232
2024-04-03 12:59:32 +03:00
Magnus Melin 757f9b9dcc Bug 1814893 - Clean up mimeEncrypt.sys.mjs. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D206045

--HG--
extra : rebase_source : 97ed3dbe9587b1f1836ed7ae4b557ecd454d5656
2024-03-28 15:59:53 +02:00
Magnus Melin b4a16f7d76 Bug 1814893 - Clean up persistentCrypto.sys.mjs. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D206044

--HG--
extra : rebase_source : 2a0a4ca46b01c7b1ab8d66597c70e9e01f2ef08e
2024-04-03 12:58:18 +03:00
Magnus Melin 130f2ad681 Bug 1814893 - Clean up armor.sys.mjs. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D206043

--HG--
extra : rebase_source : 0c1b6dbd250b367c5bba5f01768270b6a0ae4f27
2024-03-28 15:25:31 +02:00
Magnus Melin 7216637180 Bug 1814893 - Clean up filters.sys.mjs. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D206042

--HG--
extra : rebase_source : 7f998a3d15ac3599023180b2a9ce7f56ead466d6
2024-04-03 12:56:48 +03:00
Magnus Melin 47f343d415 Bug 1814893 - clean up enigmailMsgComposeOverlay.js. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D205704

--HG--
extra : rebase_source : 947af27609988adc37b536da5a52821916c1f363
2024-03-26 13:37:49 +02:00
Magnus Melin 5fbcf2b6d0 Bug 1814893 - clean up enigmailMsgHdrViewOverlay.js. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D205703

--HG--
extra : rebase_source : a3e9e51f924e8bf2763eeab6ac34d2351a70c7a6
2024-03-25 14:59:40 +02:00
Magnus Melin fb73134d80 Bug 1814893 - clean up enigmailMessengerOverlay.js. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D205702

--HG--
extra : rebase_source : d0658a76e9119518e17839712be33b276261c7b9
2024-04-04 11:13:58 +03:00
Richard Marti 17820158f3 Bug 1890129 - Don't hard code wordmark color. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D206845

--HG--
extra : amend_source : 8409789ae91c944d7a771e7d1fb0cade475654a5
2024-04-07 13:15:39 +03:00
Magnus Melin e961f5e04b Bug 1889322 - Handle google groups sometimes having incorrectly formatted List-Archive header. r=vineet
Handle list archive header without trailing angle bracket like `List-Archive: <https://groups.google.com/group/testgroup202404`

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

--HG--
extra : rebase_source : 3690c7076f8cbcddabe04e3fd4b74148a503f8cc
extra : amend_source : 7c20609ee35cfb7e4e5c6cb789de1d5698226e38
2024-04-06 10:19:33 +03:00
Brendan Abolivier 0b03e5b851 Bug 1889981 - Move temporary EWS strings to a preview Fluent file. r=aleca,ikey,rjl
I've also reverted the changes bug 1859656 introduced for the already existing Exchange/O365 account setup results, so they don't require a migration, since we'll probably be changing the UX in this area later on.

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

--HG--
extra : rebase_source : 1b262331d5f15d2469335bdfe8cc0a046222c3ab
2024-04-06 10:15:41 +03:00
Martin Giger 1f37df7128 Bug 1889640 - Only expect native Mac menu when the pref is true. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D206662

--HG--
extra : rebase_source : 8b950f2d0cfd649e20056fe9451961829b81bdca
2024-04-06 10:14:34 +03:00
Alessandro Castellani 93ac86d30f Bug 1889021 - Ensure we don't try to restore expanded/collapsed state for synthetic views. r=vineet,welpy-cw
Differential Revision: https://phabricator.services.mozilla.com/D206728

--HG--
extra : rebase_source : be22a6a30c2a92d78d27de7ac785c8f6cef71eae
2024-04-06 10:13:47 +03:00
welpy-cw 135d3dfe53 Bug 1887334 - Move openMessageForMessageId() and openBrowserWithMessageId() to MailUtils.sys.mjs. r=mkmelin
MailUtils.sys.mjs already contains openMessageByMessageId(), which basically does the same thing as
openMessageForMessageId() in msgHdrView.js. This integrates the former into the latter, and by
moving it to MailUtils.sys.mjs makes it accessible in other parts of the front-end as well as for
(experimental) add-ons. The same goes for openBrowserWithMessageId().

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

--HG--
extra : rebase_source : 490079901e8ebcc19bd792a3c90a944bb8c1b0ac
2024-04-06 10:13:12 +03:00
welpy-cw 826992138a Bug 1887334 - Fix "Open Browser With Message-ID" in header pane. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D205515

--HG--
extra : rebase_source : 4ce203fb09d2f2ba2c81f94c68d55c1f32d07452
2024-04-06 10:12:43 +03:00
Micah Ilbery 70958a5906 Bug 1882592: [Cards View] Clean-up css and update styles. r=aleca,freaktechnik,sol
Differential Revision: https://phabricator.services.mozilla.com/D203532

--HG--
extra : rebase_source : 5113b6a7ccc83780dff43eb3f760e7df3f2a3873
2024-04-06 10:11:51 +03:00
Alessandro Castellani 0c79ea3bf4 Bug 1889519 - Implement some simple visual improvements to the folder pane. r=darktrojan,micahilbery
Some tiny visual improvements to the folder pane:
- Slightly darker background color to match what's used in the address book.
- Add transition animation behind a media query.
- Add a box shadow that appears on scroll.

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

--HG--
extra : amend_source : a46ea2bcb5a358338cf49f210c5bc0d651015958
extra : absorb_source : b4766b8e81fe180164e47ee21c19c5bf7ca3779a
2024-04-05 11:48:59 +02:00
Sean Burke 00e3320bc7 Bug 1859656 - Ensure we present Exchange as an option regardless of priority. r=aleca,freaktechnik,vineet
Differential Revision: https://phabricator.services.mozilla.com/D205638

--HG--
rename : mail/test/browser/account/xml/example-imap.com => mail/test/browser/account/xml/imap.test
rename : mail/test/browser/account/xml/example-imap.com^headers^ => mail/test/browser/account/xml/imap.test^headers^
extra : amend_source : 391b586549562069658dcc1fb8d3164b06424c65
extra : absorb_source : 388ec617378a276e26d0998d3e3ea349db42db83
2024-04-05 11:48:37 +02:00
Magnus Melin a9a3c67827 Bug 1864203 - Make resolved DNS results hostnames lowercase, and make the DNS worker a module worker. r=darktrojan
Detect google CalDAV/CardDAV even if DNS MX records have UPPERCASE hostnames.
In the case of unisalento.it these are like ALT2.ASPMX.L.GOOGLE.COM

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

--HG--
rename : mail/modules/dnsWorker.js => mail/modules/DNS.worker.mjs
extra : amend_source : 34aa4398f2e9faba280c6b1fef28813f2a0ae544
extra : absorb_source : 0d9c08ca50180e7b17b83c00a74bcba4dd88df31
2024-04-05 11:46:47 +02:00
Magnus Melin 7e6e68e24a Bug 1888116 - Handle multi-message-id display when non-compliant header value. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D205826

--HG--
extra : amend_source : 35d61b858e0e709af9bce5669c8ecc91959edcb2
extra : absorb_source : c019f005a01419226d23da27da753f5aff15b053
2024-04-05 11:46:24 +02:00
Richard Marti 2215dbcc55 Bug 1846095 - Windows: Remove the !important from the toolbarbutton-menu-dropmarker rule. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D206580

--HG--
extra : amend_source : 654cacccab50519036d2a3b306ff63aab540a748
2024-04-05 11:45:49 +02:00
Geoff Lankow b915d7a18c Bug 1889830 - Port bug 1860492: Stop using Theora files in tests. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D206730

--HG--
extra : amend_source : 948dd45e655a143227e818013d3137a13406e93e
2024-04-05 11:44:35 +02:00
Magnus Melin 997c910ce3 Bug 1886828 - follow-up 2, fix black linting. rs=lint DONTBUILD 2024-04-04 19:57:34 +03:00
Magnus Melin 69164d25b7 Bug 1886828 - Add new search configuration collections to Thunderbird. r=darktrojan
Had to replace the appid used for env.appinfo.ID filtering. Also added a local timestamp to get rid of warnings.

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

--HG--
extra : moz-landing-system : lando
2024-04-04 10:05:42 +00:00
Richard Marti 7893bbef44 Bug 1889104 - Port bug 1850037 part 1: Use new icon ghost button in moz-message-bar. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D206360

--HG--
extra : amend_source : 1fd39a4583b17e9f9746d232a5394a4fa42772a7
2024-04-04 09:57:52 +03:00
Geoff Lankow 6d6d185d23 Bug 1889036 - Fix and test sorting the message list from a menu. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D206331

--HG--
extra : amend_source : bd363d5b01b312ad7605662e67350cd834360b38
2024-04-04 09:57:11 +03:00
Martin Giger f450ffc9d1 Bug 1875802 - Fix browser_threads for contextmenu submenus. r=aleca
Delaying the thread kill commands to animation frames fixes the command forcing
the parent of the submenu popup to close before it can propagate there naturally.
As a trade-off we now have to wait for the commands to actually execute their action.

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

--HG--
extra : amend_source : 5644c6bf7cb81a41373d4583f9004d6d2b3041ba
2024-04-04 09:56:00 +03:00
Richard Marti 883d8567a3 Bug 1875802 - Implement the new message context menu structure. r=aleca,freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D199229

--HG--
extra : amend_source : b7e57154f6b0096ec2c09ce0c7ea074232053351
2024-04-04 09:55:29 +03:00
solange valverde 7c5901514a Bug 1875523 - Separate tests that cover middle click actions from right click on message list. r=aleca,mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D199147

--HG--
rename : mail/test/browser/folder-display/browser_rightClickMiddleClickMessages.js => mail/test/browser/folder-display/browser_middleClickMessages.js
rename : mail/test/browser/folder-display/browser_rightClickMiddleClickMessages.js => mail/test/browser/folder-display/browser_rightClickMessages.js
extra : amend_source : 89243efffc79605ec0509649cf0f53d2a6bf4bb5
2024-04-04 09:54:47 +03:00
Geoff Lankow b1ffae427d Bug 1851536 - Test the Address Book search window. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D206334

--HG--
extra : amend_source : 963df01e6be75355243795856275b68569ab2372
2024-04-04 09:53:59 +03:00
Richard Marti 6225e8b1c4 Bug 1888750 - Tweak the AppMenu badge position. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D206176

--HG--
extra : amend_source : 1cb4c7ab8056bdd35a4f1298d3fb0e2311adaef5
2024-04-03 11:47:40 +02:00
Silvia Bonavista i Serrat 9976789f98 Bug 1855643 - Fix undo/redo menu activation for stand-alone window. r=mkmelin,freaktechnik
Based on https://github.com/Betterbird/thunderbird-patches/blob/main/115/bugs/1855643-fix-undo-redo-stand-alone.patch

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

--HG--
extra : amend_source : 7fae31bbe096fa2d07f7a17a80c6356206520c8c
2024-04-03 11:47:17 +02:00
Brendan Abolivier 6099b5bc7d Bug 1679711 - Attempt OAuth2 against known providers with Exchange Autodiscover. r=ikey,leftmostcat
This patch does not implement Exchange's HTTP 401 Challenge described in bug 1679711, as more research is needed to figure out exactly how this can be done. Instead, it tries authenticating against known providers the "normal" way when possible, then using the resulting token against the Autodiscover endpoint. If it can't, then it tries falling back to Basic auth.

This patch does not support falling back to Basic auth if the Autodiscover endpoint responds with a 401 following an OAuth-authenticated request. This may be implemented in the future, but in the meantime being able to get an OAuth2 token but not being allowed to use it against the autodiscover endpoint should be unlikely enough that this is not an issue.

Differential Revision: https://phabricator.services.mozilla.com/D205762
2024-04-02 17:34:24 +00:00
Alfred Peters 84f24ea834 Bug 1802767 - Display a spoiler space again for a form feed character (u+000C). r=aleca,mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D204853

--HG--
extra : amend_source : 0a0e760dceb52312cb59a754c0196d80c1ac9b42
2024-03-30 12:15:28 +00:00
Magnus Melin 9ed0cbdfcb Bug 1887047 - modernize nsIMsgCopyServiceListener. r=BenC
Differential Revision: https://phabricator.services.mozilla.com/D205904

--HG--
extra : amend_source : 0a8813d457dd2512b0dc5d0706be13d491d322e7
2024-04-02 12:04:57 +02:00
Alessandro Castellani 26bbf62606 Bug 1889021 - Ensure tree table attributes are applied early, and improve the style of the Grouped by Sort headers. r=darktrojan
**HOW TO TEST**
- Ensure you are in the Grouped by Sort view in Cards view
- Launch Thunderbird
- Ensure the rows are styled correclty and there's no UI flicker (you should notice that without the patch)

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

--HG--
extra : amend_source : 58283c351d34f794c7d0c3ceaba4ded009b8279a
2024-04-02 12:04:13 +02:00
Rob Lemley 8e4b06bd9c Bug 1888431 - Port bug 1888321: Rename Rust's .cargo/config.in to config.toml.in. r=dandarnell
Differential Revision: https://phabricator.services.mozilla.com/D206020

--HG--
rename : rust/.cargo/config.in => rust/.cargo/config.toml.in
extra : amend_source : 0d9ebc3b9e5775149e58fab8966a7146d759ad0f
2024-04-02 12:03:29 +02:00
Geoff Lankow 8911c24ace Bug 1888808 - Remove more `-moz-default-appearance: toolbox`. r=aleca
This element doesn't exist any more, so removing the style for it should be no problem.

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

--HG--
extra : moz-landing-system : lando
2024-04-01 22:27:03 +00:00
Richard Marti abf01e72bb Bug 1888812 - Fix wrong text alignment of attachment size for printing. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D206191

--HG--
extra : moz-landing-system : lando
2024-04-01 18:36:00 +00:00
Magnus Melin dec62f3415 Bug 1801529 - Make decryption.sys.mjs pass for eslint-plugin-jsdoc. rs=me
--HG--
extra : rebase_source : 62ad8c386fa2631f0e6d3efa0c0954fa45ee2383
extra : amend_source : c2e606a64f8e920c7510e7f786b020c413521c12
2024-04-01 12:14:45 +03:00
Richard Marti 9b44e5f008 Bug 1888808 - Port bug 1888203: Remove appearance: {toolbar,toolbox}. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D206189

--HG--
extra : amend_source : fad5c74229f17607c419b95b2e32128b432a6d1e
2024-03-31 12:36:34 +03:00
Sean Burke c6b29a9fdd Bug 1860333 - Vendor EWS Rust dependencies. r=babolivier
Differential Revision: https://phabricator.services.mozilla.com/D205380

--HG--
extra : moz-landing-system : lando
2024-03-29 18:45:29 +00:00
Sean Burke 8f213b9e44 Bug 1860333 - Add support for EWS folder hierarchy sync. r=babolivier
Differential Revision: https://phabricator.services.mozilla.com/D202898

--HG--
extra : moz-landing-system : lando
2024-03-29 18:45:28 +00:00
Vineet Deo efa37a4915 Bug 1845204 - Increase clickable area of message list icons. r=aleca,sol
**How To Test**
- Open up table view for Thunderbird
- Switch between densities and hover over mail list icons
- The full height of the icon box should be clickable
- There should be a little bit padding on each side of the icon to provide more of a clickable width

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

--HG--
extra : amend_source : 60aff0917a89b71c014ea8a3c2aae0c53b9aa37a
2024-03-28 13:27:32 -04:00
Vineet Deo 293e94a01b Bug 1859990 - Account Hub Manual Config Form Completion and Account Add. r=freaktechnik
**How to Test**
- Open up console and type openAccountHub();
- Select email, and fill in the IMAP fastmail test email in onePassword
- A Manual Config button should pop up in the footer
- Use imap.fastmail.com for incoming hostname, and smtp.fastmail.com for outgoing
- Set connection security to SSL
- Hit the re-test button, a loading screen should appear and you should be redirected back to the manual config form
- There is currently no success notification, but the continue button should be enabled now. Hit Continue.
- You should see an adding account loading screen, with a missing stop button, and then the account added screen
- The finish button should be at the bottom of the modal
- Selecting finish should redirect you back to the account hub
- Requests for a password, use the App Password for the fastmail account on onePassword

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

--HG--
extra : amend_source : 3716753867b2eaa549e8e46f3a3473a3d6fbb553
2024-03-28 13:26:28 -04:00
John Bieling 5b0559609b Bug 1885318 - Split browser_ext_compose_sendMessage.js. r=mkmelin
This test failed sometimes with --verify, which no long seems to happen
after splitting it up.

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

--HG--
rename : mail/components/extensions/test/browser/browser_ext_compose_sendMessage.js => mail/components/extensions/test/browser/browser_ext_compose_sendMessage_mv3.js
extra : amend_source : 7c52fed0d47ca4efb42b78b8c3b0914d77462697
2024-03-28 13:24:39 -04:00
Magnus Melin af8654ccb3 Bug 1814893 - clean up enigmailKeyManager.js. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D205701

--HG--
extra : rebase_source : 13010de7e072bad8f4be7e5a61d3978418b06b1a
2024-03-25 14:58:38 +02:00
Magnus Melin ce28f02fab Bug 1814893 - clean up MimeTree.sys.mjs. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D205700

--HG--
extra : rebase_source : a2f714ed655c5cefd1fc57a69bd847c3cdbe150d
2024-03-25 14:58:02 +02:00
Magnus Melin 73dbca0637 Bug 1814893 - Clean up PgpMimeHandler.sys.mjs. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D205699

--HG--
extra : rebase_source : ee378654ea8d68c7553f09facacaab7fb6641574
2024-03-27 21:20:56 +02:00
John Bieling 1032c05ab3 Bug 1802400 - Attempt to fix intermittent fails of browser_ext_contentScripts.js. r=aleca
I think the test was assuming wrong behavior. After the startup of an
extension which has a content script registered in its manifest, all
open tabs get injected into. This is different from registering a script
programmatically, which only affects newly opened tabs.

Removed timeouts after browser load and added timeouts before checking
for unchanged values.

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

--HG--
extra : moz-landing-system : lando
2024-03-27 22:38:59 +00:00
Richard Marti db4c85a528 Bug 1887906 - Port bug 1886729: Enable macOS native-looking theme by default on nightly. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D205722

--HG--
extra : rebase_source : 7030f82b3f3a2aad4d7e83b74bc5f02a0e688866
2024-03-27 09:08:16 +02:00
ISHIKAWA, Chiaki 6c3dd3d960 Bug 1886360 - Report failure to delete a folder under low space condition. r=mkmelin
Need to create a generic (not specific to download ) low space message property, too. Bug 1886349

Use Cr.NS_... idiom to refer to a constant.
Fixed the spelling attemped.

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

--HG--
extra : rebase_source : caa216e963264cc2943b73f3f19e1c9f6c5a5b2e
2024-03-27 09:07:13 +02:00
John Bieling 7a9ebe66a5 Bug 1877390 - Move special custom column sort handling into DBViewWrapper.jsm and primarily use columnIds instead of sortTypes for sorting. r=aleca
This is the last patch for the stack of Bug 1877390. Everything outside
of DBViewWrapper now uses columnIds to for sorting. The special
handling for custom column sort has been moved entirely into the
DBViewWrapper.

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

--HG--
extra : rebase_source : 20120c5c4dd999e8de965e20b812f923d95e3b5a
2024-03-27 09:04:59 +02:00
John Bieling a373c96c7d Bug 1877390 - Simplify the DBViewWrapper.primarySortColumnId getter and remove redundancy. r=aleca
This continues the effort to remove redundant code. The relation
between sortType and columnId is defined in DEFAULT_COLUMNS and does not
need to be hard-coded in the DBViewWrapper.primarySortColumnId getter.

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

--HG--
extra : rebase_source : 58a956816dbc9d4c536712484273c39071a08ee3
2024-03-27 09:05:12 +02:00
John Bieling e11923411c Bug 1877390 - Generate the BUILTIN_SORT_COLUMNS Map and the BUILTIN_NOSORT_COLUMNS Set, and simplify HandleColumnClick() in threadPane.js. r=aleca
Both can be generated from DEFAULT_COLUMNS and do not need to be
maintained manually.

While modifying them, I learned that one of their use-cases in
HandleColumnClick() in threadPane.js can be simplified using the new
getter for primarySortColumnId.

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

--HG--
extra : rebase_source : 4bea1ba0fdf8b5a2c4b87328b4c569bb6a386742
2024-03-27 09:05:30 +02:00
John Bieling efd02ab3e8 Bug 1877390 - Reduce code duplication in about3pane.js and threadPane.js. r=aleca
In threadPane.js exists similar code as in about3pane.js, to convert the
sort type of the current sort column into a columnId.
This patch moves these functions as an additional getter into
DBViewWrapper.jsm.

To avoid circular dependencies, this patch moves OUTGOING_FOLDER_FLAGS
from DBViewWrapper.jsm to FolderUtils.jsm.

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

--HG--
extra : rebase_source : 1e47ef7b626915999d743915cd842d55fc3bb7d9
2024-03-27 09:05:51 +02:00
John Bieling ff677d05c9 Bug 1877390 - Rework sortController.convertSortTypeToColumnID() to sortControler.getCurrentSortColumnId(). r=freaktechnik
The function convertSortTypeToColumnID() uses dbView.curCustomColumn to
convert the "byCustom" sort type to a columnID. This however only works
for the current custom sort column, and not for any custom column. It is
also only used with the primarySortType (and not with any sort type) as
input.

To improve readability of this code, this patch reworks this function to
always return to columnID of the current sort column.

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

--HG--
extra : rebase_source : 219d43da8faa064fdd95bc14388c1bc185aceb23
2024-03-27 09:06:08 +02:00
solange valverde 0ee16d11de Bug 1849315 - Apply correct style on unread badge when a collapsed parent folder has unread messages and a subfolder with read messages. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D205625

--HG--
extra : rebase_source : 06c99d888fd9e53ce7c2ec6fbf48ee135f5ad584
2024-03-27 09:02:06 +02:00
Rob Lemley 52ceb33bb0 Bug 1887951 - Add MOZ_THUNDERBIRD_RUST to DEFINEs to support existing code. r=leftmostcat
This will be set in mozilla-config.h which is force-included in all C++ code so it's
easy to use in #ifdef's or #if defined().

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

--HG--
extra : moz-landing-system : lando
2024-03-26 21:42:55 +00:00
Magnus Melin eb6f310e4b Bug 1887617 - follow-up, add missing colon. rs=bustage-fix DONTBUILD
--HG--
extra : amend_source : 2d2e3472673ace9e76ec34c15299f358358fd9f0
2024-03-26 14:06:49 +02:00
Richard Marti d826581795 Bug 1887617 - Port bug 1886960: Land the more native-looking macOS theme behind a pref. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D205550

--HG--
extra : amend_source : f363d2246fe329b08813acdeceeffadccd1e4e6a
2024-03-26 12:38:07 +02:00
Rob Lemley bd51efcdd9 Bug 1861703 - Follow-up: Fix incorrect reference to .jsm module file. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D205583

--HG--
extra : moz-landing-system : lando
2024-03-25 21:53:17 +00:00
Magnus Melin 25469af4d7 Backed out changeset a5a9210fed2d (bug 1855643) for test failures DONTBUILD
Failing at least comm/mail/components/extensions/test/browser/browser_ext_messages_open_attachment.js

--HG--
extra : amend_source : cfb6455a4d8c64f36dddcd841e011a7b7dbe10f6
2024-03-25 15:27:11 +02:00
Geoff Lankow 67e4a11ebe Bug 1886239 - Remove obsolete prompting code. r=leftmostcat
The pref removal is a port of bug 1705440. Everything else is dead code.

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

--HG--
extra : amend_source : 9cfb59c281c34a705231816429826dc48c1251e3
2024-03-25 12:29:40 +02:00
Magnus Melin 041dd7ff37 Bug 1824260 - Don't use mozmill in the name for the testing-common modules. r=darktrojan
Depends on D204769

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

--HG--
extra : rebase_source : 50e5dd28fd88e3f4dedea2377edfca4cea504ba8
extra : amend_source : 491028478c02b7e1140f5bf43559638b50c24fc9
2024-03-25 12:28:56 +02:00
Silvia Bonavista i Serrat 39bdfefcfe Bug 1855643 - Fix undo/redo menu activation for stand-alone window. r=mkmelin
Based on https://github.com/Betterbird/thunderbird-patches/blob/main/115/bugs/1855643-fix-undo-redo-stand-alone.patch

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

--HG--
extra : rebase_source : 2a2519811e06bd93429bc9fb2bbb9919fa731dd4
extra : amend_source : eea5d12feaac9bb2b94b3625df853c893b540922
2024-03-25 12:26:42 +02:00
Magnus Melin fb69c53dd8 Bug 1883846 - Rework/reinstate the GPGMELib debug output. r=kaie
Adding back debugging infor for GPGMELib.
This should not be using global console for debug info, if such info is warranted.
For error cases, we can log errors. To see debug only info, people should set `openpgp.loglevel` to `All`.

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

--HG--
extra : rebase_source : f5399a64a9b0bfc18a60e89f9e1faf51f9ea0410
extra : amend_source : f87ec4551da5615a96bce2a0b23548b4a15077fa
2024-03-23 14:46:04 +02:00
Kai Engert 01bdc364df Bug 1829881 - Disable support for permissive OpenPGP key import by default. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D203130

--HG--
extra : amend_source : 66b51bb617ea2286e627e7986f3f7a82d44ad48b
extra : absorb_source : bd65510ee86a513f96c08dfc4446a86c341d3ec6
2024-03-23 11:20:07 +02:00
Kai Engert 637e1e4b11 Bug 1861703 - Support viewing nested signed messages. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D192087

--HG--
extra : amend_source : 0fa4be4ca9b5f660376cc8d7f2fe2357b8fe2157
extra : absorb_source : 8779f1581ae59869dcbdf5dae035fe07333567ca
2024-03-23 11:19:47 +02:00
Rob Lemley 243f114c92 Bug 1887051 - Add missing argument to tryLoadGPGME(). r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D205464

--HG--
extra : amend_source : ebd4b00c4de8c2d79721619fdc4964ad3a0b6b4f
2024-03-23 11:19:11 +02:00
John Bieling f8b28cc1de Bug 1886948 - Part 6: Fix remaining lint issues. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D205463

--HG--
extra : moz-landing-system : lando
2024-03-22 19:12:06 +00:00
John Bieling a9cc912f8e Bug 1886948 - Part 5: Remove unused context variables in WebExtension APIs. r=mkmelin
After recent linter changes, these are reported as

`'context' is assigned a value but never used. (no-unused-vars)`

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

--HG--
extra : moz-landing-system : lando
2024-03-22 19:12:05 +00:00
John Bieling 57edc3dbaf Bug 1886948 - Part 4: AutoFix for ./mail directory. r=mkmelin
Using D194522 for auto-fixing unused variables.

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

--HG--
extra : moz-landing-system : lando
2024-03-22 19:12:05 +00:00
Magnus Melin 319ed56ad7 Bug 1870376 - follow-up, fix incorrect overflow css. r=freaktechnik
Noticed by comm/mail/test/static/browser_parsable_css.js

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

--HG--
extra : amend_source : 7ad02c2c5e0295f5a55e47c8a04aca591a9bac1b
2024-03-22 11:28:21 +02:00
Micah Ilbery 991f3c6f88 Bug 1870376 - [Cards View] Show new icon on replies button if there is a new message in the thread. r=leftmostcat,sol
Differential Revision: https://phabricator.services.mozilla.com/D205264

--HG--
extra : amend_source : 4a97bd9560aa3be7fa87a4cc85285c171198607b
2024-03-22 09:09:16 +02:00
Micah Ilbery a9bbf2cd67 Bug 1863403: follow up to fix browser_columns.js test not knowing about unreadCol. r=vineet
Differential Revision: https://phabricator.services.mozilla.com/D205408

--HG--
extra : amend_source : 87b263bc658b4985120e1fa3d491fd5010bb1065
2024-03-22 09:08:36 +02:00
John Bieling d6d06fb4b2 Bug 1861816 - Attempt to fix intermittent caused by dynamic import of search-bar.mjs. r=vineet
It looks like the import statement is async. Mozilla-central uses a
catch(). Maybe that could improve the situation?

https://searchfox.org/mozilla-central/rev/f63ca2952da98e0817bdae0ddf1314281a497106/browser/base/content/browser.js#2355

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

--HG--
extra : amend_source : 3898ade9b5a6b020b69daf98fc129a49a1cae22f
2024-03-22 09:03:07 +02:00
Micah Ilbery b2535bf482 Bug 1863403: [Cards View] Style Group by Sort headers. r=vineet
Differential Revision: https://phabricator.services.mozilla.com/D205152

--HG--
extra : moz-landing-system : lando
2024-03-21 22:02:52 +00:00
Kai Engert c911998f43 Bug 1886396 - Minimize false positive reporting of partial OpenPGP message. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D205196

--HG--
extra : moz-landing-system : lando
2024-03-21 22:02:51 +00:00
Magnus Melin bf0cc3ae17 Bug 1824260 - Update outdated .jsm references. r=freaktechnik
Update outdated .jsm references in the tree.

Depends on D204766

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

--HG--
extra : rebase_source : cdf8c1367702bb00c51a750cc712e156db65d371
extra : amend_source : 5f2256fc97ae8f3de2086ffbe99acde9fdef0473
2024-03-21 19:44:49 +02:00
Magnus Melin 2615cd2059 Bug 1824260 - remaining esmification of comm-central. r=john.bieling
Differential Revision: https://phabricator.services.mozilla.com/D204766

--HG--
extra : rebase_source : b4dd77adbe10cdafdcc28bbe14a499a1423ab48d
extra : amend_source : 522c351546a787d91f9a43cddb0e1eee114a4d0f
2024-03-21 19:44:13 +02:00
Magnus Melin 8aa3e4cdc2 Bug 1824260 - esmify Ical.jsm. r=aleca,leftmostcat
Differential Revision: https://phabricator.services.mozilla.com/D204763

--HG--
rename : calendar/base/modules/Ical.jsm => calendar/base/modules/Ical.sys.mjs
rename : calendar/base/src/calICSService-worker.js => calendar/base/src/CalICSService.worker.mjs
extra : rebase_source : f5dc549aa0f7ca19b3d8bcffdb447a0b536d4995
extra : amend_source : 04f2309e0e818a907e16367557a7024cd3063826
2024-03-21 19:43:48 +02:00
Magnus Melin ab3f942f8b Bug 1759175 - Port "pt9" of Remove old crash reporter to Thunderbird. rs=bustage-fix
--HG--
extra : amend_source : 147f1da432fe58eab28316a79ec76e849be53ddf
2024-03-21 14:48:37 +02:00
John Bieling 8ea43290d6 Bug 1816623 - Attempt to fix browser_ext_menus_replace_menu.js. r=mkmelin
This patch checks all calls of browser.menus.create() and makes sure
the menu creation is correctly awaited, before the test continues.

I identified the following as the main reason for the observed
intermittent fails: Even though the event listeners for the contextmenu
events have been successfully added to the element inside the shadow
DOM, they are not active immediately. One can observe the original
context menu being opened, which should not happen. I did not find an
event to wait for, which properly checks this. I therefore use a small
delay.

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

--HG--
extra : amend_source : d5d0411d8dccd0dc75c498ca761146338ded10ae
2024-03-21 12:39:44 +02:00
John Bieling 74eae5714f Bug 1758470 - Lock compose window during print preview. r=aleca,vineet
The open/close Promises of PrintUtils are not returned from the m-c
component and are not accessible. The only access handle I could find is
the browser itself. Attaching the two callback methods is a very simple
solution, but is it any good?

This patch locks the composer (for example menus, action buttons
and commands) while the print preview modal dialog is shown.

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

--HG--
rename : mail/components/extensions/test/browser/browser_ext_compose_onBeforeSend.js => mail/components/extensions/test/browser/browser_ext_compose_printPreview.js
extra : amend_source : e78f88df767abe3ed7a285bb11953c063a44e1f0
2024-03-21 12:38:36 +02:00
Rob Lemley 96dfe25e2a Bug 1886446 - Port bug 1883775: remove `defaults` directory on macOS when empty. r=dandarnell
Fix for failing UpdateVerify tests for en_US macOS on 125.beta1.

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

--HG--
extra : moz-landing-system : lando
2024-03-20 21:48:59 +00:00
John Bieling b9361f48a9 Bug 1668754 - Force popups to use add-on icon, for better discoverability of add-on popups vs Thunderbird popups. r=aleca,mkmelin
This is a possible implementation for the icon of popups. These are only
supported by Windows.

On Windows, all popups currently use the Thunderbird logo icon. Since
popups do not have a URL bar, it is not discoverable which popup is
opened by which add-on (they usually open moz-extension:// urls, which
point to pages within the add-on).

For the menus API we have the rule, that the icon used in context menus
is always the add-on icon, so that the user is able to identify which
menu entries are created by which add-on. We could follow the same
principle and force popups to use the add-on icon.

To see the patch in action, you can install one of the recommended
add-ons, for example the "Mail Merge Add-on" or the "Auto Adress
Cleaner" from the list of recommended add-ons and then click on the gear
icon inside AMO and select "Debug Add-ons". On the new page click the
"Inspect" button of the installed add-on and switch to the console tab
and enter:

`browser.windows.create({url:"https://example.com", type:"popup"})`

This patch is not allowing to use arbitrary icons, but enforces the one
defined in the manifest of the extension. It uses the Thunderbird logo
icon, if the add-on did not specify an icon in its manifest.

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

--HG--
extra : moz-landing-system : lando
2024-03-20 21:48:59 +00:00
Vineet Deo 9693d0e348 Bug 1839005 - Add missing findbar in multimessageview and webbrowser in 3pane. r=freaktechnik,aleca
**How To Test**
- Open thunderbird. Use your find function and ensure findbar shows up and works.
- Switch to a multimessageview. Use your find function and ensure findbar shows up and works.
- Switch between message view and multimessageview to ensure that find bar is not overlapping or confusing browsers.

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

--HG--
extra : moz-landing-system : lando
2024-03-20 21:48:59 +00:00
Magnus Melin 315f43eeb0 Backed out changeset f93107acd9cf (bug 1886239) - landed prematurely
prompts.contentPromptSubDialog is needed until bug 1705440 lands.

--HG--
extra : amend_source : 8c831b25977b3a6880b0a4242ff60f90510e9d79
2024-03-20 15:44:17 +02:00
Geoff Lankow 700aa48c63 Bug 1886239 - Remove obsolete prompting code. r=leftmostcat
The pref removal is a port of bug 1705440. Everything else is dead code.

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

--HG--
extra : amend_source : 2c201c8ffbba571c54b3ffac250c321fa056efd6
2024-03-20 12:18:13 +02:00
John Bieling 84097a9310 Bug 1885934 - Use BrowserTestUtils.waitForPopupEvent() instead of manually waiting for events. r=mkmelin
This is a continuation of the effort started in D204760: Switching to
BrowserTestUtils.waitForPopupEvent() instead of waiting for
`popuphidden` and `popupshown` events. It uses this general syntax:

```
await BrowserTestUtils.waitForPopupEvent(menu, "shown");
// Do something that should hide the menu.
await BrowserTestUtils.waitForPopupEvent(menu, "hidden");
```

or

```
await BrowserTestUtils.waitForPopupEvent(menu, "hidden");
// Do something that should show the menu.
await BrowserTestUtils.waitForPopupEvent(menu, "shown");
```

The main goal is to get rid of the artificial setTimeouts. This patch
also removes duplicated code and adds javadoc descriptions to the
touched functions.

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

--HG--
extra : amend_source : 29a92fda9a687016f68009e4e4ba5152f14608dd
2024-03-20 12:17:54 +02:00
Magnus Melin c349303639 Bug 1885184 - getAttribute fix for browser_extension_update_background_noprompt.js. r=leftmostcat
Differential Revision: https://phabricator.services.mozilla.com/D205119

--HG--
extra : moz-landing-system : lando
2024-03-19 22:01:19 +00:00
Magnus Melin 591355e232 Bug 1885184 - more adjustments for getAttribute(). r=leftmostcat
Fixes mail/base/test/browser/browser_tagsMenusAndKeys.js

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

--HG--
extra : amend_source : a295307fa55f73924300ca1b458eaf0d8800a6d0
2024-03-19 19:11:13 +02:00
Magnus Melin 19283fbdb8 Bug 1884997 - follow-up, fix whitespace issues. rs=lint DONTBUILD
--HG--
extra : amend_source : 0e6a62a33d21ec85086c0e7c052474cef6779ee5
2024-03-19 14:57:47 +02:00
Richard Marti 259cfcb7ee Bug 1884997 - Port bug 1884792 - Consider making -moz-lwtheme a media query. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D204884

--HG--
extra : amend_source : d7fbcd1e91e4724cfc61b43a5dc1896ac886a80f
2024-03-19 13:43:30 +02:00
Magnus Melin 0b54d6e4f2 Bug 1882282 - Make mailbox url.folder return null if it doesn't exist. r=john.bieling,freaktechnik
Modernizer browser_junkCommands.js which led me to find the bug.
Test cleanup will remove the folder, and url processing finishes later...
IMAP and NNTP urls also just return null.

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

--HG--
extra : rebase_source : f38742af7a3d970a96eca0b2d5fa9ba606c82ced
extra : amend_source : d4f089e32ca10c39e652462420bc45d042b8e274
2024-03-19 13:42:37 +02:00
John Bieling 4c675ae610 Bug 1885777 - Fix the empty uuid list to no throw parsing errors. r=mkmelin
I only verified places where *writing* caused log spam, which was
resolved. But I added new log spam during read, because the empty value
is not parsable. The parsing error is caught and reported, not causing any
fails, but still needs to be fixed.

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

--HG--
extra : amend_source : 1445f51dcf13afdfb21a816d4a416b74419c866b
2024-03-19 11:52:17 +02:00
Magnus Melin a4f12139e1 Bug 1885184 - Port bug 232598 - getAttribute for xul-elements should return null for unset attributes. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D204943

--HG--
extra : rebase_source : 2b5a3544d8a17271ac93a2892ea2fc6348f46764
extra : amend_source : 51c59baab1a8e78a8a166e07ec39d1297dac624f
2024-03-19 11:48:15 +02:00
Mozilla Releng Treescript eaad57b44b Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2024-03-18 18:01:57 +00:00
John Bieling 7948d449ae Bug 1885777 - Clear extensions-webextensions.uuid after each test to reduce log spam. r=mkmelin
I see a lot of warnings in the test logs, about this pref storing way to
much data (since we install a lot of different test extensions).
Clearing the pref after each test gets rid of those warnings.

Depends on D204860

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

--HG--
extra : moz-landing-system : lando
2024-03-18 10:14:48 +00:00
John Bieling 3e6145287f Bug 1885776 - Enable ui.prefersReducedMotion in browser_ext_spaces.js to reduce intermittent fails. r=mkmelin
I observed intermittent fails and think we should reduce the chance of
these fails happening by enabling this preference. To not cause unwanted
side effects, let us enable them only in specific tests, not in all
tests.

Depends on D204761

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

--HG--
extra : moz-landing-system : lando
2024-03-18 10:14:47 +00:00
John Bieling 7786461a30 Bug 1804170 - Properly wait for action popups being closed. r=mkmelin
Another reason why this type of test could fail: We are not waiting till
the popup is closed but use a timeout.

This patch uses the helper `closeBrowserAction()` in all places,
which waits for the "popuphidden" event.

It also increases readability by using the  named event "popup closed".

In the `browser_ext_browserAction_popup_focus.js` test, the
wait-for-closed logic is moved from the extensions background to the
test itself, because it is much more stable this way.

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

--HG--
extra : moz-landing-system : lando
2024-03-18 10:14:47 +00:00
John Bieling 0ad8ab8f74 Bug 1804170 - Unify clicks on menu items and hiding menu popups. r=mkmelin
We know we have issues with clicks on menu items and hiding menu popups
in the WebExtension tests. We currently mitigate these issues not only
in header files, but also directly in tests, and we also still have
places which are not using the mitigation (which could be the reason for
this intermittent).

While I still attempt to find the underlying cause for these issues,
this patch tries to unify the mitigation.

1. Use the helper `clickItemInMenuPopup()` instead of manually calling
`menu.activateItem()` in the tests themselves. The helper waits for the
"popupHidden" event, which was not waited for in all places.

2. Use the helper `closeMenuPopup()` instead of manually calling
`menu.hidePopup() in the tests themselves. The helper waits for the
"popupHidden" event, which was not waited for in all places.

3. The function `closeContextMenu()` has been renamed to
`closeBrowserContextMenuPopup()` and no longer accepts a menu
parameter, but is now used only for the browserContext menu. If
a specific menu should be closed, `closeMenuPopup()` should be used.

4. The function `closeExtensionContextMenu()` has been renamed to
`clickItemInBrowserContextMenuPopup()`, which better describes what it
does.

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

--HG--
extra : moz-landing-system : lando
2024-03-18 10:14:47 +00:00
Geoff Lankow 42631dfa91 Bug 1851536 - Add tests for CardDAV address books with DNS discovery and OAuth2 authentication. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D204160

--HG--
extra : rebase_source : 1df4de11abb4d44efc602b17cd4fee4b88cb7bf0
extra : amend_source : 87cc944c605655ef96543e9c323c2b04fe9c4efe
2024-03-07 19:30:11 +13:00
Magnus Melin 042ed8a5d5 Bug 1801529 - Fix jsdocs in mail/extensions/openpgp/content/modules/cryptoAPI/RNPCryptoAPI.sys.mjs. rs=me
--HG--
extra : amend_source : f67359f954e694dc1ad4a029c0834336fb58859b
2024-03-17 12:36:43 +02:00
Magnus Melin 6dc62f33af Bug 1801529 - Fix jsdocs in mail/extensions/openpgp/content/modules/filters.sys.mjs. rs=me
--HG--
extra : amend_source : aadcaa8cc0a06ac5059fa72a68aba3a9197f43cc
2024-03-16 12:36:50 +02:00
Magnus Melin 6a784829d2 Bug 1824260 - esmify calendar/ (apart from Ical.jsm). r=aleca,leftmostcat
Ical.jsm doesn't want to be converted over so leaving it for now.
Will figure out how to resolve the issues there, or take bug 1824264 in next step.

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

--HG--
rename : calendar/base/modules/calCalendarDeactivator.jsm => calendar/base/modules/calCalendarDeactivator.sys.mjs
rename : calendar/base/modules/calExtract.jsm => calendar/base/modules/calExtract.sys.mjs
rename : calendar/base/modules/calHashedArray.jsm => calendar/base/modules/calHashedArray.sys.mjs
rename : calendar/base/modules/calRecurrenceUtils.jsm => calendar/base/modules/calRecurrenceUtils.sys.mjs
rename : calendar/base/src/calCachedCalendar.js => calendar/base/src/CalCachedCalendar.sys.mjs
rename : calendar/base/src/CalMetronome.jsm => calendar/base/src/CalMetronome.sys.mjs
rename : calendar/base/src/CalReadableStreamFactory.jsm => calendar/base/src/CalReadableStreamFactory.sys.mjs
rename : calendar/base/src/CalTimezone.jsm => calendar/base/src/CalTimezone.sys.mjs
rename : calendar/base/src/CalTransactionManager.jsm => calendar/base/src/CalTransactionManager.sys.mjs
rename : calendar/extract/CalExtractParser.jsm => calendar/extract/CalExtractParser.sys.mjs
rename : calendar/extract/CalExtractParserService.jsm => calendar/extract/CalExtractParserService.sys.mjs
rename : calendar/itip/CalItipMessageSender.jsm => calendar/itip/CalItipMessageSender.sys.mjs
rename : calendar/itip/CalItipOutgoingMessage.jsm => calendar/itip/CalItipOutgoingMessage.sys.mjs
rename : calendar/providers/caldav/CalDavProvider.jsm => calendar/providers/caldav/CalDavProvider.sys.mjs
rename : calendar/providers/caldav/modules/CalDavRequest.jsm => calendar/providers/caldav/modules/CalDavRequest.sys.mjs
rename : calendar/providers/caldav/modules/CalDavRequestHandlers.jsm => calendar/providers/caldav/modules/CalDavRequestHandlers.sys.mjs
rename : calendar/providers/caldav/modules/CalDavSession.jsm => calendar/providers/caldav/modules/CalDavSession.sys.mjs
rename : calendar/providers/caldav/modules/CalDavUtils.jsm => calendar/providers/caldav/modules/CalDavUtils.sys.mjs
rename : calendar/providers/ics/CalICSProvider.jsm => calendar/providers/ics/CalICSProvider.sys.mjs
rename : calendar/providers/storage/CalStorageCachedItemModel.jsm => calendar/providers/storage/CalStorageCachedItemModel.sys.mjs
rename : calendar/providers/storage/CalStorageDatabase.jsm => calendar/providers/storage/CalStorageDatabase.sys.mjs
rename : calendar/providers/storage/CalStorageItemModel.jsm => calendar/providers/storage/CalStorageItemModel.sys.mjs
rename : calendar/providers/storage/CalStorageMetaDataModel.jsm => calendar/providers/storage/CalStorageMetaDataModel.sys.mjs
rename : calendar/providers/storage/CalStorageModelBase.jsm => calendar/providers/storage/CalStorageModelBase.sys.mjs
rename : calendar/providers/storage/CalStorageModelFactory.jsm => calendar/providers/storage/CalStorageModelFactory.sys.mjs
rename : calendar/providers/storage/CalStorageOfflineModel.jsm => calendar/providers/storage/CalStorageOfflineModel.sys.mjs
rename : calendar/providers/storage/CalStorageStatements.jsm => calendar/providers/storage/CalStorageStatements.sys.mjs
rename : calendar/providers/storage/calStorageHelpers.jsm => calendar/providers/storage/calStorageHelpers.sys.mjs
rename : calendar/providers/storage/calStorageUpgrade.jsm => calendar/providers/storage/calStorageUpgrade.sys.mjs
rename : calendar/test/CalDAVServer.jsm => calendar/test/CalDAVServer.sys.mjs
rename : calendar/test/CalendarTestUtils.jsm => calendar/test/CalendarTestUtils.sys.mjs
rename : calendar/test/CalendarUtils.jsm => calendar/test/CalendarUtils.sys.mjs
rename : calendar/test/ICSServer.jsm => calendar/test/ICSServer.sys.mjs
rename : calendar/test/ItemEditingHelpers.jsm => calendar/test/ItemEditingHelpers.sys.mjs
extra : amend_source : 180eac675e4893d841f439bd0f6e1d4ed292c783
2024-03-15 17:45:58 -07:00
welpy-cw 18b206dfce Bug 1861204 - Follow-up: disable l10n for custom columns. r=john.bieling
Differential Revision: https://phabricator.services.mozilla.com/D204141

--HG--
extra : amend_source : aaddce6a60f5a72983cc436778a3f3a644232688
2024-03-15 10:50:52 -07:00
welpy-cw 85e28ec525 Bug 1861204 - Ensure tooltip for subject displays in Table View. r=aleca,dandarnell
- Ensure message text-based columns have tooltips and aria labels.
- Add fluent migration.

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

--HG--
extra : amend_source : 5858fe22fc3c489c193de52ac589950dc8caed68
2024-03-15 10:50:24 -07:00
welpy-cw dec55bafb7 Bug 1301248 - Refactor selection state preservation in the password manager. r=mkmelin
Remember the last selected item when changing view sorting, or showing/hiding passwords in an
unfiltered view.

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

--HG--
extra : amend_source : f6405f878c3cf2981be8a6bfda066f43bbf8d875
2024-03-15 10:49:19 -07:00
welpy-cw d5dd090957 Bug 1884661 - Fix reloading of signons when "passwordmgr-storage-changed" is observed. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D204289

--HG--
extra : amend_source : 045dd5e849377da46de5929e3be30f59d8d60a6e
2024-03-15 10:48:46 -07:00
John Bieling c4b3630484 Bug 1606575 - Follow-up to fix missing "optional" property in schema definition. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D204734

--HG--
extra : amend_source : 381738e60fa4513c31f8c406813b4ddcaf2a9861
2024-03-15 03:11:47 -07:00
John Bieling 0fbfb83285 Bug 1606575 - Follow-up to fix locale issue with formatFileSize. r=benc
Differential Revision: https://phabricator.services.mozilla.com/D204707

--HG--
extra : amend_source : c47394a3edb0c0c93021704130bfffbdf376f918
2024-03-15 11:43:07 +13:00
John Bieling 345ca4b608 Bug 1606575 - Add parseMailboxString() to messengerUtilities API. r=mkmelin
Currently add-on developers try to do manual parsing, which is error
prone. It is true that they could load a third party library, but
exposing this makes it so much easier.

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

--HG--
extra : amend_source : eac1c6ffe0efa666752eab2ef26119738056515f
2024-03-14 13:11:27 -07:00
John Bieling 789cfb6a5a Bug 1606575 - Add messengerUtilities API including a formatFileSize() method. r=mkmelin
This API will be populated with utility methods useful for extension
developers. The main goal is to be consistent across add-ons and not
forcing add-ons to re-invent methods which already exist in Thunderbird.

If Thunderbrid decides to change the output of these functions, all
add-ons using them will automatically be adjusted as well.

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

--HG--
extra : amend_source : cfb3e0c93ed9e20f65bb026ca5566d834d5fd253
2024-03-14 13:10:59 -07:00
John Bieling d5de4d4aa3 Bug 1885279 - Fix timing issue in messageDisplayAction API. r=mkmelin
I am not 100% sure why this is popping up now, but it is not a recent
regression, but a real bug. The code in question was introduced in Bug 1803255.

We are currently not awaiting the call to `super.updateWindow()`.

This patch adds the same mechanism which is already used in
`ExtensionToolbarButtons.sys.mjs`:

https://searchfox.org/comm-central/rev/a0bc09a88c7e060ba8cafb62a40dc0f36153d8d2/mail/components/extensions/ExtensionToolbarButtons.sys.mjs#647-653

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

--HG--
extra : amend_source : 86945d83b709d56067be8295b0d08ee24fb49a3f
2024-03-14 12:38:39 +02:00
Magnus Melin 10629c8c87 Bug 1885274 - Port bug 1882577 - Make nsISearchEngine.getIconURL an async function. r=john.bieling
Differential Revision: https://phabricator.services.mozilla.com/D204585

--HG--
extra : rebase_source : f0294a7a2dbf107d605cd3f1190f904bb09d4127
extra : amend_source : 3a7c423c3df21d6cd18067c6292eef4194cf584f
2024-03-14 12:37:50 +02:00
Silvia Bonavista i Serrat 1785481ef8 Bug 1873950 - Delete pid-NNNN directory for temporary files on exit. r=mkmelin
Bonus fix: Fix `nsMsgCreateTempFile()` so it cleans up after itself and remove second copy of the function.

Based on https://github.com/Betterbird/thunderbird-patches/blob/main/115/bugs/1873950-delete-temp-pid-NNNN.patch

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

--HG--
extra : amend_source : 35186513a22cef43fd8f294f45491559caac8df1
2024-03-14 12:37:28 +02:00
Martin Giger 7c6a3be160 Bug 1884932 - Add creating a story docs for storybook. r=heather,aleca
Differential Revision: https://phabricator.services.mozilla.com/D204360

--HG--
extra : amend_source : 390232cbcddb1b2a5373a053133e6ad7016393a2
2024-03-13 16:44:54 -07:00
Magnus Melin 121fb449f8 Bug 1884868 - adjust testCancelWaitForRedirect(). r=freaktechnik
It looks like the close Cancellation/rejection happens earlier now.

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

--HG--
extra : amend_source : 846bd45d642f7c8b938a9a5961181c7440449073
2024-03-13 16:43:02 -07:00
John Bieling f8b6a31800 Bug 1882725 - Fix wrong coordinates used in editor.contentDocument.elementFromPoint(). r=aleca
This fixes a regression introduced 3 years ago in Bug 1719985. If the
compose window has lots of text and is scrolled to the bottom, the
context menu will not have all entries and the spellchecker throws:

```
can't access property "ownerGlobal", element is null
```

According to MDN, `elementFromPoint()` needs coordinates relative to
the view port, but it currently gets coordinates relative to the document.

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

--HG--
extra : amend_source : 12a0ec6a91b72d62d598d8f292dafdae2b50e3cb
2024-03-13 16:42:19 -07:00
John Bieling 485b7368e8 Bug 1758469 - Fix compose window not being fully locked. r=freaktechnik
This is a continuation of the effort started in D202887. Here we add
tests to verify the composer elements being correctly locked and
unlocked again.

The following still incorrect cases are fixed:
 - the spelling button is now correctly locked
 - action buttons are now correctly locked

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

--HG--
extra : amend_source : fce46a5adc2aa8535e1f0df6477749fb1145ef3d
2024-03-13 16:40:49 -07:00
Magnus Melin 3870735022 Bug 1878172 - followup, fix linting. rs=eslint DONTBUILD
--HG--
extra : amend_source : 349990aebbaf0240a12ec7335c0bcd44c9c5ceb8
2024-03-13 19:32:30 +02:00
Geoff Lankow 38cd72660f Bug 1878172 - Test getting messages with an expired or bad OAuth access token. r=mkmelin
Includes fixing the POP3 client code to show a notification on failure.

Differential revision: https://phabricator.services.mozilla.com/D204159
2024-03-13 12:12:53 +02:00
John Bieling d7396a2406 Bug 1844911 - Fix CSS for checked menuitem on MacOS. r=aleca,micahilbery
MacOS seems to use the `checked` attribute instead of the `selected` attribute for
menu items. This patch extends the existing CSS rule to act on both. It also loads
the `icons.css` and `colors.css` into the extension popup.

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

--HG--
extra : amend_source : 807d0cc14bf8faad696f5d8c4c1af672d23f8ca9
2024-03-13 12:01:20 +02:00
Magnus Melin dc8169d83f Bug 512385 - Follow-up, fix typo in comments. rs=me 2024-03-13 12:00:03 +02:00
John Bieling 30b6436531 Bug 1840072 - Add test to verify focus is properly returned after browser action popup closed. r=mkmelin
This adds a test which was forgotton in Bug 1545932 and has been
regressed by Supernova changes. The regression itself has already been
fixed elsewhere in the meantime.

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

--HG--
extra : amend_source : 8ec2a5b501da08fdc94a79c09daaecaaee056c3a
2024-03-13 12:45:51 +13:00
Richard Marti 6bca59d88a Bug 1884492 - Port bug 1879963: Avoid pinning confirmation popup for Windows 10 > 10.0.19045.3996. r=rjl
Differential Revision: https://phabricator.services.mozilla.com/D204136

--HG--
extra : amend_source : 7d004135fd1f09e49cd91366f8b869c79921d4a6
2024-03-13 12:43:39 +13:00
Magnus Melin 7067a10505 Bug 512385 - Display Archived-At header field as a link, and add Message Permalink option to List-Id menu. r=john.bieling,vineet
E.g. Topicbox list mails have this...

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

--HG--
extra : amend_source : 38d1fc1377090660feedef946138ac6cf3815678
2024-03-13 12:41:41 +13:00
John Bieling 3bab370cdd Bug 1884513 - Another attempt to fix intermittent fails in theme test. r=mkmelin
Instead of trying to check the new value after the theme has been
applied (which does not always work), we now simply wait *until* the
value has changed.

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

--HG--
extra : amend_source : d54269c9a514acfb7114ff22138daeb01ae10166
2024-03-13 12:39:43 +13:00
Magnus Melin 1ae693417e Bug 1824260 - esmify mailnews/. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D204279

--HG--
rename : mailnews/addrbook/modules/AddrBookDirectory.jsm => mailnews/addrbook/modules/AddrBookDirectory.sys.mjs
rename : mailnews/addrbook/modules/AddrBookMailingList.jsm => mailnews/addrbook/modules/AddrBookMailingList.sys.mjs
rename : mailnews/addrbook/modules/AddrBookUtils.jsm => mailnews/addrbook/modules/AddrBookUtils.sys.mjs
rename : mailnews/addrbook/modules/CardDAVUtils.jsm => mailnews/addrbook/modules/CardDAVUtils.sys.mjs
rename : mailnews/addrbook/modules/LDAPClient.jsm => mailnews/addrbook/modules/LDAPClient.sys.mjs
rename : mailnews/addrbook/modules/LDAPListenerBase.jsm => mailnews/addrbook/modules/LDAPListenerBase.sys.mjs
rename : mailnews/addrbook/modules/LDAPMessage.jsm => mailnews/addrbook/modules/LDAPMessage.sys.mjs
rename : mailnews/addrbook/modules/QueryStringToExpression.jsm => mailnews/addrbook/modules/QueryStringToExpression.sys.mjs
rename : mailnews/addrbook/test/CardDAVServer.jsm => mailnews/addrbook/test/CardDAVServer.sys.mjs
rename : mailnews/addrbook/test/LDAPServer.jsm => mailnews/addrbook/test/LDAPServer.sys.mjs
rename : mailnews/base/src/ABQueryUtils.jsm => mailnews/base/src/ABQueryUtils.sys.mjs
rename : mailnews/base/src/FolderUtils.jsm => mailnews/base/src/FolderUtils.sys.mjs
rename : mailnews/base/src/JXON.jsm => mailnews/base/src/JXON.sys.mjs
rename : mailnews/base/src/LineReader.jsm => mailnews/base/src/LineReader.sys.mjs
rename : mailnews/base/src/MailAuthenticator.jsm => mailnews/base/src/MailAuthenticator.sys.mjs
rename : mailnews/base/src/MailCryptoUtils.jsm => mailnews/base/src/MailCryptoUtils.sys.mjs
rename : mailnews/base/src/MailServices.jsm => mailnews/base/src/MailServices.sys.mjs
rename : mailnews/base/src/MailStringUtils.jsm => mailnews/base/src/MailStringUtils.sys.mjs
rename : mailnews/base/src/MailnewsMigrator.jsm => mailnews/base/src/MailnewsMigrator.sys.mjs
rename : mailnews/base/src/MsgDBCacheManager.jsm => mailnews/base/src/MsgDBCacheManager.sys.mjs
rename : mailnews/base/src/MsgIncomingServer.jsm => mailnews/base/src/MsgIncomingServer.sys.mjs
rename : mailnews/base/src/MsgKeySet.jsm => mailnews/base/src/MsgKeySet.sys.mjs
rename : mailnews/base/src/OAuth2.jsm => mailnews/base/src/OAuth2.sys.mjs
rename : mailnews/base/src/OAuth2Providers.jsm => mailnews/base/src/OAuth2Providers.sys.mjs
rename : mailnews/base/src/TemplateUtils.jsm => mailnews/base/src/TemplateUtils.sys.mjs
rename : mailnews/base/src/VirtualFolderWrapper.jsm => mailnews/base/src/VirtualFolderWrapper.sys.mjs
rename : mailnews/base/src/WinUnreadBadge.jsm => mailnews/base/src/WinUnreadBadge.sys.mjs
rename : mailnews/base/src/hostnameUtils.jsm => mailnews/base/src/hostnameUtils.sys.mjs
rename : mailnews/base/src/mailstoreConverter.jsm => mailnews/base/src/mailstoreConverter.sys.mjs
rename : mailnews/compose/src/MimeEncoder.jsm => mailnews/compose/src/MimeEncoder.sys.mjs
rename : mailnews/compose/src/MimeMessage.jsm => mailnews/compose/src/MimeMessage.sys.mjs
rename : mailnews/compose/src/MimeMessageUtils.jsm => mailnews/compose/src/MimeMessageUtils.sys.mjs
rename : mailnews/compose/src/MimePart.jsm => mailnews/compose/src/MimePart.sys.mjs
rename : mailnews/compose/src/SmtpClient.jsm => mailnews/compose/src/SmtpClient.sys.mjs
rename : mailnews/db/gloda/modules/Collection.jsm => mailnews/db/gloda/modules/Collection.sys.mjs
rename : mailnews/db/gloda/modules/Everybody.jsm => mailnews/db/gloda/modules/Everybody.sys.mjs
rename : mailnews/db/gloda/modules/Facet.jsm => mailnews/db/gloda/modules/Facet.sys.mjs
rename : mailnews/db/gloda/modules/Gloda.jsm => mailnews/db/gloda/modules/Gloda.sys.mjs
rename : mailnews/db/gloda/modules/GlodaConstants.jsm => mailnews/db/gloda/modules/GlodaConstants.sys.mjs
rename : mailnews/db/gloda/modules/GlodaContent.jsm => mailnews/db/gloda/modules/GlodaContent.sys.mjs
rename : mailnews/db/gloda/modules/GlodaDataModel.jsm => mailnews/db/gloda/modules/GlodaDataModel.sys.mjs
rename : mailnews/db/gloda/modules/GlodaDatabind.jsm => mailnews/db/gloda/modules/GlodaDatabind.sys.mjs
rename : mailnews/db/gloda/modules/GlodaDatastore.jsm => mailnews/db/gloda/modules/GlodaDatastore.sys.mjs
rename : mailnews/db/gloda/modules/GlodaExplicitAttr.jsm => mailnews/db/gloda/modules/GlodaExplicitAttr.sys.mjs
rename : mailnews/db/gloda/modules/GlodaFundAttr.jsm => mailnews/db/gloda/modules/GlodaFundAttr.sys.mjs
rename : mailnews/db/gloda/modules/GlodaIndexer.jsm => mailnews/db/gloda/modules/GlodaIndexer.sys.mjs
rename : mailnews/db/gloda/modules/GlodaMsgIndexer.jsm => mailnews/db/gloda/modules/GlodaMsgIndexer.sys.mjs
rename : mailnews/db/gloda/modules/GlodaMsgSearcher.jsm => mailnews/db/gloda/modules/GlodaMsgSearcher.sys.mjs
rename : mailnews/db/gloda/modules/GlodaPublic.jsm => mailnews/db/gloda/modules/GlodaPublic.sys.mjs
rename : mailnews/db/gloda/modules/GlodaQueryClassFactory.jsm => mailnews/db/gloda/modules/GlodaQueryClassFactory.sys.mjs
rename : mailnews/db/gloda/modules/GlodaSyntheticView.jsm => mailnews/db/gloda/modules/GlodaSyntheticView.sys.mjs
rename : mailnews/db/gloda/modules/GlodaUtils.jsm => mailnews/db/gloda/modules/GlodaUtils.sys.mjs
rename : mailnews/db/gloda/modules/IndexMsg.jsm => mailnews/db/gloda/modules/IndexMsg.sys.mjs
rename : mailnews/db/gloda/modules/MimeMessage.jsm => mailnews/db/gloda/modules/MimeMessage.sys.mjs
rename : mailnews/db/gloda/modules/NounFreetag.jsm => mailnews/db/gloda/modules/NounFreetag.sys.mjs
rename : mailnews/db/gloda/modules/NounMimetype.jsm => mailnews/db/gloda/modules/NounMimetype.sys.mjs
rename : mailnews/db/gloda/modules/NounTag.jsm => mailnews/db/gloda/modules/NounTag.sys.mjs
rename : mailnews/db/gloda/modules/SuffixTree.jsm => mailnews/db/gloda/modules/SuffixTree.sys.mjs
rename : mailnews/db/gloda/test/unit/resources/GlodaQueryHelper.jsm => mailnews/db/gloda/test/unit/resources/GlodaQueryHelper.sys.mjs
rename : mailnews/db/gloda/test/unit/resources/GlodaTestHelper.jsm => mailnews/db/gloda/test/unit/resources/GlodaTestHelper.sys.mjs
rename : mailnews/db/gloda/test/unit/resources/GlodaTestHelperFunctions.jsm => mailnews/db/gloda/test/unit/resources/GlodaTestHelperFunctions.sys.mjs
rename : mailnews/export/modules/ProfileExporter.jsm => mailnews/export/modules/ProfileExporter.sys.mjs
rename : mailnews/extensions/newsblog/Feed.jsm => mailnews/extensions/newsblog/Feed.sys.mjs
rename : mailnews/extensions/newsblog/FeedItem.jsm => mailnews/extensions/newsblog/FeedItem.sys.mjs
rename : mailnews/extensions/newsblog/FeedParser.jsm => mailnews/extensions/newsblog/FeedParser.sys.mjs
rename : mailnews/extensions/newsblog/FeedUtils.jsm => mailnews/extensions/newsblog/FeedUtils.sys.mjs
rename : mailnews/imap/src/ImapChannel.jsm => mailnews/imap/src/ImapChannel.sys.mjs
rename : mailnews/imap/src/ImapClient.jsm => mailnews/imap/src/ImapClient.sys.mjs
rename : mailnews/imap/src/ImapIncomingServer.jsm => mailnews/imap/src/ImapIncomingServer.sys.mjs
rename : mailnews/imap/src/ImapMessageService.jsm => mailnews/imap/src/ImapMessageService.sys.mjs
rename : mailnews/imap/src/ImapProtocolHandler.jsm => mailnews/imap/src/ImapProtocolHandler.sys.mjs
rename : mailnews/imap/src/ImapProtocolInfo.jsm => mailnews/imap/src/ImapProtocolInfo.sys.mjs
rename : mailnews/imap/src/ImapResponse.jsm => mailnews/imap/src/ImapResponse.sys.mjs
rename : mailnews/imap/src/ImapService.jsm => mailnews/imap/src/ImapService.sys.mjs
rename : mailnews/imap/src/ImapUtils.jsm => mailnews/imap/src/ImapUtils.sys.mjs
rename : mailnews/import/modules/AddrBookFileImporter.jsm => mailnews/import/modules/AddrBookFileImporter.sys.mjs
rename : mailnews/import/modules/AppleMailProfileImporter.jsm => mailnews/import/modules/AppleMailProfileImporter.sys.mjs
rename : mailnews/import/modules/BaseProfileImporter.jsm => mailnews/import/modules/BaseProfileImporter.sys.mjs
rename : mailnews/import/modules/BeckyProfileImporter.jsm => mailnews/import/modules/BeckyProfileImporter.sys.mjs
rename : mailnews/import/modules/CalendarFileImporter.jsm => mailnews/import/modules/CalendarFileImporter.sys.mjs
rename : mailnews/import/modules/OutlookProfileImporter.jsm => mailnews/import/modules/OutlookProfileImporter.sys.mjs
rename : mailnews/import/modules/SeamonkeyProfileImporter.jsm => mailnews/import/modules/SeamonkeyProfileImporter.sys.mjs
rename : mailnews/import/modules/ThunderbirdProfileImporter.jsm => mailnews/import/modules/ThunderbirdProfileImporter.sys.mjs
rename : mailnews/jsaccount/modules/JSAccountUtils.jsm => mailnews/jsaccount/modules/JSAccountUtils.sys.mjs
rename : mailnews/jsaccount/modules/JaBaseUrl.jsm => mailnews/jsaccount/modules/JaBaseUrl.sys.mjs
rename : mailnews/jsaccount/test/unit/resources/testJaBaseIncomingServer.jsm => mailnews/jsaccount/test/unit/resources/testJaBaseIncomingServer.sys.mjs
rename : mailnews/jsaccount/test/unit/resources/testJaBaseMsgFolder.jsm => mailnews/jsaccount/test/unit/resources/testJaBaseMsgFolder.sys.mjs
rename : mailnews/local/src/Pop3Channel.jsm => mailnews/local/src/Pop3Channel.sys.mjs
rename : mailnews/local/src/Pop3Client.jsm => mailnews/local/src/Pop3Client.sys.mjs
rename : mailnews/mime/src/jsmime.jsm => mailnews/mime/src/jsmime.sys.mjs
rename : mailnews/mime/src/mimeParser.jsm => mailnews/mime/src/mimeParser.sys.mjs
rename : mailnews/news/src/NntpChannel.jsm => mailnews/news/src/NntpChannel.sys.mjs
rename : mailnews/news/src/NntpClient.jsm => mailnews/news/src/NntpClient.sys.mjs
rename : mailnews/news/src/NntpNewsGroup.jsm => mailnews/news/src/NntpNewsGroup.sys.mjs
rename : mailnews/news/src/NntpUtils.jsm => mailnews/news/src/NntpUtils.sys.mjs
rename : mailnews/search/src/PeriodicFilterManager.jsm => mailnews/search/src/PeriodicFilterManager.sys.mjs
extra : rebase_source : 0d95b8d8e0eb6134fe513fab1793e34bab974206
2024-03-12 17:01:01 +02:00
Magnus Melin 2b23e8d718 Bug 1824260 - modernize jsmime. r=aleca,freaktechnik
The way jsmime.js and jsmime.jsm interacted did not work for esmification.
Make jsmime.js a proper module jsmime.mjs - remove the anchient module loading people use to use 15 years ago
before JavaScript had proper modules.

The interaction with extraMimeParsers.jsm was also problematic (loading it through Services.scriptloader.loadSubScript in jsmime.jsm),
and there's very little reason to use that in the first place these days. So inlined it into the jsmime.mjs module.

jsmime.js (now jsmime.mjs) uses a kind of namespacing that we could well get rid of but for keeing it was for now to keep the patch reviewable.

Will upload the patch first without formatting it, again to make it easeier to see the real changes.
There's a fair amount of linting fixing to be done even if they are not real changes...

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

--HG--
rename : mailnews/mime/jsmime/jsmime.js => mailnews/mime/jsmime/jsmime.mjs
extra : rebase_source : d1c145bf779e58f550eb94f090f7be572b82b41e
2024-03-12 14:40:39 +02:00
Geoff Lankow d62c2bf3a4 Bug 1883506 - Remove out-param from nsIMsgDBView.open and .openWithHdrs. r=leftmostcat
Differential Revision: https://phabricator.services.mozilla.com/D204307

--HG--
extra : amend_source : 3c651e60a656322c4b54336ba7334319ea0af130
2024-03-12 02:38:26 -07:00
John Bieling e1abb7d564 Bug 1882993 - Force field row of other headers to be displayed after adding a value via compose API. r=aleca
When adding values to standard headers (like reply-to) via the compose
API, the row of their header field is automatically shown. This is
currently not the case for non-standard headers, which have been added
to the UI via the `mail.compose.other.header` preference.

This patch forces also non-standard headers to be shown, and adds a
test.

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

--HG--
extra : amend_source : b9eedfa327fe8ff6e54b57a0f52300afceb2e2d6
2024-03-11 14:24:26 -07:00
welpy-cw 91f48ab806 Bug 1520435 - Refresh Grouped By views at midnight. r=leftmostcat,aleca
Differential Revision: https://phabricator.services.mozilla.com/D203906

--HG--
extra : amend_source : 67118afcdd9f5f305937835230348cb4239d2500
2024-03-11 11:17:16 -07:00
welpy-cw ffca8e7f62 Bug 1884585 - Use XULStoreUtils in aboutAddressBook.js as well. r=mkmelin,aleca
Differential Revision: https://phabricator.services.mozilla.com/D204149

--HG--
extra : amend_source : d5aa8131c08fc5bdb59657f6fd3cbc5f1ebbd513
2024-03-11 11:16:36 -07:00
Magnus Melin 9a27fbc650 Bug 1773646 - Try to fix intermittent comm/mail/test/browser/account/browser_abWhitelist.js | Should [not] have been checked. r=vineet
The pref apperas not to exist. Because we didn't wait after clicking so the event handling didn't necessarily have time to safe the pref.

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

--HG--
extra : amend_source : 0595ff3b069a9814b12f3763ba89bf0f25a1cda0
2024-03-11 11:15:58 -07:00
John Bieling 6d084af7e5 Bug 1884596 - Toggle dom.disable_window_flip to true. r=mkmelin
m-c finally wants to drop the `dom.disable_window_flip` preference in
Bug 1773079 and it will be permanently set to `true`.

It is currently set to `false` for us, but it does not look like
flipping it to `true` causes any issues.

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

--HG--
extra : amend_source : 6a5d5485be3713665634857a2e74f958ff9c5be7
2024-03-11 12:17:17 +02:00
John Bieling 3a4c628b7f Bug 1884513 - Try to fix intermittent fails in theme tests. r=mkmelin
This patch sets `ui.prefersReducedMotion` in theme tests, to reduce
animations, which could delay theme updates.

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

--HG--
extra : amend_source : 11581b23a430e47dd35b722b9176769c538b5280
2024-03-11 12:16:40 +02:00
John Bieling 9aeed72f36 Bug 1884412 - Remove recommendation to move messages to trash from WebExtension API documentation. r=aleca
Following feedback from developers, we remove the recommendation to
manually move messages to trash. Instead, developers should use the
standard `browser.messages.delete()` function, which honors the user's
trash settings.

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

--HG--
extra : amend_source : 1b7ea551cff50620be932ad6a0282dec4e43bd6b
2024-03-10 12:41:00 +02:00
Magnus Melin 3e7c075b21 Bug 1824260 - esmify mail/. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D203760

--HG--
rename : mail/components/AppIdleManager.jsm => mail/components/AppIdleManager.sys.mjs
rename : mail/components/about-support/AboutSupportMac.jsm => mail/components/about-support/AboutSupportMac.sys.mjs
rename : mail/components/about-support/AboutSupportUnix.jsm => mail/components/about-support/AboutSupportUnix.sys.mjs
rename : mail/components/about-support/AboutSupportWin32.jsm => mail/components/about-support/AboutSupportWin32.sys.mjs
rename : mail/components/activity/modules/activityModules.jsm => mail/components/activity/modules/activityModules.sys.mjs
rename : mail/components/activity/modules/alertHook.jsm => mail/components/activity/modules/alertHook.sys.mjs
rename : mail/components/activity/modules/autosync.jsm => mail/components/activity/modules/autosync.sys.mjs
rename : mail/components/activity/modules/glodaIndexer.jsm => mail/components/activity/modules/glodaIndexer.sys.mjs
rename : mail/components/activity/modules/moveCopy.jsm => mail/components/activity/modules/moveCopy.sys.mjs
rename : mail/components/activity/modules/pop3Download.jsm => mail/components/activity/modules/pop3Download.sys.mjs
rename : mail/components/activity/modules/sendLater.jsm => mail/components/activity/modules/sendLater.sys.mjs
rename : mail/components/cloudfile/cloudFileAccounts.jsm => mail/components/cloudfile/cloudFileAccounts.sys.mjs
rename : mail/components/search/SearchIntegration.jsm => mail/components/search/SearchIntegration.sys.mjs
rename : mail/extensions/openpgp/content/BondOpenPGP.jsm => mail/extensions/openpgp/content/BondOpenPGP.sys.mjs
rename : mail/extensions/openpgp/content/modules/CollectedKeysDB.jsm => mail/extensions/openpgp/content/modules/CollectedKeysDB.sys.mjs
rename : mail/extensions/openpgp/content/modules/GPGME.jsm => mail/extensions/openpgp/content/modules/GPGME.sys.mjs
rename : mail/extensions/openpgp/content/modules/GPGMELib.jsm => mail/extensions/openpgp/content/modules/GPGMELib.sys.mjs
rename : mail/extensions/openpgp/content/modules/OpenPGPAlias.jsm => mail/extensions/openpgp/content/modules/OpenPGPAlias.sys.mjs
rename : mail/extensions/openpgp/content/modules/RNP.jsm => mail/extensions/openpgp/content/modules/RNP.sys.mjs
rename : mail/extensions/openpgp/content/modules/RNPLib.jsm => mail/extensions/openpgp/content/modules/RNPLib.sys.mjs
rename : mail/extensions/openpgp/content/modules/armor.jsm => mail/extensions/openpgp/content/modules/armor.sys.mjs
rename : mail/extensions/openpgp/content/modules/constants.jsm => mail/extensions/openpgp/content/modules/constants.sys.mjs
rename : mail/extensions/openpgp/content/modules/core.jsm => mail/extensions/openpgp/content/modules/core.sys.mjs
rename : mail/extensions/openpgp/content/modules/cryptoAPI.jsm => mail/extensions/openpgp/content/modules/cryptoAPI.sys.mjs
rename : mail/extensions/openpgp/content/modules/cryptoAPI/GnuPGCryptoAPI.jsm => mail/extensions/openpgp/content/modules/cryptoAPI/GnuPGCryptoAPI.sys.mjs
rename : mail/extensions/openpgp/content/modules/cryptoAPI/RNPCryptoAPI.jsm => mail/extensions/openpgp/content/modules/cryptoAPI/RNPCryptoAPI.sys.mjs
rename : mail/extensions/openpgp/content/modules/data.jsm => mail/extensions/openpgp/content/modules/data.sys.mjs
rename : mail/extensions/openpgp/content/modules/decryption.jsm => mail/extensions/openpgp/content/modules/decryption.sys.mjs
rename : mail/extensions/openpgp/content/modules/dialog.jsm => mail/extensions/openpgp/content/modules/dialog.sys.mjs
rename : mail/extensions/openpgp/content/modules/encryption.jsm => mail/extensions/openpgp/content/modules/encryption.sys.mjs
rename : mail/extensions/openpgp/content/modules/filters.jsm => mail/extensions/openpgp/content/modules/filters.sys.mjs
rename : mail/extensions/openpgp/content/modules/filtersWrapper.jsm => mail/extensions/openpgp/content/modules/filtersWrapper.sys.mjs
rename : mail/extensions/openpgp/content/modules/fixExchangeMsg.jsm => mail/extensions/openpgp/content/modules/fixExchangeMsg.sys.mjs
rename : mail/extensions/openpgp/content/modules/funcs.jsm => mail/extensions/openpgp/content/modules/funcs.sys.mjs
rename : mail/extensions/openpgp/content/modules/key.jsm => mail/extensions/openpgp/content/modules/key.sys.mjs
rename : mail/extensions/openpgp/content/modules/keyLookupHelper.jsm => mail/extensions/openpgp/content/modules/keyLookupHelper.sys.mjs
rename : mail/extensions/openpgp/content/modules/keyObj.jsm => mail/extensions/openpgp/content/modules/keyObj.sys.mjs
rename : mail/extensions/openpgp/content/modules/keyRing.jsm => mail/extensions/openpgp/content/modules/keyRing.sys.mjs
rename : mail/extensions/openpgp/content/modules/keyserver.jsm => mail/extensions/openpgp/content/modules/keyserver.sys.mjs
rename : mail/extensions/openpgp/content/modules/keyserverUris.jsm => mail/extensions/openpgp/content/modules/keyserverUris.sys.mjs
rename : mail/extensions/openpgp/content/modules/log.jsm => mail/extensions/openpgp/content/modules/log.sys.mjs
rename : mail/extensions/openpgp/content/modules/masterpass.jsm => mail/extensions/openpgp/content/modules/masterpass.sys.mjs
rename : mail/extensions/openpgp/content/modules/mime.jsm => mail/extensions/openpgp/content/modules/mime.sys.mjs
rename : mail/extensions/openpgp/content/modules/mimeDecrypt.jsm => mail/extensions/openpgp/content/modules/mimeDecrypt.sys.mjs
rename : mail/extensions/openpgp/content/modules/mimeEncrypt.jsm => mail/extensions/openpgp/content/modules/mimeEncrypt.sys.mjs
rename : mail/extensions/openpgp/content/modules/mimeVerify.jsm => mail/extensions/openpgp/content/modules/mimeVerify.sys.mjs
rename : mail/extensions/openpgp/content/modules/msgRead.jsm => mail/extensions/openpgp/content/modules/msgRead.sys.mjs
rename : mail/extensions/openpgp/content/modules/persistentCrypto.jsm => mail/extensions/openpgp/content/modules/persistentCrypto.sys.mjs
rename : mail/extensions/openpgp/content/modules/singletons.jsm => mail/extensions/openpgp/content/modules/singletons.sys.mjs
rename : mail/extensions/openpgp/content/modules/sqliteDb.jsm => mail/extensions/openpgp/content/modules/sqliteDb.sys.mjs
rename : mail/extensions/openpgp/content/modules/streams.jsm => mail/extensions/openpgp/content/modules/streams.sys.mjs
rename : mail/extensions/openpgp/content/modules/trust.jsm => mail/extensions/openpgp/content/modules/trust.sys.mjs
rename : mail/extensions/openpgp/content/modules/uris.jsm => mail/extensions/openpgp/content/modules/uris.sys.mjs
rename : mail/extensions/openpgp/content/modules/windows.jsm => mail/extensions/openpgp/content/modules/windows.sys.mjs
rename : mail/extensions/openpgp/content/modules/wkdLookup.jsm => mail/extensions/openpgp/content/modules/wkdLookup.sys.mjs
rename : mail/extensions/openpgp/content/modules/zbase32.jsm => mail/extensions/openpgp/content/modules/zbase32.sys.mjs
rename : mail/modules/ConversationOpener.jsm => mail/modules/ConversationOpener.sys.mjs
rename : mail/modules/DBViewWrapper.jsm => mail/modules/DBViewWrapper.sys.mjs
rename : mail/modules/DisplayNameUtils.jsm => mail/modules/DisplayNameUtils.sys.mjs
rename : mail/modules/GlobalPopupNotifications.jsm => mail/modules/GlobalPopupNotifications.sys.mjs
rename : mail/modules/MailE10SUtils.jsm => mail/modules/MailE10SUtils.sys.mjs
rename : mail/modules/MailMigrator.jsm => mail/modules/MailMigrator.sys.mjs
rename : mail/modules/MailUsageTelemetry.jsm => mail/modules/MailUsageTelemetry.sys.mjs
rename : mail/modules/MailUtils.jsm => mail/modules/MailUtils.sys.mjs
rename : mail/modules/MailViewManager.jsm => mail/modules/MailViewManager.sys.mjs
rename : mail/modules/MessageArchiver.jsm => mail/modules/MessageArchiver.sys.mjs
rename : mail/modules/MsgHdrSyntheticView.jsm => mail/modules/MsgHdrSyntheticView.sys.mjs
rename : mail/modules/PhishingDetector.jsm => mail/modules/PhishingDetector.sys.mjs
rename : mail/modules/QuickFilterManager.jsm => mail/modules/QuickFilterManager.sys.mjs
rename : mail/modules/SearchSpec.jsm => mail/modules/SearchSpec.sys.mjs
rename : mail/modules/SessionStore.jsm => mail/modules/SessionStore.sys.mjs
rename : mail/modules/SessionStoreManager.jsm => mail/modules/SessionStoreManager.sys.mjs
rename : mail/modules/ShortcutsManager.jsm => mail/modules/ShortcutsManager.sys.mjs
rename : mail/modules/SummaryFrameManager.jsm => mail/modules/SummaryFrameManager.sys.mjs
rename : mail/modules/TBDistCustomizer.jsm => mail/modules/TBDistCustomizer.sys.mjs
rename : mail/modules/TabStateFlusher.jsm => mail/modules/TabStateFlusher.sys.mjs
rename : mail/modules/TagUtils.jsm => mail/modules/TagUtils.sys.mjs
rename : mail/modules/WindowsJumpLists.jsm => mail/modules/WindowsJumpLists.sys.mjs
rename : mail/test/browser/shared-modules/AccountManagerHelpers.jsm => mail/test/browser/shared-modules/AccountManagerHelpers.sys.mjs
rename : mail/test/browser/shared-modules/AddressBookHelpers.jsm => mail/test/browser/shared-modules/AddressBookHelpers.sys.mjs
rename : mail/test/browser/shared-modules/AttachmentHelpers.jsm => mail/test/browser/shared-modules/AttachmentHelpers.sys.mjs
rename : mail/test/browser/shared-modules/CloudfileHelpers.jsm => mail/test/browser/shared-modules/CloudfileHelpers.sys.mjs
rename : mail/test/browser/shared-modules/ComposeHelpers.jsm => mail/test/browser/shared-modules/ComposeHelpers.sys.mjs
rename : mail/test/browser/shared-modules/ContentTabHelpers.jsm => mail/test/browser/shared-modules/ContentTabHelpers.sys.mjs
rename : mail/test/browser/shared-modules/DOMHelpers.jsm => mail/test/browser/shared-modules/DOMHelpers.sys.mjs
rename : mail/test/browser/shared-modules/EventUtils.jsm => mail/test/browser/shared-modules/EventUtils.sys.mjs
rename : mail/test/browser/shared-modules/FolderDisplayHelpers.jsm => mail/test/browser/shared-modules/FolderDisplayHelpers.sys.mjs
rename : mail/test/browser/shared-modules/JunkHelpers.jsm => mail/test/browser/shared-modules/JunkHelpers.sys.mjs
rename : mail/test/browser/shared-modules/KeyboardHelpers.jsm => mail/test/browser/shared-modules/KeyboardHelpers.sys.mjs
rename : mail/test/browser/shared-modules/MouseEventHelpers.jsm => mail/test/browser/shared-modules/MouseEventHelpers.sys.mjs
rename : mail/test/browser/shared-modules/NNTPHelpers.jsm => mail/test/browser/shared-modules/NNTPHelpers.sys.mjs
rename : mail/test/browser/shared-modules/NewMailAccountHelpers.jsm => mail/test/browser/shared-modules/NewMailAccountHelpers.sys.mjs
rename : mail/test/browser/shared-modules/NotificationBoxHelpers.jsm => mail/test/browser/shared-modules/NotificationBoxHelpers.sys.mjs
rename : mail/test/browser/shared-modules/OpenPGPTestUtils.jsm => mail/test/browser/shared-modules/OpenPGPTestUtils.sys.mjs
rename : mail/test/browser/shared-modules/PrefTabHelpers.jsm => mail/test/browser/shared-modules/PrefTabHelpers.sys.mjs
rename : mail/test/browser/shared-modules/PromptHelpers.jsm => mail/test/browser/shared-modules/PromptHelpers.sys.mjs
rename : mail/test/browser/shared-modules/QuickFilterBarHelpers.jsm => mail/test/browser/shared-modules/QuickFilterBarHelpers.sys.mjs
rename : mail/test/browser/shared-modules/SearchWindowHelpers.jsm => mail/test/browser/shared-modules/SearchWindowHelpers.sys.mjs
rename : mail/test/browser/shared-modules/SubscribeWindowHelpers.jsm => mail/test/browser/shared-modules/SubscribeWindowHelpers.sys.mjs
rename : mail/test/browser/shared-modules/ViewHelpers.jsm => mail/test/browser/shared-modules/ViewHelpers.sys.mjs
rename : mail/test/browser/shared-modules/WindowHelpers.jsm => mail/test/browser/shared-modules/WindowHelpers.sys.mjs
extra : rebase_source : 029a50bec27e1a8f8baf7ba3c2d8aefb87fad6a0
extra : amend_source : cbd0d8007716867d0acdb8c325e197f8e03bf7a7
2024-03-09 15:15:16 +02:00
Magnus Melin a801479e0a Bug 1824260 - Fix attachmentchecker. r=freaktechnik
The attachment checker was doing some not quite ok things, and couldn't be converted to a standard module.
Fix the wrongdoings.

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

--HG--
rename : mail/modules/AttachmentChecker.jsm => mail/modules/AttachmentChecker.worker.js
extra : rebase_source : 8cd0e035b571ddc349e3d7f9adbaa44fc58fdfcd
2024-03-08 21:12:41 +02:00
Magnus Melin cdeeed220d Bug 1882477 - Try to fix intermittent comm/mail/base/test/browser/browser_mailContext.js | ...exception in test bound testMultipleMessages ... aTarget is null. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D202919

--HG--
extra : amend_source : be14777899279646fae5e2d9b0ff541e5aba1875
2024-03-09 12:47:55 +02:00
Magnus Melin cb67d3bff6 Backed out changeset 2f81da701a84 (bug 1861204) 2024-03-09 12:43:02 +02:00
John Bieling 92e1cf685d Bug 1881929 - Fix typo in function name in the compose API. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D204091

--HG--
extra : moz-landing-system : lando
2024-03-09 09:00:24 +00:00
John Bieling 36027afb14 Bug 1881929 - No longer return marked-to-be-expunged or marked-as-deleted messages in messages API. r=aleca
These messages are not usable and should not be touched by the API.

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

--HG--
extra : amend_source : f74f4095830ef7beb4f1869c6c9448c78f2dabc0
2024-03-08 10:09:13 -08:00
welpy-cw 48a0f44b69 Bug 1861204 - Ensure tooltip for subject displays in Table View. r=aleca,dandarnell
- Ensure message text-based columns have tooltips and aria labels.
- Add fluent migration.

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

--HG--
extra : amend_source : 82595cfc544e328874ee4f5867bf71b26dd5e701
2024-03-08 10:08:42 -08:00
John Bieling 690daeb14f Bug 1849512 - Create a LightweightThemeConsumer instance also in the message browser. r=mkmelin
We have an observer in `MailGlue.sys.mjs` for `chrome-document-global-created`,
to create a new instance of the `LightweightThemeConsumer` for each new
opened document.

This is not fired for the `messageBrowser`, which appears to be a
content document.

This patch makes sure we also create such an instance for the
messageBrowser. The patch also adds a test.

**The Bug itself has a reproducer add-on, showcasing the introduced
change by adding a border to all theme-able elements. Without this
patch, the message header area is not touched.**

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

--HG--
extra : amend_source : 1f0f31a8492de603f71477d8a5376895ecf44e1b
2024-03-08 10:06:02 -08:00
John Bieling 756dfa60af Bug 1828322 - Fix tests for dark mode in the message header area. r=aleca
This was almost fixed by D204029 already, but the image url itself has
changed as well (it is an image-set now).

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

--HG--
extra : amend_source : a59234a8e607aff5bfa933acb8f7a3629e9ab75c
2024-03-08 10:04:51 -08:00
welpy-cw e8b1d00577 Bug 1862197 - Correct scroll position when expanding a row. r=darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D192348

--HG--
rename : mail/base/test/widgets/files/tree-element-test-levels.js => mail/base/test/widgets/files/tree-element-test-levels.mjs
extra : amend_source : 0f5f66c029ca616ee8ddb4615640d7e51e2d0cf3
2024-03-08 08:56:55 +02:00
Alessandro Castellani 11b0fcd6c5 Bug 1042344 - Show the close button in the cookies modal dialog on macOS. r=mkmelin
Historically the cookies popup didn't have a close button on macOS because (maybe) it was a standalone popup
dialog handled by the macOS titlebar and window decoration system independently.

Since this dialog is now (since 10 years) a modal dialog, it needs a close button as shown on Windows and Linux.

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

--HG--
extra : amend_source : 18ed3617bd0f8c58f8b5d1c1f903899d21095091
2024-03-08 08:56:12 +02:00
Magnus Melin ad50c33c6d Bug 29041 - Fix bad interaction of mailnews.headers.extraExpandedHeaders settings and known headers. r=aleca
In case mailnews.headers.extraExpandedHeaders contains a header we "know about" and have
already defined behavior for, use the preferred behavior.
E.g. set List-Archive into the pref - without this fix it shows as a plain filed, not as a link.

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

--HG--
extra : amend_source : 3b507a7907f42d493dd211e833c12cda1af8a50f
2024-03-08 11:09:36 +13:00
Magnus Melin aa7951fdc0 Bug 1883846 - Port bug 1883371 - Enable ESLint rule no-console on production code. r=aleca
Remove some of things that shoudn't really be logged.
Some usage were in try-catches that should not reasonably throw.
Upgraded many debug/logs to warn - when appropriate.

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

--HG--
extra : rebase_source : 73d8f0ba2ad7ebf0f82e71bed603f90e45dac0ce
extra : amend_source : 0824f75948689237cc7d49715a23603ce0f654a3
2024-03-07 11:51:32 +02:00
Geoff Lankow 1625bf5dbd Bug 1883524 - Make tests pass for both values of dom.disable_tab_focus_to_root_element. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D203847

--HG--
extra : amend_source : b784e135a4361a49435ed6db36d79fac515d34c9
2024-03-07 11:50:49 +02:00
Magnus Melin 5867969ad1 Bug 1824260 - Convert remaining toolkit jsm imports to their ESM-ified version. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D203741

--HG--
extra : rebase_source : 0ffbc5c6b5042778129797d5b4469c3fd288c8fd
extra : amend_source : 49ef49d616aee72b4f3362ace49600c021d9d16b
2024-03-07 11:50:01 +02:00
Magnus Melin 9bc48dfd49 Bug 1883885 - Port bug 1878503 - Remove MOZ_FFVPX and the associated pref. rs=me
--HG--
extra : rebase_source : 78031e10f4a699ce995886621a21605ed68e6142
2024-03-07 11:47:00 +02:00
John Bieling 1468a002a7 Bug 1862405 - Fix locking and unlocking issues in the compose window. r=freaktechnik
Issue #1: When the save or send button is clicked, many elements get
briefly enabled (for example the encryption button), instead of
disabling the currently enabled elements.

Issue #2: When the save button is clicked while the send button is
disabled, the send button gets permanently enabled.

Issue #3: Autosave enables some explicitly disabled elements after the
compose process has finished.

Issue #4: The help menu behaves very strange (first seen in
https://phabricator.services.mozilla.com/D168753)

This patch fixes these issues by only disabling items which have not yet
been acted upon (no longer messing up the logic by multiple calls to
`updateAllItems(true)`.

Furthermore, `updateAllItems(false)` no longer enables wrong items
(which was the cause for issue #2).

Even after spending a considerable amount of time on the help menu
issue, I was not able to get it re-enabled on macOS. I also do not
understand why the menu change in the composer has an effect in the
messenger window. I propose to skip the helpMenu element, its menuitems
still get disabled. This issue is handled in Bug 1883647.

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

--HG--
extra : amend_source : 333122c87d1276476fec873546ef629fb395cca9
2024-03-06 13:37:53 -08:00
Geoff Lankow 6ee75cb2d2 Bug 1883550 - Avoid triggering synchronous reflow in when calculating TreeView's visible height. r=leftmostcat
Differential Revision: https://phabricator.services.mozilla.com/D203548

--HG--
extra : amend_source : fb1e7bd5c729a2d252f119dc74747098c626d139
2024-03-06 12:57:13 +02:00
John Bieling 9cbcb93b83 Bug 1883210 - Make the onAfterSend event react to auto saved drafts. r=mkmelin
While writing a test for Bug 1862405, I realized that we cannot react on
auto saved messages/drafts. This adds the autoSave mode to the
onAfterSend event and adds a test which can be used for Bug 1862405 as
well.

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

--HG--
extra : amend_source : b577d89ba2bab3f2723d4f71d030476006e2a1ee
2024-03-06 12:56:43 +02:00
Martin Giger 24b2597632 Bug 1882522 - Update matrix-js-sdk to version 31.4.0. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D202938

--HG--
extra : amend_source : 626490a6f3d871da19c354fc98dea05a4ed77d09
2024-03-06 12:55:30 +02:00
Kai Engert 9be1f74341 Bug 1875303 - Don't allow import of OpenPGP v5/v6 keys yet. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D203122

--HG--
extra : amend_source : de4ac43fd7248a5103acec14d2fcb16430b7678d
2024-03-05 21:10:33 -08:00
John Bieling 8d62ee6e13 Bug 1860994 - Explicitly allow "msip_labels" to be set as a custom header in setComposeDetails(). r=mkmelin
If an add-on needs to set this header, I think it should be possible.
The only red line is modifiying real message headers, which are
controled by Thunderbird already. These headers should always be
modified through the appropriate APIs (ComposeDetails.returnReceipt or
ComposeDetails.deliveryStatusNotification).

If we get requests for a lot more headers which qualify to be
accessible, we might consider inverting the principle in the future and
keep a list of headers we do NOT want to be modified through the API.

This patch also adds protection for X-Mozilla-* headers from being
manipulated through the WebExtension API.

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

--HG--
extra : amend_source : b3de693809dc9bda10f2dc2ec1afb33e757d5261
2024-03-05 21:10:12 -08:00
Kai Engert 72f6d67f48 Bug 1871726 - Add a test to ensure we refuse importing of OpenPGP v5 and v6. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D203129

--HG--
extra : amend_source : d8670dea1507f61335f622b2a94ce61016a17973
2024-03-05 12:24:05 +02:00
Geoff Lankow 6008ca553d Bug 1883524 - Port bug 1483828: Inconsistent focus behaviour of iframes. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D203542

--HG--
extra : moz-landing-system : lando
2024-03-05 01:54:46 +00:00
welpy-cw ed2420c225 Bug 1833031 - Clear address book search view in commands for displaying/editing contacts. r=darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D203507

--HG--
extra : amend_source : 4acef4376e371452358677200a2f8aba055d6290
2024-03-04 21:37:08 +00:00
Mark Banner 43605df37e Bug 1572568 - Disallow eval() with system principal on Thunderbird builds. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D203449

--HG--
extra : amend_source : 4873eb4395077910623c271a3c4e6cd63bbd4591
2024-03-04 14:09:56 +00:00
Richard Marti 648753e2f0 Bug 1883252 - Port bug 1560702: Improve hit boxes of titlebar buttons. r=#thunderbird-front-end-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D203354

--HG--
extra : amend_source : 6e5ba980ee9120546bcba3b01a374e08d4eb8fe1
2024-03-04 09:36:43 -08:00