Commit Graph

4334 Commits

Author SHA1 Message Date
0daf7e8855 Make feature flags controller return default feature value in case table doesn't exists
[MAILPOET-2373]
2019-09-19 16:53:55 +02:00
11b2516d99 Make sure only subscribed users recieve welcome emails
[MAILPOET-2331]
2019-09-19 16:18:26 +02:00
dad381c74d Add automated emails subjects to segments response
[MAILPOET-2352]
2019-09-18 16:29:42 +02:00
d43ae6d350 Remove usage of @ operator
[MAILPOET-2357]
2019-09-18 10:46:44 +02:00
ac09343910 Don't mark obsolete tokens as deprecated
[MAILPOET-2364]
2019-09-17 17:47:57 +02:00
f27d764d13 Refactor adding link_tokens in import to separate methods
[MAILPOET-2364]
2019-09-17 17:47:57 +02:00
d6d9885a1e Add link_token for new subscribers during import
[MAILPOET-2364]
2019-09-17 17:47:57 +02:00
09db91bc33 Always use length of database link_token for token validation
[MAILPOET-2364]
2019-09-17 17:47:57 +02:00
2b02d22232 Modify cron to generate short link_tokens
[MAILPOET-2364]
2019-09-17 17:47:57 +02:00
7ea33310e8 Decrease length of old tokens to 6 chars
[MAILPOET-2364]
2019-09-17 17:47:57 +02:00
5cbcefbbb4 Use constant for token length
[MAILPOET-2364]
2019-09-17 17:47:57 +02:00
9e4d1190f9 Show free section only to relevant users
[MAILPOET-2274]
2019-09-17 13:01:22 +02:00
db23f5b91c Add a feature flag
[MAILPOET-2274]
2019-09-17 13:01:22 +02:00
d00e260550 Fix hardcoded wp_post table in WooCommerce orders processing
[MAILPOET-2361]
2019-09-16 13:00:40 +02:00
595f118307 Enable Authorized emails checks for all users
[MAILPOET-2359]
2019-09-16 11:04:05 +02:00
ec3b5ca1e3 Optimize the SQL query
[MAILPOET-2313]
2019-09-12 17:32:05 +02:00
69f011f63c Add missing use statements
[MAILPOET-2313]
2019-09-12 17:32:05 +02:00
2ed3fe316b Fix typo in SQL
[MAILPOET-2313]
2019-09-12 17:32:05 +02:00
459dc8bff8 Schedule the task only when needed
[MAILPOET-2313]
2019-09-12 17:32:05 +02:00
75017d93ba Reduce scheduling priority
[MAILPOET-2313]
2019-09-12 17:32:05 +02:00
f5eb7cb5a0 Use CHAR because the size is constant
[MAILPOET-2313]
2019-09-12 17:32:05 +02:00
36322978ae Add Cron task to generate link_tokens for existing subscribers 2019-09-12 17:32:05 +02:00
b4bb6dd747 Fix tests 2019-09-12 17:32:05 +02:00
3ea9c99090 Use link_token when tracking and rendering links 2019-09-12 17:32:05 +02:00
042213d5aa Generate link_token when new subscriber is created 2019-09-12 17:32:05 +02:00
4edde1636f Add link_token to subscribers table 2019-09-12 17:32:05 +02:00
47a51834f9 Use only one body for text emails
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
4127f1fadf Remove useless condition
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
0957b6a129 Remove comments
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
952b9d7dd4 Initialise hooks early
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
198b04fe24 Translate exception for phpmailer
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
10903cb6c8 Throw for unknown content type
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
d953fde6f9 Deal with Mailer Response
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
998139f896 Send WordPress HTML emails
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
dcb9b124c8 Send text wordpress emails
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
b844d41fde Allow text mails to be send using PHPMail
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
ef29a301fc Allow full name to be passed to mailer
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
0b96d13d1a Allow emails from login screen
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
72c62ba937 Hide feature behind feature flag
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
aa1b9157a4 Replace WordPress Mailer with our own implementation
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
4c57e59c74 Remove uneeded variables
[MAILPOET-2328]
2019-09-12 15:45:34 +02:00
77322a08ce Remove confirmation sender settings and warnings
[MAILPOET-2328]
2019-09-12 15:45:34 +02:00
674d8f9926 Use sender and reply-to settings for confirmation emails
[MAILPOET-2328]
2019-09-12 15:45:34 +02:00
81079dcd7c Italicize the email too 2019-09-12 15:19:35 +02:00
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
d6a29e1b91 Schedule it immediately if needed
[MAILPOET-2340]
2019-09-12 14:59:02 +02:00
c871efdb3e Use CHAR instead of VARCHAR
[MAILPOET-2340]
2019-09-12 14:59:02 +02:00
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
01a0fe96c4 Remove no longer necessary checks
[MAILPOET-1948]
2019-09-12 13:59:32 +02:00