Commit Graph

15684 Commits

Author SHA1 Message Date
c214eb4c85 Use trunk instead of master as the branch where tests cannot be skipped
[MAILPOET-3466]
2022-05-31 11:23:33 +01:00
e56e2db9ef Update release script to use trunk instead of master
[MAILPOET-3466]
2022-05-31 11:23:33 +01:00
df62347116 Replace occurrences of master with trunk in CodeQL config
[MAILPOET-3466]
2022-05-31 11:23:33 +01:00
cbf3aa477d Replace occurrences of master with trunk in CircleCI config
[MAILPOET-3466]
2022-05-31 11:23:33 +01:00
e3b87202c8 Replace occurrences of master with trunk in CONTRIBUTING.md
[MAILPOET-3466]
2022-05-31 11:23:33 +01:00
c992bdc2c0 Change createAbandonedCartEmail to use mocked currentTime
[MAILPOET-4286]
2022-05-29 08:58:24 +01:00
681effc526 Temporarily removing test that sends emails to AWS
We need to prevent sending from CI so that we are not blocked on AWS. We will revert
this commit when we find a proper fix.
[MAILPOET-4394]
2022-05-26 18:43:35 +02:00
7c6f0b7777 Specify type of $fieldName to string on addField
[MAILPOET-3720]
2022-05-25 09:43:47 +02:00
94fe87008a Remove PHPStan level 6 errors from Import
Remove the following errors from Subscribers\ImportExport\Import\MailChimp:
(Method|Property|Function) has no (return )?type specified.
(Method|Function) has parameter with no type (specified).

[MAILPOET-3720]
2022-05-25 09:43:47 +02:00
34ce6cd329 Remove PHPStan level 6 errors from Import
Remove the following errors from Subscribers\ImportExport\Import\Import:
(Method|Property|Function) has no (return )?type specified.
(Method|Function) has parameter with no type (specified).

I have also added a few checks when using count and typed the arrays when possible.

[MAILPOET-3720]
2022-05-25 09:43:47 +02:00
466b7a9945 Release 3.89.3 2022-05-24 12:42:59 +02:00
75eb7f6900 Move some types from comments to signature
[MAILPOET-3720]
2022-05-23 12:04:36 +02:00
3f8ee47659 Remove PHPStan level 6 errors from SegmentsRepository.php
Remove the following errors:
(Method|Property|Function) has no (return )?type specified.
(Method|Function) has parameter with no type (specified).
I have modified bulkDelete to be similar to bulkDelete on SubscribersRepository.php. This function is used in MailPoet\Test\API\JSON\v1\Segments.

[MAILPOET-3720]
2022-05-23 12:04:36 +02:00
ec47cf429a Remove PHPStan level 6 errors from DynamicSegments
Remove the following errors:
(Method|Property|Function) has no (return )?type specified.
(Method|Function) has parameter with no type (specified).

[MAILPOET-3720]
2022-05-23 12:04:36 +02:00
1885825e24 Remove PHPStan level 6 errors from DynamicSegments Filters
Remove the following errors:
(Method|Property|Function) has no (return )?type specified.
(Method|Function) has parameter with no type (specified).

[MAILPOET-3720]
2022-05-23 12:04:36 +02:00
b7a37e69b7 Init $customerRoleAdded on WooCommerceTest.php
This will make it non-nullable and have only the type bool.

[MAILPOET-3720]
2022-05-23 12:04:12 +02:00
4cd3c4ed77 Remove PHPStan level 6 errors from Segments
Remove the following errors:
(Method|Property|Function) has no (return )?type specified.
(Method|Function) has parameter with no type (specified).

[MAILPOET-3720]
2022-05-23 12:04:12 +02:00
6d5eed6190 Remove PHPStan level 6 errors from Segments\WooCommerce
Remove the following errors:
(Method|Property|Function) has no (return )?type specified.
(Method|Function) has parameter with no type (specified).

[MAILPOET-3720]
2022-05-23 12:04:12 +02:00
f6dfb19362 Remove PHPStan level 6 errors from Segments\WP
Remove the following errors:
(Method|Property|Function) has no (return )?type specified.
(Method|Function) has parameter with no type (specified).
array_walk on import.php was expecting the key as the second parameter to the function. I have switched it to array_map.

[MAILPOET-3720]
2022-05-23 12:04:12 +02:00
d363c933ea Add strict types declaration
[MAILPOET-4142]
2022-05-23 11:38:32 +02:00
98dde764a6 Add warning about deprecated filter
[MAILPOET-4142]
2022-05-23 11:38:32 +02:00
00fe1eb1c4 Replace transport hook with a new smpt_options
[MAILPOET-4142]
2022-05-23 11:38:32 +02:00
c4c87d75e3 Add definition for WPINC constant
[MAILPOET-4142]
2022-05-23 11:38:32 +02:00
4a072dd54c Remove SwiftMailer package
[MAILPOET-4142]
2022-05-23 11:38:32 +02:00
0186ddee35 Replace Swift_message with PHPMailer
[MAILPOET-4142]
2022-05-23 11:38:32 +02:00
d7582ede37 Move common code into parent class
[MAILPOET-4142]
2022-05-23 11:38:32 +02:00
670e6e4cba Replace Swift Mailer for PHPMailer
[MAILPOET-4142]
2022-05-23 11:38:32 +02:00
5ee32e5f30 Add abstract parent for PHPMail method
For better reusability and prevention of duplicated code
[MAILPOET-4142]
2022-05-23 11:38:32 +02:00
1dd2c82634 Load PHPMailer
We don't support old loading for WordPress 5.5 and lower
[MAILPOET-4142]
2022-05-23 11:38:32 +02:00
5c9926b140 Refactor ImportExportFactory to use Doctrine instead of Paris
[MAILPOET-4139]
2022-05-23 11:37:26 +02:00
30d44186bd Refactor ImportExportFactoryTest to use Doctrine instead of Paris
[MAILPOET-4139]
2022-05-23 11:37:26 +02:00
e5fa37caa1 Add method to CustomField factory to be able to set the field type
This will be used in a subsequent commit when refactoring
ImportExportFactoryTest to use Doctrine instead of Paris.

[MAILPOET-4139]
2022-05-23 11:37:26 +02:00
3bd49fbc27 Fix annotation in AutomatedEmails
[MAILPOET-4308]
2022-05-19 14:18:18 +02:00
5ab04b8b22 Remove usage constant from the old model
[MAILPOET-4338]
2022-05-19 14:18:06 +02:00
87294e8751 Release 3.89.2 2022-05-19 12:02:36 +02:00
a41eca2355 Add missing env variables to integration tests
[MAILPOET-4382]
2022-05-19 11:12:56 +02:00
b29b1fe51f Fix form editor crash with old "below_post" value
[MAILPOET-4381]
2022-05-19 10:30:32 +02:00
d9c47a40f2 Add permissions to manage automations
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
73776206cc Unify focus styles with WP
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
3d2a5afb65 Use plus icon from @wordpress/icons
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
fa310415a6 Display step inserter in a popover when add-step-button clicked
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
8cc2bb5b61 Display workflow details in workflow sidebar
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
91c9b31364 Open step sidebar on step selection, display step details
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
8a764c92bf Save current step to store when selected
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
f30a148344 Render line separator and an add-step-button between workflow steps
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
44e4d41694 Serialize and render workflow steps
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
901e3309cd Make workflow a composite for keyboard navigation and a11y, add root styles
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
ca0516b03b Add basic automation workflow component
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
63a24ffa69 Use workflow name from data store in sidebar
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
b01a6af124 Load workflow data into editor state
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00