releases-comm-central/mail/services/sync
Geoff Lankow 8a79abf72d Bug 1888023 - Rebuild sync engines and tests. r=mkmelin
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
2024-05-15 15:51:33 +12:00
..
modules Bug 1888023 - Rebuild sync engines and tests. r=mkmelin 2024-05-15 15:51:33 +12:00
test/unit Bug 1888023 - Rebuild sync engines and tests. r=mkmelin 2024-05-15 15:51:33 +12:00
moz.build Bug 1888023 - Rebuild sync engines and tests. r=mkmelin 2024-05-15 15:51:33 +12:00