Ghost/core/server/api/canary/utils
Fabien 'egg' O'Carroll ee786aaa5d
Cleaned up members & stripe settings (#11957)
* Updated members default settings

ref #10318

This pulls out the members_subscription_settings & stripe_connect_intgration settings into separate keys

* Updated usage of members_from_address

* Updated stripe_connect usage

* Updated members config to use new settings

* Updated members middleware to use isStripeConnected

* Updated members service to reload correctly

We reload the members-api instance when the related settings change, so
this makes sure we're listening to the correct settings changes

* Updated ghost_head helper to use new settings

* Updated theme middleware to use new settings

* Renamed members_allow_signup -> members_allow_free_signup

* Fixed tests after settings refactor

* Removed  from direct key settings key

* Fixed regression tests for settings api
2020-06-29 16:22:42 +02:00
..
serializers Cleaned up members & stripe settings (#11957) 2020-06-29 16:22:42 +02:00
validators Removed use of deprecated setting flags from the codebase 2020-06-23 11:58:19 +12:00
index.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
permissions.js Refactored common lib import to use destructuring (#11835) 2020-05-22 19:22:20 +01:00