Commit Graph

20858 Commits

Author SHA1 Message Date
Rodrigo Primo
51fe832592 Replace Segment model with SegmentEntity in SchedulerTest
[MAILPOET-4370]
2023-05-18 14:48:02 -03:00
Rodrigo Primo
661690cc10 Replace Subscriber model with SubscriberEntity in SchedulerTest
[MAILPOET-4370]
2023-05-18 14:48:02 -03:00
Rodrigo Primo
7e49ef3001 Replace SubscriberSegment model with SubscriberSegmentEntity in SchedulerTest
[MAILPOET-4370]
2023-05-18 14:48:02 -03:00
Rodrigo Primo
88e6f64553 Update the PHP 7.3 Docker image
In 9a5960c, I replaced the PHP 7.2 images with PHP 7.3 images for the
CircleCI jobs that use the latest supported version of PHP. I opted to
reuse an image that was created by us back in 2019. It turns out that
this image was missing some dependencies like Node.

This commit updates to a newly created PHP 7.3 image. This should fix
the CircleCI build jobs that were failing.

[MAILPOET-4939]
2023-05-18 16:48:19 +02:00
Rodrigo Primo
9a5960c5c9 Use PHP 7.3 instead of PHP 7.2 in the oldest CircleCI build jobs
[MAILPOET-4939]
2023-05-17 17:35:41 +03:00
Rodrigo Primo
560e388702 Bump min and max PHP versions when running PHPCS
[MAILPOET-4939]
2023-05-17 17:35:41 +03:00
Rodrigo Primo
581eed6b64 Drop support for PHP 7.2
[MAILPOET-4939]
2023-05-17 17:35:41 +03:00
Jan Jakes
355cf5dc05 Update PNPM to version 8.5.1
[MAILPOET-5336]
2023-05-17 14:53:47 +03:00
Rodrigo Primo
f836b03b56 Add return type to the methods moved from ModelValidator
[MAILPOET-4343]
2023-05-17 12:37:22 +02:00
Rodrigo Primo
de18016d7d Replace calls to ModelValidator::validateEmail()
We want to remove/refactor the whole ModelValidator class as part of the
Doctrine refactor.

This commit replaces all the calls to ModelValidator::validateEmail()
with calls to Validator::validatesEmail().

[MAILPOET-4343]
2023-05-17 12:37:22 +02:00
Rodrigo Primo
00d021109c Move ModelValidator::validateNonRoleEmail() to a new Validator class
We want to remove/refactor the whole ModelValidator class as part of the
Doctrine refactor.

This commit moves the method ModelValidator::validateNonRoleEmail() to a
new Validator class as the method is not used by the validator system of
the Paris models. ModelValidator::validateEmail() was also moved as it
is called by ModelValidator::validateNonRoleEmail().

[MAILPOET-4343]
2023-05-17 12:37:22 +02:00
Rodrigo Primo
d760272678 Remove ModelValidator::validateIPAddress()
We want to remove/refactor the whole ModelValidator class as part of the
Doctrine refactor. As a first step, this commit removes the method
ModelValidator::validateIPAddress(). It was unused in a single place and
it was replaced with a direct call to the builtin PHP way to validate an
IP address.

[MAILPOET-4343]
2023-05-17 12:37:22 +02:00
Veljko
8913377500 Finalise the test
[MAILPOET-5308]
2023-05-17 12:37:06 +02:00
Veljko
c859fc314d Include WooCommerce activation in test
[MAILPOET-5308]
2023-05-17 12:37:06 +02:00
Veljko
a95633c390 Include Woo group comment to the test
[MAILPOET-5308]
2023-05-17 12:37:06 +02:00
Veljko
98b1b8bc4c Add new test EditorAbandonedCartBlock
[MAILPOET-5308]
2023-05-17 12:37:06 +02:00
Jan Jakes
262a8b9540 Manage WP_Locale in WordPress wrapper
[MAILPOET-5036]
2023-05-17 12:36:05 +02:00
Jan Jakeš
1fb2580a92 Use sprintf for custom field name
[MAILPOET-5036]

