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

5653 Коммитов

Автор SHA1 Сообщение Дата
Alessandro Castellani 76b0f85a58 Bug 1817605 - Implement a simple multiselection option for the tree-listbox-mixin. r=arschmitz,darktrojan,mkmelin
What is supported:
- Hold CTRL while clicking to select multiple rows.
- Hold SHIFT while clicking to select a range of folder from the currently active element.
- Hold CTRL and press arrow up/down to select next/previous row.
- Enable multiselection via data attribute to keep the widget modular.

Specific to Folder pane:
- Enable only a few simple actions when in multiselection
- Open in Tab/Window and Mark as Read are always enabled.
- Move and Copy only if conditions are met.
- Empty trash/junk only if the selected folders are all trash/junk.

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

--HG--
extra : amend_source : 4386159ceacad69bb8c3d033b9007fa884926f5b
2024-06-08 13:57:35 +03:00
Alessandro Castellani 0db13f3cd8 Bug 1482172 - Implement color customization for accounts. r=mkmelin,vineet
Very simple color customization for servers.
It leverages the same FolderTreeProperties module and flow of the folder pane.

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

--HG--
extra : moz-landing-system : lando
2024-06-07 22:13:59 +00:00
Martin Giger 14cf5a2260 Bug 1675212 - Followup: fix linting issues. rs=lint
--HG--
extra : histedit_source : 47213c5121a152038717fdd0c15eabb5b84a1ce4
2024-06-07 11:27:21 +02:00
Vineet Deo e6525a33f3 Bug 1675212 - Prevent deleting multiple messages when holding delete. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D212650

--HG--
extra : moz-landing-system : lando
2024-06-07 06:23:22 +00:00
Martin Giger 12c1938404 Backed out changeset bc7a4b8a50f4 (bug 1817605) for test failures. r=backout DONTBUILD
--HG--
extra : histedit_source : 25988cd21c99d6fa3da96802c4a82180dce43708
2024-06-05 14:28:25 +02:00
Alessandro Castellani d681165779 Bug 1817605 - Implement a simple multiselection option for the tree-listbox-mixin. r=darktrojan,mkmelin,arschmitz
What is supported:
- Hold CTRL while clicking to select multiple rows.
- Hold SHIFT while clicking to select a range of folder from the currently active element.
- Hold CTRL and press arrow up/down to select next/previous row.
- Enable multiselection via data attribute to keep the widget modular.

Specific to Folder pane:
- Enable only a few simple actions when in multiselection
- Open in Tab/Window and Mark as Read are always enabled.
- Move and Copy only if conditions are met.
- Empty trash/junk only if the selected folders are all trash/junk.

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

--HG--
extra : amend_source : 20aec1999e7f5034189b7740f5e4747a76cd4c06
2024-06-05 11:46:13 +02:00
Richard Marti 38675c8e93 Bug 1899248 - Use light-dark() instead of a media query where possible. Mail part 1 r=vineet
Differential Revision: https://phabricator.services.mozilla.com/D211827

--HG--
extra : amend_source : e6b4d4c8ef080979a0d7de4a67317cf68e978abd
2024-05-31 13:39:30 +03:00
welpy-cw f1ab935bc1 Bug 1896899 - Fix thread pane header's message count in synthetic views. r=darktrojan,mkmelin
Update the message count when all messages have been loaded and when a message has been deleted.

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

--HG--
extra : amend_source : fe232cc063cfc39502a94ef1d86cbc480f81fbf6
2024-05-31 13:38:25 +03:00
welpy-cw c81c6b7150 Bug 1897781 - Set secondary sort in threaded cross-folder views. r=john.bieling,leftmostcat
Differential Revision: https://phabricator.services.mozilla.com/D210934

--HG--
extra : moz-landing-system : lando
2024-05-30 16:31:40 +00:00
Magnus Melin edfbf30729 Backed out changeset b8933b73cbc1 (bug 1899248) 2024-05-30 13:53:49 +03:00
Richard Marti 221a869655 Bug 1899248 - Use light-dark() instead of a media query where possible. Mail part 1 r=vineet
Differential Revision: https://phabricator.services.mozilla.com/D211827

