Ghost/ghost/admin/app/utils
Simon Backx 832610fd2a
🐛 Fixed retrying failed emails when rescheduling them (#16383)
fixes https://github.com/TryGhost/Team/issues/2560

When an email fails, and you reschedule the post, the error dialog was
shown (from the previous try). The retry button on that page allowed you
to retry sending the email immediately, which could be very confusing.

- The email error dialog is no longer shown for scheduled emails
- The email status is no longer polled for scheduled emails
- Retrying an email is not possible via the API if the post status is
not published or sent
- Added some extra snapshot tests
- When retrying an email, we immediately update the email status to
'pending' to have a better API response (instead of still returning
failed).
- Disabled email sending retrying in development (otherwise very hard to
test failed emails if it takes 10 mins before it gives up automatic
retrying)
2023-03-09 12:32:22 +01:00
..
bound-one-way.js
caja-sanitizers.js
copy-text-to-clipboard.js
ctrl-or-cmd.js
currency.js
flatten-grouped-options.js
format-markdown.js
get-scroll-parent.js
ghost-paths.js
isNumber.js
link-component.js
password-generator.js
publish-options.js 🐛 Fixed retrying failed emails when rescheduling them (#16383) 2023-03-09 12:32:22 +01:00
route.js
shortcuts.js
slug-url.js
window-proxy.js