Commit Graph

20858 Commits

Author SHA1 Message Date
Rostislav Wolny
7d99556683 Add DB migration and wpPostId to NewsletterEntity
The email body will be stored as a wp_post, but for mailpoet specific attributes
we will use the current DB structure so that we can easy integrate emails edited in the new editor.
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
6be97e665b Restrict allowed blocks to paragraph, heading and columns
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
c7f1ecfb5e Add EmailEditor class with basic registration of CPT for emails
The idea is that there is a core class
Mailpoet\MailPoet\EmailEditor\Core\EmailEditor which will contain common email editor related stuff
that can be used and shared between projects.
Mailpoet\MailPoet\EmailEditor\Integration\EmailEditor which contains MailPoet specific settings and and extra modifications
specific for MailPoet.
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
7f9ef96fa1 Add Gutenberg email editor feature flag
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rodrigo Primo
2b5cf32b12 Use constants for the dynamic segments paths instead of hardcoding them
[MAILPOET-5393]
2023-08-24 15:12:45 +02:00
Rodrigo Primo
f699e243cc Implement initial version of the segment templates page
This is still a work in progress and changes will be implemented in
subsequent commits.

[MAILPOET-5393]
2023-08-24 15:12:45 +02:00
Veljko
91c128e950 Fix flakiness in test SettingsArchivePage
[MAILPOET-5008]
2023-08-24 15:28:46 +03:00
Veljko
3c142e6da9 Fix flakiness in CreateSegmentEmailAbsoluteCount
[MAILPOET-5008]
2023-08-24 15:28:46 +03:00
Veljko
28616727ea Fix flakiness in test
[MAILPOET-5008]
2023-08-24 15:28:46 +03:00
Veljko
16d09162a6 Fix flaky test steps for SubscriberCountShortcode
[MAILPOET-5008]
2023-08-24 15:28:46 +03:00
Veljko
3294b839d8 Update click path and element to wait for be clickable
[MAILPOET-5008]
2023-08-24 15:28:46 +03:00
Veljko
95db4eb8a1 Fixed flaky test WooCheckoutBlocksCest
[MAILPOET-5008]
2023-08-24 15:28:46 +03:00
Jan Jakes
6610e08b25 Use deterministic order in FilterHandlerTest
[MAILPOET-5544]
2023-08-23 14:16:51 -05:00
 Ján Mikláš
b4fd0e4860 Update 600,000 to 700,000 active installs
[MAILPOET-5541]
2023-08-23 12:59:44 +02:00
David Remer
8d1b9cd59d Remove padding from close icon
[MAILPOET-5132]
2023-08-23 12:49:41 +02:00
David Remer
02e97025fe Add box-sizing to mailpoet_form_fixed_bar
[MAILPOET-5259]
2023-08-23 12:49:41 +02:00
Veljko
5538176892 Modify test to click on a link to activate MailPoet 2023-08-23 11:58:47 +02:00
Veljko
dfb4efd9af Change the text to verify in the notice 2023-08-23 11:58:47 +02:00
Veljko
e875ef53b8 Change methods to use wait for text 2023-08-23 11:58:47 +02:00
Veljko
71003a8d70 Add new test to cover bug in the past
[MAILPOET-5020]
2023-08-23 11:58:47 +02:00
Jan Jakes
27a1602645 Release 4.25.0 2023-08-22 12:50:36 +02:00
David Remer
0a4148d2a5 Update SQL query to track also deleted campaigns
[MAILPOET-5486]
2023-08-22 10:19:37 +02:00
David Remer
5649dd22bb Do not delete revenue, but update newsletter_id and click_id
[MAILPEOT-5486]
2023-08-22 10:19:37 +02:00
David Remer
16862dc4b8 Add test to verify deleted campaigns are still tracked
[MAILPOET-5486]
2023-08-22 10:19:37 +02:00
David Remer
34b6bfd644 Test that purchase statistic is not deleted
[MAILPOET-5486]
2023-08-22 10:19:37 +02:00
Veljko
f3d4461e8b Include waitForNavigation in the test
[MAILPOET-5539]
2023-08-18 15:11:53 +02:00
Veljko
69c91042a8 Fix the failing step in forms-adding test due to navigation
[MAILPOET-5539]
2023-08-18 15:11:53 +02:00
Veljko
94adc034f9 Update local k6 env to use latest WP
[MAILPOET-5539]
2023-08-18 15:11:53 +02:00
David Remer
76c299c3d7 Remove global count methods.
In the previous commit, we removed the global count for our output. This commit removes
the logic as the only places where it was used was in recalculating the cache and since
the last commit, we do not use this value anymore

