0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/test
Simon Backx c32b1baa9b
Added support for publishing email only posts by setting status to sent (#14950)
no issue

If you try to publish a draft email only post by setting the status to sent, you won't receive an error but the email won't get sent. This is because we don't support this behaviour. This is very counter-intuitive when writing the documentation, so I've patched this behaviour and added some more tests.
- When setting the status to `sent` for not email only posts, the post status will be set to `published` without warning
- Also published_by was not set correctly in the past. This is also fixed and has new tests.
2022-06-01 14:53:55 +02:00
..
e2e-api Added support for publishing email only posts by setting status to sent (#14950) 2022-06-01 14:53:55 +02:00
e2e-browser
e2e-frontend Removed GA feature flags (#14915) 2022-05-26 09:54:30 +02:00
e2e-server 🐛 Fixed signing key identificaiton in JWKs 2022-05-24 12:20:30 +01:00
integration Added integration test for MEGA.sendEmailJob (#14944) 2022-05-30 15:41:02 +02:00
regression 🎨 Reduced favicon requirements and added image formatting (#14918) 2022-05-27 16:36:53 +02:00
unit Added getLazyRelation model helper method (#14943) 2022-05-31 13:21:53 +02:00
utils Refactored Admin API test agent to use async/await 2022-06-01 17:48:08 +08:00
.eslintignore
.eslintrc.js
.jshintrc