Commit Graph

73 Commits

Author SHA1 Message Date
65b834a9ff Update renamed NotCamelCaps rule
[MAILPOET-3658]
2021-07-06 13:29:00 +02:00
3a1e057e67 Move the aggregate function count to the having clause
[MAILPOET-3668]
2021-06-22 11:58:45 +02:00
62d6881966 Fix name of getter in SegmentEntity
[MAILPOET-3469]
2021-06-21 14:02:04 +02:00
3fdbb050cd Add getter for connect operand to SegmentEntity
[MAILPOET-3469]
2021-06-21 14:02:04 +02:00
7332fdcd6e Use random string as suffix when filter id is null
[MAILPOET-3469]
2021-06-21 14:02:04 +02:00
ddcf35eeff Add constant with type for segment of type UserRole
[MAILPOET-3469]
2021-06-21 14:02:04 +02:00
2490396a9e Allow saving more than one dynamic filter per segment
[MAILPOET-3469]
2021-06-21 14:02:04 +02:00
f4c2e4880a Add dynamic filter connect type to response
[MAILPOET-3469]
2021-06-21 14:02:04 +02:00
33ced0d9a1 Fix checkbox field
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
ede9f3d995 Use snake case for data that are transfered on server
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
0a1fc128b7 Add a code comment
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
42ada2df95 Add an acceptance test
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
251bb872f6 Fix connecting query
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
cb8d88c0c3 Fix passing data
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
1e65c88035 Add field for date
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
a5f3a06110 Add backend mapping and validation
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
7e477a4c9c Register filter service in filter handler
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
e3bd23a2ee Refactor filter factory into multiple functions
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
4fff3ff56c Add filter for year month day date
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
8881e1d96c Add filter for year month date
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
09167e1440 Unify saving values with custom fields table
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
67c2289f4b Add filter for year date
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
28013b2987 Add filter for month date
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
f1934b3753 Add filter for checkbox custom fields
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
246d323174 Add filter for radio custom fields
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
ce6348cb71 Add filter for text custom fields
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
673436bc3f Fix calculating email opens for dynamic segments
[MAILPOET-3612]
2021-05-17 10:22:41 +02:00
d4fbe95aef Refactor SQL for segment in country to use join instead subselect
[MAILPOET-3226]
2021-05-11 14:25:16 +02:00
a3935d3e04 Add strict_types check to WooCommerce country filter class
[MAILPOET-3226]
2021-05-11 14:25:16 +02:00
47eb085d2a Add backend mapping and validation for customer country segment
[MAILPOET-3226]
2021-05-11 14:25:16 +02:00
b54eb9af41 Register country filter service in filter handler
[MAILPOET-3226]
2021-05-11 14:25:16 +02:00
846f51c5d6 Refactor filter selection from filter handler to factory class
[MAILPOET-3226]
2021-05-11 14:25:16 +02:00
b177330856 Add customer country segment filter service
[MAILPOET-3226]
2021-05-11 14:25:16 +02:00
ddf80dc1f4 Add a unit test
[MAILPOET-3222]
2021-05-03 14:31:23 +02:00
ba11238514 Refactor parameters into a variable
[MAILPOET-3222]
2021-05-03 14:31:23 +02:00
6c481ba917 Apply segment
[MAILPOET-3222]
2021-05-03 14:31:23 +02:00
fb4f851cd4 Add filter for segment
[MAILPOET-3222]
2021-05-03 14:31:23 +02:00
427a92f913 Allow saving a segment with 0 opens
[MAILPOET-3573]
2021-05-03 12:05:12 +02:00
a6dcd7a22c Exclude non-content related clicks from segment clicked any
[MAILPOET-3223]
2021-04-29 16:33:05 +02:00
d45fc34a4f Add clicked any action support to segment filter data mapper
[MAILPOET-3223]
2021-04-29 16:33:05 +02:00
4bfbfada6e Add support for clicked any to email type segment filter
[MAILPOET-3223]
2021-04-29 16:33:05 +02:00
9bd2ec5f6a Check valid data on save a dynamic segment
[MAILPOET-3227]
2021-04-26 11:29:48 +02:00
f63865b94c Add dynamic filter for WC total spent
[MAILPOET-3227]
2021-04-26 11:29:48 +02:00
bf882e3c92 Add validation support for multiple plugins dependency per segment
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
0909b406bc Unify code formatting in segment filter SAL query code
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
cccafb1481 Update segments API data mapper to support subscriptions segments
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
6a7cf8677f Add subscriptions filter into filter handler
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
2f7f4536a2 Add filter class for WooCommerce subscriptions filter
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
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
4f3738b0b1 Implement new WooCommerce dynamic segment based on the number of orders
[MAILPOET-3228]
2021-04-20 08:42:21 +02:00