[MAILPOET-4487]
2023-08-18 13:35:13 +02:00
David Remer
6dd0c844ca Take also list specific status into account when counting subscribers
[MAILPOET-4487]
2023-08-18 13:35:13 +02:00
David Remer
ec987b133d Categorize (un)subscribed users of a list correctly
To evaluate whether a user is subscribed to a list or unsubscribed you need to take into account
the status of the current subscription and not only the global status. To be unsubscribed you are
either globally or per list unsubscribed. To be subscribed you need to be globally and per list
subscribed

[MAILPOET-4487]
2023-08-18 13:35:13 +02:00
David Remer
fc27d59817 Add test
[MAILPOET-4487]
2023-08-18 13:35:13 +02:00
Veljko
1f702d5a7d Remove waiting for navigation from the test
[MAILPOET-5537]
2023-08-17 15:24:23 -05:00
John Oleksowicz
acc7084b65 Ensure shipping method instanceIds are strings
Selected shipping methods were not appearing when after saving and
reloading a segment because the instanceIds were actually coming through
 as integers, while the values are getting saved as strings.

MAILPOET-5496
2023-08-17 13:49:08 +02:00
John Oleksowicz
7a6cc36718 Include timeframe in migration to avoid BC code
MAILPOET-5496
2023-08-17 13:49:08 +02:00
John Oleksowicz
0e9bf64986 Migrate existing shipping/payment method filter data
Now that these filters are using the shared DaysPeriodField, they store
the day count in a field named days instead of used_payment_method_days
or used_shipping_method_days.

This migration is based on Migration_20230712_180341, where we needed to
 do the same thing for other filters.

MAILPOET-5496
2023-08-17 13:49:08 +02:00
John Oleksowicz
8d03db5dcc Add lifetime option to payment/shipping filters
MAILPOET-5496
2023-08-17 13:49:08 +02:00
David Remer
1c29ce1cf5 Switch to L1 policy
[MAILPOET-5527]
2023-08-17 12:26:56 +02:00
David Remer
81af30324b Update oldest supported woo version
[MAILPOET-5527]
2023-08-17 12:26:56 +02:00
David Remer
6e90a926c0 Update oldest supported WP version
[MAILPOET-5527]
2023-08-17 12:26:56 +02:00
David Remer
7ffe9a53ac Switch to new WordPress version
[MAILPOET-5527]
2023-08-17 12:26:56 +02:00
David Remer
b52f14c884 Update minimum required wp and woo version. Update 'Tested up to'
[MAILPOET-5527]
2023-08-17 12:26:56 +02:00
Jan Jakes
9392c6eb85 Remove previous hotfixes of queue ID fallback causing issues in some cases
Originally, this was done in an IF: 32f7d7771f
Then another hotfix added here: 116ee51497

[MAILPOET-5206]
2023-08-16 12:47:06 +02:00
Jan Jakes
939ecab06f Remove fallback to fetch any sending queue for a preview when no queue ID set
[MAILPOET-5206]
2023-08-16 12:47:06 +02:00
Pavel Dohnal
125d5c671a Release 4.24.0 2023-08-15 13:47:36 +02:00
David Remer
47a604d2c5 Take into account that the newsletter is scheduled at 5:45 and not 5:00
[MAILPOET-5528]
2023-08-15 11:47:31 +02:00
Rostislav Wolny
3566cc022d Redirect users from DocsBot to proper support page based on their plan
[MAILPOET-5529]
2023-08-14 16:45:11 +02:00
Rostislav Wolny
9f73073874 Updated readme.txt and texts mentioning Helpscout
[MAILPOET-5529]
2023-08-14 16:45:11 +02:00
Rostislav Wolny
15f9025b67 Replace HelpScout beacon with DocsBot
[MAILPOET-5529]
2023-08-14 16:45:11 +02:00
Rostislav Wolny
cea9927779 Remove HS twig extension
[MAILPOET-5529]
2023-08-14 16:45:11 +02:00