Renovate Bot
d1c7e068a8
Update dependency metascraper-author to v5.7.21
2019-11-11 07:19:23 +00:00
Renovate Bot
d273b03169
Update dependency metascraper-description to v5.7.21
2019-11-11 06:21:31 +00:00
Renovate Bot
ccc60a7a50
Update dependency metascraper to v5.7.21
2019-11-11 05:20:07 +00:00
Renovate Bot
e2847ae4cf
Update dependency mock-knex to v0.4.7
2019-11-11 04:21:00 +00:00
Renovate Bot
e4a86f0120
Update dependency glob to v7.1.6
2019-11-11 03:25:50 +00:00
Renovate Bot
bd9cb1155b
Update dependency csv-parser to v2.3.2
2019-11-11 02:20:33 +00:00
Renovate Bot
3a67245a71
Update dependency @tryghost/members-ssr to v0.7.3
2019-11-11 01:20:49 +00:00
Hannah Wolfe
6c921bf2ef
Fix typo in regression test
2019-11-08 17:28:07 +07:00
Fabien O'Carroll
0a47adac88
Updated name of bulk email service config
...
no-issue
2019-11-08 17:26:05 +07:00
Hannah Wolfe
551e552928
Add a fallback API version, allows tests to pass
...
- 😏
- this shouldn't really be a thing, but it's better than updating 52 tests...
2019-11-08 17:24:10 +07:00
Fabien O'Carroll
11d0eff863
Converted bulk email service to use mailgun
...
no-issue
2019-11-08 17:21:20 +07:00
Fabien O'Carroll
00da426a02
Added unique_id to the recipient data
...
no-issue
This will be required by mailgun
2019-11-08 17:21:20 +07:00
Fabien O'Carroll
2b285c5fd3
Set from adress in the mega service
...
no-issue
2019-11-08 17:21:20 +07:00
Fabien O'Carroll
cc39786958
Updated members service to use config module
...
no-issue
2019-11-08 17:21:20 +07:00
Fabien O'Carroll
90d582c5f6
Added config module to members service
...
no-issue
This is for a central place to retrive member related settings from
2019-11-08 17:21:20 +07:00
Fabien O'Carroll
427f6f6326
Installed mailgun-js@0.22.0
...
no-issue
2019-11-08 17:21:20 +07:00
Nazar Gargol
93b22af899
Added default stats object to email model
...
- The serialized object is meant to serve as a placeholder for future email related stats pooled from mail service provider
2019-11-08 17:11:54 +07:00
Naz Gargol
3f88e7de63
🐛 Fixed incorrect html title appearing on 'pages' pages ( #11358 )
...
closes #11357
- Change that introduced a bug was made in cbca480b97
- The condition could be removed once https://github.com/TryGhost/Ghost/issues/10042 is resolved. It is currently not dependent on the API version rather the object form used in the frontend.
2019-11-08 12:58:11 +07:00
Rish
0a17f5d3c0
Renamed migrations in correct sequence
2019-11-08 12:25:26 +07:00
Naz Gargol
b48f1f4b2c
Updated defaults handling for email property in posts ( #11355 )
...
no issue
- Fixed default email property output when the empty value is returned
- This is needed for consistency with other endpoint properties like primary_tag which are null when there is no value assigned
- Updated acceptance tests to handle email property
- Schema had to be updated to not use reference so that the information about email can be independent of the post - can still exist if the post is deleted
2019-11-08 11:40:49 +07:00
Nazar Gargol
13a0108aac
Moved email preview spec to acceptance tests
...
- Tests here are baseline usecases which should be always in check
- More edge case scenarios might go into regression suite in the future
2019-11-08 11:38:06 +07:00
Peter Zimon
ed2f9e499c
Fixed gallery image height
2019-11-07 17:17:34 +07:00
Nazar Gargol
3ca25886eb
Removed redundant context passing
...
- Context object is not needed when model is used directly
2019-11-07 17:09:30 +07:00
Rish
d7d06653df
Fixed email not returned in put object on post publish
2019-11-07 17:03:23 +07:00
Nazar Gargol
cc581c66ce
Inlined context use so it matches convention used in most of the codebase
2019-11-07 16:45:53 +07:00
Peter Zimon
47bc7c400c
Fixed pre style for email template
2019-11-07 16:31:48 +07:00
Nazar Gargol
fdba1cb95b
Updated status handling
...
- We need to distinguish 2 stages before and after attempted sending of the email
2019-11-07 16:26:34 +07:00
Nazar Gargol
92dc86f0a5
Changed existing email status handling according to chenges in schema
2019-11-07 16:26:34 +07:00
Nazar Gargol
d0e8561b03
Changed email model statuses in schema
...
- Renames were done as that suits how emails would be handled by the bulk email handler
- These statuses are only for internal representation of the state and don't represent what happens to emails delivery-wise
- There is no need for 'sent' status as emails are "never done" and stats wold be checked for stats field would be used to check on details of the status
2019-11-07 16:26:34 +07:00
Rishabh Garg
b1d436e2ee
Added input validation to strip email object on post ( #11351 )
...
no issue
Removes post email relation from edit/add requests as we don't want to edit email object directly as part of post
2019-11-07 16:11:37 +07:00
Nazar Gargol
b364fc5e35
Not creating email record when there is nobody to send it to
2019-11-07 16:00:18 +07:00
Rish
7e0da18f85
Fixed typo on email relation in model
2019-11-07 15:52:01 +07:00
Kevin Ansfield
2421516aa6
Made email
a default include on posts API in v3/canary
2019-11-07 12:47:07 +07:00
Nazar Gargol
3b792a075a
Fixed serializer unit tests
2019-11-07 12:27:02 +07:00
Nazar Gargol
640f7155fc
Fixed linter
2019-11-07 11:47:15 +07:00
Nazar Gargol
f34f4a7b8d
Added comment to addEmail method
2019-11-07 11:47:15 +07:00
Nazar Gargol
eca129c18d
Hooked mega service to listen to email.added event
...
- This was needed because we switched to synchronous request handling (to allow including email data with post.publish event)
2019-11-07 11:47:15 +07:00
Nazar Gargol
4e1caa8b08
Added email relation to post and allowed include for /posts
endpoint
2019-11-07 11:47:15 +07:00
Rish
97e2af9a06
Added mailgun domain to members subscription settings
...
no issue
- Delete api key and domain setting if its in the config to hide it in admin
2019-11-07 11:28:42 +07:00
Rish
86d6fc8578
Serialized post html for email
...
no issue
2019-11-07 11:15:16 +07:00
Rish
898c354644
Added [Test] for preview email subject
2019-11-06 19:20:12 +07:00
Rish
7b89cd445a
Fixed unsubscribe url for preview email
2019-11-06 18:36:27 +07:00
Peter Zimon
4b24780ebd
Refined figcaption size in emails
2019-11-06 18:35:03 +07:00
Rish
6357d0c79b
Fixed custom subject in email preview
2019-11-06 18:32:11 +07:00
Rish
77daa77e04
Added status=all by default to preview api
2019-11-06 18:18:44 +07:00
Fabien O'Carroll
81b9018526
Passed unsubscribeUrl template variable to bulk email
...
no-issue
2019-11-06 18:08:11 +07:00
Fabien O'Carroll
509682cd6a
Supported unsubscribe_url template variable for bulk email
...
no-issue
2019-11-06 18:08:11 +07:00
Fabien O'Carroll
00db1d385c
Added createUnsubscribeUrl fn to mega
...
no-issue
2019-11-06 18:08:11 +07:00
Rish
4db260f17e
Added authors to email preview template
2019-11-06 18:03:46 +07:00
Fabien O'Carroll
c64be968c1
Updated default values for post model
...
no-issue
2019-11-06 17:32:14 +07:00