Commit Graph

38 Commits

Author SHA1 Message Date
David Remer
c436f18e8e Decode html entities of WP_User data
[MAILPOET-4241]
2022-06-20 08:43:51 +02:00
alex-mailpoet
2fe95320e2 Add MailPoet Premium integration for automation
[PREMIUM-180]
2022-06-09 13:30:54 +02:00
Sam Najian
609d80ca05 Fix issue of getting none-customer subs for # order filter
[MAILPOET-4390]
2022-06-06 12:06:07 +02:00
Brezo Cordero
75eb7f6900 Move some types from comments to signature
[MAILPOET-3720]
2022-05-23 12:04:36 +02:00
Brezo Cordero
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
Brezo Cordero
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
Brezo Cordero
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
Brezo Cordero
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
Brezo Cordero
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
Sam Najian
69a82a0213 Fix issue with collation conflict failing the tests
If the default collation of database would vary from the one
from created tables it would cause the temp table created to
have a different collation than the main tables

[MAILPOET-4251]
2022-05-17 14:17:26 +02:00
David Remer
7b33a94d37 Add set_user_role hook
[MAILPOET-2834]
2022-05-12 11:41:57 +02:00
David Remer
9bd6f29870 Add add_user_role hook to synchronizeUser
[MAILPOET-2834]
2022-05-12 11:41:57 +02:00
John Oleksowicz
95857d74b9 Check for uniqueness when updating name
[MAILPOET-4199]
2022-04-18 20:03:42 +02:00
Jan Lysý
6ee1955f53 Improve not_equals condition for custom fields
[MAILPOET-4157]
2022-04-18 14:11:52 +02:00
Jan Jakes
bc936ef13e Quote emails when inserting/updating WooCommerce subscribers
[MAILPOET-4248]
2022-04-14 09:41:55 +02:00
Brezo Cordero
cfc7c623e3 Separate insert from update on duplicate
[MAILPOET-4248]
2022-04-14 09:41:55 +02:00
Rostislav Wolny
ac0a9e7b6f Update doctrine/* libraries
[MAILPOET-4175]
2022-03-28 13:49:41 +02:00
Rodrigo Primo
54ecb6065c Replace old ScheduledTask model with ScheduledTaskEntity in SubscribersFinder
[MAILPOET-3925]
2022-03-28 08:13:53 +02:00
Rodrigo Primo
da5537b9fe Replace old Subscriber model with Doctrine equivalents in SubscribersFinder
[MAILPOET-3925]
2022-03-28 08:13:53 +02:00
Rodrigo Primo
9c1f0556b7 Replace old model ScheduledTaskSubscriber with ScheduledTaskSubscriberEntity in SubscribersFinder
[MAILPOET-3925]
2022-03-28 08:13:53 +02:00
Rodrigo Primo
0a73135c83 Replace old Segment model with Doctrine in SubscribersFinder
[MAILPOET-3925]
2022-03-28 08:13:53 +02:00
Rodrigo Primo
89ba1f0f4e Refactor SubscribersFinder::findSubscribersInSegments() to Doctrine
[MAILPOET-3925]
2022-03-28 08:13:53 +02:00
David Remer
a8f80e61d1 Exclude wc-on-hold and wc-pending orders from calculating segment
[MAILPOET-4127]
2022-03-24 16:00:16 +01:00
David Remer
7f13774ce6 Exclude wc-on-hold and wc-pending orders from calculating segment
[MAILPOET-4127]
2022-03-24 16:00:16 +01:00
David Remer
3316a2a3f8 Include wc-pending-cancel status when filtering subscriptions
[MAILPOET-4109]
2022-03-07 16:05:11 +01:00
Jan Lysý
bb79322589 Check subscriber status before subscribe to WC list
Because synchronization of a registered customer can be
in blocks checkout called multiple times, we cannot override current relation.
[MAILPOET-3937]
2022-02-10 12:35:14 +01:00
David Remer
82fce9df7e Remove unnecessary deletedAt where condition when filter subscribers without segments 2022-02-09 16:31:51 +01:00
wxa
5772dc086c Add Woo membership segment backend
[MAILPOET-3880]
2022-01-27 16:14:14 +01:00
Rostislav Wolny
5643bc6ac7 Deprecate email action filter actions that are no longer used
[MAILPOET-3951]
2022-01-19 16:18:08 +01:00
Rostislav Wolny
75ab2338d6 Remove backward compatibility code for email action filters
This commit cleans up code that is no longer needed after email actions filter data migration.
[MAILPOET-3951]
2022-01-19 16:18:08 +01:00
Rostislav Wolny
e5fa13231e Update clicked links filter logic that no selected links mean all links
As we always supported the filter even without specified links we needed
to update the logic only for newly added all of operator.
[MAILPOET-3951]
2022-01-19 16:18:08 +01:00
Rostislav Wolny
ae24da9ea2 Replace not clicked segment filter with clicked variant in UI
[MAILPOET-3951]
2022-01-19 16:18:08 +01:00
Rostislav Wolny
7b47523d27 Add support for all of and none of to clicked links segment filter
[MAILPOER-3951]
2022-01-19 16:18:08 +01:00
Rostislav Wolny
ea8bfdc863 Add multiple emails support with any of and all of for machine-opened
[MAILPOET-3957]
2022-01-19 16:18:08 +01:00
Rostislav Wolny
743276c057 Split EmailActions filter code into 2 methods
With the recent changes the code for building SQL query for email actions based filters became more complex.
This commit splits the code so that it is more readable.
[MAILPOET-3951]
2022-01-19 16:18:08 +01:00
Rostislav Wolny
8a51b573ab Allow multiple links with any of operator in clicked segment filter
[MAILPOET-3951]
2022-01-19 16:18:08 +01:00
Brezo Cordero
c57252a3bd Include all subscribers for 'none of' purchased segments
Remove initial inner join on customers and orders tables to include non customers for 'none of' operator. Applies to Purchased products and Purchased in Categories segments.

[MAILPOET-4201]
2022-01-19 16:16:21 +01:00
Jan Jakes
9f790efbf0 Move plugin files to a subfolder
[MAILPOET-3988]
2022-01-18 15:30:22 +01:00