Ghost/test/regression
Kevin Ansfield fff6a04c54
Migrated members_allow_free_signup setting to members_signup_access (#12886)
refs https://github.com/TryGhost/Team/issues/579

Currently the members signup setting is explicitly yes/no to allowing free members signup, with the implication that when set to "no" members is still active but members have to be created via Stripe or the admin API.

This change renames the setting and changes its type to allow more than a binary option.

- migration to create/update the new setting based on the old value
  - free signup = "all", no free signup = "invite"; matches the current UI for this setting
- rename setting everywhere it's used/tested against
- modify `getAllowSelfSignup()` used to configure members packages to only return `true` when the new setting is set to `'all'` to match behaviour to the older setting
- update importer to rename the setting when importing from an older Ghost version
2021-04-19 16:36:30 +01:00
..
api Migrated members_allow_free_signup setting to members_signup_access (#12886) 2021-04-19 16:36:30 +01:00
exporter Added stripe_products and stripe_prices tables (#12858) 2021-04-08 20:41:00 +05:30
importer Renamed importer spec to match tested version 2021-03-23 00:42:22 +13:00
migrations Added permissions for the Products resource (#12875) 2021-04-15 14:34:45 +01:00
models Added Product model and Member model relation (#12859) 2021-04-08 18:01:49 +01:00
settings Added routes_hash setting (#12171) 2020-09-07 21:54:55 +12:00
site Hardened frontend tests checking API engine 2021-02-24 18:55:12 +13:00
update-check Fixed linting error 2021-01-14 18:39:27 +13:00
README.md Updated acceptance&regression test suite readmes 2021-01-22 16:42:02 +13:00

Regression Tests

These tests should ensure that we don't break Ghost for all available APIs.

The goal is that most of these packages use Ghost's API's to test behaviours, otherwise transform the tests into unit tests.