Ghost/test/utils/fixtures
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
..
config Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
csv Added DELETE /members/ to the Admin API for bulk member deletion (#12082) 2021-04-08 12:03:45 +01:00
data 🐛 Fixed redirects "to" query params forwarding (#12333) 2021-01-05 14:11:06 +13:00
export Migrated members_allow_free_signup setting to members_signup_access (#12886) 2021-04-19 16:36:30 +01:00
filter-param Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
images New logo in Admin (#12768) 2021-03-18 17:27:27 +00:00
import Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
settings Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
themes 🐛 Fixed @price template data to work with price helper (#12764) 2021-03-18 16:13:10 +00:00
cache-rules.js Moved cacheRules from testUtils into fixtures 2021-02-17 17:55:38 +00:00
context.js Split test utilities out into separate files 2021-02-16 20:17:04 +00:00
data-generator.js 🐛 Fixed complimentary members' content gating (#12761) 2021-03-15 19:13:48 +13:00
test.hbs Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00