0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/core/server
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
..
adapters
api 🔒 Added a way to hide the secret settings once they are set 2021-04-16 17:05:16 +02:00
data Migrated members_allow_free_signup setting to members_signup_access (#12886) 2021-04-19 16:36:30 +01:00
lib
models Added Product, StripeProduct & StripePrice relations (#12877) 2021-04-14 19:20:39 +01:00
public New logo in Admin (#12768) 2021-03-18 17:27:27 +00:00
services Migrated members_allow_free_signup setting to members_signup_access (#12886) 2021-04-19 16:36:30 +01:00
translations
views
web Added DELETE /members/ to the Admin API for bulk member deletion (#12082) 2021-04-08 12:03:45 +01:00
analytics-events.js Wrapped analytics tracker in try-catch 2021-02-24 15:57:38 +00:00
ghost-server.js Cleaned up use of express in ghost-server 2021-02-23 12:33:00 +00:00
notify.js Refactored notify to send started + ready 2021-02-19 20:42:10 +00:00
overrides.js
update-check.js