Commit Graph

23474 Commits

Author SHA1 Message Date
66741b9bc1 Improve randomness generated codes
[MAILPOET-6451]
2025-01-29 11:35:12 +01:00
f20237ab1c Update and fix failing tests
MAILPOET-6323
2025-01-29 08:42:48 +01:00
bd266ed403 Add personalization tags support for email-post preview and send test mails
MAILPOET-6323
2025-01-29 08:42:48 +01:00
26ea3a0d04 Render email content in the editor and pass rendered HTML output to the emails custom post-type template
MAILPOET-6323
2025-01-29 08:42:48 +01:00
a28ff7da50 Refactor Send_Preview_Email to add support for reusability
MAILPOET-6323
2025-01-29 08:42:48 +01:00
ecb040c4a4 Add basic support for email custom post-type post-template.
The template will be used when previewing email editor posts

MAILPOET-6323
2025-01-29 08:42:48 +01:00
441541e3eb Use PostPreviewButton component for email content preview
This commit will also remove the dependency on MailPoet preview url
2025-01-29 08:42:48 +01:00
a41aa8ad54 Set publicly_queryable to true to allow preview of email editor custom post types
See https://developer.wordpress.org/reference/functions/register_post_type/#parameter-detail-information for more info
2025-01-29 08:42:48 +01:00
94115d0ef2 Unify changelog format in readme.txt and changelog.txt
[MAILPOET-6446]
2025-01-28 20:41:29 +01:00
c5f94e97b5 Release 5.6.3 2025-01-28 14:52:40 +01:00
dadf76c519 Ensure we preserve post types in response eventually added by other plugins
[MAILPOET-6445]
2025-01-27 15:24:56 +01:00
14e5a82a49 Fix condition for adding post_types to API response for templates
The wrong condition was causing we added the data to more templates.
They were then displayed in the select template modal.
[MAILPOET-6445]
2025-01-27 15:24:56 +01:00
edb5a0982c Fix fallbacks for personalization tags
[MAILPOET-6443]
2025-01-27 14:51:46 +01:00
6ac171bdeb Fix inserting personalization tags
Personalization tags should be inserted with default attribute values.
[MAILPOET-6443]
2025-01-27 14:51:46 +01:00
9b65494bf8 Switch to using getBlockPatterns and update implementation
MAILPOET-6444
2025-01-27 14:34:51 +01:00
74f2281ff0 Remove item from the readme
[MAILPOET-6429]
2025-01-27 13:55:23 +01:00
3d45ea92e2 Make send button independent on MailPoet
[MAILPOET-6429]
2025-01-27 13:55:23 +01:00
6f8a1716c0 Make the send action configurable
[MAILPOET-6429]
2025-01-27 13:55:23 +01:00
997de285c9 Make the send button label configurable
[MAILPOET-6429]
2025-01-27 13:55:23 +01:00
dc28138da1 Update used WooCommerce plugin in Circle CI
- latest version: 9.6.0
 - previous version: 9.5.2
2025-01-27 07:49:07 +01:00
f57fcab0e7 Move CHANGELOG.md to changelog.txt
[MAILPOET-6446]
2025-01-24 17:33:27 +01:00
1b565bf430 Hide recent email categories when swapping a template
[MAILPOET-6425]
2025-01-23 13:53:42 +01:00
0a02295c1e Show heading by template select mode in the template select modal
[MAILPOET-6425]
2025-01-23 13:53:42 +01:00
b7d6437b77 Fix wrong class declaration in comment
[MAILPOET-6209]
2025-01-23 12:16:15 +01:00
23be78a735 Apply codestyle
[MAILPOET-6209]
2025-01-23 12:16:15 +01:00
99547cff21 Replace 'category' references with 'tag'
[MAILPOET-6209]
2025-01-23 12:16:15 +01:00
d7bf0de442 Add integration test for BuysFromATag trigger
[MAILPOET-6209]
2025-01-23 12:16:15 +01:00
ffad0ea2e6 Make triggers transactional
[MAILPOET-6209]
2025-01-23 12:16:15 +01:00
3a87e8a14e Remove unused method
[MAILPOET-6209]
2025-01-23 12:16:15 +01:00
0dd6d64a26 Replace trigger for 'Purchased a product with a tag' template
[MAILPOET-6209]
2025-01-23 12:16:15 +01:00
5ec9e3890e Add 'Buys from a Tag' trigger frontend
[MAILPOET-6209]
2025-01-23 12:16:15 +01:00
2c2d6936ba Route wp/v2 requests correctly
[MAILPOET-6209]
2025-01-23 12:16:15 +01:00
d7a9062791 Add backend for 'Buys From A Tag' trigger
[MAILPOET-6209]
2025-01-23 12:16:15 +01:00
f688ab61a2 Switch trigger for 'Purchased in a category' template
[MAILPOET-6209]
2025-01-23 12:16:15 +01:00
fabc3fd3a4 Switch trigger for 'Purchased a product' template
[MAILPOET-6209]
2025-01-23 12:16:15 +01:00
0c478691bb Release 5.6.2 2025-01-22 17:36:30 +01:00
2c7387e781 Update migration to decode all encoded ampersands in links
[MAILPOET-6433]
2025-01-21 15:02:49 +01:00
019c1a6e44 Improve fix for amp in links and move it to renderer
- The fix addresses the issue that we can't have &amp in a link because it breaks it.
- By moving the fix to renderer post-process the fix is applied also for sites
that have tracking disabled
- The fix is now targeted only to href attributes in anchor tags
[MAILPOET-6433]
2025-01-21 15:02:49 +01:00
58d1a48ab5 Fix code readability and improve migration comment
[MAILPOET-6433]
2025-01-21 15:02:49 +01:00
ef4a421eea Add migration to fix broken links
[MAILPOET-6433]
2025-01-21 15:02:49 +01:00
9de0e0c137 Add a fix for rendering incorrect links
[MAILPOET-6433]
2025-01-21 15:02:49 +01:00
17694b3c60 Fix storing link in emails from TinyMCE
[MAILPOET-6433]
2025-01-21 15:02:49 +01:00
8b35b447f0 Update used Automate Woo plugin in Circle CI
- latest version: 6.1.5
 - previous version: 6.0.33
2025-01-20 08:24:12 -06:00
9120c7da2e Default CAPTCHA on register forms to built-in type
Handle cases where user disabled "Protect your MailPoet forms against spam signups" but enables "Protect registration forms."

[MAILPOET-6326]
2025-01-20 14:14:14 +01:00
6f396bd22c Move reCAPTCHA hook registration for consistency
[MAILPOET-6326]
2025-01-20 14:14:14 +01:00
08bdf69b52 Move reCAPTCHA hooks under CAPTCHA dir for consistency
[MAILPOET-6326]
2025-01-20 14:14:14 +01:00
2a1e752f63 Integrate CAPTCHA on register forms setting
[MAILPOET-6326]
2025-01-20 14:14:14 +01:00
78ef34ba8c Add CAPTCHA on register forms setting
[MAILPOET-6326]
2025-01-20 14:14:14 +01:00
74d71a54b2 Track usage of captcha on register setting in Mixpanel
[MAILPOET-6326]
2025-01-20 14:14:14 +01:00
cbd8355806 Fix redundant, expensive HTTP pings in Help page
[MAILPOET-6302]
2025-01-20 13:41:53 +01:00