0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00
ghost/core/test/unit
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
..
adapters
api Fixed serializer unit tests 2019-11-07 12:27:02 +07:00
apps Removed subscribers from the codebase (#11153) 2019-10-09 11:47:04 +02:00
config
data Added /emails/:id/retry/ endpoint for retrying failed emails (#11410) 2019-11-22 14:20:32 +00:00
helpers Reverted support to only data.post in meta layer 2019-11-11 17:49:36 +07:00
lib Merge branch 'master' into v3 2019-10-11 11:31:31 +01:00
models Fixed settings tests 2019-11-14 11:32:34 +05:30
services 🐛 Ensure deprecated labs flags are unset 2019-11-06 14:42:39 +07:00
web 🐛 Fixed 404s when using a proxy setup (#11269) 2019-10-28 11:22:05 +00:00