Ghost/core/server/services/members
Rishabh Garg 90e7887007
Added default newsletter subscription for new members (#14431)
refs https://github.com/TryGhost/Team/issues/1469

Currently, all new members get auto subscribed to the default newsletter. This change adds same behavior with multiple newsletters by auto subscribing all available newsletters on site for new members(If flag is enabled). 
Note: In future, this will also take into consideration the `subscribe_on_signup` flag for a newsletter to filter which newsletters should a member be auto-subscribed.

- adds newsletters service for working with newsletter data
- bumps `@tryghost/members-api` package which handles default subscription
- adds new test fixture/data for newsletters
2022-04-07 08:30:00 +05:30
..
emails Removed empty class attribute from emails (#13906) 2021-12-16 16:58:33 +02:00
importer Integrated @tryghost/members-importer 2021-07-21 19:34:30 +04:00
stats Renamed index.js file to a service 2021-08-18 11:48:16 +04:00
api.js Added default newsletter subscription for new members (#14431) 2022-04-07 08:30:00 +05:30
config.js 🐛 Fixed Stripe checkout session urls being invalid 2022-02-15 12:50:07 +02:00
content-gating.js Added "contains" operator support to ?filter= query params (#14286) 2022-03-09 13:02:17 +00:00
index.js Renamed index.js -> service.js for lint reasons 2021-05-20 12:08:45 +01:00
middleware.js Added newsletters to Portal site data 2022-04-05 22:23:39 +05:30
service.js Refactored database check to use utility 2022-03-28 16:12:32 +01:00
settings.js Updated support email address redirect (#14075) 2022-01-27 12:43:01 +01: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 Added linting for use of @tryghost/errors 2021-12-01 11:22:21 +00:00
utils.js Added newsletters to Portal site data 2022-04-05 22:23:39 +05:30