0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/test/regression/api/v2/admin
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
..
authentication_spec.js Fixed failing regression tests 2020-09-22 16:13:57 +12:00
db_spec.js 💥 Reduced default exports content for DB APIs (#12818) 2021-03-25 19:27:49 +13:00
images_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
notifications_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
oembed_spec.js Fixed oembed tests being network dependent 2020-11-30 21:44:15 +00:00
pages_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
posts_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
redirects_spec.js Fixed Redirects API regression tests 2020-06-16 10:24:13 +02:00
schedules_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
settings_spec.js Migrated members_allow_free_signup setting to members_signup_access (#12886) 2021-04-19 16:36:30 +01:00
site_spec.js Added regression tests for Admin API /site endpoints 2021-03-09 22:10:27 +13:00
slack_spec.js Removed final non-destructured imports of core/server/lib/common (#11858) 2020-05-28 17:54:18 +01:00
users_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
utils.js Updated utils for site endpoint response checks 2021-03-09 22:12:05 +13:00
webhooks_spec.js Fixed fixture creation order in webhooks tests 2021-03-04 10:56:58 +01:00