Ghost/ghost/admin/app/serializers
Kevin Ansfield 6fe159c8d9 Updated handling of send_email_when_published
refs 5fd2b7fed1

- sends `?send_email_when_published=true` query param when scheduling/publishing a post with the toggle turned on
  - adds support to the posts adapter for handling the `adapterOptions` option
  - updates the editor `save` task to pass through the required adapter option when a post is being published or scheduled with the toggle checked
- moves state for the email toggle into the publish menu so that we don't try to toggle the model attribute which should only be fetched from the API
- prevent `post.send_email_when_published` being sent to the API via the serializer as it's now a read-only attribute
2019-11-14 17:33:35 +00:00
..
action.js Display "sent" info in publish menu 2019-11-04 16:13:18 +07:00
api-key.js Added initial custom integrations UI (#1051) 2018-10-18 00:18:29 +01:00
application.js Fixed serialisation of belongsTo relationships 2018-10-18 18:23:19 +01:00
email.js Display basic info in PSM once an email has been sent 2019-11-08 17:07:47 +07:00
integration.js Added initial custom integrations UI (#1051) 2018-10-18 00:18:29 +01:00
invite.js Fixed missing invite role name on team screen 2019-01-14 17:01:30 +00:00
member.js Enabled write operation for member name and note 2019-10-10 17:29:35 +05:30
notification.js 🐛 fix duplicate server alerts + default alert bg color (#242) 2016-09-01 11:01:54 -05:00
page.js Added confirmation modal and use email model in place of action 2019-11-07 15:56:41 +07:00
post.js Updated handling of send_email_when_published 2019-11-14 17:33:35 +00:00
role.js Renaming date properties to contain UTC 2016-06-17 11:09:21 +02:00
setting.js Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
tag.js Don't send created_by and updated_by attrs in API requests 2018-04-05 11:54:36 +01:00
theme.js fetch themes from /themes endpoint (#542) 2017-02-21 18:28:44 +00:00
user.js Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
webhook.js Added initial custom integrations UI (#1051) 2018-10-18 00:18:29 +01:00