0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server/services/members
Hannah Wolfe d51fcd072e Added new member limit & removed old
refs: https://github.com/TryGhost/Team/issues/510

- The current member limit was implemented as a member-specific concept
- The new limit service is much more generic, here we are swapping old for new
- The updated concept here is blocking all publishing, not just email sending, when a site is over its member limit
- To determine that we are publishing a post, we must be in the model layer. The code has been moved to the permissible function which makes sense as this is a permissions error that we are throwing
- I've left the extra check for email retries in, in case there is some loophole here (but we may wish to change it)
2021-03-04 18:16:34 +00:00
..
emails Added extra settings to member auth emails (#12238) 2020-10-01 12:31:36 +05:30
importer Fixed Members importer usage of linkStripeCustomer 2021-01-26 21:26:19 +05:30
stats Added jsdoc to MembersStats class 2021-01-14 12:59:17 +13:00
api.js Added MemberPaidSubscriptionEvent model 2021-02-12 13:55:14 +00:00
config.js Switched members services to use v4 API 2021-03-03 14:42:03 +13:00
content-gating.js Updated Admin API and Mega to use status flag (#12579) 2021-02-02 16:12:51 +00:00
index.js Added new member limit & removed old 2021-03-04 18:16:34 +00:00
middleware.js Fixed status code for unauthenticated requests 2021-03-01 16:19:28 +00:00
settings.js Switched members services to use v4 API 2021-03-03 14:42:03 +13:00
SingleUseTokenProvider.js Updated magic links to use shorter, single us, longer lived tokens (#12218) 2020-09-18 17:32:18 +01:00
stripe-connect.js Encoded the mode in the Stripe Connect OAuth state 2020-06-10 14:06:57 +02:00
utils.js Fixed paid flag on members 2021-02-25 14:26:41 +00:00