mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 03:14:03 +03:00
ae54352a29
refs TryGhost/Team#1458 refs TryGhost/Team#1459 refs TryGhost/Team#1372 - Added a new stats service, which is divided into several categories. Currently only the 'members' category for member related stats. - When there are missing or corrupt members status events in the DB, the totals returned by the old member stats endpoint (`/members/stats/count`) were wrong. This is fixed in the new service by counting in reverse order and starting with the actual totals. - New Stats API, with the new `/stats/members/count-history` endpoint. - This new endpoint also returns the paid deltas -> dashboard 5.0 will show subscribed and canceled paid members for each day - Includes tests for the new stats service and endpoint |
||
---|---|---|
.. | ||
emails.test.js.snap | ||
labels.test.js.snap | ||
mail.test.js.snap | ||
members-stripe-connect.test.js.snap | ||
members.test.js.snap | ||
newsletters.test.js.snap | ||
offers.test.js.snap | ||
session.test.js.snap | ||
settings.test.js.snap | ||
site.test.js.snap | ||
snippets.test.js.snap | ||
stats.test.js.snap | ||
tiers.test.js.snap |