Ghost/core/server/services/members
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
..
emails Added extra settings to member auth emails (#12238) 2020-10-01 12:31:36 +05:30
importer Fixed member import email heading spacing 2021-03-22 18:15:11 +01:00
stats Added jsdoc to MembersStats class 2021-01-14 12:59:17 +13:00
api.js Added price and product models to members service 2021-04-12 21:53:59 +05:30
config.js Migrated members_allow_free_signup setting to members_signup_access (#12886) 2021-04-19 16:36:30 +01:00
content-gating.js 🐛 Fixed complimentary members' content gating (#12761) 2021-03-15 19:13:48 +13:00
index.js Migrated members_allow_free_signup setting to members_signup_access (#12886) 2021-04-19 16:36:30 +01:00
middleware.js Fixed status code for unauthenticated requests 2021-03-01 16:19:28 +00:00
settings.js 🐛 Fixed Admin redirect for newsletter/support email update (#12810) 2021-03-23 11:24:07 +05:30
SingleUseTokenProvider.js Updated magic links to use shorter, single us, longer lived tokens (#12218) 2020-09-18 17:32:18 +01:00
stripe-connect.js Encoded the mode in the Stripe Connect OAuth state 2020-06-10 14:06:57 +02:00
utils.js Fixed paid flag on members 2021-02-25 14:26:41 +00:00