0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core/server
Fabien O'Carroll 5b66933981 Supported directly assigning products to members
refs https://github.com/TryGhost/Team/issues/748

This updates the @tryghost/members-api MemberRepository to stop ignoring
the `products` data passed to write operations, and to attach products
directly to members. As this logic is part of a new feature, we are
maintaining existing functionality by deleting the products data when
the feature flag is not enabled.

This functionality allows us to give members complimentary access to a
product without needing to use a Stripe Subscription internally.
2021-06-17 16:57:53 +01:00
..
adapters Replaced request module with @tryghost/request 2021-06-16 13:16:15 +01:00
api Supported directly assigning products to members 2021-06-17 16:57:53 +01:00
data Replaced ghost-version.js with @tryghost/version 2021-06-16 13:16:15 +01:00
lib Replaced request module with @tryghost/request 2021-06-16 13:16:15 +01:00
models Moved formatOnWrite function to Bookshelf override plugin 2021-06-17 16:47:47 +01:00
public
services Added psmRedesign as an allowed labs flag 2021-06-17 10:49:20 +01:00
views
web Replaced ghost-version.js with @tryghost/version 2021-06-16 13:16:15 +01:00
analytics-events.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
ghost-server.js Switch to @tryghost/debug, remove ghost-ignition 2021-06-15 17:24:22 +01:00
notify.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
overrides.js
run-update-check.js Move the update-check service to a scheduled job 2021-05-27 17:17:26 +02:00
update-check.js Replaced request module with @tryghost/request 2021-06-16 13:16:15 +01:00