--HG--
extra : amend_source : 9ec1cedc0b08a0e79f26d315cbef59253a0706b5
extra : histedit_source : 84c30f9d11c5e3c80f3e5794fb376462fbbdfb6a
2024-05-28 09:28:51 +00:00
Geoff Lankow 5de1f8aa88 Bug 1898130 - Use <search-bar> in the Address Book contact list. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D211136

--HG--
extra : rebase_source : 1064f0141da42bd25e3e7f0fd8a3acb2b7755497
extra : amend_source : be8d0b6011375b5213f765ec29a5f64e1d3f5c51
2024-05-16 17:24:09 +12:00
Geoff Lankow 486817bbad Bug 1898130 - Use separate attributes for <search-bar> placeholder and ARIA label. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D211948

--HG--
extra : rebase_source : 04c5d5beec8af9c4a6d6f61ed41d5de67a0583b0
extra : amend_source : 5c8eedf5d9999f6228d18d7b8c0266b5d5349c89
2024-05-29 12:24:17 +12:00
Geoff Lankow f4f17812f5 Bug 1851535 - Remove MsgHdrSyntheticView. r=aleca
We stopped using this with the mail tabs rebuild.

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

--HG--
extra : amend_source : a4cbe7fdfe4d379eae65d2cd70658159d3650294
2024-05-29 04:50:43 +00:00
arschmitz 7c79c71af0 Bug 1853442 - Enable shortcut keys when dom content is attached in 3 pane. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D211548

--HG--
extra : moz-landing-system : lando
2024-05-28 22:28:17 +00:00
Geoff Lankow 0d2f987844 Bug 1898444 - Stop automatically setting the default account to log in at start-up. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D211322

--HG--
extra : rebase_source : 20edd382a4f23ce1b42ac712019b0609ca6fd875
extra : amend_source : 2fd2344a5fe316ca151dd15c19e82eb47e16ff74
2024-05-23 17:01:22 +12:00
Magnus Melin ec132c456b Bug 1898193 - add some missing fluent files to compose window customization. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D211724

--HG--
extra : moz-landing-system : lando
2024-05-27 22:03:19 +00:00
Martin Giger f2ad11b371 Bug 1890375 - Hide all context menu items on special message contexts. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D211627

--HG--
extra : moz-landing-system : lando
2024-05-27 22:03:18 +00:00
Martin Giger 08220884e0 Bug 1890374 - Hide empty submenus in mail context menu. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D211626

--HG--
extra : moz-landing-system : lando
2024-05-27 22:03:17 +00:00
Geoff Lankow 154917daab Bug 1898775 - Force layout of a new tab before emitting TabOpen event. r=#thunderbird-reviewers
This test was failing because layout happened and the document was resized after the test started
clicking on things. I also refactored the test a bit.

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

--HG--
extra : rebase_source : 62b2fe264a75761904bcb86e21414abc92aa0164
2024-05-27 03:50:20 +00:00
Geoff Lankow 7b704b734c Bug 1897031 - Delay searches from <search-bar> by 250ms. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D210985

--HG--
extra : amend_source : 2c3abb274c9cf9b2485754bb884bb3a69c1f54ff
2024-05-24 16:33:08 +12:00
Richard Marti 823a27b4f3 Bug 1894280 - Use the new card design for the Address book cards. r=aleca,freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D209025

--HG--
extra : moz-landing-system : lando
2024-05-23 16:16:43 +00:00
Geoff Lankow 6e3c611c5e Bug 1898199 - Make Today Pane mode-switching buttons focusable. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D211192

--HG--
extra : rebase_source : 46fe53dda64b26241dc09aff2f06a560c4a57760
extra : amend_source : 78208a43cbc42fb866b4a4b35291809b198e2d12
2024-05-22 22:28:24 +12:00
Alessandro Castellani 7a60376027 Bug 1894048 - Remove the PreferDisplayName individual property from the contacts and only respect the global condensedAddress pref. r=mkmelin,darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D210886

--HG--
extra : moz-landing-system : lando
2024-05-22 22:06:41 +00:00
Magnus Melin 585d0902a1 Bug 1897367 - Port bug 1875502 - Broken session store breaks updates. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D211028

--HG--
extra : moz-landing-system : lando
2024-05-22 22:06:39 +00:00
solange valverde 5d813bb67a Bug 1880835 - Update table row height/density to be font size dependant. r=aleca,freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D203215

