0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/server/services/mega
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
..
index.js
mega.js Added new member limit & removed old 2021-03-04 18:16:34 +00:00
post-email-serializer.js Bumped MEGA related serialization code to use v4 API 2021-03-02 14:31:01 +13:00
template.js Fixed bug for newsletter bookmarks without author displaying redundant separator 2021-02-09 09:35:45 +01:00