Commit Graph

247 Commits

Author SHA1 Message Date
Pavel Dohnal
a5f3a06110 Add backend mapping and validation
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
Pavel Dohnal
7e477a4c9c Register filter service in filter handler
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
Pavel Dohnal
e3bd23a2ee Refactor filter factory into multiple functions
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
Pavel Dohnal
4fff3ff56c Add filter for year month day date
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
Pavel Dohnal
8881e1d96c Add filter for year month date
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
Pavel Dohnal
09167e1440 Unify saving values with custom fields table
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
Pavel Dohnal
67c2289f4b Add filter for year date
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
Pavel Dohnal
28013b2987 Add filter for month date
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
Pavel Dohnal
f1934b3753 Add filter for checkbox custom fields
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
Pavel Dohnal
246d323174 Add filter for radio custom fields
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
Pavel Dohnal
ce6348cb71 Add filter for text custom fields
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
Jan Lysý
673436bc3f Fix calculating email opens for dynamic segments
[MAILPOET-3612]
2021-05-17 10:22:41 +02:00
Jan Lysý
6d0486cfc5 Add calculation segment score
[MAILPOET-3533]
2021-05-12 14:42:22 +02:00
Jan Lysý
f4ce284e5c Add engagement score into segment list
[MAILPOET-3533]
2021-05-12 14:42:22 +02:00
Rostislav Wolny
d4fbe95aef Refactor SQL for segment in country to use join instead subselect
[MAILPOET-3226]
2021-05-11 14:25:16 +02:00
Rostislav Wolny
a3935d3e04 Add strict_types check to WooCommerce country filter class
[MAILPOET-3226]
2021-05-11 14:25:16 +02:00
Rostislav Wolny
47eb085d2a Add backend mapping and validation for customer country segment
[MAILPOET-3226]
2021-05-11 14:25:16 +02:00
Rostislav Wolny
b54eb9af41 Register country filter service in filter handler
[MAILPOET-3226]
2021-05-11 14:25:16 +02:00
Rostislav Wolny
846f51c5d6 Refactor filter selection from filter handler to factory class
[MAILPOET-3226]
2021-05-11 14:25:16 +02:00
Rostislav Wolny
b177330856 Add customer country segment filter service
[MAILPOET-3226]
2021-05-11 14:25:16 +02:00
Pavel Dohnal
ddf80dc1f4 Add a unit test
[MAILPOET-3222]
2021-05-03 14:31:23 +02:00
Pavel Dohnal
ba11238514 Refactor parameters into a variable
[MAILPOET-3222]
2021-05-03 14:31:23 +02:00
Pavel Dohnal
6c481ba917 Apply segment
[MAILPOET-3222]
2021-05-03 14:31:23 +02:00
Pavel Dohnal
fb4f851cd4 Add filter for segment
[MAILPOET-3222]
2021-05-03 14:31:23 +02:00
Pavel Dohnal
427a92f913 Allow saving a segment with 0 opens
[MAILPOET-3573]
2021-05-03 12:05:12 +02:00
Jan Lysý
f406608763 Use hidden input for correct unsubscribe status on registration
[MAILPOET-3483]
2021-05-03 10:24:25 +02:00
Jan Lysý
be589e79bd Add action for hook woocommerce_created_customer
[MAILPOET-3483]
2021-05-03 10:24:25 +02:00
Jan Lysý
631e2acda1 Change default WP subscriber status to unsubscribed
[MAILPOET-3483]
2021-05-03 10:24:25 +02:00
Rostislav Wolny
a6dcd7a22c Exclude non-content related clicks from segment clicked any
[MAILPOET-3223]
2021-04-29 16:33:05 +02:00
Rostislav Wolny
d45fc34a4f Add clicked any action support to segment filter data mapper
[MAILPOET-3223]
2021-04-29 16:33:05 +02:00
Rostislav Wolny
4bfbfada6e Add support for clicked any to email type segment filter
[MAILPOET-3223]
2021-04-29 16:33:05 +02:00
Jan Lysý
9bd2ec5f6a Check valid data on save a dynamic segment
[MAILPOET-3227]
2021-04-26 11:29:48 +02:00
Jan Lysý
f63865b94c Add dynamic filter for WC total spent
[MAILPOET-3227]
2021-04-26 11:29:48 +02:00
Rostislav Wolny
bf882e3c92 Add validation support for multiple plugins dependency per segment
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rostislav Wolny
0909b406bc Unify code formatting in segment filter SAL query code
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rostislav Wolny
85d0851909 Hide subscriptions segment options when the plugin is not active
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rostislav Wolny
db562645e8 Register WooCommerce Subscriptions as a segment dependency
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rostislav Wolny
cccafb1481 Update segments API data mapper to support subscriptions segments
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rostislav Wolny
6a7cf8677f Add subscriptions filter into filter handler
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rostislav Wolny
2f7f4536a2 Add filter class for WooCommerce subscriptions filter
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rodrigo Primo
d410746a8c Make sure parameters in WooCommerceNumberOfOrders are unique
This commit simply makes sure parameters in WooCommerceNumberOfOrders
are unique by prefixing their name with the filter ID. This is to avoid
conflicts when combining segments.

[MAILPOET-3228]
2021-04-20 08:42:21 +02:00
Rodrigo Primo
4f3738b0b1 Implement new WooCommerce dynamic segment based on the number of orders
[MAILPOET-3228]
2021-04-20 08:42:21 +02:00
Pavel Dohnal
deb6b9315e Add new segment to data mapper
[MAILPOET-3224]
2021-04-19 16:57:50 +02:00
Pavel Dohnal
860444c246 Add new segment to filter handler
[MAILPOET-3224]
2021-04-19 16:57:50 +02:00
Pavel Dohnal
c1a51d8be4 Add filter class
[MAILPOET-3224]
2021-04-19 16:57:50 +02:00
Rostislav Wolny
da42a0e5af Simplify Woo Segment update name methods
[MAILPOET-3565]
2021-04-19 09:37:26 +02:00
Rostislav Wolny
53cb51b5dd Update customer names on checkout using order/user data
This change replaces slow SQL queries used for updating customer names
with modification of those names using loaded data and subscriber model.
[MAILPOET-3565]
2021-04-19 09:37:26 +02:00
Pavel Dohnal
86fa574ce8 Fix exhausted memory during woocommerce sync 2021-04-12 11:42:00 +02:00
Jan Lysý
57900f46e6 Display a message when WooCommerce is disabled
[MAILPOET-3477]
2021-04-12 11:11:25 +02:00
Jan Lysý
afd62b5b9e Add missing column collation detection for single sync
[MAILPOET-3543]
2021-04-05 10:58:30 +02:00