Commit Graph

19873 Commits

Author SHA1 Message Date
Brezo Cordero
a154d2581b Fix event tracking and simplify isBundledSubscription
[MAILPOET-5223]
2023-05-22 11:52:23 +02:00
Brezo Cordero
867492cfc6 Hide Woo Automated emails for bundles
[MAILPOET-5223]
2023-05-22 11:52:23 +02:00
Brezo Cordero
6b7804bd8c Hide WooCommerce Tab for bundles
[MAILPOET-5223]
2023-05-22 11:52:23 +02:00
Brezo Cordero
6b40dfabf3 Hide Automations menu for bundles
Using null instead of true so that the pages are available directly.

[MAILPOET-5223]
2023-05-22 11:52:23 +02:00
Brezo Cordero
c5bc51fc86 Add function to check if MP subscription is bundled
[MAILPOET-5223]
2023-05-22 11:52:23 +02:00
Brezo Cordero
b4b49166f2 Store the subscription type when updating the key
[MAILPOET-5223]
2023-05-22 11:52:23 +02:00
Veljko
5ea51812ca Updated 2 tests for searching newsletter and post notification
[MAILPOET-5311]
2023-05-22 09:18:42 +02:00
John Oleksowicz
ec68818c1a Add filter for used payment method
MAILPOET-4993
2023-05-19 11:57:13 +02:00
David Remer
a976006a2c Add method isGuest to payload
[MAILPOET-5290]
2023-05-18 23:14:26 +02:00
David Remer
be47e9da4f Make \WC_Customer nullable in Payload construction
[MAILPOET-5290]
2023-05-18 23:14:26 +02:00
Rodrigo Primo
1a036b8772 Use constants from NewsletterEntity instead of Newsletter model in SchedulerTest
[MAILPOET-4370]
2023-05-18 14:48:02 -03:00
Rodrigo Primo
fb9cfe24ce Replace ScheduledTask model with ScheduledTaskEntity in SchedulerTest
[MAILPOET-4370]
2023-05-18 14:48:02 -03:00
Rodrigo Primo
7001b18858 Replace ScheduledTaskSubscribe model with ScheduledTaskSubscriberEntity in SchedulerTest
[MAILPOET-4370]
2023-05-18 14:48:02 -03:00
Rodrigo Primo
54b135d9c1 Replace NewsletterSegment model with NewsletterSegmentEntity in SchedulerTest
[MAILPOET-4370]
2023-05-18 14:48:02 -03:00
Rodrigo Primo
c3cb29c195 Replace SendingQueue model with SendingQueueEntity in SchedulerTest
[MAILPOET-4370]
2023-05-18 14:48:02 -03:00
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