Nazar Gargol
bb223f9f4d
Allowed editing subscribed field for members
2019-11-05 18:03:19 +07:00
Hannah Wolfe
1cdc181c54
✨ Added no-image class to content w/o feature_image
...
no issue
- Most of the offical Ghost themes have been doing this manually
- So we'll just do it by default:
2019-11-05 18:02:23 +07:00
Nazar Gargol
d0bf6e8579
Filtered out members which are unsubscribed in mailing service
2019-11-05 17:00:21 +07:00
Nazar Gargol
1ef015da10
Added subscribed
column to members
table
...
no issue
- Needed for unsubscribe functionality
2019-11-05 17:00:21 +07:00
Peter Zimon
b2f86315c0
Updated post email template
2019-11-05 16:37:12 +07:00
Rish
4a53184d7f
Added send preview email API
...
no issue
2019-11-05 16:09:18 +07:00
Hannah Wolfe
72679aefb9
Updated inconistent frontend debug statements
...
- Fixed debug statements had wrong/inconsistent debug statement path after refactor
2019-11-05 15:06:15 +07:00
Nazar Gargol
5d76ceef8b
Added plaintext field to email preview response
2019-11-05 15:04:48 +07:00
Fabien O'Carroll
d1812281f7
Updated serialisation to use current attributes
...
no-issue
We were getting some funny behaviour before this because some previous
attributes were just the defaults, when a post was new
2019-11-05 12:53:14 +07:00
Fabien O'Carroll
84300747a9
Added content gating to the mega service
...
no-issue
2019-11-05 12:53:14 +07:00
Fabien O'Carroll
15ffae211d
Refactored members content gating check
...
no-issue
2019-11-05 12:53:14 +07:00
Fabien O'Carroll
6c97db2c22
Added content-gating module to members service
...
no-issue
This should be used as the central place to manage permissions to
members content
2019-11-05 12:53:14 +07:00
Fabien O'Carroll
0689ae9657
Fixed JSDoc comments for bulk emailer
...
no-issue
2019-11-05 12:53:14 +07:00
Nazar Gargol
a527a08cb0
Fixed linter error
2019-11-05 12:24:28 +07:00
Nazar Gargol
164861da76
Fixed unit tests - DB integriti checks
...
- Needed to be updated after adding new preview email permissions to the permission fixtures
2019-11-05 12:23:52 +07:00
Nazar Gargol
9daed773c9
Added email preview output serializer
2019-11-05 12:15:50 +07:00
Nazar Gargol
c913b0cbbf
Extracted post email serializer from mega service
2019-11-05 12:15:50 +07:00
Nazar Gargol
8a7bf353d4
Added email preview controller
2019-11-05 12:15:50 +07:00
Nazar Gargol
61af0e08ae
Added email preview endpoint to Admin API
2019-11-05 12:15:50 +07:00
Nazar Gargol
5e9a701d3a
Improved regression test for post email
2019-11-05 12:15:50 +07:00
Nazar Gargol
facc2d0f29
Added email preview test
2019-11-05 12:15:50 +07:00
Nazar Gargol
60fd91b839
Added preview permissions
2019-11-05 12:15:50 +07:00
Fabien O'Carroll
3b11d25170
Fixed check for send_email_when_published
...
no-issue
2019-11-05 11:28:16 +07:00
Peter Zimon
5aaee4e8b2
Fixed post serialisation
2019-11-05 11:20:03 +07:00
Renovate Bot
f78996d063
Update dependency sharp to v0.23.2
2019-11-04 14:29:45 +00:00
Renovate Bot
afc68be5fc
Update dependency oembed-parser to v1.3.6
2019-11-04 13:31:14 +00:00
Renovate Bot
783ab24735
Update dependency metascraper-title to v5.7.17
2019-11-04 12:30:53 +00:00
Renovate Bot
ea0833c1fc
Update dependency metascraper-logo-favicon to v5.7.17
2019-11-04 11:29:20 +00:00
Naz Gargol
977298b6e1
Added basic HTML template support to MEGA ( #11336 )
...
no issue
- Sends formatted email to members
- Added css inlining support for MEGA template
- Migrated MEGA service to use API serializers
- Service needs to be compliant with the API to be able to serve absolute URLs for resources like images
- Fixed send email check for previously sent mails
2019-11-04 17:53:42 +07:00
Renovate Bot
a62f9be0fb
Update dependency metascraper-url to v5.7.17
2019-11-04 10:30:46 +00:00
Renovate Bot
fc23b3418e
Update dependency metascraper-publisher to v5.7.17
2019-11-04 09:30:15 +00:00
Rish
424e3aea7c
Added restriction to not send mail for published posts
...
no issue
2019-11-04 16:07:33 +07:00
Rish
5b438d3df9
Added action for post email delievery
...
no issue
2019-11-04 15:42:00 +07:00
Renovate Bot
07915bcf85
Update dependency metascraper-image to v5.7.17
2019-11-04 08:31:27 +00:00
Nazar Gargol
fb88c541be
Fixed custom subjects for mega emails
2019-11-04 15:24:20 +07:00
Naz Gargol
74f2145e81
Added MEGA service ( #11333 )
...
no issue
- This services listens to 'post.publish' event, assemples email data and calls bulk mailer
2019-11-04 14:38:40 +07:00
Renovate Bot
d7bd355159
Update dependency metascraper-logo to v5.7.17
2019-11-04 07:29:53 +00:00
Renovate Bot
3714a66ed1
Update dependency metascraper-author to v5.7.17
2019-11-04 06:28:31 +00:00
Rish
82e022b582
Fixed db integrity test
2019-11-04 13:26:41 +07:00
Fabien O'Carroll
39688cef07
Fixed bulk-email service loop
...
no-issue
2019-11-04 13:23:49 +07:00
Rish
2ac2975178
Added migrations for email settings
...
no issue
2019-11-04 13:22:03 +07:00
Rishabh Garg
f2f9073edd
Added email subject post meta field ( #11335 )
...
no issue
2019-11-04 13:15:23 +07:00
Fabien O'Carroll
8503105b39
Improved bulk email service
...
no-issue
Used proper logging
2019-11-04 13:01:58 +07:00
Kevin Ansfield
e63083cd32
Added "send_email_when_published" migration
2019-11-04 12:58:42 +07:00
Fabien O'Carroll
5b071d08de
Made send_email_when_published nullable
...
no-issue
2019-11-04 12:53:08 +07:00
Fabien O'Carroll
20ce0c313c
Added initial bulk-email service
...
no-issue
This is a simple wrapper around the current ghost mailer service for now
2019-11-04 12:36:12 +07:00
Renovate Bot
4817679bc4
Update dependency metascraper-description to v5.7.17
2019-11-04 05:28:47 +00:00
Fabien O'Carroll
a30caa5c66
Added send_email_when_published to post input schema
...
no-issue
This is required to allow us to send the flag into the api
2019-11-04 12:03:24 +07:00
Fabien O'Carroll
3fc3c52dd3
Added flag for sending email when post is published
...
no-issue
2019-11-04 11:56:46 +07:00
Renovate Bot
033f4ecd76
Update dependency metascraper to v5.7.17
2019-11-04 04:30:21 +00:00