Ghost/core/server/services
Simon Backx 132726fe20
Added MRR stats service and endpoint (#14427)
refs https://github.com/TryGhost/Team/issues/1470

Instead of counting the MRR by resolving all the deltas from the past until now, we should start with the current calculated MRR and resolve it until the first event. That would give a more accurate recent MRR (in exchange for a less accurate MRR for older data) and allows us to limit the amount of returned days in the future.

- Includes MRR stats service that can fetch the current MRR per currency
- The service can return a history of the MRR for every day and currency
- New admin API endpoint /stats/mrr that returns the MRR history
- Includes tests for these new service and endpoint
2022-04-08 09:18:04 +02:00
..
adapter-manager Added multiple adapters capability to adapter manager 2021-10-21 20:22:45 +13:00
auth Removed accessive id erros in tests 2022-04-04 10:45:33 +08:00
bulk-email Added Sentry error capture for failed email update after sending is complete 2022-02-08 18:36:14 +00:00
email-analytics Prevent an event-processing error if there is no timezone setting 2022-03-02 13:58:26 +01:00
integrations Replace GhostError with InternalServerError 2021-12-14 12:17:48 +00:00
invitations Replaced i18n with tpl in accept.js (#13471) 2021-10-08 15:21:22 +01:00
invites Revert "Revert "Extract logging from DI patterns, only use @tryghost/logging package"" (#13884) 2021-12-14 11:22:39 +00:00
jobs Revert "Revert "Extract logging from DI patterns, only use @tryghost/logging package"" (#13884) 2021-12-14 11:22:39 +00:00
mail Removed empty class attribute from emails (#13906) 2021-12-16 16:58:33 +02:00
mega Typography updates (#14382) 2022-03-28 17:28:09 +02:00
members Added default newsletter subscription for new members (#14431) 2022-04-07 08:30:00 +05:30
newsletters Added default newsletter subscription for new members (#14431) 2022-04-07 08:30:00 +05:30
notifications Replace error handler middleware with @tryghost/mw-error-handler (#13879) 2021-12-14 15:18:46 +00:00
offers Fixed same redirectManager used in offer service between tests (#14340) 2022-03-24 10:18:52 +01:00
permissions Switch to @tryghost/errors from ignition errors package (#13807) 2021-12-01 10:22:01 +00:00
posts Added "contains" operator support to ?filter= query params (#14286) 2022-03-09 13:02:17 +00:00
public-config 🐛 Fixed config API not returning boolean 2022-01-20 18:25:41 +02:00
redirects Switch to @tryghost/errors from ignition errors package (#13807) 2021-12-01 10:22:01 +00:00
route-settings Renamed defaultSettings to defaultRouteSettings 2022-02-21 20:06:20 +13:00
settings Added settingsCache handling to e2e-framework 2022-02-11 16:24:24 +00:00
stats Added MRR stats service and endpoint (#14427) 2022-04-08 09:18:04 +02:00
stripe Cleaned up output errors during tests 2022-04-05 18:17:47 +08:00
themes Refactored the gscan version check to use single variable 2022-03-22 09:53:22 +08:00
url Added "contains" operator support to ?filter= query params (#14286) 2022-03-09 13:02:17 +00:00
webhooks Updated knex dependency 2022-03-30 08:47:57 +01:00
custom-theme-settings.js Added API tests for custom theme settings (#13519) 2021-10-08 16:18:49 +01:00
limits.js Simlified limit service initialization 2021-11-03 00:33:28 +13:00
nft-oembed.js Added fallback for NFT title when name is missing 2021-12-03 21:16:22 +02:00
oembed.js Added missing message string 2022-03-21 09:07:54 +00:00
slack.js Replaced schema.isPost in slack service /w custom fn 2022-04-05 14:24:42 +01:00
twitter-embed.js Removed richTwitterNewsletters GA labs flag 2022-01-04 13:07:39 +00:00
users.js 🔒 Added a "reset all passwords" feature (#13005) 2021-06-23 14:54:28 +02:00
xmlrpc.js Switch to @tryghost/errors from ignition errors package (#13807) 2021-12-01 10:22:01 +00:00