0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server/services
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
..
adapter-manager Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
auth Blocked requests from integrations when integration limit is in place 2021-04-10 00:45:26 +12:00
bulk-email 🐛 Stopped Ghost crashing when sending bulk emails (#12718) 2021-03-03 09:34:44 +00:00
email-analytics Fixed analytics require error 2021-03-02 08:26:42 +00:00
invitations 🐛 Fixed error caused by accepting invitation with existing email (#12172) 2020-09-09 11:58:53 +12:00
invites Updated email styles 2021-03-03 17:15:37 +01:00
jobs Added custom worker message handler 2021-02-22 20:02:00 +13:00
mail Fixed email preheaders 2021-03-23 09:49:33 +01:00
mega Updated 'Powered by' badge ref to 4.0 repo 2021-03-10 16:02:00 +01:00
members Migrated members_allow_free_signup setting to members_signup_access (#12886) 2021-04-19 16:36:30 +01:00
notifications Fixed failing notification update for non-major version 2021-03-23 18:02:52 +13:00
permissions Added custom integration feature limit 2021-03-03 20:15:49 +00:00
settings Fixed the previous commit 2021-04-16 18:05:13 +02:00
webhooks Blocked webhooks when integration limit is in place 2021-04-10 00:48:46 +12:00
labs.js Hardcoded labs to always return members:true 2021-02-17 19:55:16 +13:00
limits.js Fixed limits realoding during soft Ghost restart 2021-04-10 00:08:17 +12:00
oembed.js Moved the OEmbed service to use our DI pattern 2021-01-15 15:35:30 +01:00
slack.js Refactored usage of the pre v4 "slack" setting 2021-02-15 15:25:54 +13:00
users.js Moved the users service to use our DI pattern 2021-01-15 17:58:36 +01:00
xmlrpc.js Adding sentry logging to all ping errors 2021-02-19 14:00:50 +01:00