Commit Graph

825 Commits

Author SHA1 Message Date
a6db3dceed Remove unused mailpoet cookie session
[MAILPOET-2343]
2019-09-25 19:53:52 +01:00
8cef633548 Refactor captcha rendering to use updated captcha session
[MAILPOET-2343]
2019-09-25 19:53:52 +01:00
de3c519fbf Refactor subscribers API to use updated captcha session
[MAILPOET-2343]
2019-09-25 19:53:52 +01:00
fa4c2c8b8f Add ability to pass session_id in within captcha related urls
[MAILPOET-2343]
2019-09-25 19:53:52 +01:00
704117d37d Refactor captcha session to use internal session id
[MAILPOET-2343]
2019-09-25 19:53:52 +01:00
910b62cd70 Replace constant in tests
[MAILPOET-2367]
2019-09-25 13:21:17 +01:00
1bedf1fd1a Allow modifing cron limits
[MAILPOET-2367]
2019-09-25 13:21:17 +01:00
4d3a005b20 Inject LinkTokens dependency to SubscriptionUrlFactory using DI
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
0dd7b5fb7a Remove unnecessary aliases for SubcriptionUrlFactory
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
7dba4d900c Rename Subscription\Url to Subscription\SubscriptionUrlFactory
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
653dbe5783 Remove aspect mock from Confirmation mailer test
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
d90d5c6385 Refactor getUnsubscribeUrl to instance method
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
4e75f8883e Refactor getManageUrl to instance method
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
3c4b60ede9 Refactor getConfirmationUrl to instance method
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
14cf67d556 Refactor getCaptchaImageUrl to instance method
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
54632b20c2 Refactor getCaptchaUrl to instance method
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
02683ee87b Fix tests
[MAILPOET-2340]
2019-09-24 14:40:22 +01:00
bc31ca6c6d Remove Subscriber::generateToken()
[MAILPOET-2340]
2019-09-24 14:40:22 +01:00
692ff1ed22 Use getToken()
[MAILPOET-2340]
2019-09-24 14:40:22 +01:00
ab63bde9ed Add LinkTokens service
[MAILPOET-2340]
2019-09-24 14:40:22 +01:00
35c9973c85 Prevent activating email without body
[MAILPOET-2366]
2019-09-24 14:34:59 +01:00
ef617a0026 Add integration test
[MAILPOET-2292]
2019-09-23 16:50:21 +01:00
777cf0bdd7 Add meta when sending newsletters
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
3dcde4170e Add meta when sending new subscriber notifications
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
eebe6e828f Add meta when sending confirmation emails
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
553df6c135 Add meta when sending WP transactional emails
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
d40747e0ac Add meta when sending stats notifications
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
723cb368c4 Add meta when sending previews
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
8594645e0d Add meta to test emails
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
7a674e19b8 Add meta to extra_params
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
5e5c744c3d Create WC transactional email
[MAILPOET-2280]
2019-09-22 10:34:06 +02:00
11b2516d99 Make sure only subscribed users recieve welcome emails
[MAILPOET-2331]
2019-09-19 16:18:26 +02:00
f6965f217e Forbid tests skipping on master
[MAILPOET-2358]
2019-09-19 14:48:59 +02:00
227ec2adc9 Mark network tests as skipped
Instead of silently returning

[MAILPOET-2358]
2019-09-19 14:48:59 +02:00
3b390e9d88 Mark mailer tests as skipped
Instead of silently returning

[MAILPOET-2358]
2019-09-19 14:48:59 +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
7ea33310e8 Decrease length of old tokens to 6 chars
[MAILPOET-2364]
2019-09-17 17:47:57 +02:00
595f118307 Enable Authorized emails checks for all users
[MAILPOET-2359]
2019-09-16 11:04: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
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
aa1b9157a4 Replace WordPress Mailer with our own implementation
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00