0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core/server/data/migrations/versions/3.1
Kevin Ansfield 6a057fad99
Added /emails/:id/retry/ endpoint for retrying failed emails (#11410)
We want to allow admin users to trigger a retry of failed emails without having to go through the unpublish/republish dance.

- fixed resource identifier in email permissions migration so email permissions are added correctly
- added new email permissions migration so that beta releases can be upgraded without rollback (will be a no-op for any non-beta upgrades)
- added `/emails/:id/retry/` canary Admin API endpoint
  - follows same URL pattern as theme activation
  - only triggers mega service retry endpoint if the email has a `'failed'` status
2019-11-22 14:20:32 +00:00
..
01-add-send-email-when-published-to-posts.js Renamed migrations in correct sequence 2019-11-08 12:25:26 +07:00
02-add-email-subject-to-posts-meta.js Renamed migrations in correct sequence 2019-11-08 12:25:26 +07:00
03-add-email-preview-permissions.js Renamed migrations in correct sequence 2019-11-08 12:25:26 +07:00
04-add-subscribed-flag-to-members.js Renamed migrations in correct sequence 2019-11-08 12:25:26 +07:00
05-add-emails-table.js Removed redundant bulk email settings migration 2019-11-13 22:29:31 +05:30
06-add-email-permissions.js Added /emails/:id/retry/ endpoint for retrying failed emails (#11410) 2019-11-22 14:20:32 +00:00
07-add-uuid-field-to-members.js Removed redundant bulk email settings migration 2019-11-13 22:29:31 +05:30
08-add-uuid-values-to-members.js Removed redundant bulk email settings migration 2019-11-13 22:29:31 +05:30
09-add-further-email-permissions.js Added /emails/:id/retry/ endpoint for retrying failed emails (#11410) 2019-11-22 14:20:32 +00:00