Jan Jakes
0efe8e0204
Set no-cache headers for pulic MailPoet router
...
This includes open and click tracking, cron daemon, view in browser,
form previews, subscription management, and image proxy for thumbnails.
2024-09-17 17:27:37 +02:00
Jan Jakes
38c6880400
Unify setting no-cache headers, use WP-native nocache_headers()
2024-09-17 17:27:37 +02:00
Jan Jakes
ab16f5be10
Remove ignores of WordPressDotOrg sniffs
...
[MAILPOET-6150]
2024-08-29 17:23:34 +02:00
Jan Jakes
a664186108
Unify setting no-cache headers, use only relevant headers
...
See also: https://stackoverflow.com/questions/49547/how-do-we-control-web-page-caching-across-all-browsers
[MAILPOET-6038]
2024-08-05 13:28:52 +02:00
Jan Jakes
ee6e22efa3
Regenerate CAPTCHA phrase using a custom request with cachebust to avoid caching
...
[MAILPOET-6038]
2024-08-05 13:28:52 +02:00
Jan Jakes
fad5e629af
Simplify renderAudio and renderImage
...
[MAILPOET-6038]
2024-08-05 13:28:52 +02:00
Jan Jakes
71d7f46718
Make captcha session stateless
...
[MAILPOET-6038]
2024-08-05 13:28:52 +02:00
alex-mpoet
106c7d48f3
Add proxy to load external images for template thumbnails
...
[MAILPOET-3923]
2024-07-17 16:03:19 +02:00
Mike Jolley
435f638011
Apply rules on lib dir
2024-03-21 16:57:59 +01:00
Sam Najian
bb6d6137aa
Stop checking if website is on HTTPS for 1-click-unsubscribe
...
[MAILPOET-4859]
2022-12-29 11:18:25 +01:00
Jan Jakes
926620e8f8
Ignore strict types rule in all existing files that don't have it
...
[MAILPOET-2688]
2022-11-29 15:04:09 +01:00
Sam Najian
735d33d05b
Add method of tracking when tracking unsubscriptions
...
[MAILPOET-4733]
2022-11-25 14:51:57 +01:00
David Remer
4832771185
Refactor the captcha system
...
The current Captcha class has a lot of responsibilities. It renders the captcha
image, can check if a certain captcha type is a Google captcha, if a captcha is
required for a certain email. The SubscriberSubscribeController is not only in
charge of "controlling" the subscription process but also validates, whether a
captcha is correct or not. This architecture made it difficult to extend the
functionality and introduce the audio captcha feature.
Therefore this commit refactors the captcha architecture and tries to seperate
the different concerns into several classes and objects. Validation is now done
by validators.
The CaptchaPhrase now is in charge of keeping the captcha phrase consistent
between the image and the new audio, so that you can renew the captcha and both
captchas are in sync.
[MAILPOET-4514]
2022-11-24 09:20:39 +01:00
David Remer
75a4b2c538
Add Captcha Audio endpoint to Router
...
[MAILPOET-4203]
2022-11-24 09:20:39 +01:00
Sam Najian
99198e5c2d
Fix MailPoet\WP\Functions newly added method name
...
[MAILPOET-4703]
2022-11-11 09:21:30 +01:00
Sam Najian
162dab790d
Implement 1-click unsubscribe strategy for post requests
...
[MAILPOET-4703]
2022-11-11 09:21:30 +01:00
David Remer
b05e6d414c
Remove WP\Functions::__ and other translate functions
...
Under the new sniffer rules, those functions produce errors and, when those methods
are used, the sniffer can not properly be applied.
[MAILPOET-4524]
2022-08-09 13:23:16 +02:00
David Remer
53fc49d1eb
Simplify phpcs:disable comments
...
Additionally this commit contains a conversion from %d to %s in a query
[MAILPOET-4219]
2022-04-04 17:12:33 +02:00
David Remer
9f39843189
Sanitize incoming data according to WP sniffer
...
[MAILPOET-4219]
2022-04-04 17:12:33 +02:00
David Remer
bde6c1ce65
Escape output according to sniffs
...
[MAILPOET-4219]
2022-04-04 17:12:33 +02:00
David Remer
a8d88beec9
Escape output according to WP sniffs
...
[MAILPOET-4129]
2022-04-04 17:12:33 +02:00
Jan Jakes
9f790efbf0
Move plugin files to a subfolder
...
[MAILPOET-3988]
2022-01-18 15:30:22 +01:00