--HG--
extra : moz-landing-system : lando
2024-05-22 22:06:38 +00:00
Geoff Lankow 3ecfdc34f0 Bug 1890731 - Add sorting to TreeDataAdapter. r=freaktechnik,aleca
Differential Revision: https://phabricator.services.mozilla.com/D208447

--HG--
extra : moz-landing-system : lando
2024-05-21 04:33:24 +00:00
Geoff Lankow ccc0a780ec Bug 1890731 - Begin replacing nsITreeView with TreeDataAdapter. r=freaktechnik,aleca
Creates and heavily modifies a copy of PROTO_TREE_VIEW from jsTreeView.js. I've removed a bunch of
things that are no longer needed because we don't need to implement nsITreeView, and tidied up
what remains, while keeping the general concepts intact.

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

--HG--
rename : mail/base/content/modules/thread-pane-columns.mjs => mail/base/content/modules/ThreadPaneColumns.mjs
rename : mailnews/base/content/jsTreeView.js => mail/base/content/modules/TreeDataAdapter.mjs
rename : mail/base/content/widgets/tree-selection.mjs => mail/base/content/modules/TreeSelection.mjs
rename : mail/base/test/widgets/files/autoTreeView.js => mail/base/test/widgets/files/autoTreeView.mjs
rename : mail/base/test/widgets/files/tree-element-test-common.js => mail/base/test/widgets/files/tree-element-test-common.mjs
rename : mail/base/test/widgets/files/tree-element-test-header.js => mail/base/test/widgets/files/tree-element-test-header.mjs
rename : mail/base/test/widgets/files/tree-element-test-no-header.js => mail/base/test/widgets/files/tree-element-test-no-header.mjs
extra : moz-landing-system : lando
2024-05-21 04:33:23 +00:00
Geoff Lankow 3c9519a16c Bug 1890731 - Create a TreeView wrapper that automatically handles the column and sort events. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D207127

--HG--
extra : moz-landing-system : lando
2024-05-21 04:33:23 +00:00
arschmitz 819e52b158 Bug 1894806 - Add tooltip to search bar magnifying glass and clear buttons: r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D210947

--HG--
extra : amend_source : 12a59df6cc4459e1cd5e0043534e4d2a688cda47
2024-05-21 10:27:09 +12:00
Geoff Lankow 92b434dbe2 Bug 1896844 part 2/2 - Remove old calendar import dialog. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D210600

--HG--
extra : moz-landing-system : lando
2024-05-20 10:30:30 +00:00
Geoff Lankow 308c5e8760 Bug 1896844 part 1/2 - Fix calendar import test to use about:import. r=freaktechnik
Some of the functionality of calendar-ics-file-dialog.xhtml wasn't available in about:import, so I
copied it over. Some I decided wasn't that important, despite thinking so when I first wrote it.

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

--HG--
extra : moz-landing-system : lando
2024-05-20 10:30:30 +00:00
Magnus Melin 9bf80863e4 Bug 1896618 - BUG_COMPONENT annotations for thunderbird code. r=john.bieling,clokep,freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D210437

--HG--
extra : amend_source : c9d4bf50d4653b24dc5fc1b51c4e67e021f760c1
2024-05-17 10:30:09 -07:00
welpy-cw f5416f8bcf Bug 1892896 - Focus search bar after reset. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D210781

--HG--
extra : amend_source : fcbc0ea05803e3bbd056e82510f385316cafdf48
2024-05-17 10:29:54 -07:00
Sean Burke 09ab6bf6eb Bug 1895317 - Fetch message headers from EWS and add to folder DB. r=babolivier
Differential Revision: https://phabricator.services.mozilla.com/D209933

--HG--
extra : amend_source : ebdf1694aca4f5bef7d977342d4072de56659f4f
2024-05-15 13:54:47 -07:00
Geoff Lankow 6e59594cc5 Bug 1896009 - Ignore changes to TreeView header height when the view is hidden. r=mkmelin
When the view gets hidden, the resize observers are informed that its height is 0. Consequently
when it becomes unhidden, some calculations are performed using a cached height of 0, before the
resize observers are updated.

When the header itself is hidden, we DO cache a height of 0, because that is the actual height.

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

