Commit Graph

3881 Commits

Author SHA1 Message Date
Amine Ben hammou
d43ae6d350 Remove usage of @ operator
[MAILPOET-2357]
2019-09-18 10:46:44 +02:00
Rostislav Wolny
ac09343910 Don't mark obsolete tokens as deprecated
[MAILPOET-2364]
2019-09-17 17:47:57 +02:00
Rostislav Wolny
f27d764d13 Refactor adding link_tokens in import to separate methods
[MAILPOET-2364]
2019-09-17 17:47:57 +02:00
Rostislav Wolny
d6d9885a1e Add link_token for new subscribers during import
[MAILPOET-2364]
2019-09-17 17:47:57 +02:00
Rostislav Wolny
09db91bc33 Always use length of database link_token for token validation
[MAILPOET-2364]
2019-09-17 17:47:57 +02:00
Rostislav Wolny
2b02d22232 Modify cron to generate short link_tokens
[MAILPOET-2364]
2019-09-17 17:47:57 +02:00
Rostislav Wolny
7ea33310e8 Decrease length of old tokens to 6 chars
[MAILPOET-2364]
2019-09-17 17:47:57 +02:00
Rostislav Wolny
5cbcefbbb4 Use constant for token length
[MAILPOET-2364]
2019-09-17 17:47:57 +02:00
Pavel Dohnal
9e4d1190f9 Show free section only to relevant users
[MAILPOET-2274]
2019-09-17 13:01:22 +02:00
Pavel Dohnal
db23f5b91c Add a feature flag
[MAILPOET-2274]
2019-09-17 13:01:22 +02:00
Rostislav Wolny
d00e260550 Fix hardcoded wp_post table in WooCommerce orders processing
[MAILPOET-2361]
2019-09-16 13:00:40 +02:00
Amine Ben hammou
595f118307 Enable Authorized emails checks for all users
[MAILPOET-2359]
2019-09-16 11:04:05 +02:00
Amine Ben hammou
ec3b5ca1e3 Optimize the SQL query
[MAILPOET-2313]
2019-09-12 17:32:05 +02:00
Amine Ben hammou
69f011f63c Add missing use statements
[MAILPOET-2313]
2019-09-12 17:32:05 +02:00
Amine Ben hammou
2ed3fe316b Fix typo in SQL
[MAILPOET-2313]
2019-09-12 17:32:05 +02:00
Amine Ben hammou
459dc8bff8 Schedule the task only when needed
[MAILPOET-2313]
2019-09-12 17:32:05 +02:00
Amine Ben hammou
75017d93ba Reduce scheduling priority
[MAILPOET-2313]
2019-09-12 17:32:05 +02:00
Amine Ben hammou
f5eb7cb5a0 Use CHAR because the size is constant
[MAILPOET-2313]
2019-09-12 17:32:05 +02:00
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