Ghost/core/server
Rishabh Garg ee0a6910ce
Added table to store multiple newsletters for member (#14408)
refs https://github.com/TryGhost/Team/issues/1469

With multiple newsletters, members will now be able to subscribe to one or more newsletters on the site. Previously, the subscription to default newsletter for a member was controlled via a single boolean `subscribed` column on the member table.
This change allows mapping multiple newsletters to a member via new pivot table that stores relation between a member and newsletter.

- adds new `members_newsletters` pivot table
- update tests
2022-04-04 18:11:36 +05:30
..
adapters Switch to @tryghost/errors from ignition errors package (#13807) 2021-12-01 10:22:01 +00:00
api Created new stats service and stats API to get member count history (#14391) 2022-03-31 16:01:11 +02:00
data Added table to store multiple newsletters for member (#14408) 2022-04-04 18:11:36 +05:30
lib Updated probe-image-size options to reflect underlying change 2022-03-09 20:27:38 +00:00
models Added the newsletters endpoint 2022-03-31 15:19:58 +02:00
services Removed accessive id erros in tests 2022-04-04 10:45:33 +08:00
views Updated unsubscribe page 2022-03-10 10:39:20 +00:00
web Fixed snakeCase in stats member count endpoint 2022-03-31 17:09:28 +02:00
analytics-events.js Added comments to all usages of lib/common/events 2021-07-07 16:02:44 +01:00
ghost-server.js Switch to @tryghost/errors from ignition errors package (#13807) 2021-12-01 10:22:01 +00:00
notify.js Removed unused import 2021-12-06 08:17:07 +00:00
overrides.js Set global Luxon timezone override to UTC 2021-10-20 09:19:29 +02:00
run-update-check.js Revert "Revert "Extract logging from DI patterns, only use @tryghost/logging package"" (#13884) 2021-12-14 11:22:39 +00:00
update-check.js Added library for extracting database information 2022-01-18 09:31:08 +00:00