Commit Graph

164 Commits

Author SHA1 Message Date
0b836c14ed Add test for blacklisting domains
[MAILPOET-2509]
2019-11-04 20:53:06 +00:00
f9c6ce66f2 Allow blacklisting domains
[MAILPOET-2509]
2019-11-04 20:53:06 +00:00
c80e806774 Better name for blacklisted emails
[MAILPOET-2509]
2019-11-04 20:53:06 +00:00
7b26031187 Add new emails to blacklist
[MAILPOET-2508]
2019-11-04 20:49:57 +00:00
8b723ce5ed Setup form front end assets on subscription pages
[MAILPOET-2250]
2019-10-03 09:14:09 +01:00
a65375006a Remove unnecessary class construction in Subscription/Pages
[MAILPOET-2250]
2019-10-03 09:14:09 +01:00
69cfe201b3 Remove unused variable from Subscriptions/Pages
[MAILPOET-2250]
2019-10-03 09:14:09 +01:00
ade1cc4d8e Autofix alphabetically sorted use statements
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
1b5b9d89ff Autofix namespace declaration spacing
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
51284bc883 Fix tests
[MAILPOET-2378]
2019-10-01 14:24:12 +01:00
8cef633548 Refactor captcha rendering 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
4d3a005b20 Inject LinkTokens dependency to SubscriptionUrlFactory using DI
[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
9b8da1f172 Refactor private Url::getPost to instance method
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
ae83364297 Refactor getSubscriptionUrl to instance method
[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
21fba11893 Add static factory method for Subscription Url
This method is temporary needed in for usage in fully static classes
[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
e588ebcee9 Use verifyToken()
[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
3ea9c99090 Use link_token when tracking and rendering links 2019-09-12 17:32:05 +02:00
7f66b1bcd5 Subscribe new user to WP list only
[MAILPOET-2210]
2019-09-11 10:36:56 +01:00
f5cf4ab0bf Improve CAPTCHA strings
[MAILPOET-2323]
2019-09-04 12:13:06 -04:00
wxa
643f3af185 Display captcha success/error messages without JS [MAILPOET-2323] 2019-09-04 12:13:06 -04:00
c90a2e41a1 Use separate scheduler for welcome emails
[MAILPOET-2321]
2019-08-29 13:55:49 -04:00
wxa
15c36e851e Fix captcha transient lifetime, remove a duplicate string [MAILPOET-2246] 2019-08-05 21:10:23 +01:00
579ce5fc64 Add integration test for captcha session
[MAILPOET-2248]
2019-08-05 21:10:23 +01:00
13724898d1 Use Cookies service within Session and add unit test
[MAILPOET-2248]
2019-08-05 21:10:23 +01:00
8e1c3b8c03 Use CaptchaSession service instead of PHP Session
[MAILPOET-2248]
2019-08-05 21:10:23 +01:00
6a494a2fae Introduce captcha session service
[MAILPOET-2248]
2019-08-05 21:10:23 +01:00
wxa
d4cd9849d3 Resort to a default MailPoet page if no page is set in settings [MAILPOET-2015] 2019-07-23 08:37:46 -04:00
wxa
cfb108d240 Convert throttling timeout from seconds to a human-readable string [MAILPOET-2015] 2019-07-23 08:37:46 -04:00
wxa
3fbaf8cf3e Allow only certain user roles to be exempt from captcha [MAILPOET-2015] 2019-07-23 08:37:46 -04:00
wxa
4a309e7317 Fix more PR remarks [MAILPOET-2015]
Use fast termination to remove some nesting
Use DI for CaptchaRenderer
Remove unused vars in router subscription endpoint
2019-07-23 08:37:46 -04:00
wxa
d1aceb9d75 Move captcha page rendering to a separate class [MAILPOET-2015] 2019-07-23 08:37:46 -04:00
wxa
7788aebe83 Fix minor PR remarks [MAILPOET-2015]
Reuse updateCaptcha() function
Inject Captcha class using DI
Add no-cache headers to captcha image
Fix an error when accessing the captcha page directly
Edit the line in settings regarding missing dependencies
2019-07-23 08:37:46 -04:00
wxa
b174a55d07 Handle captcha during subscription [MAILPOET-2015] 2019-07-23 08:37:46 -04:00
wxa
08af443c1f Add captcha page [MAILPOET-2015] 2019-07-23 08:37:46 -04:00
wxa
f8ea514887 Update the captcha setting [MAILPOET-2015] 2019-07-23 08:37:46 -04:00
wxa
7f40e5b512 Clean up unused imports [MAILPOET-2208] 2019-07-19 08:54:50 -04:00
wxa
a2df2cc7bd Refactor subscription pages and config shortcodes to DI [MAILPOET-2208] 2019-07-19 08:54:50 -04:00
wxa
26d7fb5468 Fix PR remarks [MAILPOET-2176] 2019-07-11 06:53:10 -04:00
wxa
57b13c8896 Add blacklist to Mailer [MAILPOET-2176] 2019-07-11 06:53:10 -04:00
111adbe90e Fix registration of rejected users
There are multiple hooks for user registration.
https://usersinsights.com/wp/wp-content/uploads/2018/07/user-registration-hooks-2.png
The `register_post` hook is executed first and
after that there is `registration_errors`.
The captcha verification is done in `registration_errors` hook.
But because we were using `register_post` we were saving
the subscriber before the post request was verified.

[MAILPOET-2114]
2019-06-06 10:41:13 -04:00