Ghost/ghost
Naz 90768e9985
Added strict field mapping to member CSV importer
closes https://github.com/TryGhost/Toolbox/issues/430

- The members importer used to  import all fields present in the uploaded CSV if the headers match, even if they're not mapped in the UI. This behavior has lead to have misleading consequences and "hidden" features. For example, if the field was present but intentionally left as "Not imported" in the UI the field would still get imported.
- Having a strict list of supported import fields also allows for manageable long-term maintenance of the CSV Import API and detect/communicate changes when they happen.
- The list of the current default field mapping is:

    email: 'email',
    name: 'name',
    note: 'note',
    subscribed_to_emails: 'subscribed',
    created_at: 'created_at',
    complimentary_plan: 'complimentary_plan',
    stripe_customer_id: 'stripe_customer_id',
    labels: 'labels',
    products: 'products'
2022-10-19 18:10:40 +08:00
..
adapter-manager Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
admin Fixed typo 2022-10-19 18:10:40 +08:00
api-framework Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
api-version-compatibility-service Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
audience-feedback Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
bootstrap-socket Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
constants Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
core Fixed typo 2022-10-19 18:10:29 +08:00
custom-theme-settings-service Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
domain-events Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
email-analytics-provider-mailgun Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
email-analytics-service Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
email-content-generator Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
express-dynamic-redirects Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
extract-api-key Fixed full Admin test suite running during unit tests 2022-08-15 15:34:52 +02:00
html-to-plaintext Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
job-manager Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
link-redirects Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
link-replacer Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
link-tracking Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
magic-link Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
mailgun-client Merged v5.19.2 into main 2022-10-18 17:04:23 +07:00
member-analytics-service Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
member-attribution Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
member-events Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
members-analytics-ingress Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
members-api Added post_id filter and total to activity feed API (#15650) 2022-10-18 15:52:04 +02:00
members-csv Migrated CSV parser tests to 'assert' 2022-10-19 18:10:40 +08:00
members-events-service Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
members-importer Added strict field mapping to member CSV importer 2022-10-19 18:10:40 +08:00
members-ssr Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
minifier Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
mw-api-version-mismatch Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
mw-cache-control Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
mw-error-handler Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
mw-session-from-token Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
mw-update-user-last-seen Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
mw-vhost Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
oembed-service Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
offers Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
package-json Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
payments Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
portal Supported payment URL in Portal 2022-10-19 11:06:10 +07:00
referrers Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
security Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
session-service Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
settings-path-manager Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
staff-service Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
stats-service Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
stripe Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
tiers Refactored Tiers logic into separate package 2022-10-19 11:05:09 +07:00
update-check-service Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
verification-trigger Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
version-notifications-data-service Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00