Ghost/core/server/models
Naz 35e23636ae Fixed 'sent' status setting when publishing a post
refs https://github.com/TryGhost/Team/issues/947

- During the work of the UI and moving `email_only` flag to publish menu it created the situation where the publishing of the post was at the same time as adding `email_only` flag, resulted in not picking up teh `sent` status as the `posts_meta` model and record were's available during save.
- Adding the incoming attribute check for email_only flag covers this situation
2021-08-26 22:25:45 +04:00
..
base Added static transaction method to base model (#13260) 2021-08-26 19:01:42 +01:00
relations Improved single author deprecated notices 2021-05-04 17:11:12 +01:00
action.js Added model implementation for actions 2019-02-06 21:36:09 +01:00
api-key.js Extracted Bookshelf actions code to plugin 2021-06-17 12:04:38 +01:00
author.js Added plugin based author and public tag models in API v2 (#10284) 2019-01-03 20:30:35 +01:00
benefit.js Added Benefit model 2021-06-29 16:53:15 +01:00
email-batch.js Fixed creation of EmailBatch and EmailRecipient collections 2020-10-14 15:11:45 +01:00
email-recipient.js Removed unnecessary bookshelf-relations config in EmailRecipient model 2021-01-05 15:28:30 +00:00
email.js Added ability to send a newsletter to members with a certain label or product (#12932) 2021-05-07 11:56:41 +01:00
index.js Added MemberProductEvent model & relations 2021-08-24 14:44:53 +02:00
integration.js 🔒 Fixed permissible method for Integration Model 2021-07-20 13:43:29 +01:00
invite.js Moved settings/cache to shared/settings-cache 2021-06-30 15:49:10 +01:00
label.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
member-email-change-event.js Added member relation to events (#12656) 2021-02-16 16:14:20 +00:00
member-login-event.js Added member relation to events (#12656) 2021-02-16 16:14:20 +00:00
member-paid-subscription-event.js Added member relation to events (#12656) 2021-02-16 16:14:20 +00:00
member-payment-event.js Added member relation to events (#12656) 2021-02-16 16:14:20 +00:00
member-product-event.js Added MemberProductEvent model & relations 2021-08-24 14:44:53 +02:00
member-status-event.js Readded support for comped status in event aggregate (#13142) 2021-07-15 15:17:51 +01:00
member-stripe-customer.js Added error handling for failed member imports 2020-08-26 17:11:35 +12:00
member-subscribe-event.js Added member relation to events (#12656) 2021-02-16 16:14:20 +00:00
member.js Added MemberProductEvent model & relations 2021-08-24 14:44:53 +02:00
mobiledoc-revision.js Added mobiledoc revisions functionality 2018-10-09 15:31:09 +02:00
permission.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
post.js Fixed 'sent' status setting when publishing a post 2021-08-26 22:25:45 +04:00
posts-meta.js Added email_only column to posts_meta table 2021-08-05 19:44:35 +12:00
product.js Ordered Products by their monthly price by default (#13234) 2021-08-20 14:46:06 +02:00
role.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
session.js 🔒 Added a "reset all passwords" feature (#13005) 2021-06-23 14:54:28 +02:00
settings.js Moved labs utlity to shared 2021-07-08 09:05:41 +01:00
single-use-token.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
snippet.js Fixed no-restricted-require warning for core/shared/url-utils.js 2021-05-25 21:13:57 +01:00
stripe-customer-subscription.js 🐛 Fixed members list not loading (#12930) 2021-05-26 19:52:42 +05:30
stripe-price.js Added models for stripe prices and products 2021-04-12 21:53:59 +05:30
stripe-product.js Added Product, StripeProduct & StripePrice relations (#12877) 2021-04-14 19:20:39 +01:00
tag-public.js Added plugin based author and public tag models in API v2 (#10284) 2019-01-03 20:30:35 +01:00
tag.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
user.js Switch to @trghost/validator, remove validator 2021-06-16 08:11:22 +01:00
webhook.js Bumped webhook API defaults to v4 2021-03-02 12:31:52 +13:00