0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-01 02:41:39 -05:00
ghost/core/server
Fabien O'Carroll 46bf5270df
Added initial subscription support with stripe to Members API (#10460)
These changes introduce a new "service" to the members api, which handles getting and creating subscriptions.

This is wired up to get subscription information when creating tokens, and attaching information to the token, so that the Content API can allow/deny access. 

Behind the subscription service we have a Stripe "payment processor", this holds the logic for creating subscriptions etc... in Stripe.

The logic for getting items out of stripe uses a hash of the relevant data as the id to search for, this allows us to forgo keeping stripe data in a db, so that this feature can get out quicker.
2019-02-07 10:41:39 +01:00
..
adapters Bumped knex & bookshelf dependencies (#10404) 2019-01-21 21:53:11 +01:00
api Redefined context.integration 2019-02-06 21:36:09 +01:00
apps Removed members internal app (#10379) 2019-01-17 12:03:40 +01:00
config Added initial subscription support with stripe to Members API (#10460) 2019-02-07 10:41:39 +01:00
data Added permissions for actions including migration 2019-02-06 18:59:09 +01:00
helpers Updated messaging around {{get}} helper access 2019-02-04 17:58:35 +00:00
lib Added initial subscription support with stripe to Members API (#10460) 2019-02-07 10:41:39 +01:00
models Simplfied action trigger in base model 2019-02-06 22:21:06 +01:00
public Removed change frequency and priority fields from sitemap generator (#9771) 2018-09-24 19:16:31 +02:00
services Added initial subscription support with stripe to Members API (#10460) 2019-02-07 10:41:39 +01:00
translations Updated messaging around {{get}} helper access 2019-02-04 17:58:35 +00:00
views Aliased {{@blog}} as {{@site}} in the theme API 2019-01-04 12:17:32 +00:00
web Allowed browse actions for integrations 2019-02-06 21:36:09 +01:00
analytics-events.js Added back "theme.uploaded" analytics event (#10450) 2019-02-05 17:38:40 +01:00
filters.js Switched to eslint-plugin-ghost (#9835) 2018-09-17 20:49:30 +02:00
ghost-server.js Switched to eslint-plugin-ghost (#9835) 2018-09-17 20:49:30 +02:00
index.js De-aliased api versions in codebase (#10375) 2019-01-14 19:49:55 +01:00
overrides.js Disabled bluebird debug logs 2018-08-13 14:01:31 +02:00
update-check.js De-aliased api versions in codebase (#10375) 2019-01-14 19:49:55 +01:00