--HG--
extra : amend_source : 28fb039d266f9884f4c3cd768e003f23a28fd6ec
2024-05-15 15:50:31 +12:00
welpy-cw e2da8ff2a9 Bug 1895097 - Fix and extend restoreThreadState(). r=darktrojan
- Fix a recent regression (from bug 1892074) by restoring the thread state when all messages have been loaded in any view searching one or more folders.
- Enable DBViewWrapper._threadExpandAll and threadPane.restoreThreadState() for synthetic views as well. This is necessary to use Grouped-By-Sort in Expand-All state without performance impact.

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

--HG--
extra : amend_source : 3b08301bd81c8743cae1b9a60c8af1ff143204e3
2024-05-15 10:19:55 +12:00
Magnus Melin 44e19ab618 Bug 1852699 - searchintegration osVersionTooLow is not applicable anymore. r=leftmostcat
Really a Windowx XP thing...

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

--HG--
extra : rebase_source : 2de0e3e970367bbcb1528e2310ba5bf68e3095ad
extra : amend_source : 5213eceaddb12b829352c406c1603c7099ec607e
2024-05-13 13:29:22 +03:00
welpy-cw be906a2149 Bug 1893793 - Fix setting view flags for cross-folder/synthetic search views. r=mkmelin
Resorting the messages is only necessary when changing from threaded or grouped to unthreaded.

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

--HG--
extra : amend_source : 81cc22b8e615e0959a36b214a4e590d47e370a07
2024-05-06 08:15:23 +00:00
Vineet Deo d37acc3881 Bug 1894831 - Standardize focus behaviour of middle click and context menu action for opening a message in a new tab. r=aleca
**How to Test**
- Check all actions that can open message in a new tab
- Using the context menu or middle click should always open a message in a tab
- Using shift with those above actions should focus those tabs, otherwise the tabs should open the background
- Double clicking a message when loadInBackground pref is false should open and focus on that message in a new tab
- Shift should open the above action in the background
- Vice versa for when loadInBackground pref is true
- Load in background pref should not affect middle click and context menu actions

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

--HG--
extra : moz-landing-system : lando
2024-05-09 10:01:59 +00:00
John Bieling 55d0d49fe7 Bug 1893700 - Move smart folder and virtual tag folder code from mail3pane.js to SmartMailboxUtils.sys.mjs r=freaktechnik
We currently use getSmartServer() in various code areas to create, get
and update the smart account/server/folders. The virtual tags folders
were not handled by that method and the required code was only
triggered, when the user enabled the "tags" folder mode in the UI.

The WebExtension API needs access to these tag folders even if the user
has not yet enabled that folder mode.

This patch adds a SmartMailbox class, which simplifies tasks related to
unified mailbox folders and virtual tag folders, and creates the
virtual tag folders together with the unified mailbox folders.

It renames SmartServerUtils.sys.mjs to SmartMailboxUtils.sys.mjs.

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

--HG--
rename : mail/modules/SmartServerUtils.sys.mjs => mail/modules/SmartMailboxUtils.sys.mjs
extra : moz-landing-system : lando
2024-05-08 21:49:37 +00:00
John Bieling eb89a158bd Bug 1894618 - Add support for browser.runtime.getContexts(). r=mkmelin
This is adding the required changes to make `runtime.getContexts()` work
in Thunderbird.

This also adds a mochitest, which is based on this m-c test:
/browser/components/extensions/test/browser/browser_ext_runtime_getContexts.js

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

--HG--
extra : rebase_source : 8c0c71071c77eb7bacd06fa5c5a5ef787c163e2b
2024-05-08 20:45:17 +03:00
welpy-cw 3477c1c2df Bug 958088 - Move message delete confirmations to front-end. r=darktrojan
- This shows the appropriate confirmation dialog also when deleting messages in a unified folder, a conversation view or in the Search Messages dialog.
- Disable move/delete operations for expanded headers in Grouped By views (see also bug 1873313).

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

