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
We need to clear the data from the cache, or an ordinary record will be created. This should
happen in a synchronous way to avoid possible race conditions.
Differential Revision: https://phabricator.services.mozilla.com/D217391
--HG--
extra : moz-landing-system : lando
In this version of sync, we'll only store the data that's absolutely necessary to recreate things.
Non-essential data, such as the colour of a calendar, will be added later.
I've almost completely rebuilt the code for creating and applying sync records. All records are
now cached in the user's profile so that we don't destroy information we don't understand yet
(forward compatibility). This isn't backwards-compatible, existing data will be wiped from the
server automatically because the engines' version numbers have been incremented.
I've also overhauled the tests. They are very repetitive but cover almost 100% of the code.
Differential Revision: https://phabricator.services.mozilla.com/D205784
--HG--
rename : mail/services/sync/modules/engines/accounts.sys.mjs => mail/services/sync/modules/engines/servers.sys.mjs
rename : mail/services/sync/test/unit/test_account_store.js => mail/services/sync/test/unit/test_server_store.js
rename : mail/services/sync/test/unit/test_account_tracker.js => mail/services/sync/test/unit/test_server_tracker.js
extra : amend_source : 54e3f0d713980172b02585b0de36278390379b87
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
This is the MVP for Sync in Thunderbird. It should only be accessible on the Daily channel while we test and develop further.
For now, it connects to the Firefox Accounts and Sync staging servers.
Differential Revision: https://phabricator.services.mozilla.com/D162356
--HG--
extra : rebase_source : d2ee4743513766e4514d5192b83f66c5253aae49
extra : amend_source : 7eedfe0f8da2fb7c05facb7108d24f1bd2631e04