Co-authored-by: David Remer <webmaster@websupporter.net>
2023-05-17 12:36:05 +02:00
Jan Jakes
ddfdbb23dc Add automation field for subscriber lists
[MAILPOET-5172]
2023-05-17 12:36:05 +02:00
Jan Jakes
8dc3f109dd Fix and simplify fetching automations with status filter
[MAILPOET-5172]
2023-05-17 12:36:05 +02:00
Jan Jakes
7444131021 Add subscriber automation fields
[MAILPOET-5172]
2023-05-17 12:36:05 +02:00
Jan Jakes
6cfc808248 Add subscriber statistic fields
[MAILPOET-5172]
2023-05-17 12:36:05 +02:00
Jan Jakes
2e39798cd3 Extract subscriber fields creation to a factory
[MAILPOET-5172]
2023-05-17 12:36:05 +02:00
Jan Jakes
906e76c73c Map subscriber custom fields to automation fields
[MAILPOET-5036]
2023-05-17 12:36:05 +02:00
Jan Jakes
9ddd6d9e95 Add more subscriber fields, unify naming
[MAILPOET-5036]
2023-05-17 12:36:05 +02:00
alex-mailpoet
177e6f5560 Remove unused strings from templates
[MAILPOET-5339]
2023-05-17 11:48:56 +02:00
alex-mailpoet
992df69c86 Change 'select all emails' to 'items' in listings
[MAILPOET-5339]
2023-05-17 11:48:56 +02:00
David Remer
8a07411f85 Fallback to __experimentalGetSettings in WP 6.0
[MAILPOET-5304]
2023-05-17 09:58:16 +02:00
Veljko
587d2024bd Include the test in nightlytests workflow
[MAILPOET-5300]
2023-05-17 10:11:31 +03:00
Veljko
07db8c39fe Add new k6 test for mass trashing and restoring subscribers
[MAILPOET-5300]
2023-05-17 10:11:31 +03:00
Jan Jakes
7b082353f5 Run CodeSniffer in multiple processes
[MAILPOET-5335]
2023-05-16 10:38:49 -05:00
Jan Lysý
0b82900a71 Release 4.16.0 2023-05-16 13:07:26 +02:00
Oluwaseun Olorunsola
b7eb24dd0b Add support for using older woo extensions in integration_oldest tests
MAILPOET-5302
2023-05-16 09:29:09 +02:00
Oluwaseun Olorunsola
5e53ffd03c Use Old Woo version for Nightly integration_oldest tests
MAILPOET-5302
2023-05-16 09:29:09 +02:00
Oluwaseun Olorunsola
017a88b118 Update PHP version used for integration_tests
MAILPOET-5302
2023-05-16 09:29:09 +02:00
Oluwaseun Olorunsola
aa9eb38071 Update KB link for sender domain DMARC policy message
MAILPOET-5305
2023-05-16 08:30:55 +03:00
Veljko
b283099616 Removed http req metrics from the k6 tests
[MAILPOET-5337]
2023-05-15 12:37:14 -03:00
Rodrigo Primo
c1d911f07b Add an option to disable the Tracy panel
[MAILPOET-5293]
2023-05-15 14:50:43 +02:00
John Oleksowicz
e636537580 Add ability to duplicate dynamic segments
MAILPOET-4635
2023-05-15 13:48:41 +02:00
Brezo Cordero
c0ffcbac9b Opt out when subscription unchecked
This commit adds an action when customer unsubscribes to WooCommerce segment on checkout and opt outs Automate Woo customer.

[MAILPOET-4230]
2023-05-15 12:04:24 +02:00
Brezo Cordero
00e5dea5b4 Opt out AutomateWoo customer
This commit adds an action to opt out AutomateWoo customer When MailPoet Subscriber global status changes to unsubscribed.

[MAILPOET-4230]
2023-05-15 12:04:24 +02:00
Brezo Cordero
e572721910 Notify of subscriber status change
This commit adds a check on the postUpdate event listener to notify of the status change.

[MAILPOET-4230]
2023-05-15 12:04:24 +02:00
Brezo Cordero
bf4a2ac287 Add subscriber status changed hook
This PR adds a new hook and notification when the subscriber status changes. It will be used by AutomateWoo integration.

[MAILPOET-4230]
2023-05-15 12:04:24 +02:00
David Remer
0cc02b38a5 Move abandoned cart into WooCommerce vendor space
[MAILPOET-4934]
2023-05-15 08:19:19 +02:00
David Remer
06a704da75 Use Populator to add group and event to available options
[MAILPOET-4934]
2023-05-15 08:19:19 +02:00
David Remer
453506700c Fix typo
[MAILPOET-4934]
2023-05-15 08:19:19 +02:00
David Remer
0a57ca6a4d Use productIds in AbandonedCartPayload
[MAILPOET-4934]
2023-05-15 08:19:19 +02:00
David Remer
23fe9533b7 Move AbandonedCartSubject to free plugin
[MAILPOET-4934]
2023-05-15 08:19:19 +02:00
David Remer
d113ec9fdb Remove ProductsSubject
[MAILPOET-4934]
2023-05-15 08:19:19 +02:00
David Remer
10aaae06c7 Fix description
[MAILPOET-4934]
2023-05-15 08:19:19 +02:00