--HG--
extra : amend_source : 10eae9c2eea8b3e3265864c63c87fce31ac6def5
2024-05-07 23:28:41 +00:00
welpy-cw 9cb7d8b0e6 Bug 1894896 - Fix problems regarding Grouped By Sort views. r=john.bieling
This fixes the following issues:
- Selecting Grouped By Sort in a unified folder doesn't work properly under certain circumstances.
- In a single-folder view with bySize as the secondary sort, selecting Grouped By Sort always uses byDate as the sort type.
- In a multi-folder view with bySize as the primary sort, selecting Grouped By Sort destroys the view.
- Selecting Grouped By Sort when the view is sorted byUnread, byJunkStatus, or (in a single-folder view) byLocation leads to an empty view.

Differential Revision: https://phabricator.services.mozilla.com/D209492
2024-05-07 23:26:23 +00:00
welpy-cw ddacd4ff1a Bug 1894375 - Adapt getAddonMessageInfo() to changes in bug 1845109. r=john.bieling
Differential Revision: https://phabricator.services.mozilla.com/D209500

--HG--
extra : moz-landing-system : lando
2024-05-07 17:20:17 +00:00
Magnus Melin 781059d5c6 Bug 1895453 - convert testing __skipMe calls to skip(). r=freaktechnik
Try: https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=c3da125cdef06d6d7b8b3461a3722f298a63943c

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

--HG--
extra : moz-landing-system : lando
2024-05-07 17:20:16 +00:00
Magnus Melin aa57ad39c0 Bug 1890049 - Avoid loading message list twice for select of local folders. r=darktrojan
For IMAP, it seems the double load is inevitable, see bug 520272 for history...

For local folders there was a counfusing double load which I've fixed, along
with some added documentation to clarify a few code paths.

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

--HG--
extra : moz-landing-system : lando
2024-05-07 10:00:33 +00:00
Vineet Deo bd9f0ef166 Bug 1895377 - Fix Intermittent comm/mail/base/test/browser/browser_mailTabsAndWindows.js. r=darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D209602

--HG--
extra : moz-landing-system : lando
2024-05-07 10:00:33 +00:00
Geoff Lankow 6ed5296939 No bug - Remove some pointless abbreviations of Ci members. rs=me 2024-05-06 10:53:51 +12:00
Vineet Deo 5fa247a731 Bug 1886653 - Set mail.tabs.loadInBackground preference to default to false. r=aleca
**How to Test**
- Run a clobber do get a fresh TB profile
- Opening a message in a new tab should now focus to that tab

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

--HG--
extra : moz-landing-system : lando
2024-05-03 22:20:53 +00:00
welpy-cw 61485b9c5b Bug 1893799 - Fix changing sort order in quick-filtered cross-folder view. r=aleca
Calling nsMsgSearchDBView::Sort should save sort type and order in any case.

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

--HG--
extra : moz-landing-system : lando
2024-05-03 22:20:52 +00:00
Martin Giger 49d0c00e76 Bug 1873860 - Add test for search-bar overrideSearchTerm. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D208741

--HG--
extra : amend_source : 120ca7ca6d238e306a39b10dee1d6f574358bf77
extra : absorb_source : d48d48e7f5fef9a59f0414958157b61e12048c6d
2024-05-02 13:34:21 +03:00
Martin Giger 48330db86b Bug 1873860 - Add test for quick filter bar extension API. r=john.bieling
Differential Revision: https://phabricator.services.mozilla.com/D208613

--HG--
extra : amend_source : bef46f6c93c90812e7841a9f6f3560b3a09fdb4a
2024-05-02 13:34:03 +03:00
Martin Giger ba3dfedb22 Bug 1873860 - Fix quick filter bar API for extensions. r=john.bieling,aleca
Differential Revision: https://phabricator.services.mozilla.com/D208612

--HG--
extra : amend_source : cf577b0b6b169faed73afae5993948a436ec8a76
2024-05-02 13:33:28 +03:00
Geoff Lankow 8ab4a946e0 Bug 1893899 - Improve notifications about certificate errors when fetching mail. r=aleca
- Changes the behaviour when a certificate error is encountered. Instead of just showing the
    certificate override dialog box, show a notification which opens the dialog if it is clicked on.
- Uses a different notification text depending on the type of error. Domain mismatch (potential
    man-in-the-middle) errors will not show the certificate override dialog at all.
- Surfaces errors that appear from changing the displayed folder. Previously these just silently failed.
- Tests all of the above.

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

