Commit Graph

4663 Commits

Author SHA1 Message Date
Amine Ben hammou
36322978ae Add Cron task to generate link_tokens for existing subscribers 2019-09-12 17:32:05 +02:00
Amine Ben hammou
b4bb6dd747 Fix tests 2019-09-12 17:32:05 +02:00
Amine Ben hammou
3ea9c99090 Use link_token when tracking and rendering links 2019-09-12 17:32:05 +02:00
Amine Ben hammou
042213d5aa Generate link_token when new subscriber is created 2019-09-12 17:32:05 +02:00
Amine Ben hammou
4edde1636f Add link_token to subscribers table 2019-09-12 17:32:05 +02:00
Pavel Dohnal
47a51834f9 Use only one body for text emails
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
Pavel Dohnal
4127f1fadf Remove useless condition
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
Pavel Dohnal
0957b6a129 Remove comments
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
Pavel Dohnal
952b9d7dd4 Initialise hooks early
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
Pavel Dohnal
198b04fe24 Translate exception for phpmailer
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
Pavel Dohnal
10903cb6c8 Throw for unknown content type
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
Pavel Dohnal
d953fde6f9 Deal with Mailer Response
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
Pavel Dohnal
998139f896 Send WordPress HTML emails
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
Pavel Dohnal
dcb9b124c8 Send text wordpress emails
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
Pavel Dohnal
b844d41fde Allow text mails to be send using PHPMail
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
Pavel Dohnal
ef29a301fc Allow full name to be passed to mailer
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
Pavel Dohnal
0b96d13d1a Allow emails from login screen
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
Pavel Dohnal
72c62ba937 Hide feature behind feature flag
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
Pavel Dohnal
aa1b9157a4 Replace WordPress Mailer with our own implementation
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
Amine Ben hammou
4c57e59c74 Remove uneeded variables
[MAILPOET-2328]
2019-09-12 15:45:34 +02:00
Amine Ben hammou
77322a08ce Remove confirmation sender settings and warnings
[MAILPOET-2328]
2019-09-12 15:45:34 +02:00
Amine Ben hammou
674d8f9926 Use sender and reply-to settings for confirmation emails
[MAILPOET-2328]
2019-09-12 15:45:34 +02:00
Rami Yushuvaev
81079dcd7c Italicize the email too 2019-09-12 15:19:35 +02:00
Rami Yushuvaev
6e3faef6c3 i18n: Avoid using HTML tags in translation strings
Replace `<i>%s</i>` with a simple `%s`. Move the HTML tags outside the strings, to `sprintf()` parameter.
2019-09-12 15:19:35 +02:00
Amine Ben hammou
d6a29e1b91 Schedule it immediately if needed
[MAILPOET-2340]
2019-09-12 14:59:02 +02:00
Amine Ben hammou
c871efdb3e Use CHAR instead of VARCHAR
[MAILPOET-2340]
2019-09-12 14:59:02 +02:00
Pavel Dohnal
24d5125ba7 Stay checked after billing update
[MAILPOET-2217]
2019-09-12 14:31:15 +02:00
wxa
f67e356202 Add SPF check API method to backend [MAILPOET-2295] 2019-09-12 14:09:27 +02:00
Jan Jakeš
01a0fe96c4 Remove no longer necessary checks
[MAILPOET-1948]
2019-09-12 13:59:32 +02:00
Pavel Dohnal
41c01ca230 Move automatic emails to own scheduler
[MAILPOET-2348]
2019-09-11 19:16:21 +01:00
Pavel Dohnal
493e16606c Move constans to their classes
[MAILPOET-2348]
2019-09-11 19:16:21 +01:00
Pavel Dohnal
3d750c5bb8 Move post notification scheduling to service
[MAILPOET-2348]
2019-09-11 19:16:21 +01:00
Amine Ben hammou
7f66b1bcd5 Subscribe new user to WP list only
[MAILPOET-2210]
2019-09-11 10:36:56 +01:00
Amine Ben hammou
2b51b2f209 Check parent exists before returning it
[MAILPOET-2350]
2019-09-11 10:18:10 +01:00
Rami Yushuvaev
2e72ba447d Use numberFormatI18n() 2019-09-11 10:07:34 +01:00
Rami Yushuvaev
4b79ae1801 Minor %s placeholder fix 2019-09-11 10:07:34 +01:00
Rami Yushuvaev
1c52f89130 Update sprintf() 2019-09-11 10:07:34 +01:00
Rami Yushuvaev
3c3fcf38cb i18n: merge two similar translation strings 2019-09-11 10:07:34 +01:00
Rami Yushuvaev
5e869c7091 i18n: Avoid using HTML tags in translation strings
Remove `<br>` tag from the translation string.
2019-09-11 10:06:02 +01:00
Rami Yushuvaev
a9bb3e66ed i18n: remove redundant HTML tag
The string has one `<b>` tag and two `</b>` tags. This PR removes the second closing tag.
2019-09-11 10:49:54 +03:00
Pavel Dohnal
6584d84dbb Fix PHP Scoper ignoring doctrine array annotations
[MAILPOET-2297]
2019-09-09 14:11:44 +01:00
Ján Mikláš
270a5fc219 Fix parsing IPv6 in WP 4.7 and 4.8
Code copied from https://developer.wordpress.org/reference/classes/wpdb/parse_db_host/

[MAILPOET-2289]
2019-09-09 13:50:07 +01:00
Ján Mikláš
a5cbe98031 Fix failing integration test in MySQL 8.0
[MAILPOET-2289]
2019-09-09 13:50:07 +01:00
Ján Mikláš
46476c8491 Add "resend email" action to subscribers list item
[MAILPOET-2316]
2019-09-09 11:35:38 +01:00
Ján Mikláš
481cae676c Add subscribers API action for sending confirmation email
[MAILPOET-2316]
2019-09-09 11:35:38 +01:00
Pavel Dohnal
0e8a5bdb62 Add tracy panel for DI container
[MAILPOET-2293]
2019-09-09 10:52:40 +01:00
Ján Mikláš
e8253ad94e Remove bulk option to resend confirmation emails
[MAILPOET-2315]
2019-09-09 09:51:52 +01:00
Jan Jakeš
cf9c90bd04 Rewrite UserFlags data factory to create-or-update logic
[MAILPOET-2302]
2019-09-04 14:01:24 -04:00
Pavel Dohnal
f19454103a Display correct count of segments
[MAILPOET-2326]
2019-09-04 13:05:05 -04:00
Jan Jakeš
f5cf4ab0bf Improve CAPTCHA strings
[MAILPOET-2323]
2019-09-04 12:13:06 -04:00