Ghost/core/server
Kevin Ansfield 0c59b948fa
Added migrations for email analytics (#12387)
no issue

- cleans up unused tables `emails.{meta,stats}`
- adds timestamp columns `email_recipients.{delivered_at,opened_at,failed_at}` that can be used for event timelines and basic stats aggregation
  - indexed because we want to sort by these columns to find the "latest event" when limiting Mailgun events API requests
- adds aggregated stats columns `emails.{delivered_count,opened_count,failed_count}`
- adds a composite index on `email_recipients.[email_id,member_email]` to dramatically speed up `email_recipient` update queries when processing events
  - modifies the db initialisation to support an `'@@INDEXES@@'` key in table schema definition for composite indexes
2020-11-25 17:48:24 +00:00
..
adapters Fixed "no-shadow" linting error in server modules (#12287) 2020-10-20 12:02:56 +13:00
api 🐛 Fixed backwards compatibility for newsletters (#12422) 2020-11-25 13:58:21 +00:00
data Added migrations for email analytics (#12387) 2020-11-25 17:48:24 +00:00
lib Added JSDoc comments into package-json lib 2020-11-25 11:29:04 +00:00
models Added migrations for email analytics (#12387) 2020-11-25 17:48:24 +00:00
public Enabled Portal (#12317) 2020-11-03 14:36:21 +05:30
services Included all subscriptions in stripeSubscriptions (#12414) 2020-11-25 10:39:07 +00:00
translations Updated redirect error message 2020-11-04 12:26:22 +13:00
views Updated head to only output custom favicons (#11949) 2020-06-30 15:07:08 +01:00
web Added support for graceful job shutdown and worker threads 2020-11-23 17:17:49 +13:00
analytics-events.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
ghost-server.js Improved job queue logging 2020-11-25 13:28:13 +13:00
index.js Added routes.yaml content checksum storage to the db 2020-09-10 10:54:57 +12:00
overrides.js Removed global.Promise override (#12182) 2020-11-04 10:55:47 +00:00
update-check.js Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00