--HG--
extra : rebase_source : bc569ba7a6555aef27fba39b1429a18c9cec7dbf
extra : amend_source : a48d8b7ad7f7030b33fcf5f543f00581785fedbd
2024-04-29 16:05:54 +12:00
Geoff Lankow 784bf560c6 Bug 1894218 - Stop browser_preferDisplayName.js breaking code coverage by waiting for messages to load. r=aleca
We're missing a bunch of coverage data if the test finishes before the message loads. The data is not
from the loading window, but one of its ancestors, so I'm not entirely sure what's going on here.

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

--HG--
extra : amend_source : c1d6b203cfc5701907421726295793507e51f4cb
2024-05-02 14:35:30 +12:00
Geoff Lankow 1dfb048a93 Bug 1894218 - Clear event listener when about:3pane window is unloaded. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D208988

--HG--
extra : moz-landing-system : lando
2024-04-30 23:28:36 +00:00
Magnus Melin 52f7bf22a5 Bug 1894071 - don't indicate the tree-view is ready before it has a view and height. r=john.bieling,freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D208974

--HG--
extra : amend_source : d2266c122a98222c8900d00c31fdfe511fbba807
2024-04-30 17:40:54 +01:00
Magnus Melin 19b52632ff Bug 1893331 - Adjust "new email existing account" strings not to have "existing". r=aleca
When we don't provide setting up an account, it's just confusing.

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

--HG--
extra : amend_source : 6b04ac5d861b6b046404bb6f52aeabb39df42e0f
2024-04-29 15:36:56 -07:00
Magnus Melin 9846308b14 Bug 1893331 - remove account provisioner. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D208861

--HG--
extra : amend_source : 71d7139a8f328eea2733f4ba20b04ed93f1a9fa3
2024-04-29 15:36:31 -07:00
John Bieling 2cebcb4e6a Bug 1893419 - Make mailTabs API aware of folder modes. r=mkmelin
This exposes the concept of folder modes in the folder pane to
WebExtensions. The MailTab type has gained a `folderMode` member and a
`folderModesEnabled` member.

The `MailTabs.update()` function is now able to modify the enabled and
the current folder modes.

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

--HG--
extra : amend_source : 3d2077cba87056ef2c716628d1ccb3a2f5ac6e5a
2024-04-29 15:35:39 -07:00
John Bieling bb958554ab Bug 1890785 - Wait for TreeView being idle, before testing its content. r=freaktechnik
This is based on
https://searchfox.org/comm-central/rev/9eee1dc9386561ac322d64adaa25e9cd55960ea1/mail/base/test/widgets/browser_treeView.js#56-70
but instead of creating a wrapper around each possible action, this
aims at checking the idle status *before each check*. If the tree
view is still busy updating the UI, the check waits until it is idle,
before moving on.

I found this approach less error-prone, as it is less likely to forget
to wrap a function call and therefore less likely to introduce new
intermittent fails.

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

--HG--
extra : rebase_source : dc5fe7eaef1dbf22896f988a7bf9ac38a362f56e
extra : amend_source : 5c7f4f78cdc990d4bb72bc9fc702b407015c2bba
2024-04-24 17:29:41 +02:00
Alessandro Castellani ea000b438f Bug 243258 - Add a preference to always show the full name and email address for recipients in the message list. r=BenC,mkmelin,leftmostcat,ikey
**How to test this**
- Open Preferences > general > Formatting of recipients:
- Change between the various radio button options.
- Assert that the `From` and `Correspondents` column in the table view are respecting the chosen option.
- Assert that if a recipient is saved in the address book with a display name, it is not overwritten.
- Assert that also in Cards View the sender follows the same data format.

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

--HG--
extra : moz-landing-system : lando
2024-04-23 21:57:03 +00:00
Magnus Melin 09e7db1f46 Bug 1881032 - Fix Intermittent comm/mail/base/test/browser/browser_mailContext.js | Row element should no longer be attached. r=aleca
Apparently detachment doesn't always complete after only requestAnimationFrame

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

--HG--
extra : moz-landing-system : lando
2024-04-23 21:57:00 +00:00
Alessandro Castellani 8e8818d4d1 Bug 1872490 - Fix UIFontSize to prevent locking the app menu options and add tests. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D207954

