Fabien O'Carroll
73b00e77c2
Added unsubscribe handler to mega service
...
no-issue
2019-11-06 15:30:37 +07:00
Fabien O'Carroll
23964750a9
Allowed getting member by uuid
...
no-issue
2019-11-06 15:30:37 +07:00
Peter Zimon
c2633b09ea
Refined post email template
2019-11-06 14:53:40 +07:00
Rish
3e331fcf86
Fixed lint
2019-11-06 12:15:03 +07:00
Rish
686e0143c7
Added date formatting for email post data
...
no issue
2019-11-06 12:06:24 +07:00
Peter Zimon
7f3a1e93ae
Working on email template
2019-11-06 10:21:58 +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
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
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
c913b0cbbf
Extracted post email serializer from mega service
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
Fabien O'Carroll
39688cef07
Fixed bulk-email service loop
...
no-issue
2019-11-04 13:23:49 +07:00
Fabien O'Carroll
8503105b39
Improved bulk email service
...
no-issue
Used proper logging
2019-11-04 13:01:58 +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
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
Peter Zimon
cac8c4a3e7
Refined member emails
...
no issues
- refined typography and spacing for member signup, singin and subscribe emails
2019-10-16 14:22:42 +07:00
Fabien O'Carroll
20a6ad1ea6
Added member.added and member.deleted webhooks
...
no-issue
2019-10-14 15:50:24 +07:00
Fabien O'Carroll
5fb05e970c
Updated webhook default to v3 api
...
no-issue
There are no members serializers on the v2 api
2019-10-14 15:50:24 +07:00
Fabien O'Carroll
df8a67a9ca
Enabled members by default ( #11190 )
...
no-issue
This removes the need for `enableDeveloperExperiments` flag for members
2019-10-14 08:34:04 +05:30
Kevin Ansfield
78e16ddd3f
Merge branch 'master' into v3
2019-10-11 11:31:31 +01:00
Rish
cd02fd5c63
Renamed member requirePayment setting
...
no issue
Renames member setting `requirePaymentForSignup` -> `allowSelfSignup` to match members API usage
2019-10-11 14:08:31 +05:30
Fabien O'Carroll
1500881923
Renamed getRequirePaymentSetting
...
no-issue
The negation before this function call was a little easy to miss for me
2019-10-11 13:47:48 +07:00
Fabien O'Carroll
0c602976c0
Passed members_email_auth_secret to members-api
...
no-issue
2019-10-11 13:47:48 +07:00
Fabien O'Carroll
ef5e6f7e5b
Removed text-transform: capitalize from buttons
...
no-issue
Button text should be sentence case not title case
2019-10-11 11:45:11 +07:00
Fabien O'Carroll
527632f287
Updated members email templates
...
no-issue
These changes fix come colors and styles
2019-10-11 11:45:11 +07:00
Fabien O'Carroll
3062ec7690
Wired up members plaintext emails
...
no-issue
2019-10-11 11:45:11 +07:00
Fabien O'Carroll
257bebbb39
Wired up the members emails templates
...
no-issue
2019-10-11 11:45:11 +07:00
Fabien O'Carroll
f4d202d7c5
Added member email templates
...
no-issue
2019-10-11 11:45:11 +07:00
Fabien O'Carroll
98f27c1c33
Added getSubject function for members emails
...
no-issue
2019-10-11 11:45:11 +07:00
Fabien O'Carroll
6f160518d1
Ensured that members emails include our text version
...
no-issue
2019-10-11 11:45:11 +07:00
Fabien O'Carroll
b030081a4b
Updated GhostMailer to allow forcing text content
...
no-issue
This is so that we can pass our own customised text content
2019-10-11 11:45:11 +07:00
Naz Gargol
1b04b48ffd
Added from
parameter for member emails ( #11222 )
...
* Added from parameter for member emails
no issue
- Passed in the `from` parameter when initializing members mailer to be able to customize outgoing address
- Extends GhsotMailer to accept a from parameter from the outside
2019-10-11 11:21:53 +07:00
Fabien O'Carroll
99681e692a
Updated the create,get&update member functions
...
no-issue
This updates them to async functions, and defaults falsy name and note to null
2019-10-10 17:51:46 +07:00
Fabien O'Carroll
fe59613867
Wired up the note property to members-api
...
no-issue
2019-10-10 17:51:46 +07:00
Kevin Ansfield
587bd8accb
Merge branch 'master' into v3
2019-10-09 15:04:09 +01:00
Naz Gargol
0225936292
Removed subscribers from the codebase ( #11153 )
...
refs https://github.com/TryGhost/Ghost/pull/11152
- Added subscribers table drop migration
- Removed subscribers from schema
- Removed subscribers controllers/routes/regression tests
- Removed subscriber related API code
- Removed subscribers from internal apps
- Removed subscriber importer
- Removed subscriber model
- Removed subscriber related permissions
- Removed webhook code related to subscribers
- When upgrading to v3 it is on the site admin to migrate all zapps or any other webhook clients to use members
- Removed subscriber-specific translation
- Removed subscriber lab flag
2019-10-09 11:47:04 +02:00
Fabien O'Carroll
29b3dad302
Updated get/set metadata fn signatures
...
no-issue
This is to reflect an upstream change in members-api
2019-10-09 16:24:51 +07:00