This migrates invalid feeds names to use our standard Feeds.
I found even Thunderbid 5.0 uses "Feeds" at least normally... so might not be super common.
For testing, set up a feed account.
with Thunderbird closed set the hostname to "RSS-News & Weblogs" in prefs.js and edit feeds.json for that account to have
destFolder like "mailbox://nobody@RSS-News & Weblogs/comm-central%20Changelog".
Also make sure the mail.ui-rdf.version pref is less than 45 (if you're testing more than once).
After starting, the hostname should be corrected, and the feeds.json contain good url.
Do another restart Thunderbird, and the feeds should now work properly.
Differential Revision: https://phabricator.services.mozilla.com/D223317
--HG--
extra : moz-landing-system : lando
Very few users will have this, as it's not been shown in the UI for many many years.
Differential Revision: https://phabricator.services.mozilla.com/D221865
--HG--
extra : moz-landing-system : lando
Use AppConstants instead, since XPCShell tests mess with AppInfo, and that confused us to Windows tried to load *nix .dlls
Differential Revision: https://phabricator.services.mozilla.com/D221599
--HG--
extra : rebase_source : fb84d567d8273010f0cb8e895bd85d672bf3b4e4
extra : amend_source : a134f51a04eaeac1359cef85e6a11921c4b1ce15
To set the secondary sort, `DBViewWrapper` lets the view sort itself twice in many cases such as
entering/leaving Quick Filter or leaving Grouped By Sort, as well as just changing the sort type
itself. Since `nsMsgDBView::Sort()` already takes the secondary sort into account, these
additional calls can be removed, which can significantly improve performance depending on the
individual sort types.
When leaving Grouped By Sort, the secondary sort type will always be set to Order Received, which
prevents having a comparably slow sort type such as by From, Recipient, or Correspondents as
secondary sort in place.
Differential Revision: https://phabricator.services.mozilla.com/D217971
--HG--
extra : amend_source : 734d4576517f02968371cd35bad740906afabbfa
Stop using the tb. prefix, and put the probes in component relative metrics.yaml files
Differential Revision: https://phabricator.services.mozilla.com/D217002
--HG--
extra : rebase_source : ba46a84da2a78c3e00a36c94de63e45eb07afb6d
extra : amend_source : c3dc50206c65e5d3cf74605af24cf453d4dbc1e0
These migrations have been in version 102, 115, and now 128.
Differential Revision: https://phabricator.services.mozilla.com/D215708
--HG--
extra : rebase_source : 9f417349b75f8dba2aa9132ddf27be0c6a7da36c
extra : amend_source : fafcc9cf3debcddd0e12a55bc018f0230c3a557a
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
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
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
We stopped using this with the mail tabs rebuild.
Differential Revision: https://phabricator.services.mozilla.com/D211958
--HG--
extra : amend_source : a4cbe7fdfe4d379eae65d2cd70658159d3650294
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
- 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
- Implement the `mail.identity.default.archive_recreate_inbox` preference and the corresponding `nsMsgIdentity` attribute `archiveRecreateInbox`. This defines how the inbox folder is handled when archiving while preserving the folder structure. If the pref is `false`, the inbox is treated like the root folder, if `true`, it is recreated like any other folder.
- Make this preference available in the account archive options. Update and fix the example shown there.
Differential Revision: https://phabricator.services.mozilla.com/D208350
--HG--
extra : amend_source : a17e36bde568e13d2735587e8a54255b9d68bca9
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
This patch generalises the existing nsISmtpService and nsISmtpServer interfaces
to remove assumptions that the sending mail server is always SMTP. In this new
architecture, the protocol-specific settings are set in a separate,
protocol-specific XPIDL interface that is used to configure the sending server.
I have also removed some attributes and a method from these interfaces, as they
either were not needed across the XPCOM boundary, or were not used at all.
Intentionally left out of scope for this patch:
* Migrating (from .properties to Fluent) and updating some l10 strings to not
mention SMTP explicitly.
* Conditionally defining the outgoing protocol in the account setup code.
* Conditionally showing a server's details and edit form in the account
settings code.
* Migrating prefs to not use "smtp" in their names if the server doesn't
actually use SMTP.
Differential Revision: https://phabricator.services.mozilla.com/D203799
--HG--
rename : mailnews/compose/public/nsISmtpServer.idl => mailnews/compose/public/nsIMsgOutgoingServer.idl
rename : mailnews/compose/public/nsISmtpService.idl => mailnews/compose/public/nsIMsgOutgoingServerService.idl
rename : mailnews/compose/src/SmtpService.sys.mjs => mailnews/compose/src/OutgoingServerService.sys.mjs
rename : mailnews/compose/test/unit/test_nsSmtpService1.js => mailnews/compose/test/unit/test_nsMsgOutgoingServerService1.js
extra : moz-landing-system : lando
**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
This only removes the 10 seconds delays when clicking on a Windows OS notification.
With these prefs set to `false` the notification is correctly dismissed and the message is visualized.
Unfortunately, the application is not brought to the foreground correctly, but we will take care of this in bug 1863798.
Differential Revision: https://phabricator.services.mozilla.com/D208574
--HG--
extra : amend_source : 441ed8f2688c50caf349c6a064628eb5b4f9f5b1
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
This adds a dedicated method to get one of the tags folders.
Including a minimal test.
A follow-up is needed to move the code which actually creates the
virtual tag folders from about3pane.js to SmartServerUtils.sys.mjs
Differential Revision: https://phabricator.services.mozilla.com/D208762
--HG--
extra : moz-landing-system : lando