--HG--
extra : amend_source : be255ad090fd5149e4508b892f9413264f834387
2024-04-23 17:54:39 +02:00
Magnus Melin ac8d70b868 Bug 1860255 - Try to fix intermittents: increase timeouts for browser_mailContext.js. r=vineet
Almost all are CCov builds timing out. Looking at the logs it seems the tests many times just is slow
to get started there.

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

--HG--
extra : amend_source : ab33d7a98b5a6018916e2b99790c7ef2c794bb6e
2024-04-23 12:06:47 +02:00
Richard Marti 001cc7ca8f Bug 1892560 - Give the search bar clear button a hover feedback. r=vineet
Differential Revision: https://phabricator.services.mozilla.com/D208095

--HG--
extra : amend_source : ca6c6c7b7c7fe0eafdcb91ebb64d14a2fb6c5663
2024-04-23 12:06:16 +02:00
Richard Marti e794e9f2e4 Bug 1892437 - Don't use class="menuitem-iconic" together with type="radio" on menuitems. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D207978

--HG--
extra : moz-landing-system : lando
2024-04-19 22:12:11 +00:00
Martin Giger 24b8575cde Bug 1892503 - Port bug 1890076: adapt to browser.startup.record being a static pref. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D208030

--HG--
extra : moz-landing-system : lando
2024-04-19 22:12:11 +00:00
Brendan Abolivier 5b7364ee7f Backed out changeset 69f2d66fd3a6 (bug 1880835) for causing test failures.
--HG--
extra : amend_source : 63fc08aa9e56aa4b2c02205cf09781fc2f68d776
2024-04-19 11:38:43 +01:00
welpy-cw 9b132a4296 Bug 1892074 - Make restoreThreadState() more versatile. r=aleca
- Set proper style attributes in threadTree when changing between grouped-by-sort and threaded in multi-folder search views.
- Actually set the collapsed/expanded state either in `onCreatedView` or in `onMessagesLoaded(all)`
- Correctly restore expand-all state of grouped-by-sort multi-folder search views (Bug 1892065)

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

--HG--
extra : amend_source : b61a5c276374e0f08fe0f7f544cabcff172d80a8
2024-04-17 21:19:20 +00:00
solange valverde a49c319028 Bug 1880835 - Update table row height/density to be font size dependant. r=aleca,freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D203215

--HG--
extra : amend_source : 61e45faa4d2a42f0f14d7e4ed1289777d884455b
2024-04-16 22:14:21 +00:00
Richard Marti ab78b3f802 Bug 1891372 - Remove the empty space in front of the message context menu. r=freaktechnik,john.bieling
Differential Revision: https://phabricator.services.mozilla.com/D207517

--HG--
extra : amend_source : 0f7a47b91909c41c0f5f357abfdc40161cd16228
2024-04-18 16:06:42 +02:00
welpy-cw ede9c42275 Bug 1891365 - Display full newsgroup name in tooltips. r=aleca
Show the unabbreviated name in tooltips in both the folder list and the message list header,

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

--HG--
extra : amend_source : ddf68c63c6b0e692032f32fbc4a5530ab7fc0e44
2024-04-18 10:55:30 +01:00
John Bieling b6295b9428 Bug 1880896 - Attempt to fix "can't access property "getBoundingClientRect" in browser_mailContext.js. r=mkmelin
This is based on the fix for the same issue accepted in D207481. This
patch fixes all such usages in this test, not just the one which failed.

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

--HG--
extra : amend_source : 54cee9fafc7d420de1534b9bc9f8d44e4758e038
2024-04-16 23:08:18 +01:00
Geoff Lankow 3098589bfe Bug 1891426 - Remove extra "From" line in test messages. r=BenC
Differential Revision: https://phabricator.services.mozilla.com/D207414

--HG--
extra : moz-landing-system : lando
2024-04-16 04:34:33 +00:00
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
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
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
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
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
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
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 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
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
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
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
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
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
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
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 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
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
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
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
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
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
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
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
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 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Magnus Melin 8f8a9e97bb Bug 29041 - Part 2: Use List-ID with context menu for list management. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D200459

