Rish
78a9463243
Updated members setting serializer for mail config
2019-11-05 18:23:23 +07:00
Nazar Gargol
bb223f9f4d
Allowed editing subscribed field for members
2019-11-05 18:03:19 +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
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
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
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
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
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
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
f29b734feb
Update dependency gscan to v3.1.1
2019-11-04 03:32:02 +00:00
Renovate Bot
708cf6ed02
Update dependency @tryghost/members-ssr to v0.7.2
2019-11-04 02:30:56 +00:00
Renovate Bot
28d3818b97
Update dependency @tryghost/helpers to v1.1.18
2019-11-04 01:28:58 +00:00
Kevin Ansfield
6b420d0cbd
✨ Added member.edited
webhook
...
no issue
- member model emits a `member.edited` event on update
- webhooks service listens for `member.edited` event and will trigger any registered hooks
2019-10-31 14:34:50 +00:00
Kevin Ansfield
a339a838b3
Removed /api/v2/members/ endpoints ( #11308 )
...
no issue
- this was a hangover from earlier members betas
- members is only available on `v3` and `canary` APIs
2019-10-31 11:11:46 +00:00
Naz Gargol
0c3b90283a
Renamed members to post-gating for better context ( #11309 )
...
no issue
- Using members.js naming for the file was a bad choice and lead to some false signals when doing a cleanup. `post-gating` is more explicit and to the point of what the module is responsible for
2019-10-31 10:33:37 +01:00
Kevin Ansfield
1fd7014c45
Fixed member.deleted webhook having an empty payload
...
no issue
- the members output serializer was passing model objects through on `frame.response` but the webhooks serializer doesn't know how to deal with those
- adjusting the output serializer to use a mapper as per the other serializers means that POJOs are being passed through which allows the webhook serializer to correctly pick out the changed attributes
2019-10-31 15:19:45 +07:00
Casper Bøgeskov Hansen
638b4fc2f2
Fixed post preview access
flag in 3.0 ( #11275 )
...
no-issue
The access flag was not being set in the preview controller which was causing 3.0 Member themes to incorrectly hide the content
2019-10-31 13:58:47 +07:00
Kevin Ansfield
2dc6f30f11
🐛 Fixed internal error for RSS feed when a post has no content
...
no issue
- initial report https://forum.ghost.org/t/rss-feed-stopped-working/9874
- `htmlRelativeToAbsolute` will return `null` if `null` is passed into it but `cheerio.load(null)` will throw a "Cannot read property 'parent' of null" error so we need to ensure we at least load an empty string
2019-10-30 17:46:17 +00:00
renovate[bot]
cfb66ac161
Update dependency oembed-parser to v1.3.5 ( #11124 )
2019-10-30 17:16:38 +01:00
renovate[bot]
da37e3ec61
Update dependency express-session to v1.17.0 ( #11238 )
2019-10-30 16:41:39 +01:00
renovate[bot]
4009911da2
Update dependency grunt-contrib-compress to v1.6.0 ( #11293 )
2019-10-30 16:38:32 +01:00