Ghost/ghost/admin/tests
Nazar Gargol c3d141dd03 Added improved validations for 2nd step of members import
no issue

- Adds validations for imported CSV data
- These checks include obvious validation checks for data - like if email addresses are valid, checking if Stripe configured when entries with stripe_customer_id are present and additional server-side validation for entries with stripe_customer_id to check if they appear in connected Stripe account
- The validation set is calculated by naive choosing of first 5, middle 5 and 5 tail records from imported set. This logic comes from observations that errors usually apear withing "test" records in the beggining or the end of the file. These selection rules might change in the future if we find a need for it.
- Adds papaparse CSV parser, which was chosen for it's maturity and relatively small minified size. In the future this library should be lazy-loaded to make the first page load UX nicer
2020-06-12 17:22:36 +12:00
..
acceptance Added access level filter to posts and pages lists in admin 2020-06-09 12:19:40 +01:00
helpers Update dependency ember-mocha to v0.16.0 2019-06-17 15:32:09 +01:00
integration Added improved validations for 2nd step of members import 2020-06-12 17:22:36 +12:00
unit Update dependency eslint-plugin-ghost to v1.4.0 2020-05-06 18:07:01 +01:00
.eslintrc.js Update dependency eslint to v7 (#1566) 2020-05-17 22:53:37 +01:00
index.html Remove ember application template wrapper 2018-05-01 10:57:20 +01:00
test-helper.js Removed ember-cli-chai in favour of direct ember-auto-import imports 2020-06-08 08:37:14 +01:00