Ghost/ghost/admin/app/adapters
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
..
application.js Update package.json details, rename module to ghost-admin 2016-06-03 16:12:54 +01:00
base.js Use Admin API v2 with session auth (#1046) 2018-10-05 19:46:33 +01:00
embedded-relation-adapter.js Updated handling of send_email_when_published 2019-11-14 17:33:35 +00:00
page.js Removed use of ?include=tags,authors,authors.roles query param on post/page requests 2019-02-25 21:55:55 +07:00
post.js Updated handling of send_email_when_published 2019-11-14 17:33:35 +00:00
setting.js Update package.json details, rename module to ghost-admin 2016-06-03 16:12:54 +01:00
tag.js Update package.json details, rename module to ghost-admin 2016-06-03 16:12:54 +01:00
theme.js show theme warnings/errors when activating a theme (#576) 2017-03-14 08:54:58 -05:00
user.js Removed redundant 'status=all' in user queries 2019-01-28 16:28:14 +00:00