Commit Graph

2834 Commits

Author SHA1 Message Date
Pavel Dohnal
910b62cd70 Replace constant in tests
[MAILPOET-2367]
2019-09-25 13:21:17 +01:00
Pavel Dohnal
1bedf1fd1a Allow modifing cron limits
[MAILPOET-2367]
2019-09-25 13:21:17 +01:00
Rostislav Wolny
4d3a005b20 Inject LinkTokens dependency to SubscriptionUrlFactory using DI
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
Rostislav Wolny
0dd7b5fb7a Remove unnecessary aliases for SubcriptionUrlFactory
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
Rostislav Wolny
7dba4d900c Rename Subscription\Url to Subscription\SubscriptionUrlFactory
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
Rostislav Wolny
653dbe5783 Remove aspect mock from Confirmation mailer test
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
Rostislav Wolny
d90d5c6385 Refactor getUnsubscribeUrl to instance method
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
Rostislav Wolny
4e75f8883e Refactor getManageUrl to instance method
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
Rostislav Wolny
3c4b60ede9 Refactor getConfirmationUrl to instance method
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
Rostislav Wolny
14cf67d556 Refactor getCaptchaImageUrl to instance method
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
Rostislav Wolny
54632b20c2 Refactor getCaptchaUrl to instance method
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
Amine Ben hammou
02683ee87b Fix tests
[MAILPOET-2340]
2019-09-24 14:40:22 +01:00
Amine Ben hammou
bc31ca6c6d Remove Subscriber::generateToken()
[MAILPOET-2340]
2019-09-24 14:40:22 +01:00
Amine Ben hammou
692ff1ed22 Use getToken()
[MAILPOET-2340]
2019-09-24 14:40:22 +01:00
Amine Ben hammou
ab63bde9ed Add LinkTokens service
[MAILPOET-2340]
2019-09-24 14:40:22 +01:00
Pavel Dohnal
35c9973c85 Prevent activating email without body
[MAILPOET-2366]
2019-09-24 14:34:59 +01:00
Jan Jakeš
7bb0603230 Fix flaky ReinstallFromScratchCest
[MAILPOET-2370]
2019-09-24 14:02:07 +01:00
Jan Jakeš
85a55e62bf Fix exceptions caused by strictness of new WPCLI module
[MAILPOET-2356]
2019-09-24 14:02:07 +01:00
Jan Jakeš
4e0e486564 Use test bootsrap files in Codeception 3 way
[MAILPOET-2356]
2019-09-24 14:02:07 +01:00
Jan Jakeš
c65bc95caa Set --allow-root for WPCLI globally
[MAILPOET-2356]
2019-09-24 14:02:07 +01:00
Jan Jakeš
f75a6be554 Rewrite WPCLI commands to a recommended and correctly working array variant
[MAILPOET-2356]
2019-09-24 14:02:07 +01:00
Jan Jakeš
cf09f9e6c1 Upgrade Chrome image
[MAILPOET-2356]
2019-09-24 14:02:07 +01:00
Jan Jakeš
0cd5091fa8 Fix flakiness when using logout/login and/or registration
[MAILPOET-2356]
2019-09-24 14:02:07 +01:00
Jan Jakeš
49b0b63fda Use 'wp option' instead of non-existent 'wc setting'
[MAILPOET-2356]
2019-09-24 14:02:07 +01:00
Jan Jakeš
7c9b300d7a Upgrade lucatume/wp-browser and conflicting deps
[MAILPOET-2356]
2019-09-24 14:02:07 +01:00
Ján Mikláš
ef617a0026 Add integration test
[MAILPOET-2292]
2019-09-23 16:50:21 +01:00
Amine Ben hammou
777cf0bdd7 Add meta when sending newsletters
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
Amine Ben hammou
3dcde4170e Add meta when sending new subscriber notifications
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
Amine Ben hammou
eebe6e828f Add meta when sending confirmation emails
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
Amine Ben hammou
553df6c135 Add meta when sending WP transactional emails
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
Amine Ben hammou
d40747e0ac Add meta when sending stats notifications
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
Amine Ben hammou
723cb368c4 Add meta when sending previews
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
Amine Ben hammou
8594645e0d Add meta to test emails
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
Amine Ben hammou
7a674e19b8 Add meta to extra_params
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
Amine Ben hammou
5e5c744c3d Create WC transactional email
[MAILPOET-2280]
2019-09-22 10:34:06 +02:00
Pavel Dohnal
11b2516d99 Make sure only subscribed users recieve welcome emails
[MAILPOET-2331]
2019-09-19 16:18:26 +02:00
Pavel Dohnal
03cb02caac Disable acceptance tests skipping on master
[MAILPOET-2358]
2019-09-19 14:48:59 +02:00
Pavel Dohnal
f6965f217e Forbid tests skipping on master
[MAILPOET-2358]
2019-09-19 14:48:59 +02:00
Pavel Dohnal
227ec2adc9 Mark network tests as skipped
Instead of silently returning

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

[MAILPOET-2358]
2019-09-19 14:48:59 +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
7ea33310e8 Decrease length of old tokens to 6 chars
[MAILPOET-2364]
2019-09-17 17:47:57 +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
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
76a08d4478 Fix acceptance test
[MAILPOET-2360]
2019-09-12 16:38:00 +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