--HG--
extra : rebase_source : 535b7103a165ee9d00b283b06f31cf5609b55498
extra : amend_source : 96fcf5e827f3990b9ad607383b2a09c582eb870e
2024-03-04 11:56:52 +02:00
John Bieling ebd11be8a6 Bug 1882713 - Fixing debug crash related to local links with a _blank target. r=darktrojan
If a new tab is opened via a click on a link with target="_blank", we
trigger createContentWindowInFrame() in mailWindow.js, which creates a
new tab without loading any content. Till now we did not define the
created browser to be remote, but the CPP code which later loaded the
actual page, died on a MOZ_ASSERT because of this.

This patch is setting the remoteness only for the skipLoad case,
otherwise it will interfere with the logic in MailE10SUtils.loadURI().

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

--HG--
extra : amend_source : 2930ea63d29993b8e144116d24f512658dc165d7
2024-03-04 11:55:02 +02:00
Magnus Melin 59bb7cce6a Bug 1882876 - Port bug 1878629: Consider removing nsIEventListenerService.addSystemEventListener/removeSystemEventListener. r=vineet
Differential Revision: https://phabricator.services.mozilla.com/D203267

--HG--
extra : rebase_source : cb9f7ef31e6885d51ca8dbd5eceb374420a498dc
extra : amend_source : 1a59ef86c043b70be9635e87ea8ab2dabb87dca4
2024-03-02 12:48:13 +02:00
Magnus Melin b588601337 Bug 1881030 - ensure thread-row and thread-card are defined before use. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D202871

--HG--
extra : moz-landing-system : lando
2024-03-01 23:12:04 +00:00
welpy-cw 29f67f86de Bug 1847265 - Persist user selected quick filter text button options. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D203041

--HG--
extra : moz-landing-system : lando
2024-03-01 17:03:01 +00:00
Magnus Melin fcf4551fe1 Bug 1882701 - follow-up, fix browser_folderTreeProperties.js - MockColorPicker wants a window. rs=bustage-fix DONTBUILD 2024-02-29 13:57:24 +02:00
Geoff Lankow 090d60f96c Bug 1882701 - Port bug 1878401 - Always pass BrowsingContext to nsIFilePicker::Init. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D203092

--HG--
extra : rebase_source : 5878d116d8873025ba64fc47fbdbb149c5e4f3be
2024-02-29 12:03:40 +02:00
Yury Ivanovich 83f85942a8 Bug 1881919 - Remove dead code and fix some other minor issues. r=mkmelin
- sortByThread() is unused.
- nsImapIncomingServer::GetAllConnectionsIdle() was introduced in bug 1848775, and the comment wasn't updated.
- details-notification-incompatible was renamed in bug 1845109.

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

--HG--
extra : moz-landing-system : lando
2024-02-28 17:42:06 +00:00
Martin Giger 24efe9eb09 Bug 1882532 - Remove SelectionWidgetController. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D202945

--HG--
extra : moz-landing-system : lando
2024-02-28 17:42:04 +00:00
Micah Ilbery 16b18282e0 Bug 1877324: [Cards View] Add kebab icon button in message cards to open context menu. r=freaktechnik,aleca
Differential Revision: https://phabricator.services.mozilla.com/D201848

--HG--
extra : moz-landing-system : lando
2024-02-28 17:42:04 +00:00
Martin Giger 7739f62c3c Bug 1882347 - Port bug 1853765: Use BrowserTestUtils.isVisible helpers instead of workaround in browser_searchBar.js. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D202852

--HG--
extra : moz-landing-system : lando
2024-02-28 12:50:04 +00:00
Micah Ilbery dfe6745f9b Bug 1882369: [Cards View] Add a color indicator to show which Account a message belongs to. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D202863

--HG--
extra : rebase_source : 62d8e8af34e08723eb7bc3c614aee4ca677358e2
2024-02-28 07:37:28 +02:00
Geoff Lankow 55f55f32da Bug 1851536 - Await `TestUtils.promiseTestFinished` instead of passing test scope around. r=mkmelin
This is much cleaner than passing the test scope to each module and calling `registerCleanupFunction`
to shut down servers etc..

`TestUtils.promiseTestFinished` isn't called in XPCShell tests but because they run separately and
everything is cleaned up when the process ends, that doesn't matter.

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

--HG--
extra : rebase_source : 4d3fe3ee0e32777734ccb850c30756cd4074c886
extra : amend_source : 9286c4162da1985f2fa9f7c50198501aecdac011
2024-02-24 21:40:22 +13:00