Ghost/core/server/services/members
Fabien 'egg' O'Carroll 68127cf4d4
Stopped reconfiguring MemberAPI on settings change (#13943)
refs https://github.com/TryGhost/Team/issues/1257
refs https://github.com/TryGhost/Team/issues/1261

Certain event listens are being added twice due to the way we "reload"
the MembersAPI which can cause duplicate counts of Offer Redemptions.

Rather than creating multiple instances of the MembersAPI we're moving
toward being able to reload the config in place or passing getters for
the config which will allows us to use the MembersAPI as a singleton,
and remove any bugs which come from creating multiple instances.

This also fixes a bug with the allowSelfSignup config not refreshing when
the portal_plans setting was changed.
2022-01-10 18:21:09 +02:00
..
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 Stopped reconfiguring MemberAPI on settings change (#13943) 2022-01-10 18:21:09 +02:00
config.js Replace error handler middleware with @tryghost/mw-error-handler (#13879) 2021-12-14 15:18:46 +00:00
content-gating.js Added support for gating content by member labels and products (#12946) 2021-05-10 19:32:11 +01:00
index.js Renamed index.js -> service.js for lint reasons 2021-05-20 12:08:45 +01:00
middleware.js Added new offers endpoint on members API 2021-10-15 11:46:27 +05:30
service.js Stopped reconfiguring MemberAPI on settings change (#13943) 2022-01-10 18:21:09 +02:00
settings.js Moved settings/cache to shared/settings-cache 2021-06-30 15:49:10 +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 Fixed paid flag on members 2021-02-25 14:26:41 +00:00